revert fb8e77bb68
Local Build and Deploy / deploy (push) Successful in 1m11s
Local Build and Deploy / deploy (push) Successful in 1m11s
revert style: clean up code with prettier and eslint
This commit is contained in:
1 parent
27de078f54
commit
e85e4d74ea
378 files changed
+20710
-22428
No files matched your search
+24
-24
@@ -1,41 +1,41 @@
|
||||
export interface PaginatedResult<T> {
|
||||
rows: T[];
|
||||
total: number;
|
||||
page: number;
|
||||
perPage: number;
|
||||
lastPage: number;
|
||||
rows: T[]
|
||||
total: number
|
||||
page: number
|
||||
perPage: number
|
||||
lastPage: number
|
||||
}
|
||||
|
||||
export interface ListParams {
|
||||
search: string;
|
||||
perPage: number;
|
||||
page: number;
|
||||
sort?: string;
|
||||
order?: "asc" | "desc";
|
||||
search: string
|
||||
perPage: number
|
||||
page: number
|
||||
sort?: string
|
||||
order?: 'asc' | 'desc'
|
||||
}
|
||||
|
||||
export interface DataTableFilterOption {
|
||||
label: string;
|
||||
value: string;
|
||||
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;
|
||||
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;
|
||||
label: string
|
||||
value: number | string
|
||||
description?: string
|
||||
icon?: React.ReactNode
|
||||
}
|
||||
|
||||
export interface BreadcrumbItem {
|
||||
label: string;
|
||||
href?: string;
|
||||
label: string
|
||||
href?: string
|
||||
}
|
||||
Reference in new issue
Block a user