feat: implement fetching product catalog + order details on MD

This commit is contained in:
Adhiraj Singh
2022-03-06 13:30:11 +05:30
parent 8a52eeb310
commit c4edcef5da
5 changed files with 280 additions and 1 deletions

View File

@@ -10,6 +10,19 @@ export type ProductCreateResult = {
data: { product: any }
}
export type CatalogStatus = {
status: string
canAppeal: boolean
}
export type CatalogCollection = {
id: string
name: string
products: Product[]
status: CatalogStatus
}
export type ProductAvailability = 'in stock'
export type ProductBase = {