@chopkola/common 1.0.177 → 1.0.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/types/products.d.ts +11 -9
- package/build/types/vendor.d.ts +2 -2
- package/package.json +1 -1
|
@@ -168,21 +168,23 @@ export interface VendorLite {
|
|
|
168
168
|
logo_url: string | null;
|
|
169
169
|
}
|
|
170
170
|
export interface InventoryItemAggregate {
|
|
171
|
-
id
|
|
171
|
+
id?: UUID;
|
|
172
172
|
vendor_id: UUID;
|
|
173
173
|
product_id: UUID | null;
|
|
174
174
|
product_variant_id: UUID | null;
|
|
175
|
-
sku: string
|
|
175
|
+
sku: string;
|
|
176
176
|
price: number;
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
low_stock_threshold: number
|
|
181
|
-
stock_status:
|
|
177
|
+
cost_price: number;
|
|
178
|
+
sale_price: number;
|
|
179
|
+
quantity: number;
|
|
180
|
+
low_stock_threshold: number;
|
|
181
|
+
stock_status: StockStatusEnum;
|
|
182
|
+
is_trackable: boolean;
|
|
182
183
|
is_visible: boolean;
|
|
183
|
-
|
|
184
|
+
supplier: string | null;
|
|
185
|
+
storage_location: string | null;
|
|
184
186
|
created_at: Date;
|
|
185
|
-
|
|
187
|
+
updated_a: Date;
|
|
186
188
|
product: ProductAggregateLite | null;
|
|
187
189
|
product_variant: ProductVariantAggregateLite | null;
|
|
188
190
|
vendor: VendorLite;
|
package/build/types/vendor.d.ts
CHANGED
|
@@ -92,8 +92,8 @@ export interface GroceryVendorAggregate extends Vendor {
|
|
|
92
92
|
}
|
|
93
93
|
export type VendorAggregate = RestaurantVendorAggregate | GroceryVendorAggregate;
|
|
94
94
|
export type VendorAggregateForWeb = VendorAggregate & {
|
|
95
|
-
distance?:
|
|
96
|
-
|
|
95
|
+
distance?: string;
|
|
96
|
+
duration?: string;
|
|
97
97
|
deliveryFee?: number;
|
|
98
98
|
reviews?: number;
|
|
99
99
|
rating?: number;
|