synunu-libs 1.0.17 → 1.0.19

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.
Files changed (45) hide show
  1. package/dist/constants/patterns.constant.d.ts +56 -0
  2. package/dist/constants/patterns.constant.d.ts.map +1 -1
  3. package/dist/constants/patterns.constant.js +8 -0
  4. package/dist/constants/patterns.constant.js.map +1 -1
  5. package/dist/constants/permission.constant.d.ts +48 -0
  6. package/dist/constants/permission.constant.d.ts.map +1 -1
  7. package/dist/constants/permission.constant.js +8 -0
  8. package/dist/constants/permission.constant.js.map +1 -1
  9. package/dist/dto/index.d.ts +8 -0
  10. package/dist/dto/index.d.ts.map +1 -1
  11. package/dist/dto/index.js +8 -0
  12. package/dist/dto/index.js.map +1 -1
  13. package/dist/dto/inventory-item.dto.d.ts +25 -0
  14. package/dist/dto/inventory-item.dto.d.ts.map +1 -0
  15. package/dist/dto/inventory-item.dto.js +87 -0
  16. package/dist/dto/inventory-item.dto.js.map +1 -0
  17. package/dist/dto/inventory-items.dto.d.ts +25 -0
  18. package/dist/dto/inventory-items.dto.d.ts.map +1 -0
  19. package/dist/dto/inventory-items.dto.js +87 -0
  20. package/dist/dto/inventory-items.dto.js.map +1 -0
  21. package/dist/dto/inventory-level.dto.d.ts +25 -0
  22. package/dist/dto/inventory-level.dto.d.ts.map +1 -0
  23. package/dist/dto/inventory-level.dto.js +87 -0
  24. package/dist/dto/inventory-level.dto.js.map +1 -0
  25. package/dist/dto/inventory-levels.dto.d.ts +25 -0
  26. package/dist/dto/inventory-levels.dto.d.ts.map +1 -0
  27. package/dist/dto/inventory-levels.dto.js +87 -0
  28. package/dist/dto/inventory-levels.dto.js.map +1 -0
  29. package/dist/dto/inventory-location.dto.d.ts +25 -0
  30. package/dist/dto/inventory-location.dto.d.ts.map +1 -0
  31. package/dist/dto/inventory-location.dto.js +87 -0
  32. package/dist/dto/inventory-location.dto.js.map +1 -0
  33. package/dist/dto/inventory-storage.dto.d.ts +25 -0
  34. package/dist/dto/inventory-storage.dto.d.ts.map +1 -0
  35. package/dist/dto/inventory-storage.dto.js +87 -0
  36. package/dist/dto/inventory-storage.dto.js.map +1 -0
  37. package/dist/dto/packsize.dto.d.ts +25 -0
  38. package/dist/dto/packsize.dto.d.ts.map +1 -0
  39. package/dist/dto/packsize.dto.js +87 -0
  40. package/dist/dto/packsize.dto.js.map +1 -0
  41. package/dist/dto/publication.dto.d.ts +25 -0
  42. package/dist/dto/publication.dto.d.ts.map +1 -0
  43. package/dist/dto/publication.dto.js +87 -0
  44. package/dist/dto/publication.dto.js.map +1 -0
  45. package/package.json +1 -1
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UpdateInventoryLevelsInput = exports.InventoryLevelsFilterInput = exports.CreateInventoryLevelsInput = void 0;
13
+ const graphql_1 = require("@nestjs/graphql");
14
+ const translation_input_1 = require("./translation.input");
15
+ const enum_1 = require("../enum");
16
+ const date_range_input_1 = require("./date-range.input");
17
+ let CreateInventoryLevelsInput = class CreateInventoryLevelsInput {
18
+ };
19
+ exports.CreateInventoryLevelsInput = CreateInventoryLevelsInput;
20
+ __decorate([
21
+ (0, graphql_1.Field)(),
22
+ __metadata("design:type", String)
23
+ ], CreateInventoryLevelsInput.prototype, "key", void 0);
24
+ __decorate([
25
+ (0, graphql_1.Field)(() => translation_input_1.TranslationInput),
26
+ __metadata("design:type", translation_input_1.TranslationInput)
27
+ ], CreateInventoryLevelsInput.prototype, "label", void 0);
28
+ __decorate([
29
+ (0, graphql_1.Field)({ nullable: true }),
30
+ __metadata("design:type", String)
31
+ ], CreateInventoryLevelsInput.prototype, "icon", void 0);
32
+ __decorate([
33
+ (0, graphql_1.Field)({ nullable: true }),
34
+ __metadata("design:type", String)
35
+ ], CreateInventoryLevelsInput.prototype, "rootPath", void 0);
36
+ __decorate([
37
+ (0, graphql_1.Field)(() => translation_input_1.TranslationInput, { nullable: true }),
38
+ __metadata("design:type", translation_input_1.TranslationInput)
39
+ ], CreateInventoryLevelsInput.prototype, "path", void 0);
40
+ __decorate([
41
+ (0, graphql_1.Field)(() => enum_1.UserType, { nullable: true, defaultValue: enum_1.UserType.ADMIN }),
42
+ __metadata("design:type", String)
43
+ ], CreateInventoryLevelsInput.prototype, "userType", void 0);
44
+ __decorate([
45
+ (0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
46
+ __metadata("design:type", Number)
47
+ ], CreateInventoryLevelsInput.prototype, "order", void 0);
48
+ __decorate([
49
+ (0, graphql_1.Field)({ nullable: true, defaultValue: true }),
50
+ __metadata("design:type", Boolean)
51
+ ], CreateInventoryLevelsInput.prototype, "visible", void 0);
52
+ __decorate([
53
+ (0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
54
+ __metadata("design:type", Array)
55
+ ], CreateInventoryLevelsInput.prototype, "permissions", void 0);
56
+ __decorate([
57
+ (0, graphql_1.Field)(() => String, { nullable: true }),
58
+ __metadata("design:type", Object)
59
+ ], CreateInventoryLevelsInput.prototype, "parent", void 0);
60
+ __decorate([
61
+ (0, graphql_1.Field)({ nullable: true, defaultValue: true }),
62
+ __metadata("design:type", Boolean)
63
+ ], CreateInventoryLevelsInput.prototype, "isActive", void 0);
64
+ exports.CreateInventoryLevelsInput = CreateInventoryLevelsInput = __decorate([
65
+ (0, graphql_1.InputType)()
66
+ ], CreateInventoryLevelsInput);
67
+ let InventoryLevelsFilterInput = class InventoryLevelsFilterInput {
68
+ };
69
+ exports.InventoryLevelsFilterInput = InventoryLevelsFilterInput;
70
+ __decorate([
71
+ (0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
72
+ __metadata("design:type", date_range_input_1.DateRangeInput)
73
+ ], InventoryLevelsFilterInput.prototype, "createdAt", void 0);
74
+ exports.InventoryLevelsFilterInput = InventoryLevelsFilterInput = __decorate([
75
+ (0, graphql_1.InputType)()
76
+ ], InventoryLevelsFilterInput);
77
+ let UpdateInventoryLevelsInput = class UpdateInventoryLevelsInput extends (0, graphql_1.PartialType)(CreateInventoryLevelsInput) {
78
+ };
79
+ exports.UpdateInventoryLevelsInput = UpdateInventoryLevelsInput;
80
+ __decorate([
81
+ (0, graphql_1.Field)(() => String),
82
+ __metadata("design:type", String)
83
+ ], UpdateInventoryLevelsInput.prototype, "_id", void 0);
84
+ exports.UpdateInventoryLevelsInput = UpdateInventoryLevelsInput = __decorate([
85
+ (0, graphql_1.InputType)()
86
+ ], UpdateInventoryLevelsInput);
87
+ //# sourceMappingURL=inventory-levels.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-levels.dto.js","sourceRoot":"","sources":["../../src/dto/inventory-levels.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AAG7C,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;CAiCtC,CAAA;AAjCY,gEAA0B;AAEvC;IADC,IAAA,eAAK,GAAE;;uDACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;yDAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACZ;AAGd;IADC,IAA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B,SAAQ,IAAA,qBAAW,EAAC,0BAA0B,CAAC;CAGtF,CAAA;AAHY,gEAA0B;AAEvC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;uDACR;qCAFC,0BAA0B;IADtC,IAAA,mBAAS,GAAE;GACC,0BAA0B,CAGtC"}
@@ -0,0 +1,25 @@
1
+ import { TranslationInput } from "./translation.input";
2
+ import { UserType } from "../enum";
3
+ import { DateRangeInput } from "./date-range.input";
4
+ export declare class CreateInventoryLocationInput {
5
+ key: string;
6
+ label: TranslationInput;
7
+ icon?: string;
8
+ rootPath?: string;
9
+ path?: TranslationInput;
10
+ userType?: UserType;
11
+ order?: number;
12
+ visible?: boolean;
13
+ permissions?: string[];
14
+ parent?: string | null;
15
+ isActive?: boolean;
16
+ }
17
+ export declare class InventoryLocationFilterInput {
18
+ createdAt?: DateRangeInput;
19
+ }
20
+ declare const UpdateInventoryLocationInput_base: import("@nestjs/common").Type<Partial<CreateInventoryLocationInput>>;
21
+ export declare class UpdateInventoryLocationInput extends UpdateInventoryLocationInput_base {
22
+ _id: string;
23
+ }
24
+ export {};
25
+ //# sourceMappingURL=inventory-location.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-location.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-location.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,4BAA4B;IAEzC,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,gBAAgB,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAGxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qBACa,4BAA4B;IAEzC,SAAS,CAAC,EAAE,cAAc,CAAC;CAC1B;;AAED,qBACa,4BAA6B,SAAQ,iCAAyC;IAE3F,GAAG,EAAE,MAAM,CAAC;CACX"}
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UpdateInventoryLocationInput = exports.InventoryLocationFilterInput = exports.CreateInventoryLocationInput = void 0;
13
+ const graphql_1 = require("@nestjs/graphql");
14
+ const translation_input_1 = require("./translation.input");
15
+ const enum_1 = require("../enum");
16
+ const date_range_input_1 = require("./date-range.input");
17
+ let CreateInventoryLocationInput = class CreateInventoryLocationInput {
18
+ };
19
+ exports.CreateInventoryLocationInput = CreateInventoryLocationInput;
20
+ __decorate([
21
+ (0, graphql_1.Field)(),
22
+ __metadata("design:type", String)
23
+ ], CreateInventoryLocationInput.prototype, "key", void 0);
24
+ __decorate([
25
+ (0, graphql_1.Field)(() => translation_input_1.TranslationInput),
26
+ __metadata("design:type", translation_input_1.TranslationInput)
27
+ ], CreateInventoryLocationInput.prototype, "label", void 0);
28
+ __decorate([
29
+ (0, graphql_1.Field)({ nullable: true }),
30
+ __metadata("design:type", String)
31
+ ], CreateInventoryLocationInput.prototype, "icon", void 0);
32
+ __decorate([
33
+ (0, graphql_1.Field)({ nullable: true }),
34
+ __metadata("design:type", String)
35
+ ], CreateInventoryLocationInput.prototype, "rootPath", void 0);
36
+ __decorate([
37
+ (0, graphql_1.Field)(() => translation_input_1.TranslationInput, { nullable: true }),
38
+ __metadata("design:type", translation_input_1.TranslationInput)
39
+ ], CreateInventoryLocationInput.prototype, "path", void 0);
40
+ __decorate([
41
+ (0, graphql_1.Field)(() => enum_1.UserType, { nullable: true, defaultValue: enum_1.UserType.ADMIN }),
42
+ __metadata("design:type", String)
43
+ ], CreateInventoryLocationInput.prototype, "userType", void 0);
44
+ __decorate([
45
+ (0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
46
+ __metadata("design:type", Number)
47
+ ], CreateInventoryLocationInput.prototype, "order", void 0);
48
+ __decorate([
49
+ (0, graphql_1.Field)({ nullable: true, defaultValue: true }),
50
+ __metadata("design:type", Boolean)
51
+ ], CreateInventoryLocationInput.prototype, "visible", void 0);
52
+ __decorate([
53
+ (0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
54
+ __metadata("design:type", Array)
55
+ ], CreateInventoryLocationInput.prototype, "permissions", void 0);
56
+ __decorate([
57
+ (0, graphql_1.Field)(() => String, { nullable: true }),
58
+ __metadata("design:type", Object)
59
+ ], CreateInventoryLocationInput.prototype, "parent", void 0);
60
+ __decorate([
61
+ (0, graphql_1.Field)({ nullable: true, defaultValue: true }),
62
+ __metadata("design:type", Boolean)
63
+ ], CreateInventoryLocationInput.prototype, "isActive", void 0);
64
+ exports.CreateInventoryLocationInput = CreateInventoryLocationInput = __decorate([
65
+ (0, graphql_1.InputType)()
66
+ ], CreateInventoryLocationInput);
67
+ let InventoryLocationFilterInput = class InventoryLocationFilterInput {
68
+ };
69
+ exports.InventoryLocationFilterInput = InventoryLocationFilterInput;
70
+ __decorate([
71
+ (0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
72
+ __metadata("design:type", date_range_input_1.DateRangeInput)
73
+ ], InventoryLocationFilterInput.prototype, "createdAt", void 0);
74
+ exports.InventoryLocationFilterInput = InventoryLocationFilterInput = __decorate([
75
+ (0, graphql_1.InputType)()
76
+ ], InventoryLocationFilterInput);
77
+ let UpdateInventoryLocationInput = class UpdateInventoryLocationInput extends (0, graphql_1.PartialType)(CreateInventoryLocationInput) {
78
+ };
79
+ exports.UpdateInventoryLocationInput = UpdateInventoryLocationInput;
80
+ __decorate([
81
+ (0, graphql_1.Field)(() => String),
82
+ __metadata("design:type", String)
83
+ ], UpdateInventoryLocationInput.prototype, "_id", void 0);
84
+ exports.UpdateInventoryLocationInput = UpdateInventoryLocationInput = __decorate([
85
+ (0, graphql_1.InputType)()
86
+ ], UpdateInventoryLocationInput);
87
+ //# sourceMappingURL=inventory-location.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-location.dto.js","sourceRoot":"","sources":["../../src/dto/inventory-location.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AAG7C,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;CAiCxC,CAAA;AAjCY,oEAA4B;AAEzC;IADC,IAAA,eAAK,GAAE;;yDACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;2DAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACR;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EA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AC,GAAG,EAAE,CAAC,MAAM,CAAC;;yDACR;uCAFC,4BAA4B;IADxC,IAAA,mBAAS,GAAE;GACC,4BAA4B,CAGxC"}
@@ -0,0 +1,25 @@
1
+ import { TranslationInput } from "./translation.input";
2
+ import { UserType } from "../enum";
3
+ import { DateRangeInput } from "./date-range.input";
4
+ export declare class CreateInventoryStorageInput {
5
+ key: string;
6
+ label: TranslationInput;
7
+ icon?: string;
8
+ rootPath?: string;
9
+ path?: TranslationInput;
10
+ userType?: UserType;
11
+ order?: number;
12
+ visible?: boolean;
13
+ permissions?: string[];
14
+ parent?: string | null;
15
+ isActive?: boolean;
16
+ }
17
+ export declare class InventoryStorageFilterInput {
18
+ createdAt?: DateRangeInput;
19
+ }
20
+ declare const UpdateInventoryStorageInput_base: import("@nestjs/common").Type<Partial<CreateInventoryStorageInput>>;
21
+ export declare class UpdateInventoryStorageInput extends UpdateInventoryStorageInput_base {
22
+ _id: string;
23
+ }
24
+ export {};
25
+ //# sourceMappingURL=inventory-storage.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-storage.dto.d.ts","sourceRoot":"","sources":["../../src/dto/inventory-storage.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,2BAA2B;IAExC,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,gBAAgB,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAGxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qBACa,2BAA2B;IAExC,SAAS,CAAC,EAAE,cAAc,CAAC;CAC1B;;AAED,qBACa,2BAA4B,SAAQ,gCAAwC;IAEzF,GAAG,EAAE,MAAM,CAAC;CACX"}
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UpdateInventoryStorageInput = exports.InventoryStorageFilterInput = exports.CreateInventoryStorageInput = void 0;
13
+ const graphql_1 = require("@nestjs/graphql");
14
+ const translation_input_1 = require("./translation.input");
15
+ const enum_1 = require("../enum");
16
+ const date_range_input_1 = require("./date-range.input");
17
+ let CreateInventoryStorageInput = class CreateInventoryStorageInput {
18
+ };
19
+ exports.CreateInventoryStorageInput = CreateInventoryStorageInput;
20
+ __decorate([
21
+ (0, graphql_1.Field)(),
22
+ __metadata("design:type", String)
23
+ ], CreateInventoryStorageInput.prototype, "key", void 0);
24
+ __decorate([
25
+ (0, graphql_1.Field)(() => translation_input_1.TranslationInput),
26
+ __metadata("design:type", translation_input_1.TranslationInput)
27
+ ], CreateInventoryStorageInput.prototype, "label", void 0);
28
+ __decorate([
29
+ (0, graphql_1.Field)({ nullable: true }),
30
+ __metadata("design:type", String)
31
+ ], CreateInventoryStorageInput.prototype, "icon", void 0);
32
+ __decorate([
33
+ (0, graphql_1.Field)({ nullable: true }),
34
+ __metadata("design:type", String)
35
+ ], CreateInventoryStorageInput.prototype, "rootPath", void 0);
36
+ __decorate([
37
+ (0, graphql_1.Field)(() => translation_input_1.TranslationInput, { nullable: true }),
38
+ __metadata("design:type", translation_input_1.TranslationInput)
39
+ ], CreateInventoryStorageInput.prototype, "path", void 0);
40
+ __decorate([
41
+ (0, graphql_1.Field)(() => enum_1.UserType, { nullable: true, defaultValue: enum_1.UserType.ADMIN }),
42
+ __metadata("design:type", String)
43
+ ], CreateInventoryStorageInput.prototype, "userType", void 0);
44
+ __decorate([
45
+ (0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
46
+ __metadata("design:type", Number)
47
+ ], CreateInventoryStorageInput.prototype, "order", void 0);
48
+ __decorate([
49
+ (0, graphql_1.Field)({ nullable: true, defaultValue: true }),
50
+ __metadata("design:type", Boolean)
51
+ ], CreateInventoryStorageInput.prototype, "visible", void 0);
52
+ __decorate([
53
+ (0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
54
+ __metadata("design:type", Array)
55
+ ], CreateInventoryStorageInput.prototype, "permissions", void 0);
56
+ __decorate([
57
+ (0, graphql_1.Field)(() => String, { nullable: true }),
58
+ __metadata("design:type", Object)
59
+ ], CreateInventoryStorageInput.prototype, "parent", void 0);
60
+ __decorate([
61
+ (0, graphql_1.Field)({ nullable: true, defaultValue: true }),
62
+ __metadata("design:type", Boolean)
63
+ ], CreateInventoryStorageInput.prototype, "isActive", void 0);
64
+ exports.CreateInventoryStorageInput = CreateInventoryStorageInput = __decorate([
65
+ (0, graphql_1.InputType)()
66
+ ], CreateInventoryStorageInput);
67
+ let InventoryStorageFilterInput = class InventoryStorageFilterInput {
68
+ };
69
+ exports.InventoryStorageFilterInput = InventoryStorageFilterInput;
70
+ __decorate([
71
+ (0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
72
+ __metadata("design:type", date_range_input_1.DateRangeInput)
73
+ ], InventoryStorageFilterInput.prototype, "createdAt", void 0);
74
+ exports.InventoryStorageFilterInput = InventoryStorageFilterInput = __decorate([
75
+ (0, graphql_1.InputType)()
76
+ ], InventoryStorageFilterInput);
77
+ let UpdateInventoryStorageInput = class UpdateInventoryStorageInput extends (0, graphql_1.PartialType)(CreateInventoryStorageInput) {
78
+ };
79
+ exports.UpdateInventoryStorageInput = UpdateInventoryStorageInput;
80
+ __decorate([
81
+ (0, graphql_1.Field)(() => String),
82
+ __metadata("design:type", String)
83
+ ], UpdateInventoryStorageInput.prototype, "_id", void 0);
84
+ exports.UpdateInventoryStorageInput = UpdateInventoryStorageInput = __decorate([
85
+ (0, graphql_1.InputType)()
86
+ ], UpdateInventoryStorageInput);
87
+ //# sourceMappingURL=inventory-storage.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-storage.dto.js","sourceRoot":"","sources":["../../src/dto/inventory-storage.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AAG7C,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;CAiCvC,CAAA;AAjCY,kEAA2B;AAExC;IADC,IAAA,eAAK,GAAE;;wDACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;0DAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACR;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC3C,oCAAgB;yDAAC;AAGxB;I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AGvC"}
@@ -0,0 +1,25 @@
1
+ import { TranslationInput } from "./translation.input";
2
+ import { UserType } from "../enum";
3
+ import { DateRangeInput } from "./date-range.input";
4
+ export declare class CreatePacksizeInput {
5
+ key: string;
6
+ label: TranslationInput;
7
+ icon?: string;
8
+ rootPath?: string;
9
+ path?: TranslationInput;
10
+ userType?: UserType;
11
+ order?: number;
12
+ visible?: boolean;
13
+ permissions?: string[];
14
+ parent?: string | null;
15
+ isActive?: boolean;
16
+ }
17
+ export declare class PacksizeFilterInput {
18
+ createdAt?: DateRangeInput;
19
+ }
20
+ declare const UpdatePacksizeInput_base: import("@nestjs/common").Type<Partial<CreatePacksizeInput>>;
21
+ export declare class UpdatePacksizeInput extends UpdatePacksizeInput_base {
22
+ _id: string;
23
+ }
24
+ export {};
25
+ //# sourceMappingURL=packsize.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"packsize.dto.d.ts","sourceRoot":"","sources":["../../src/dto/packsize.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,mBAAmB;IAEhC,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,gBAAgB,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAGxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qBACa,mBAAmB;IAEhC,SAAS,CAAC,EAAE,cAAc,CAAC;CAC1B;;AAED,qBACa,mBAAoB,SAAQ,wBAAgC;IAEzE,GAAG,EAAE,MAAM,CAAC;CACX"}
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UpdatePacksizeInput = exports.PacksizeFilterInput = exports.CreatePacksizeInput = void 0;
13
+ const graphql_1 = require("@nestjs/graphql");
14
+ const translation_input_1 = require("./translation.input");
15
+ const enum_1 = require("../enum");
16
+ const date_range_input_1 = require("./date-range.input");
17
+ let CreatePacksizeInput = class CreatePacksizeInput {
18
+ };
19
+ exports.CreatePacksizeInput = CreatePacksizeInput;
20
+ __decorate([
21
+ (0, graphql_1.Field)(),
22
+ __metadata("design:type", String)
23
+ ], CreatePacksizeInput.prototype, "key", void 0);
24
+ __decorate([
25
+ (0, graphql_1.Field)(() => translation_input_1.TranslationInput),
26
+ __metadata("design:type", translation_input_1.TranslationInput)
27
+ ], CreatePacksizeInput.prototype, "label", void 0);
28
+ __decorate([
29
+ (0, graphql_1.Field)({ nullable: true }),
30
+ __metadata("design:type", String)
31
+ ], CreatePacksizeInput.prototype, "icon", void 0);
32
+ __decorate([
33
+ (0, graphql_1.Field)({ nullable: true }),
34
+ __metadata("design:type", String)
35
+ ], CreatePacksizeInput.prototype, "rootPath", void 0);
36
+ __decorate([
37
+ (0, graphql_1.Field)(() => translation_input_1.TranslationInput, { nullable: true }),
38
+ __metadata("design:type", translation_input_1.TranslationInput)
39
+ ], CreatePacksizeInput.prototype, "path", void 0);
40
+ __decorate([
41
+ (0, graphql_1.Field)(() => enum_1.UserType, { nullable: true, defaultValue: enum_1.UserType.ADMIN }),
42
+ __metadata("design:type", String)
43
+ ], CreatePacksizeInput.prototype, "userType", void 0);
44
+ __decorate([
45
+ (0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
46
+ __metadata("design:type", Number)
47
+ ], CreatePacksizeInput.prototype, "order", void 0);
48
+ __decorate([
49
+ (0, graphql_1.Field)({ nullable: true, defaultValue: true }),
50
+ __metadata("design:type", Boolean)
51
+ ], CreatePacksizeInput.prototype, "visible", void 0);
52
+ __decorate([
53
+ (0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
54
+ __metadata("design:type", Array)
55
+ ], CreatePacksizeInput.prototype, "permissions", void 0);
56
+ __decorate([
57
+ (0, graphql_1.Field)(() => String, { nullable: true }),
58
+ __metadata("design:type", Object)
59
+ ], CreatePacksizeInput.prototype, "parent", void 0);
60
+ __decorate([
61
+ (0, graphql_1.Field)({ nullable: true, defaultValue: true }),
62
+ __metadata("design:type", Boolean)
63
+ ], CreatePacksizeInput.prototype, "isActive", void 0);
64
+ exports.CreatePacksizeInput = CreatePacksizeInput = __decorate([
65
+ (0, graphql_1.InputType)()
66
+ ], CreatePacksizeInput);
67
+ let PacksizeFilterInput = class PacksizeFilterInput {
68
+ };
69
+ exports.PacksizeFilterInput = PacksizeFilterInput;
70
+ __decorate([
71
+ (0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
72
+ __metadata("design:type", date_range_input_1.DateRangeInput)
73
+ ], PacksizeFilterInput.prototype, "createdAt", void 0);
74
+ exports.PacksizeFilterInput = PacksizeFilterInput = __decorate([
75
+ (0, graphql_1.InputType)()
76
+ ], PacksizeFilterInput);
77
+ let UpdatePacksizeInput = class UpdatePacksizeInput extends (0, graphql_1.PartialType)(CreatePacksizeInput) {
78
+ };
79
+ exports.UpdatePacksizeInput = UpdatePacksizeInput;
80
+ __decorate([
81
+ (0, graphql_1.Field)(() => String),
82
+ __metadata("design:type", String)
83
+ ], UpdatePacksizeInput.prototype, "_id", void 0);
84
+ exports.UpdatePacksizeInput = UpdatePacksizeInput = __decorate([
85
+ (0, graphql_1.InputType)()
86
+ ], UpdatePacksizeInput);
87
+ //# sourceMappingURL=packsize.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"packsize.dto.js","sourceRoot":"","sources":["../../src/dto/packsize.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AAG7C,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAiC/B,CAAA;AAjCY,kDAAmB;AAEhC;IADC,IAAA,eAAK,GAAE;;gDACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;kDAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACR;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC3C,oCAAgB;iDAAC;AAGxB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,eAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,eAAQ,CAAC,KAAK,EAAE,CAAC;;qDACpD;AAGpB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;;kDAC5B;AAGf;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;;oDAC5B;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;;wDACrC;AAGvB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACjB;AAGvB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;;qDAC3B;8BAhCN,mBAAmB;IAD/B,IAAA,mBAAS,GAAE;GACC,mBAAmB,CAiC/B;AAGM,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAG/B,CAAA;AAHY,kDAAmB;AAEhC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;sDAAC;8BAFd,mBAAmB;IAD/B,IAAA,mBAAS,GAAE;GACC,mBAAmB,CAG/B;AAGM,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,IAAA,qBAAW,EAAC,mBAAmB,CAAC;CAGxE,CAAA;AAHY,kDAAmB;AAEhC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;gDACR;8BAFC,mBAAmB;IAD/B,IAAA,mBAAS,GAAE;GACC,mBAAmB,CAG/B"}
@@ -0,0 +1,25 @@
1
+ import { TranslationInput } from "./translation.input";
2
+ import { UserType } from "../enum";
3
+ import { DateRangeInput } from "./date-range.input";
4
+ export declare class CreatePublicationInput {
5
+ key: string;
6
+ label: TranslationInput;
7
+ icon?: string;
8
+ rootPath?: string;
9
+ path?: TranslationInput;
10
+ userType?: UserType;
11
+ order?: number;
12
+ visible?: boolean;
13
+ permissions?: string[];
14
+ parent?: string | null;
15
+ isActive?: boolean;
16
+ }
17
+ export declare class PublicationFilterInput {
18
+ createdAt?: DateRangeInput;
19
+ }
20
+ declare const UpdatePublicationInput_base: import("@nestjs/common").Type<Partial<CreatePublicationInput>>;
21
+ export declare class UpdatePublicationInput extends UpdatePublicationInput_base {
22
+ _id: string;
23
+ }
24
+ export {};
25
+ //# sourceMappingURL=publication.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publication.dto.d.ts","sourceRoot":"","sources":["../../src/dto/publication.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,sBAAsB;IAEnC,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,gBAAgB,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAGxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qBACa,sBAAsB;IAEnC,SAAS,CAAC,EAAE,cAAc,CAAC;CAC1B;;AAED,qBACa,sBAAuB,SAAQ,2BAAmC;IAE/E,GAAG,EAAE,MAAM,CAAC;CACX"}
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UpdatePublicationInput = exports.PublicationFilterInput = exports.CreatePublicationInput = void 0;
13
+ const graphql_1 = require("@nestjs/graphql");
14
+ const translation_input_1 = require("./translation.input");
15
+ const enum_1 = require("../enum");
16
+ const date_range_input_1 = require("./date-range.input");
17
+ let CreatePublicationInput = class CreatePublicationInput {
18
+ };
19
+ exports.CreatePublicationInput = CreatePublicationInput;
20
+ __decorate([
21
+ (0, graphql_1.Field)(),
22
+ __metadata("design:type", String)
23
+ ], CreatePublicationInput.prototype, "key", void 0);
24
+ __decorate([
25
+ (0, graphql_1.Field)(() => translation_input_1.TranslationInput),
26
+ __metadata("design:type", translation_input_1.TranslationInput)
27
+ ], CreatePublicationInput.prototype, "label", void 0);
28
+ __decorate([
29
+ (0, graphql_1.Field)({ nullable: true }),
30
+ __metadata("design:type", String)
31
+ ], CreatePublicationInput.prototype, "icon", void 0);
32
+ __decorate([
33
+ (0, graphql_1.Field)({ nullable: true }),
34
+ __metadata("design:type", String)
35
+ ], CreatePublicationInput.prototype, "rootPath", void 0);
36
+ __decorate([
37
+ (0, graphql_1.Field)(() => translation_input_1.TranslationInput, { nullable: true }),
38
+ __metadata("design:type", translation_input_1.TranslationInput)
39
+ ], CreatePublicationInput.prototype, "path", void 0);
40
+ __decorate([
41
+ (0, graphql_1.Field)(() => enum_1.UserType, { nullable: true, defaultValue: enum_1.UserType.ADMIN }),
42
+ __metadata("design:type", String)
43
+ ], CreatePublicationInput.prototype, "userType", void 0);
44
+ __decorate([
45
+ (0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
46
+ __metadata("design:type", Number)
47
+ ], CreatePublicationInput.prototype, "order", void 0);
48
+ __decorate([
49
+ (0, graphql_1.Field)({ nullable: true, defaultValue: true }),
50
+ __metadata("design:type", Boolean)
51
+ ], CreatePublicationInput.prototype, "visible", void 0);
52
+ __decorate([
53
+ (0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
54
+ __metadata("design:type", Array)
55
+ ], CreatePublicationInput.prototype, "permissions", void 0);
56
+ __decorate([
57
+ (0, graphql_1.Field)(() => String, { nullable: true }),
58
+ __metadata("design:type", Object)
59
+ ], CreatePublicationInput.prototype, "parent", void 0);
60
+ __decorate([
61
+ (0, graphql_1.Field)({ nullable: true, defaultValue: true }),
62
+ __metadata("design:type", Boolean)
63
+ ], CreatePublicationInput.prototype, "isActive", void 0);
64
+ exports.CreatePublicationInput = CreatePublicationInput = __decorate([
65
+ (0, graphql_1.InputType)()
66
+ ], CreatePublicationInput);
67
+ let PublicationFilterInput = class PublicationFilterInput {
68
+ };
69
+ exports.PublicationFilterInput = PublicationFilterInput;
70
+ __decorate([
71
+ (0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
72
+ __metadata("design:type", date_range_input_1.DateRangeInput)
73
+ ], PublicationFilterInput.prototype, "createdAt", void 0);
74
+ exports.PublicationFilterInput = PublicationFilterInput = __decorate([
75
+ (0, graphql_1.InputType)()
76
+ ], PublicationFilterInput);
77
+ let UpdatePublicationInput = class UpdatePublicationInput extends (0, graphql_1.PartialType)(CreatePublicationInput) {
78
+ };
79
+ exports.UpdatePublicationInput = UpdatePublicationInput;
80
+ __decorate([
81
+ (0, graphql_1.Field)(() => String),
82
+ __metadata("design:type", String)
83
+ ], UpdatePublicationInput.prototype, "_id", void 0);
84
+ exports.UpdatePublicationInput = UpdatePublicationInput = __decorate([
85
+ (0, graphql_1.InputType)()
86
+ ], UpdatePublicationInput);
87
+ //# sourceMappingURL=publication.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publication.dto.js","sourceRoot":"","sources":["../../src/dto/publication.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AAG7C,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAiClC,CAAA;AAjCY,wDAAsB;AAEnC;IADC,IAAA,eAAK,GAAE;;mDACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;qDAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACR;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC3C,oCAAgB;oDAAC;AAGxB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,eAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,eAAQ,CAAC,KAAK,EAAE,CAAC;;wDACpD;AAGpB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;;qDAC5B;AAGf;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;;uDAC5B;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;;2DACrC;AAGvB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACjB;AAGvB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;;wDAC3B;iCAhCN,sBAAsB;IADlC,IAAA,mBAAS,GAAE;GACC,sBAAsB,CAiClC;AAGM,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAGlC,CAAA;AAHY,wDAAsB;AAEnC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;yDAAC;iCAFd,sBAAsB;IADlC,IAAA,mBAAS,GAAE;GACC,sBAAsB,CAGlC;AAGM,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,IAAA,qBAAW,EAAC,sBAAsB,CAAC;CAG9E,CAAA;AAHY,wDAAsB;AAEnC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mDACR;iCAFC,sBAAsB;IADlC,IAAA,mBAAS,GAAE;GACC,sBAAsB,CAGlC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synunu-libs",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "description": "Shared DTOs, constants, and utilities for Synunu microservices",