shopoflex-types 1.0.82 → 1.0.83
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/dist/common.d.ts +9 -0
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
|
@@ -226,6 +226,12 @@ export interface Category {
|
|
|
226
226
|
isActive: boolean;
|
|
227
227
|
vendorId: string | any;
|
|
228
228
|
}
|
|
229
|
+
export interface CompositionType {
|
|
230
|
+
componentId: string;
|
|
231
|
+
variantId: string;
|
|
232
|
+
quantity: number;
|
|
233
|
+
priceOverride?: number;
|
|
234
|
+
}
|
|
229
235
|
export interface ProductType {
|
|
230
236
|
_id?: string;
|
|
231
237
|
name: {
|
|
@@ -244,6 +250,9 @@ export interface ProductType {
|
|
|
244
250
|
branchesIds?: string[];
|
|
245
251
|
modifiers?: Modifier[];
|
|
246
252
|
hasModifiers?: boolean;
|
|
253
|
+
composition?: CompositionType[];
|
|
254
|
+
isComposite?: boolean;
|
|
255
|
+
isSellable?: boolean;
|
|
247
256
|
sort?: number;
|
|
248
257
|
hasVariants?: boolean;
|
|
249
258
|
variants: VariantType[];
|