cecon-interfaces 1.5.21 → 1.5.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/dist/esm2022/event-message/enums/event-message.enum.mjs +2 -1
  2. package/dist/esm2022/index.mjs +2 -1
  3. package/dist/esm2022/storage-files/enums/image-folder.enum.mjs +15 -0
  4. package/dist/esm2022/storage-files/enums/index.mjs +4 -0
  5. package/dist/esm2022/storage-files/enums/mine-type.enum.mjs +8 -0
  6. package/dist/esm2022/storage-files/enums/type-file.enum.mjs +6 -0
  7. package/dist/esm2022/storage-files/index.mjs +3 -0
  8. package/dist/esm2022/storage-files/interfaces/i-file.mjs +2 -0
  9. package/dist/esm2022/storage-files/interfaces/index.mjs +2 -0
  10. package/dist/event-message/enums/event-message.enum.d.ts +2 -1
  11. package/dist/event-message/enums/event-message.enum.js +1 -0
  12. package/dist/fesm2022/cecon-interfaces.mjs +31 -1
  13. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.js +1 -0
  16. package/dist/package.json +1 -1
  17. package/dist/storage-files/enums/image-folder.enum.d.ts +13 -0
  18. package/dist/storage-files/enums/image-folder.enum.js +17 -0
  19. package/dist/storage-files/enums/index.d.ts +3 -0
  20. package/dist/storage-files/enums/index.js +9 -0
  21. package/dist/storage-files/enums/mine-type.enum.d.ts +6 -0
  22. package/dist/storage-files/enums/mine-type.enum.js +10 -0
  23. package/dist/storage-files/enums/type-file.enum.d.ts +4 -0
  24. package/dist/storage-files/enums/type-file.enum.js +8 -0
  25. package/dist/storage-files/index.d.ts +2 -0
  26. package/dist/storage-files/index.js +18 -0
  27. package/dist/storage-files/interfaces/i-file.d.ts +10 -0
  28. package/dist/storage-files/interfaces/i-file.js +2 -0
  29. package/dist/storage-files/interfaces/index.d.ts +1 -0
  30. package/dist/storage-files/interfaces/index.js +2 -0
  31. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -42,6 +42,7 @@ export * from './purchases';
42
42
  export * from './requested-items';
43
43
  export * from './resume';
44
44
  export * from './sponsor';
45
+ export * from './storage-files';
45
46
  export * from './subscription-base';
46
47
  export * from './subscription-company';
47
48
  export * from './subscription-customer';
package/dist/index.js CHANGED
@@ -58,6 +58,7 @@ __exportStar(require("./purchases"), exports);
58
58
  __exportStar(require("./requested-items"), exports);
59
59
  __exportStar(require("./resume"), exports);
60
60
  __exportStar(require("./sponsor"), exports);
61
+ __exportStar(require("./storage-files"), exports);
61
62
  __exportStar(require("./subscription-base"), exports);
62
63
  __exportStar(require("./subscription-company"), exports);
63
64
  __exportStar(require("./subscription-customer"), exports);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.21",
3
+ "version": "1.5.23",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,13 @@
1
+ export declare enum EImageFolder {
2
+ COMPANIES = "companies",
3
+ CUSTOMERS = "customers",
4
+ DELIVERERS = "deliverers",
5
+ DEVICE = "device",
6
+ MEMBERS = "members",
7
+ MENU_CATEGORIES = "menu-categories",
8
+ MENUS = "menus",
9
+ PRODUCTS = "products",
10
+ SECOES = "secoes",
11
+ TAA = "taa",
12
+ DEFAULT = "default"
13
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EImageFolder = void 0;
4
+ var EImageFolder;
5
+ (function (EImageFolder) {
6
+ EImageFolder["COMPANIES"] = "companies";
7
+ EImageFolder["CUSTOMERS"] = "customers";
8
+ EImageFolder["DELIVERERS"] = "deliverers";
9
+ EImageFolder["DEVICE"] = "device";
10
+ EImageFolder["MEMBERS"] = "members";
11
+ EImageFolder["MENU_CATEGORIES"] = "menu-categories";
12
+ EImageFolder["MENUS"] = "menus";
13
+ EImageFolder["PRODUCTS"] = "products";
14
+ EImageFolder["SECOES"] = "secoes";
15
+ EImageFolder["TAA"] = "taa";
16
+ EImageFolder["DEFAULT"] = "default";
17
+ })(EImageFolder || (exports.EImageFolder = EImageFolder = {}));
@@ -0,0 +1,3 @@
1
+ export { EImageFolder } from './image-folder.enum';
2
+ export { EMineTypeFile } from './mine-type.enum';
3
+ export { ETypeFile } from './type-file.enum';
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ETypeFile = exports.EMineTypeFile = exports.EImageFolder = void 0;
4
+ var image_folder_enum_1 = require("./image-folder.enum");
5
+ Object.defineProperty(exports, "EImageFolder", { enumerable: true, get: function () { return image_folder_enum_1.EImageFolder; } });
6
+ var mine_type_enum_1 = require("./mine-type.enum");
7
+ Object.defineProperty(exports, "EMineTypeFile", { enumerable: true, get: function () { return mine_type_enum_1.EMineTypeFile; } });
8
+ var type_file_enum_1 = require("./type-file.enum");
9
+ Object.defineProperty(exports, "ETypeFile", { enumerable: true, get: function () { return type_file_enum_1.ETypeFile; } });
@@ -0,0 +1,6 @@
1
+ export declare enum EMineTypeFile {
2
+ PNG = "image/png",
3
+ JPEG = "image/jpeg",
4
+ MPFOUR = "video/mp4",
5
+ OGG = "video/ogg"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EMineTypeFile = void 0;
4
+ var EMineTypeFile;
5
+ (function (EMineTypeFile) {
6
+ EMineTypeFile["PNG"] = "image/png";
7
+ EMineTypeFile["JPEG"] = "image/jpeg";
8
+ EMineTypeFile["MPFOUR"] = "video/mp4";
9
+ EMineTypeFile["OGG"] = "video/ogg";
10
+ })(EMineTypeFile || (exports.EMineTypeFile = EMineTypeFile = {}));
@@ -0,0 +1,4 @@
1
+ export declare enum ETypeFile {
2
+ FILE = "file",
3
+ FOLDER = "folder"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ETypeFile = void 0;
4
+ var ETypeFile;
5
+ (function (ETypeFile) {
6
+ ETypeFile["FILE"] = "file";
7
+ ETypeFile["FOLDER"] = "folder";
8
+ })(ETypeFile || (exports.ETypeFile = ETypeFile = {}));
@@ -0,0 +1,2 @@
1
+ export * from './enums';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./enums"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,10 @@
1
+ import { ETypeFile } from "../enums/type-file.enum";
2
+ export interface IFile {
3
+ icon: string;
4
+ lastModified: Date;
5
+ name: string;
6
+ path: string;
7
+ size: number;
8
+ type: ETypeFile;
9
+ url: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { IFile } from './i-file';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.21",
3
+ "version": "1.5.23",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",