feat: unis and product detail
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
export interface Unit {
|
||||
id: string
|
||||
organization_id: string
|
||||
outlet_id: string | null
|
||||
name: string
|
||||
abbreviation: string | null
|
||||
is_active: boolean
|
||||
created_at: string
|
||||
updated_at: string
|
||||
}
|
||||
|
||||
export interface PaginationMeta {
|
||||
page: number
|
||||
limit: number
|
||||
total_count: number
|
||||
total_pages: number
|
||||
}
|
||||
|
||||
export interface Units {
|
||||
data: Unit[]
|
||||
pagination: PaginationMeta
|
||||
}
|
||||
|
||||
export interface UnitRequest {
|
||||
name: string
|
||||
abbreviation: string | null
|
||||
outlet_id: string | null
|
||||
is_active: boolean
|
||||
}
|
||||
Reference in New Issue
Block a user