21 lines
554 B
TypeScript
21 lines
554 B
TypeScript
import type { BuildingCasePositionData } from '~/services/dto/building-case-position-data'
|
|
|
|
export interface BuildingLayoutData {
|
|
id: number
|
|
name: string | null
|
|
columns: number | null
|
|
rows: number | null
|
|
casePositions?: BuildingCasePositionData[] | null
|
|
}
|
|
export type LayoutCell = {
|
|
key: string
|
|
isEmpty: boolean
|
|
caseId: number | null
|
|
display: string
|
|
caseStatusId: number | null
|
|
caseStatusLabel: string | null
|
|
caseStyle?: Record<string, string>
|
|
spanStyle: Record<string, string>
|
|
baseClass: string
|
|
}
|