fix: restore complete admin feature dependencies

This commit is contained in:
Simo committed 2026-07-11 21:15:54 +02:00
1 parent 5b4228261a
commit 0cd753c735
115 files changed
+18565 -4930

No files matched your search

+42
View File
@@ -0,0 +1,42 @@
export interface PaginatedResult<T> {
rows: T[]
total: number
page: number
perPage: number
lastPage: number
}
export interface ListParams {
search: string
perPage: number
page: number
sort?: string
order?: 'asc' | 'desc'
}
export interface DataTableFilterOption {
label: string
value: string
}
export interface DataTableColumn<T> {
key: (keyof T & string) | (string & {})
label: string
sortable?: boolean
render?: (value: T[keyof T], row: T) => React.ReactNode
filterOptions?: DataTableFilterOption[]
filterKey?: string
}
export interface StatsCard {
label: string
value: number | string
description?: string
icon?: React.ReactNode
}
export interface BreadcrumbItem {
label: string
href?: string
}