21 lines
388 B
TypeScript
21 lines
388 B
TypeScript
// Default item meta model for entities
|
|
export interface ItemMeta {
|
|
id: number
|
|
createdAt: string | null
|
|
deletedAt: string | null
|
|
updatedAt: string | null
|
|
}
|
|
|
|
// Pagination meta model for API responses
|
|
export interface PaginationMeta {
|
|
page_number: string
|
|
page_size: string
|
|
record_totalCount: string
|
|
source: string
|
|
}
|
|
|
|
export interface Base {
|
|
name: string
|
|
code: string
|
|
}
|