synunu-libs 1.0.36 → 1.0.37
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/collection-image.input.d.ts +15 -0
- package/dist/dto/collection-image.input.d.ts.map +1 -0
- package/dist/dto/collection-image.input.js +68 -0
- package/dist/dto/collection-image.input.js.map +1 -0
- package/dist/dto/collection-rule.input.d.ts +7 -0
- package/dist/dto/collection-rule.input.d.ts.map +1 -0
- package/dist/dto/collection-rule.input.js +33 -0
- package/dist/dto/collection-rule.input.js.map +1 -0
- package/dist/dto/collection.dto.d.ts +18 -13
- package/dist/dto/collection.dto.d.ts.map +1 -1
- package/dist/dto/collection.dto.js +43 -26
- package/dist/dto/collection.dto.js.map +1 -1
- package/dist/enum/collection-type.enum.d.ts +5 -0
- package/dist/enum/collection-type.enum.d.ts.map +1 -0
- package/dist/enum/collection-type.enum.js +14 -0
- package/dist/enum/collection-type.enum.js.map +1 -0
- package/dist/enum/index.d.ts +1 -0
- package/dist/enum/index.d.ts.map +1 -1
- package/dist/enum/index.js +1 -0
- package/dist/enum/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class CollectionImageInput {
|
|
2
|
+
src?: string;
|
|
3
|
+
thumbnailSrc?: string;
|
|
4
|
+
alt?: string;
|
|
5
|
+
extension?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
contentType?: string;
|
|
8
|
+
mimeType?: string;
|
|
9
|
+
size?: number;
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
updatedAt?: Date;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=collection-image.input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-image.input.d.ts","sourceRoot":"","sources":["../../src/dto/collection-image.input.ts"],"names":[],"mappings":"AAEA,qBACa,oBAAoB;IAE/B,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,SAAS,CAAC,EAAE,IAAI,CAAC;IAGjB,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB"}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.CollectionImageInput = void 0;
|
|
13
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
let CollectionImageInput = class CollectionImageInput {
|
|
15
|
+
};
|
|
16
|
+
exports.CollectionImageInput = CollectionImageInput;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], CollectionImageInput.prototype, "src", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CollectionImageInput.prototype, "thumbnailSrc", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CollectionImageInput.prototype, "alt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CollectionImageInput.prototype, "extension", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CollectionImageInput.prototype, "name", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], CollectionImageInput.prototype, "contentType", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], CollectionImageInput.prototype, "mimeType", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], CollectionImageInput.prototype, "size", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], CollectionImageInput.prototype, "width", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], CollectionImageInput.prototype, "height", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
59
|
+
__metadata("design:type", Date)
|
|
60
|
+
], CollectionImageInput.prototype, "createdAt", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
63
|
+
__metadata("design:type", Date)
|
|
64
|
+
], CollectionImageInput.prototype, "updatedAt", void 0);
|
|
65
|
+
exports.CollectionImageInput = CollectionImageInput = __decorate([
|
|
66
|
+
(0, graphql_1.InputType)()
|
|
67
|
+
], CollectionImageInput);
|
|
68
|
+
//# sourceMappingURL=collection-image.input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-image.input.js","sourceRoot":"","sources":["../../src/dto/collection-image.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAwD;AAGjD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAoChC,CAAA;AApCY,oDAAoB;AAE/B;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACb;AAGb;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACJ;AAGtB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACb;AAGb;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACP;AAGnB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACL;AAGrB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACR;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACvB;AAGd;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACtB;AAGf;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACrB;AAGhB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACd,IAAI;uDAAC;AAGjB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACd,IAAI;uDAAC;+BAnCN,oBAAoB;IADhC,IAAA,mBAAS,GAAE;GACC,oBAAoB,CAoChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-rule.input.d.ts","sourceRoot":"","sources":["../../src/dto/collection-rule.input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,qBACa,mBAAmB;IAE9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,QAAQ,CAAC,EAAE,aAAa,CAAC;IAGzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.CollectionRuleInput = void 0;
|
|
13
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
const enum_1 = require("../enum");
|
|
15
|
+
let CollectionRuleInput = class CollectionRuleInput {
|
|
16
|
+
};
|
|
17
|
+
exports.CollectionRuleInput = CollectionRuleInput;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CollectionRuleInput.prototype, "column", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, graphql_1.Field)(() => enum_1.ERelationType, { nullable: true }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CollectionRuleInput.prototype, "relation", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], CollectionRuleInput.prototype, "condition", void 0);
|
|
30
|
+
exports.CollectionRuleInput = CollectionRuleInput = __decorate([
|
|
31
|
+
(0, graphql_1.InputType)()
|
|
32
|
+
], CollectionRuleInput);
|
|
33
|
+
//# sourceMappingURL=collection-rule.input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-rule.input.js","sourceRoot":"","sources":["../../src/dto/collection-rule.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmD;AACnD,kCAAwC;AAGjC,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAS/B,CAAA;AATY,kDAAmB;AAE9B;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACV;AAGhB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oBAAa,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACtB;AAGzB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACP;8BARR,mBAAmB;IAD/B,IAAA,mBAAS,GAAE;GACC,mBAAmB,CAS/B"}
|
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
import { TranslationInput } from "./translation.input";
|
|
2
|
-
import { UserType } from "../enum";
|
|
3
1
|
import { DateRangeInput } from "./date-range.input";
|
|
2
|
+
import { ECollectionType, ESortOrder } from "../enum";
|
|
3
|
+
import { CollectionImageInput } from "./collection-image.input";
|
|
4
|
+
import { CollectionRuleInput } from "./collection-rule.input";
|
|
4
5
|
export declare class CreateCollectionInput {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
name: string;
|
|
7
|
+
alias: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
publishedOn?: Date;
|
|
10
|
+
metaTitle?: string;
|
|
11
|
+
metaDescription?: string;
|
|
12
|
+
templateLayout?: string;
|
|
13
|
+
sortOrder?: ESortOrder;
|
|
14
|
+
image?: CollectionImageInput;
|
|
15
|
+
rules?: CollectionRuleInput[];
|
|
16
|
+
type?: ECollectionType;
|
|
17
|
+
disjunctive?: boolean;
|
|
16
18
|
}
|
|
17
19
|
export declare class CollectionFilterInput {
|
|
18
20
|
createdAt?: DateRangeInput;
|
|
21
|
+
name?: string;
|
|
22
|
+
alias?: string;
|
|
23
|
+
type?: ECollectionType;
|
|
19
24
|
}
|
|
20
25
|
declare const UpdateCollectionInput_base: import("@nestjs/common").Type<Partial<CreateCollectionInput>>;
|
|
21
26
|
export declare class UpdateCollectionInput extends UpdateCollectionInput_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection.dto.d.ts","sourceRoot":"","sources":["../../src/dto/collection.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"collection.dto.d.ts","sourceRoot":"","sources":["../../src/dto/collection.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,qBACa,qBAAqB;IAEhC,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,WAAW,CAAC,EAAE,IAAI,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,SAAS,CAAC,EAAE,UAAU,CAAC;IAGvB,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAG7B,KAAK,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAG9B,IAAI,CAAC,EAAE,eAAe,CAAC;IAGvB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,qBACa,qBAAqB;IAEhC,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB;;AAED,qBACa,qBAAsB,SAAQ,0BAAkC;IAE3E,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -11,56 +11,61 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateCollectionInput = exports.CollectionFilterInput = exports.CreateCollectionInput = 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");
|
|
15
|
+
const enum_1 = require("../enum");
|
|
16
|
+
const collection_image_input_1 = require("./collection-image.input");
|
|
17
|
+
const collection_rule_input_1 = require("./collection-rule.input");
|
|
17
18
|
let CreateCollectionInput = class CreateCollectionInput {
|
|
18
19
|
};
|
|
19
20
|
exports.CreateCollectionInput = CreateCollectionInput;
|
|
20
21
|
__decorate([
|
|
21
22
|
(0, graphql_1.Field)(),
|
|
22
23
|
__metadata("design:type", String)
|
|
23
|
-
], CreateCollectionInput.prototype, "
|
|
24
|
+
], CreateCollectionInput.prototype, "name", void 0);
|
|
24
25
|
__decorate([
|
|
25
|
-
(0, graphql_1.Field)(
|
|
26
|
-
__metadata("design:type",
|
|
27
|
-
], CreateCollectionInput.prototype, "
|
|
26
|
+
(0, graphql_1.Field)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateCollectionInput.prototype, "alias", void 0);
|
|
28
29
|
__decorate([
|
|
29
30
|
(0, graphql_1.Field)({ nullable: true }),
|
|
30
31
|
__metadata("design:type", String)
|
|
31
|
-
], CreateCollectionInput.prototype, "
|
|
32
|
+
], CreateCollectionInput.prototype, "description", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
35
|
+
__metadata("design:type", Date)
|
|
36
|
+
], CreateCollectionInput.prototype, "publishedOn", void 0);
|
|
32
37
|
__decorate([
|
|
33
38
|
(0, graphql_1.Field)({ nullable: true }),
|
|
34
39
|
__metadata("design:type", String)
|
|
35
|
-
], CreateCollectionInput.prototype, "
|
|
40
|
+
], CreateCollectionInput.prototype, "metaTitle", void 0);
|
|
36
41
|
__decorate([
|
|
37
|
-
(0, graphql_1.Field)(
|
|
38
|
-
__metadata("design:type",
|
|
39
|
-
], CreateCollectionInput.prototype, "
|
|
42
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], CreateCollectionInput.prototype, "metaDescription", void 0);
|
|
40
45
|
__decorate([
|
|
41
|
-
(0, graphql_1.Field)(
|
|
46
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
42
47
|
__metadata("design:type", String)
|
|
43
|
-
], CreateCollectionInput.prototype, "
|
|
48
|
+
], CreateCollectionInput.prototype, "templateLayout", void 0);
|
|
44
49
|
__decorate([
|
|
45
|
-
(0, graphql_1.Field)({ nullable: true
|
|
46
|
-
__metadata("design:type",
|
|
47
|
-
], CreateCollectionInput.prototype, "
|
|
50
|
+
(0, graphql_1.Field)(() => enum_1.ESortOrder, { nullable: true }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], CreateCollectionInput.prototype, "sortOrder", void 0);
|
|
48
53
|
__decorate([
|
|
49
|
-
(0, graphql_1.Field)(
|
|
50
|
-
__metadata("design:type",
|
|
51
|
-
], CreateCollectionInput.prototype, "
|
|
54
|
+
(0, graphql_1.Field)(() => collection_image_input_1.CollectionImageInput, { nullable: true }),
|
|
55
|
+
__metadata("design:type", collection_image_input_1.CollectionImageInput)
|
|
56
|
+
], CreateCollectionInput.prototype, "image", void 0);
|
|
52
57
|
__decorate([
|
|
53
|
-
(0, graphql_1.Field)(() => [
|
|
58
|
+
(0, graphql_1.Field)(() => [collection_rule_input_1.CollectionRuleInput], { nullable: true }),
|
|
54
59
|
__metadata("design:type", Array)
|
|
55
|
-
], CreateCollectionInput.prototype, "
|
|
60
|
+
], CreateCollectionInput.prototype, "rules", void 0);
|
|
56
61
|
__decorate([
|
|
57
|
-
(0, graphql_1.Field)(() =>
|
|
58
|
-
__metadata("design:type",
|
|
59
|
-
], CreateCollectionInput.prototype, "
|
|
62
|
+
(0, graphql_1.Field)(() => enum_1.ECollectionType, { nullable: true }),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], CreateCollectionInput.prototype, "type", void 0);
|
|
60
65
|
__decorate([
|
|
61
|
-
(0, graphql_1.Field)({ nullable: true
|
|
66
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
62
67
|
__metadata("design:type", Boolean)
|
|
63
|
-
], CreateCollectionInput.prototype, "
|
|
68
|
+
], CreateCollectionInput.prototype, "disjunctive", void 0);
|
|
64
69
|
exports.CreateCollectionInput = CreateCollectionInput = __decorate([
|
|
65
70
|
(0, graphql_1.InputType)()
|
|
66
71
|
], CreateCollectionInput);
|
|
@@ -71,6 +76,18 @@ __decorate([
|
|
|
71
76
|
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
72
77
|
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
73
78
|
], CollectionFilterInput.prototype, "createdAt", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], CollectionFilterInput.prototype, "name", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], CollectionFilterInput.prototype, "alias", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, graphql_1.Field)(() => enum_1.ECollectionType, { nullable: true }),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], CollectionFilterInput.prototype, "type", void 0);
|
|
74
91
|
exports.CollectionFilterInput = CollectionFilterInput = __decorate([
|
|
75
92
|
(0, graphql_1.InputType)()
|
|
76
93
|
], CollectionFilterInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection.dto.js","sourceRoot":"","sources":["../../src/dto/collection.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,
|
|
1
|
+
{"version":3,"file":"collection.dto.js","sourceRoot":"","sources":["../../src/dto/collection.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;AACpD,kCAAsD;AACtD,qEAAgE;AAChE,mEAA8D;AAGvD,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CAoCjC,CAAA;AApCY,sDAAqB;AAEhC;IADC,IAAA,eAAK,GAAE;;mDACK;AAGb;IADC,IAAA,eAAK,GAAE;;oDACM;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACL;AAGrB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACZ,IAAI;0DAAC;AAGnB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACP;AAGnB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACD;AAGzB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACF;AAGxB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iBAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACrB;AAGvB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,6CAAoB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC9C,6CAAoB;oDAAC;AAG7B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,2CAAmB,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACzB;AAG9B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,sBAAe,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDAC1B;AAGvB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACJ;gCAnCX,qBAAqB;IADjC,IAAA,mBAAS,GAAE;GACC,qBAAqB,CAoCjC;AAGM,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CAYjC,CAAA;AAZY,sDAAqB;AAEhC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;wDAAC;AAG3B;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACZ;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACX;AAGf;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,sBAAe,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDAC1B;gCAXZ,qBAAqB;IADjC,IAAA,mBAAS,GAAE;GACC,qBAAqB,CAYjC;AAGM,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,IAAA,qBAAW,EAAC,qBAAqB,CAAC;CAG5E,CAAA;AAHY,sDAAqB;AAEhC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kDACR;gCAFD,qBAAqB;IADjC,IAAA,mBAAS,GAAE;GACC,qBAAqB,CAGjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-type.enum.d.ts","sourceRoot":"","sources":["../../src/enum/collection-type.enum.ts"],"names":[],"mappings":"AAEA,oBAAY,eAAe;IACzB,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ECollectionType = void 0;
|
|
4
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
5
|
+
var ECollectionType;
|
|
6
|
+
(function (ECollectionType) {
|
|
7
|
+
ECollectionType["CUSTOM"] = "CUSTOM";
|
|
8
|
+
ECollectionType["SMART"] = "SMART";
|
|
9
|
+
})(ECollectionType || (exports.ECollectionType = ECollectionType = {}));
|
|
10
|
+
(0, graphql_1.registerEnumType)(ECollectionType, {
|
|
11
|
+
name: "CollectionType",
|
|
12
|
+
description: "Type of the collection: custom or smart",
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=collection-type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-type.enum.js","sourceRoot":"","sources":["../../src/enum/collection-type.enum.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AAEnD,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,kCAAe,CAAA;AACjB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAED,IAAA,0BAAgB,EAAC,eAAe,EAAE;IAChC,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,yCAAyC;CACvD,CAAC,CAAC"}
|
package/dist/enum/index.d.ts
CHANGED
package/dist/enum/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC"}
|
package/dist/enum/index.js
CHANGED
|
@@ -18,4 +18,5 @@ __exportStar(require("./account-status.enum"), exports);
|
|
|
18
18
|
__exportStar(require("./use.enum"), exports);
|
|
19
19
|
__exportStar(require("./relation-type.enum"), exports);
|
|
20
20
|
__exportStar(require("./sort-order.enum"), exports);
|
|
21
|
+
__exportStar(require("./collection-type.enum"), exports);
|
|
21
22
|
//# sourceMappingURL=index.js.map
|
package/dist/enum/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,6CAA2B;AAC3B,uDAAqC;AACrC,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,6CAA2B;AAC3B,uDAAqC;AACrC,oDAAkC;AAClC,yDAAuC"}
|