feat: unis and product detail

This commit is contained in:
ferdiansyah783
2025-08-06 13:18:19 +07:00
parent 0906188c12
commit 5f2bddd003
18 changed files with 1294 additions and 27 deletions
+29
View File
@@ -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
}