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.
@@ -147,12 +147,11 @@ export interface Category {
147
147
  ar: string;
148
148
  };
149
149
  parentCategoryId?: string | null;
150
- image?: string;
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
- vendorId?: any;
183
- createdAt?: string;
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
- id: mongoose.Types.ObjectId | string;
279
+ _id: mongoose.Types.ObjectId | string;
279
280
  name?: {
280
281
  en?: string;
281
282
  ar?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",