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.
Files changed (2) hide show
  1. package/dist/common.d.ts +9 -0
  2. 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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.82",
3
+ "version": "1.0.83",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",