shopoflex-types 1.0.30 → 1.0.32
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 +9 -8
- package/package.json +1 -1
package/dist/types/common.d.ts
CHANGED
|
@@ -147,12 +147,11 @@ export interface Category {
|
|
|
147
147
|
ar: string;
|
|
148
148
|
};
|
|
149
149
|
parentCategoryId?: string | null;
|
|
150
|
-
|
|
150
|
+
createdAt: Date;
|
|
151
|
+
files?: FileType[];
|
|
151
152
|
sortOrder?: number;
|
|
152
153
|
isActive: boolean;
|
|
153
154
|
vendorId: string | any;
|
|
154
|
-
createdAt: Date;
|
|
155
|
-
files?: FileType[];
|
|
156
155
|
}
|
|
157
156
|
export interface ProductType {
|
|
158
157
|
_id: string;
|
|
@@ -171,16 +170,18 @@ export interface ProductType {
|
|
|
171
170
|
stockHandle?: StockHandle;
|
|
172
171
|
tags?: string[];
|
|
173
172
|
branchesIds?: string[];
|
|
174
|
-
files: FileType[];
|
|
175
173
|
modifiers?: Modifier[];
|
|
176
174
|
hasModifiers?: boolean;
|
|
177
175
|
label?: Label;
|
|
178
176
|
sort?: number;
|
|
179
|
-
active: boolean;
|
|
180
177
|
specifications?: Specification;
|
|
181
178
|
linkedProduct?: any;
|
|
182
|
-
|
|
183
|
-
|
|
179
|
+
createdAt?: Date;
|
|
180
|
+
updatedAt?: Date;
|
|
181
|
+
files?: FileType[];
|
|
182
|
+
sortOrder?: number;
|
|
183
|
+
isActive: boolean;
|
|
184
|
+
vendorId: string | any;
|
|
184
185
|
}
|
|
185
186
|
export interface GroupedCategory {
|
|
186
187
|
categoryName: any;
|
|
@@ -275,7 +276,7 @@ export interface OrderType {
|
|
|
275
276
|
time?: Date;
|
|
276
277
|
};
|
|
277
278
|
branch: {
|
|
278
|
-
|
|
279
|
+
_id: mongoose.Types.ObjectId | string;
|
|
279
280
|
name?: {
|
|
280
281
|
en?: string;
|
|
281
282
|
ar?: string;
|