nextemos 3.7.5 → 3.7.7

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.
@@ -1,6 +1,6 @@
1
1
  export declare enum ProductDocumentTypes {
2
- Image = "Image",
3
- Video = "Video",
4
- Document = "Document",
5
- Driver = "Driver"
2
+ Image = 1,
3
+ Video = 2,
4
+ Document = 3,
5
+ Driver = 4
6
6
  }
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ProductDocumentTypes = void 0;
4
4
  var ProductDocumentTypes;
5
5
  (function (ProductDocumentTypes) {
6
- ProductDocumentTypes["Image"] = "Image";
7
- ProductDocumentTypes["Video"] = "Video";
8
- ProductDocumentTypes["Document"] = "Document";
9
- ProductDocumentTypes["Driver"] = "Driver";
6
+ ProductDocumentTypes[ProductDocumentTypes["Image"] = 1] = "Image";
7
+ ProductDocumentTypes[ProductDocumentTypes["Video"] = 2] = "Video";
8
+ ProductDocumentTypes[ProductDocumentTypes["Document"] = 3] = "Document";
9
+ ProductDocumentTypes[ProductDocumentTypes["Driver"] = 4] = "Driver";
10
10
  })(ProductDocumentTypes || (exports.ProductDocumentTypes = ProductDocumentTypes = {}));
@@ -118,20 +118,20 @@ export interface DisplayType {
118
118
  }
119
119
  export interface ICategory {
120
120
  id: number;
121
- name: string;
122
- description: string;
123
- sort: number;
124
- parentId: number;
125
- catalogId: number;
126
- integrationCode: string;
127
- className: string;
128
- isDefault: boolean;
129
- routePath: string;
130
- routeTitle: string;
131
- routeDescription: string;
132
- parameterName: string;
133
- hierarchy: number[];
134
- extensionData: any;
121
+ name?: string;
122
+ description?: string;
123
+ sort?: number;
124
+ parentId?: number;
125
+ catalogId?: number;
126
+ integrationCode?: string;
127
+ className?: string;
128
+ isDefault?: boolean;
129
+ routePath?: string;
130
+ routeTitle?: string;
131
+ routeDescription?: string;
132
+ parameterName?: string;
133
+ hierarchy?: number[];
134
+ extensionData?: any;
135
135
  }
136
136
  export interface ICategoryWithChilds extends ICategory {
137
137
  childCategories: ICategory[];
@@ -181,7 +181,7 @@ export interface Document {
181
181
  name: string;
182
182
  filePath: string;
183
183
  thumbnailUrl: string;
184
- documentType: string;
184
+ documentType: number;
185
185
  isDefault: boolean;
186
186
  order: number;
187
187
  templateId: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "3.7.5",
3
+ "version": "3.7.7",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",