shopoflex-types 1.0.47 → 1.0.49

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 +2 -1
  2. package/package.json +1 -1
package/dist/common.d.ts CHANGED
@@ -161,7 +161,7 @@ export interface Category {
161
161
  vendorId: string | any;
162
162
  }
163
163
  export interface ProductType {
164
- _id: string;
164
+ _id?: string;
165
165
  name: {
166
166
  en: string;
167
167
  ar: string;
@@ -181,6 +181,7 @@ export interface ProductType {
181
181
  hasModifiers?: boolean;
182
182
  label?: Label;
183
183
  sort?: number;
184
+ hasVariants?: boolean;
184
185
  specifications?: Specification;
185
186
  linkedProduct?: any;
186
187
  createdAt?: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.47",
3
+ "version": "1.0.49",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",