synunu-libs 1.0.26 → 1.0.27
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.
- package/dist/constants/patterns.constant.d.ts +21 -0
- package/dist/constants/patterns.constant.d.ts.map +1 -1
- package/dist/constants/patterns.constant.js +3 -0
- package/dist/constants/patterns.constant.js.map +1 -1
- package/dist/constants/permission.constant.d.ts +18 -0
- package/dist/constants/permission.constant.d.ts.map +1 -1
- package/dist/constants/permission.constant.js +3 -0
- package/dist/constants/permission.constant.js.map +1 -1
- package/dist/dto/product-type.dto.d.ts +25 -0
- package/dist/dto/product-type.dto.d.ts.map +1 -0
- package/dist/dto/product-type.dto.js +87 -0
- package/dist/dto/product-type.dto.js.map +1 -0
- package/dist/dto/tag.dto.d.ts +25 -0
- package/dist/dto/tag.dto.d.ts.map +1 -0
- package/dist/dto/tag.dto.js +87 -0
- package/dist/dto/tag.dto.js.map +1 -0
- package/dist/dto/vendor.dto.d.ts +25 -0
- package/dist/dto/vendor.dto.d.ts.map +1 -0
- package/dist/dto/vendor.dto.js +87 -0
- package/dist/dto/vendor.dto.js.map +1 -0
- package/package.json +1 -1
|
@@ -163,6 +163,27 @@ export declare const MESSAGE_PATTERNS: {
|
|
|
163
163
|
readonly UPDATE: `${string}_update`;
|
|
164
164
|
readonly DELETE: `${string}_delete`;
|
|
165
165
|
} & ExtraPatterns<never>;
|
|
166
|
+
readonly VENDORS: {
|
|
167
|
+
readonly FIND_ALL: `${string}_find_all`;
|
|
168
|
+
readonly FIND_BY_ID: `${string}_find_by_id`;
|
|
169
|
+
readonly CREATE: `${string}_create`;
|
|
170
|
+
readonly UPDATE: `${string}_update`;
|
|
171
|
+
readonly DELETE: `${string}_delete`;
|
|
172
|
+
} & ExtraPatterns<never>;
|
|
173
|
+
readonly TAGS: {
|
|
174
|
+
readonly FIND_ALL: `${string}_find_all`;
|
|
175
|
+
readonly FIND_BY_ID: `${string}_find_by_id`;
|
|
176
|
+
readonly CREATE: `${string}_create`;
|
|
177
|
+
readonly UPDATE: `${string}_update`;
|
|
178
|
+
readonly DELETE: `${string}_delete`;
|
|
179
|
+
} & ExtraPatterns<never>;
|
|
180
|
+
readonly PRODUCT_TYPES: {
|
|
181
|
+
readonly FIND_ALL: `${string}_find_all`;
|
|
182
|
+
readonly FIND_BY_ID: `${string}_find_by_id`;
|
|
183
|
+
readonly CREATE: `${string}_create`;
|
|
184
|
+
readonly UPDATE: `${string}_update`;
|
|
185
|
+
readonly DELETE: `${string}_delete`;
|
|
186
|
+
} & ExtraPatterns<never>;
|
|
166
187
|
};
|
|
167
188
|
readonly ORDER_SERVICE: {
|
|
168
189
|
readonly ORDER: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patterns.constant.d.ts","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAkBzD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"patterns.constant.d.ts","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAkBzD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmGnB,CAAC"}
|
|
@@ -68,6 +68,9 @@ exports.MESSAGE_PATTERNS = {
|
|
|
68
68
|
INVENTORY_STORAGES: crudPatterns("inventoryStorages"),
|
|
69
69
|
PRODUCTS: crudPatterns("products"),
|
|
70
70
|
VARIANTS: crudPatterns("variants"),
|
|
71
|
+
VENDORS: crudPatterns("vendors"),
|
|
72
|
+
TAGS: crudPatterns("tags"),
|
|
73
|
+
PRODUCT_TYPES: crudPatterns("productTypes"),
|
|
71
74
|
},
|
|
72
75
|
ORDER_SERVICE: {
|
|
73
76
|
ORDER: crudPatterns("order"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patterns.constant.js","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":";;;AAEA,SAAS,YAAY,CACnB,MAAc,EACd,KAAwB;IAExB,MAAM,IAAI,GAAG;QACX,QAAQ,EAAE,GAAG,MAAM,WAAW;QAC9B,UAAU,EAAE,GAAG,MAAM,aAAa;QAClC,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;KAClB,CAAC;IAEX,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAC1B,CAAC;AACrB,CAAC;AAEY,QAAA,gBAAgB,GAAG;IAC9B,YAAY,EAAE;QACZ,IAAI,EAAE;YACJ,QAAQ,EAAE,eAAe;YACzB,KAAK,EAAE,YAAY;YACnB,aAAa,EAAE,oBAAoB;YACnC,aAAa,EAAE,oBAAoB;SACpC;QACD,IAAI,EAAE,YAAY,CAAC,MAAM,EAAE;YACzB,aAAa,EAAE,oBAAoB;YACnC,gBAAgB,EAAE,uBAAuB;YACzC,eAAe,EAAE,sBAAsB;SACxC,CAAC;QACF,IAAI,EAAE,YAAY,CAAC,MAAM,EAAE;YACzB,YAAY,EAAE,mBAAmB;SAClC,CAAC;QACF,UAAU,EAAE,YAAY,CAAC,YAAY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AW,EAAE,YAAY,CAAC,aAAa,CAAC;QACxC,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC;QAC9B,QAAQ,EAAE,YAAY,CAAC,UAAU,CAAC;KACnC;IAED,gBAAgB,EAAE;QAChB,QAAQ,EAAE,YAAY,CAAC,UAAU,CAAC;QAClC,OAAO,EAAE,YAAY,CAAC,SAAS,EAAE;YAC/B,QAAQ,EAAE,kBAAkB;SAC7B,CAAC;KACH;IAED,eAAe,EAAE;QACf,OAAO,EAAE,YAAY,CAAC,SAAS,EAAE;YAC/B,WAAW,EAAE,qBAAqB;YAClC,YAAY,EAAE,sBAAsB;SACrC,CAAC;QACF,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC;QAC5B,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC;KAC7B;CACO,CAAC"}
|
|
@@ -121,6 +121,24 @@ export declare const PERMISSIONS: {
|
|
|
121
121
|
readonly UPDATE: `${string}:update`;
|
|
122
122
|
readonly DELETE: `${string}:delete`;
|
|
123
123
|
};
|
|
124
|
+
readonly VENDORS: {
|
|
125
|
+
readonly READ: `${string}:read`;
|
|
126
|
+
readonly CREATE: `${string}:create`;
|
|
127
|
+
readonly UPDATE: `${string}:update`;
|
|
128
|
+
readonly DELETE: `${string}:delete`;
|
|
129
|
+
};
|
|
130
|
+
readonly TAGS: {
|
|
131
|
+
readonly READ: `${string}:read`;
|
|
132
|
+
readonly CREATE: `${string}:create`;
|
|
133
|
+
readonly UPDATE: `${string}:update`;
|
|
134
|
+
readonly DELETE: `${string}:delete`;
|
|
135
|
+
};
|
|
136
|
+
readonly PRODUCT_TYPES: {
|
|
137
|
+
readonly READ: `${string}:read`;
|
|
138
|
+
readonly CREATE: `${string}:create`;
|
|
139
|
+
readonly UPDATE: `${string}:update`;
|
|
140
|
+
readonly DELETE: `${string}:delete`;
|
|
141
|
+
};
|
|
124
142
|
};
|
|
125
143
|
readonly ORDER_SERVICE: {
|
|
126
144
|
readonly ORDER: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.constant.d.ts","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"permission.constant.d.ts","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFd,CAAC"}
|
|
@@ -38,6 +38,9 @@ exports.PERMISSIONS = {
|
|
|
38
38
|
PACKSIZES: crudPermissions("packsizes"),
|
|
39
39
|
INVENTORY_LOCATIONS: crudPermissions("inventoryLocations"),
|
|
40
40
|
INVENTORY_STORAGES: crudPermissions("inventoryStorages"),
|
|
41
|
+
VENDORS: crudPermissions("vendors"),
|
|
42
|
+
TAGS: crudPermissions("tags"),
|
|
43
|
+
PRODUCT_TYPES: crudPermissions("productTypes"),
|
|
41
44
|
},
|
|
42
45
|
ORDER_SERVICE: {
|
|
43
46
|
ORDER: crudPermissions("order"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.constant.js","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":";;;AAEA,SAAS,eAAe,CACtB,MAAc,EACd,KAA2B;IAE3B,MAAM,IAAI,GAAG;QACX,IAAI,EAAE,GAAG,MAAM,OAAO;QACtB,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;KA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EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,GAAG,EAAE,cAAc;QACnB,eAAe,EAAE,0BAA0B;QAC3C,QAAQ,EAAE,mBAAmB;QAC7B,OAAO,EAAE,kBAAkB;QAC3B,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,gBAAgB,EAAE,kBAAkB;QACpC,aAAa,EAAE,eAAe;QAC9B,KAAK,EAAE,OAAO;QACd,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC;KAC9C;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;KACtC;CACO,CAAC"}
|
|
@@ -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 CreateProductTypeInput {
|
|
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 ProductTypeFilterInput {
|
|
18
|
+
createdAt?: DateRangeInput;
|
|
19
|
+
}
|
|
20
|
+
declare const UpdateProductTypeInput_base: import("@nestjs/common").Type<Partial<CreateProductTypeInput>>;
|
|
21
|
+
export declare class UpdateProductTypeInput extends UpdateProductTypeInput_base {
|
|
22
|
+
_id: string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=product-type.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-type.dto.d.ts","sourceRoot":"","sources":["../../src/dto/product-type.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.UpdateProductTypeInput = exports.ProductTypeFilterInput = exports.CreateProductTypeInput = 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 CreateProductTypeInput = class CreateProductTypeInput {
|
|
18
|
+
};
|
|
19
|
+
exports.CreateProductTypeInput = CreateProductTypeInput;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, graphql_1.Field)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateProductTypeInput.prototype, "key", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput),
|
|
26
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
27
|
+
], CreateProductTypeInput.prototype, "label", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateProductTypeInput.prototype, "icon", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateProductTypeInput.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
|
+
], CreateProductTypeInput.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
|
+
], CreateProductTypeInput.prototype, "userType", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], CreateProductTypeInput.prototype, "order", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], CreateProductTypeInput.prototype, "visible", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], CreateProductTypeInput.prototype, "permissions", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], CreateProductTypeInput.prototype, "parent", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], CreateProductTypeInput.prototype, "isActive", void 0);
|
|
64
|
+
exports.CreateProductTypeInput = CreateProductTypeInput = __decorate([
|
|
65
|
+
(0, graphql_1.InputType)()
|
|
66
|
+
], CreateProductTypeInput);
|
|
67
|
+
let ProductTypeFilterInput = class ProductTypeFilterInput {
|
|
68
|
+
};
|
|
69
|
+
exports.ProductTypeFilterInput = ProductTypeFilterInput;
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
|
+
], ProductTypeFilterInput.prototype, "createdAt", void 0);
|
|
74
|
+
exports.ProductTypeFilterInput = ProductTypeFilterInput = __decorate([
|
|
75
|
+
(0, graphql_1.InputType)()
|
|
76
|
+
], ProductTypeFilterInput);
|
|
77
|
+
let UpdateProductTypeInput = class UpdateProductTypeInput extends (0, graphql_1.PartialType)(CreateProductTypeInput) {
|
|
78
|
+
};
|
|
79
|
+
exports.UpdateProductTypeInput = UpdateProductTypeInput;
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, graphql_1.Field)(() => String),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateProductTypeInput.prototype, "_id", void 0);
|
|
84
|
+
exports.UpdateProductTypeInput = UpdateProductTypeInput = __decorate([
|
|
85
|
+
(0, graphql_1.InputType)()
|
|
86
|
+
], UpdateProductTypeInput);
|
|
87
|
+
//# sourceMappingURL=product-type.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-type.dto.js","sourceRoot":"","sources":["../../src/dto/product-type.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"}
|
|
@@ -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 CreateTagInput {
|
|
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 TagFilterInput {
|
|
18
|
+
createdAt?: DateRangeInput;
|
|
19
|
+
}
|
|
20
|
+
declare const UpdateTagInput_base: import("@nestjs/common").Type<Partial<CreateTagInput>>;
|
|
21
|
+
export declare class UpdateTagInput extends UpdateTagInput_base {
|
|
22
|
+
_id: string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=tag.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag.dto.d.ts","sourceRoot":"","sources":["../../src/dto/tag.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,cAAc;IAE3B,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,cAAc;IAE3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC1B;;AAED,qBACa,cAAe,SAAQ,mBAA2B;IAE/D,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.UpdateTagInput = exports.TagFilterInput = exports.CreateTagInput = 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 CreateTagInput = class CreateTagInput {
|
|
18
|
+
};
|
|
19
|
+
exports.CreateTagInput = CreateTagInput;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, graphql_1.Field)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateTagInput.prototype, "key", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput),
|
|
26
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
27
|
+
], CreateTagInput.prototype, "label", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateTagInput.prototype, "icon", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateTagInput.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
|
+
], CreateTagInput.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
|
+
], CreateTagInput.prototype, "userType", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], CreateTagInput.prototype, "order", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], CreateTagInput.prototype, "visible", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], CreateTagInput.prototype, "permissions", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], CreateTagInput.prototype, "parent", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], CreateTagInput.prototype, "isActive", void 0);
|
|
64
|
+
exports.CreateTagInput = CreateTagInput = __decorate([
|
|
65
|
+
(0, graphql_1.InputType)()
|
|
66
|
+
], CreateTagInput);
|
|
67
|
+
let TagFilterInput = class TagFilterInput {
|
|
68
|
+
};
|
|
69
|
+
exports.TagFilterInput = TagFilterInput;
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
|
+
], TagFilterInput.prototype, "createdAt", void 0);
|
|
74
|
+
exports.TagFilterInput = TagFilterInput = __decorate([
|
|
75
|
+
(0, graphql_1.InputType)()
|
|
76
|
+
], TagFilterInput);
|
|
77
|
+
let UpdateTagInput = class UpdateTagInput extends (0, graphql_1.PartialType)(CreateTagInput) {
|
|
78
|
+
};
|
|
79
|
+
exports.UpdateTagInput = UpdateTagInput;
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, graphql_1.Field)(() => String),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateTagInput.prototype, "_id", void 0);
|
|
84
|
+
exports.UpdateTagInput = UpdateTagInput = __decorate([
|
|
85
|
+
(0, graphql_1.InputType)()
|
|
86
|
+
], UpdateTagInput);
|
|
87
|
+
//# sourceMappingURL=tag.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag.dto.js","sourceRoot":"","sources":["../../src/dto/tag.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AAG7C,IAAM,cAAc,GAApB,MAAM,cAAc;CAiC1B,CAAA;AAjCY,wCAAc;AAE3B;IADC,IAAA,eAAK,GAAE;;2CACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;6CAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI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GAApB,MAAM,cAAe,SAAQ,IAAA,qBAAW,EAAC,cAAc,CAAC;CAG9D,CAAA;AAHY,wCAAc;AAE3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACR;yBAFC,cAAc;IAD1B,IAAA,mBAAS,GAAE;GACC,cAAc,CAG1B"}
|
|
@@ -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 CreateVendorInput {
|
|
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 VendorFilterInput {
|
|
18
|
+
createdAt?: DateRangeInput;
|
|
19
|
+
}
|
|
20
|
+
declare const UpdateVendorInput_base: import("@nestjs/common").Type<Partial<CreateVendorInput>>;
|
|
21
|
+
export declare class UpdateVendorInput extends UpdateVendorInput_base {
|
|
22
|
+
_id: string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=vendor.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vendor.dto.d.ts","sourceRoot":"","sources":["../../src/dto/vendor.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,iBAAiB;IAE9B,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,iBAAiB;IAE9B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC1B;;AAED,qBACa,iBAAkB,SAAQ,sBAA8B;IAErE,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.UpdateVendorInput = exports.VendorFilterInput = exports.CreateVendorInput = 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 CreateVendorInput = class CreateVendorInput {
|
|
18
|
+
};
|
|
19
|
+
exports.CreateVendorInput = CreateVendorInput;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, graphql_1.Field)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateVendorInput.prototype, "key", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput),
|
|
26
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
27
|
+
], CreateVendorInput.prototype, "label", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateVendorInput.prototype, "icon", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateVendorInput.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
|
+
], CreateVendorInput.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
|
+
], CreateVendorInput.prototype, "userType", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], CreateVendorInput.prototype, "order", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], CreateVendorInput.prototype, "visible", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], CreateVendorInput.prototype, "permissions", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], CreateVendorInput.prototype, "parent", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], CreateVendorInput.prototype, "isActive", void 0);
|
|
64
|
+
exports.CreateVendorInput = CreateVendorInput = __decorate([
|
|
65
|
+
(0, graphql_1.InputType)()
|
|
66
|
+
], CreateVendorInput);
|
|
67
|
+
let VendorFilterInput = class VendorFilterInput {
|
|
68
|
+
};
|
|
69
|
+
exports.VendorFilterInput = VendorFilterInput;
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
|
+
], VendorFilterInput.prototype, "createdAt", void 0);
|
|
74
|
+
exports.VendorFilterInput = VendorFilterInput = __decorate([
|
|
75
|
+
(0, graphql_1.InputType)()
|
|
76
|
+
], VendorFilterInput);
|
|
77
|
+
let UpdateVendorInput = class UpdateVendorInput extends (0, graphql_1.PartialType)(CreateVendorInput) {
|
|
78
|
+
};
|
|
79
|
+
exports.UpdateVendorInput = UpdateVendorInput;
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, graphql_1.Field)(() => String),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateVendorInput.prototype, "_id", void 0);
|
|
84
|
+
exports.UpdateVendorInput = UpdateVendorInput = __decorate([
|
|
85
|
+
(0, graphql_1.InputType)()
|
|
86
|
+
], Up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