synunu-libs 1.0.42 → 1.0.44
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/tag.dto.d.ts +3 -13
- package/dist/dto/tag.dto.d.ts.map +1 -1
- package/dist/dto/tag.dto.js +8 -42
- package/dist/dto/tag.dto.js.map +1 -1
- package/dist/dto/vendor.dto.d.ts +4 -13
- package/dist/dto/vendor.dto.d.ts.map +1 -1
- package/dist/dto/vendor.dto.js +12 -42
- package/dist/dto/vendor.dto.js.map +1 -1
- package/package.json +1 -1
package/dist/dto/tag.dto.d.ts
CHANGED
|
@@ -1,21 +1,11 @@
|
|
|
1
|
-
import { TranslationInput } from "./translation.input";
|
|
2
|
-
import { UserType } from "../enum";
|
|
3
1
|
import { DateRangeInput } from "./date-range.input";
|
|
4
2
|
export declare class CreateTagInput {
|
|
5
|
-
|
|
6
|
-
|
|
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;
|
|
3
|
+
name: string;
|
|
4
|
+
description?: string;
|
|
16
5
|
}
|
|
17
6
|
export declare class TagFilterInput {
|
|
18
7
|
createdAt?: DateRangeInput;
|
|
8
|
+
updatedAt?: DateRangeInput;
|
|
19
9
|
}
|
|
20
10
|
declare const UpdateTagInput_base: import("@nestjs/common").Type<Partial<CreateTagInput>>;
|
|
21
11
|
export declare class UpdateTagInput extends UpdateTagInput_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.dto.d.ts","sourceRoot":"","sources":["../../src/dto/tag.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"tag.dto.d.ts","sourceRoot":"","sources":["../../src/dto/tag.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,cAAc;IAEzB,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBACa,cAAc;IAEzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,cAAe,SAAQ,mBAA2B;IAE7D,GAAG,EAAE,MAAM,CAAC;CACb"}
|
package/dist/dto/tag.dto.js
CHANGED
|
@@ -11,56 +11,18 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateTagInput = exports.TagFilterInput = exports.CreateTagInput = void 0;
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
-
const translation_input_1 = require("./translation.input");
|
|
15
|
-
const enum_1 = require("../enum");
|
|
16
14
|
const date_range_input_1 = require("./date-range.input");
|
|
17
15
|
let CreateTagInput = class CreateTagInput {
|
|
18
16
|
};
|
|
19
17
|
exports.CreateTagInput = CreateTagInput;
|
|
20
18
|
__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 }),
|
|
19
|
+
(0, graphql_1.Field)(() => String),
|
|
42
20
|
__metadata("design:type", String)
|
|
43
|
-
], CreateTagInput.prototype, "
|
|
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);
|
|
21
|
+
], CreateTagInput.prototype, "name", void 0);
|
|
56
22
|
__decorate([
|
|
57
23
|
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
-
__metadata("design:type",
|
|
59
|
-
], CreateTagInput.prototype, "
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
-
__metadata("design:type", Boolean)
|
|
63
|
-
], CreateTagInput.prototype, "isActive", void 0);
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CreateTagInput.prototype, "description", void 0);
|
|
64
26
|
exports.CreateTagInput = CreateTagInput = __decorate([
|
|
65
27
|
(0, graphql_1.InputType)()
|
|
66
28
|
], CreateTagInput);
|
|
@@ -71,6 +33,10 @@ __decorate([
|
|
|
71
33
|
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
34
|
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
35
|
], TagFilterInput.prototype, "createdAt", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
38
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
39
|
+
], TagFilterInput.prototype, "updatedAt", void 0);
|
|
74
40
|
exports.TagFilterInput = TagFilterInput = __decorate([
|
|
75
41
|
(0, graphql_1.InputType)()
|
|
76
42
|
], TagFilterInput);
|
package/dist/dto/tag.dto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.dto.js","sourceRoot":"","sources":["../../src/dto/tag.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,
|
|
1
|
+
{"version":3,"file":"tag.dto.js","sourceRoot":"","sources":["../../src/dto/tag.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;AAG7C,IAAM,cAAc,GAApB,MAAM,cAAc;CAM1B,CAAA;AANY,wCAAc;AAEzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4CACP;AAGb;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACnB;yBALV,cAAc;IAD1B,IAAA,mBAAS,GAAE;GACC,cAAc,CAM1B;AAGM,IAAM,cAAc,GAApB,MAAM,cAAc;CAM1B,CAAA;AANY,wCAAc;AAEzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;iDAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;iDAAC;yBALhB,cAAc;IAD1B,IAAA,mBAAS,GAAE;GACC,cAAc,CAM1B;AAGM,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,IAAA,qBAAW,EAAC,cAAc,CAAC;CAG9D,CAAA;AAHY,wCAAc;AAEzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACR;yBAFD,cAAc;IAD1B,IAAA,mBAAS,GAAE;GACC,cAAc,CAG1B"}
|
package/dist/dto/vendor.dto.d.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
|
-
import { TranslationInput } from "./translation.input";
|
|
2
|
-
import { UserType } from "../enum";
|
|
3
1
|
import { DateRangeInput } from "./date-range.input";
|
|
4
2
|
export declare class CreateVendorInput {
|
|
5
|
-
|
|
6
|
-
|
|
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;
|
|
3
|
+
name: string;
|
|
4
|
+
description?: string;
|
|
16
5
|
}
|
|
17
6
|
export declare class VendorFilterInput {
|
|
7
|
+
name?: string;
|
|
18
8
|
createdAt?: DateRangeInput;
|
|
9
|
+
updatedAt?: DateRangeInput;
|
|
19
10
|
}
|
|
20
11
|
declare const UpdateVendorInput_base: import("@nestjs/common").Type<Partial<CreateVendorInput>>;
|
|
21
12
|
export declare class UpdateVendorInput extends UpdateVendorInput_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vendor.dto.d.ts","sourceRoot":"","sources":["../../src/dto/vendor.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"vendor.dto.d.ts","sourceRoot":"","sources":["../../src/dto/vendor.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,iBAAiB;IAE5B,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBACa,iBAAiB;IAE5B,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,iBAAkB,SAAQ,sBAA8B;IAEnE,GAAG,EAAE,MAAM,CAAC;CACb"}
|
package/dist/dto/vendor.dto.js
CHANGED
|
@@ -11,66 +11,36 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateVendorInput = exports.VendorFilterInput = exports.CreateVendorInput = void 0;
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
-
const translation_input_1 = require("./translation.input");
|
|
15
|
-
const enum_1 = require("../enum");
|
|
16
14
|
const date_range_input_1 = require("./date-range.input");
|
|
17
15
|
let CreateVendorInput = class CreateVendorInput {
|
|
18
16
|
};
|
|
19
17
|
exports.CreateVendorInput = CreateVendorInput;
|
|
20
18
|
__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 }),
|
|
19
|
+
(0, graphql_1.Field)(() => String),
|
|
42
20
|
__metadata("design:type", String)
|
|
43
|
-
], CreateVendorInput.prototype, "
|
|
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);
|
|
21
|
+
], CreateVendorInput.prototype, "name", void 0);
|
|
56
22
|
__decorate([
|
|
57
23
|
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
58
|
-
__metadata("design:type",
|
|
59
|
-
], CreateVendorInput.prototype, "
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, graphql_1.Field)({ nullable: true, defaultValue: true }),
|
|
62
|
-
__metadata("design:type", Boolean)
|
|
63
|
-
], CreateVendorInput.prototype, "isActive", void 0);
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CreateVendorInput.prototype, "description", void 0);
|
|
64
26
|
exports.CreateVendorInput = CreateVendorInput = __decorate([
|
|
65
27
|
(0, graphql_1.InputType)()
|
|
66
28
|
], CreateVendorInput);
|
|
67
29
|
let VendorFilterInput = class VendorFilterInput {
|
|
68
30
|
};
|
|
69
31
|
exports.VendorFilterInput = VendorFilterInput;
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], VendorFilterInput.prototype, "name", void 0);
|
|
70
36
|
__decorate([
|
|
71
37
|
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
38
|
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
39
|
], VendorFilterInput.prototype, "createdAt", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
42
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
43
|
+
], VendorFilterInput.prototype, "updatedAt", void 0);
|
|
74
44
|
exports.VendorFilterInput = VendorFilterInput = __decorate([
|
|
75
45
|
(0, graphql_1.InputType)()
|
|
76
46
|
], VendorFilterInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vendor.dto.js","sourceRoot":"","sources":["../../src/dto/vendor.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,
|
|
1
|
+
{"version":3,"file":"vendor.dto.js","sourceRoot":"","sources":["../../src/dto/vendor.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;AAG7C,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAM7B,CAAA;AANY,8CAAiB;AAE5B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;+CACP;AAGb;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACnB;4BALV,iBAAiB;IAD7B,IAAA,mBAAS,GAAE;GACC,iBAAiB,CAM7B;AAGM,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAS7B,CAAA;AATY,8CAAiB;AAE5B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC1B;AAGd;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;oDAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;oDAAC;4BARhB,iBAAiB;IAD7B,IAAA,mBAAS,GAAE;GACC,iBAAiB,CAS7B;AAGM,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,IAAA,qBAAW,EAAC,iBAAiB,CAAC;CAGpE,CAAA;AAHY,8CAAiB;AAE5B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACR;4BAFD,iBAAiB;IAD7B,IAAA,mBAAS,GAAE;GACC,iBAAiB,CAG7B"}
|