synunu-libs 1.0.12 → 1.0.14
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/dto/index.d.ts +1 -0
- package/dist/dto/index.d.ts.map +1 -1
- package/dist/dto/index.js +1 -0
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/product.dto.d.ts +25 -0
- package/dist/dto/product.dto.d.ts.map +1 -0
- package/dist/dto/product.dto.js +87 -0
- package/dist/dto/product.dto.js.map +1 -0
- package/dist/dto/soit.dto.d.ts +25 -0
- package/dist/dto/soit.dto.d.ts.map +1 -0
- package/dist/dto/soit.dto.js +87 -0
- package/dist/dto/soit.dto.js.map +1 -0
- package/dist/dto/tttt.dto.d.ts +25 -0
- package/dist/dto/tttt.dto.d.ts.map +1 -0
- package/dist/dto/tttt.dto.js +87 -0
- package/dist/dto/tttt.dto.js.map +1 -0
- package/package.json +1 -1
package/dist/dto/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from "./menu.dto";
|
|
|
5
5
|
export * from "./organization.dto";
|
|
6
6
|
export * from "./roles.dto";
|
|
7
7
|
export * from "./user.dto";
|
|
8
|
+
export * from "./product.dto";
|
|
8
9
|
export * from "./date-range.input";
|
|
9
10
|
export * from "./translation.input";
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/dto/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAG9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|
package/dist/dto/index.js
CHANGED
|
@@ -22,6 +22,7 @@ __exportStar(require("./menu.dto"), exports);
|
|
|
22
22
|
__exportStar(require("./organization.dto"), exports);
|
|
23
23
|
__exportStar(require("./roles.dto"), exports);
|
|
24
24
|
__exportStar(require("./user.dto"), exports);
|
|
25
|
+
__exportStar(require("./product.dto"), exports);
|
|
25
26
|
// share
|
|
26
27
|
__exportStar(require("./date-range.input"), exports);
|
|
27
28
|
__exportStar(require("./translation.input"), exports);
|
package/dist/dto/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,6CAA2B;AAC3B,+CAA6B;AAC7B,mDAAiC;AACjC,6CAA2B;AAC3B,qDAAmC;AACnC,8CAA4B;AAC5B,6CAA2B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,6CAA2B;AAC3B,+CAA6B;AAC7B,mDAAiC;AACjC,6CAA2B;AAC3B,qDAAmC;AACnC,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAE9B,QAAQ;AACR,qDAAmC;AACnC,sDAAoC"}
|
|
@@ -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 CreateProductInput {
|
|
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 ProductFilterInput {
|
|
18
|
+
createdAt?: DateRangeInput;
|
|
19
|
+
}
|
|
20
|
+
declare const UpdateProductInput_base: import("@nestjs/common").Type<Partial<CreateProductInput>>;
|
|
21
|
+
export declare class UpdateProductInput extends UpdateProductInput_base {
|
|
22
|
+
_id: string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=product.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.dto.d.ts","sourceRoot":"","sources":["../../src/dto/product.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,kBAAkB;IAE/B,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,kBAAkB;IAE/B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC1B;;AAED,qBACa,kBAAmB,SAAQ,uBAA+B;IAEvE,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.UpdateProductInput = exports.ProductFilterInput = exports.CreateProductInput = 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 CreateProductInput = class CreateProductInput {
|
|
18
|
+
};
|
|
19
|
+
exports.CreateProductInput = CreateProductInput;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, graphql_1.Field)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateProductInput.prototype, "key", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput),
|
|
26
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
27
|
+
], CreateProductInput.prototype, "label", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateProductInput.prototype, "icon", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateProductInput.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
|
+
], CreateProductInput.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
|
+
], CreateProductInput.prototype, "userType", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], CreateProductInput.prototype, "order", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], CreateProductInput.prototype, "visible", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], CreateProductInput.prototype, "permissions", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], CreateProductInput.prototype, "parent", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], CreateProductInput.prototype, "isActive", void 0);
|
|
64
|
+
exports.CreateProductInput = CreateProductInput = __decorate([
|
|
65
|
+
(0, graphql_1.InputType)()
|
|
66
|
+
], CreateProductInput);
|
|
67
|
+
let ProductFilterInput = class ProductFilterInput {
|
|
68
|
+
};
|
|
69
|
+
exports.ProductFilterInput = ProductFilterInput;
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
|
+
], ProductFilterInput.prototype, "createdAt", void 0);
|
|
74
|
+
exports.ProductFilterInput = ProductFilterInput = __decorate([
|
|
75
|
+
(0, graphql_1.InputType)()
|
|
76
|
+
], ProductFilterInput);
|
|
77
|
+
let UpdateProductInput = class UpdateProductInput extends (0, graphql_1.PartialType)(CreateProductInput) {
|
|
78
|
+
};
|
|
79
|
+
exports.UpdateProductInput = UpdateProductInput;
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, graphql_1.Field)(() => String),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateProductInput.prototype, "_id", void 0);
|
|
84
|
+
exports.UpdateProductInput = UpdateProductInput = __decorate([
|
|
85
|
+
(0, graphql_1.InputType)()
|
|
86
|
+
], UpdateProductInput);
|
|
87
|
+
//# sourceMappingURL=product.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../src/dto/product.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AAG7C,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAiC9B,CAAA;AAjCY,gDAAkB;AAE/B;IADC,IAAA,eAAK,GAAE;;+CACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;iDAAC;AAGxB;I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D9B,IAAA,mBAAS,GAAE;GACC,kBAAkB,CAG9B;AAGM,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,IAAA,qBAAW,EAAC,kBAAkB,CAAC;CAGtE,CAAA;AAHY,gDAAkB;AAE/B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;+CACR;6BAFC,kBAAkB;IAD9B,IAAA,mBAAS,GAAE;GACC,kBAAkB,CAG9B"}
|
|
@@ -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 CreateSoitInput {
|
|
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 SoitFilterInput {
|
|
18
|
+
createdAt?: DateRangeInput;
|
|
19
|
+
}
|
|
20
|
+
declare const UpdateSoitInput_base: import("@nestjs/common").Type<Partial<CreateSoitInput>>;
|
|
21
|
+
export declare class UpdateSoitInput extends UpdateSoitInput_base {
|
|
22
|
+
_id: string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=soit.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"soit.dto.d.ts","sourceRoot":"","sources":["../../src/dto/soit.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,eAAe;IAE5B,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,eAAe;IAE5B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC1B;;AAED,qBACa,eAAgB,SAAQ,oBAA4B;IAEjE,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.UpdateSoitInput = exports.SoitFilterInput = exports.CreateSoitInput = 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 CreateSoitInput = class CreateSoitInput {
|
|
18
|
+
};
|
|
19
|
+
exports.CreateSoitInput = CreateSoitInput;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, graphql_1.Field)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateSoitInput.prototype, "key", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput),
|
|
26
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
27
|
+
], CreateSoitInput.prototype, "label", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateSoitInput.prototype, "icon", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateSoitInput.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
|
+
], CreateSoitInput.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
|
+
], CreateSoitInput.prototype, "userType", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], CreateSoitInput.prototype, "order", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], CreateSoitInput.prototype, "visible", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], CreateSoitInput.prototype, "permissions", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], CreateSoitInput.prototype, "parent", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], CreateSoitInput.prototype, "isActive", void 0);
|
|
64
|
+
exports.CreateSoitInput = CreateSoitInput = __decorate([
|
|
65
|
+
(0, graphql_1.InputType)()
|
|
66
|
+
], CreateSoitInput);
|
|
67
|
+
let SoitFilterInput = class SoitFilterInput {
|
|
68
|
+
};
|
|
69
|
+
exports.SoitFilterInput = SoitFilterInput;
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
|
+
], SoitFilterInput.prototype, "createdAt", void 0);
|
|
74
|
+
exports.SoitFilterInput = SoitFilterInput = __decorate([
|
|
75
|
+
(0, graphql_1.InputType)()
|
|
76
|
+
], SoitFilterInput);
|
|
77
|
+
let UpdateSoitInput = class UpdateSoitInput extends (0, graphql_1.PartialType)(CreateSoitInput) {
|
|
78
|
+
};
|
|
79
|
+
exports.UpdateSoitInput = UpdateSoitInput;
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, graphql_1.Field)(() => String),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateSoitInput.prototype, "_id", void 0);
|
|
84
|
+
exports.UpdateSoitInput = UpdateSoitInput = __decorate([
|
|
85
|
+
(0, graphql_1.InputType)()
|
|
86
|
+
], UpdateSoitInput);
|
|
87
|
+
//# sourceMappingURL=soit.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"soit.dto.js","sourceRoot":"","sources":["../../src/dto/soit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AAG7C,IAAM,eAAe,GAArB,MAAM,eAAe;CAiC3B,CAAA;AAjCY,0CAAe;AAE5B;IADC,IAAA,eAAK,GAAE;;4CACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;8CAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACR;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC3C,oCAAgB;6CAAC;AAGxB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,eAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,eAAQ,CAAC,KAAK,EAAE,CAAC;;iDACpD;AAGpB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;;8CAC5B;AAGf;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;;gDAC5B;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;;oDACrC;AAGvB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACjB;AAGvB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;;iDAC3B;0BAhCN,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CAiC3B;AAGM,IAAM,eAAe,GAArB,MAAM,eAAe;CAG3B,CAAA;AAHY,0CAAe;AAE5B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;kDAAC;0BAFd,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CAG3B;AAGM,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,IAAA,qBAAW,EAAC,eAAe,CAAC;CAGhE,CAAA;AAHY,0CAAe;AAE5B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4CACR;0BAFC,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CAG3B"}
|
|
@@ -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 CreateTtttInput {
|
|
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 TtttFilterInput {
|
|
18
|
+
createdAt?: DateRangeInput;
|
|
19
|
+
}
|
|
20
|
+
declare const UpdateTtttInput_base: import("@nestjs/common").Type<Partial<CreateTtttInput>>;
|
|
21
|
+
export declare class UpdateTtttInput extends UpdateTtttInput_base {
|
|
22
|
+
_id: string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=tttt.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tttt.dto.d.ts","sourceRoot":"","sources":["../../src/dto/tttt.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,eAAe;IAE1B,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;CACpB;AAED,qBACa,eAAe;IAE1B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,eAAgB,SAAQ,oBAA4B;IAE/D,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -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.UpdateTtttInput = exports.TtttFilterInput = exports.CreateTtttInput = 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 CreateTtttInput = class CreateTtttInput {
|
|
18
|
+
};
|
|
19
|
+
exports.CreateTtttInput = CreateTtttInput;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, graphql_1.Field)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateTtttInput.prototype, "key", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, graphql_1.Field)(() => translation_input_1.TranslationInput),
|
|
26
|
+
__metadata("design:type", translation_input_1.TranslationInput)
|
|
27
|
+
], CreateTtttInput.prototype, "label", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateTtttInput.prototype, "icon", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateTtttInput.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
|
+
], CreateTtttInput.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
|
+
], CreateTtttInput.prototype, "userType", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: 0 }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], CreateTtttInput.prototype, "order", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], CreateTtttInput.prototype, "visible", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, graphql_1.Field)(() => [String], { nullable: true, defaultValue: [] }),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], CreateTtttInput.prototype, "permissions", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], CreateTtttInput.prototype, "parent", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], CreateTtttInput.prototype, "isActive", void 0);
|
|
64
|
+
exports.CreateTtttInput = CreateTtttInput = __decorate([
|
|
65
|
+
(0, graphql_1.InputType)()
|
|
66
|
+
], CreateTtttInput);
|
|
67
|
+
let TtttFilterInput = class TtttFilterInput {
|
|
68
|
+
};
|
|
69
|
+
exports.TtttFilterInput = TtttFilterInput;
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
|
+
], TtttFilterInput.prototype, "createdAt", void 0);
|
|
74
|
+
exports.TtttFilterInput = TtttFilterInput = __decorate([
|
|
75
|
+
(0, graphql_1.InputType)()
|
|
76
|
+
], TtttFilterInput);
|
|
77
|
+
let UpdateTtttInput = class UpdateTtttInput extends (0, graphql_1.PartialType)(CreateTtttInput) {
|
|
78
|
+
};
|
|
79
|
+
exports.UpdateTtttInput = UpdateTtttInput;
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, graphql_1.Field)(() => String),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateTtttInput.prototype, "_id", void 0);
|
|
84
|
+
exports.UpdateTtttInput = UpdateTtttInput = __decorate([
|
|
85
|
+
(0, graphql_1.InputType)()
|
|
86
|
+
], UpdateTtttInput);
|
|
87
|
+
//# sourceMappingURL=tttt.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tttt.dto.js","sourceRoot":"","sources":["../../src/dto/tttt.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,2DAAuD;AACvD,kCAAmC;AACnC,yDAAoD;AAG7C,IAAM,eAAe,GAArB,MAAM,eAAe;CAiC3B,CAAA;AAjCY,0CAAe;AAE1B;IADC,IAAA,eAAK,GAAE;;4CACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;8BACvB,oCAAgB;8CAAC;AAGxB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACR;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC3C,oCAAgB;6CAAC;AAGxB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