shopoflex-types 1.0.31 → 1.0.33
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/types/common.d.ts +13 -7
- package/package.json +1 -1
package/dist/types/common.d.ts
CHANGED
|
@@ -121,6 +121,11 @@ export interface AddonType {
|
|
|
121
121
|
enableQuantity?: boolean;
|
|
122
122
|
stockHandle: StockHandle;
|
|
123
123
|
files?: FileType[];
|
|
124
|
+
sortOrder?: number;
|
|
125
|
+
isActive: boolean;
|
|
126
|
+
vendorId: string | any;
|
|
127
|
+
createdAt?: Date;
|
|
128
|
+
updatedAt?: Date;
|
|
124
129
|
}
|
|
125
130
|
export interface Modifier {
|
|
126
131
|
name?: {
|
|
@@ -147,12 +152,11 @@ export interface Category {
|
|
|
147
152
|
ar: string;
|
|
148
153
|
};
|
|
149
154
|
parentCategoryId?: string | null;
|
|
150
|
-
|
|
155
|
+
createdAt: Date;
|
|
156
|
+
files?: FileType[];
|
|
151
157
|
sortOrder?: number;
|
|
152
158
|
isActive: boolean;
|
|
153
159
|
vendorId: string | any;
|
|
154
|
-
createdAt: Date;
|
|
155
|
-
files?: FileType[];
|
|
156
160
|
}
|
|
157
161
|
export interface ProductType {
|
|
158
162
|
_id: string;
|
|
@@ -171,16 +175,18 @@ export interface ProductType {
|
|
|
171
175
|
stockHandle?: StockHandle;
|
|
172
176
|
tags?: string[];
|
|
173
177
|
branchesIds?: string[];
|
|
174
|
-
files: FileType[];
|
|
175
178
|
modifiers?: Modifier[];
|
|
176
179
|
hasModifiers?: boolean;
|
|
177
180
|
label?: Label;
|
|
178
181
|
sort?: number;
|
|
179
|
-
active: boolean;
|
|
180
182
|
specifications?: Specification;
|
|
181
183
|
linkedProduct?: any;
|
|
182
|
-
|
|
183
|
-
|
|
184
|
+
createdAt?: Date;
|
|
185
|
+
updatedAt?: Date;
|
|
186
|
+
files?: FileType[];
|
|
187
|
+
sortOrder?: number;
|
|
188
|
+
isActive: boolean;
|
|
189
|
+
vendorId: string | any;
|
|
184
190
|
}
|
|
185
191
|
export interface GroupedCategory {
|
|
186
192
|
categoryName: any;
|