9ae91418e0
Introduce reusable shell components for layout, tabs, and global overlays. Add maintenance page model, wrapper component, and composable driver to standardize maintenance page state, search, and pagination handling.feat(shell): add app shell and maintenance page driver Introduce reusable shell components for layout, tabs, and global overlays. Add maintenance page model, wrapper component, and composable driver to standardize maintenance page state, search, and pagination handling.
13 lines
249 B
TypeScript
13 lines
249 B
TypeScript
export interface BasePageModel {
|
|
title: string
|
|
loading?: boolean
|
|
error?: string | null
|
|
}
|
|
|
|
export interface MaintenancePageModel extends BasePageModel {
|
|
type: 'maintenance'
|
|
records: unknown[]
|
|
}
|
|
|
|
export type PageModel = MaintenancePageModel
|