nextemos 3.7.4 → 3.7.6

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,2 +1,4 @@
1
1
  export * from './httpMethods';
2
2
  export * from './httpStatusCode';
3
+ export * from './productDocumentTypes';
4
+ export * from './productFlags';
@@ -16,3 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./httpMethods"), exports);
18
18
  __exportStar(require("./httpStatusCode"), exports);
19
+ __exportStar(require("./productDocumentTypes"), exports);
20
+ __exportStar(require("./productFlags"), exports);
@@ -0,0 +1,6 @@
1
+ export declare enum ProductDocumentTypes {
2
+ Image = 1,
3
+ Video = 2,
4
+ Document = 3,
5
+ Driver = 4
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductDocumentTypes = void 0;
4
+ var ProductDocumentTypes;
5
+ (function (ProductDocumentTypes) {
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
+ })(ProductDocumentTypes || (exports.ProductDocumentTypes = ProductDocumentTypes = {}));
@@ -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.4",
3
+ "version": "3.7.6",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",