@comet/cms-api 9.0.0-beta.0 → 9.0.0-beta.1
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/lib/auth/services/jwt.auth-service.d.ts +7 -0
- package/lib/auth/services/jwt.auth-service.d.ts.map +1 -1
- package/lib/auth/services/jwt.auth-service.js +6 -0
- package/lib/auth/services/jwt.auth-service.js.map +1 -1
- package/lib/blocks/factories/createTableBlock.d.ts +8 -0
- package/lib/blocks/factories/createTableBlock.d.ts.map +1 -0
- package/lib/blocks/factories/createTableBlock.js +170 -0
- package/lib/blocks/factories/createTableBlock.js.map +1 -0
- package/lib/content-generation/azure-open-ai/azure-open-ai-content-generation.service.js +3 -3
- package/lib/content-generation/azure-open-ai/azure-open-ai-content-generation.service.js.map +1 -1
- package/lib/dam/dam.module.d.ts.map +1 -1
- package/lib/dam/dam.module.js +0 -2
- package/lib/dam/dam.module.js.map +1 -1
- package/lib/dam/files/entities/file.entity.d.ts.map +1 -1
- package/lib/dam/files/entities/file.entity.js +3 -4
- package/lib/dam/files/entities/file.entity.js.map +1 -1
- package/lib/dam/files/entities/folder.entity.js +1 -1
- package/lib/dam/files/entities/folder.entity.js.map +1 -1
- package/lib/dependencies/dependencies.module.d.ts.map +1 -1
- package/lib/dependencies/dependencies.module.js +3 -2
- package/lib/dependencies/dependencies.module.js.map +1 -1
- package/lib/dependencies/dependencies.resolver.factory.d.ts +1 -1
- package/lib/dependencies/dependencies.resolver.factory.d.ts.map +1 -1
- package/lib/dependencies/dependencies.resolver.factory.js +2 -2
- package/lib/dependencies/dependencies.resolver.factory.js.map +1 -1
- package/lib/dependencies/dependencies.service.d.ts +41 -19
- package/lib/dependencies/dependencies.service.d.ts.map +1 -1
- package/lib/dependencies/dependencies.service.js +228 -140
- package/lib/dependencies/dependencies.service.js.map +1 -1
- package/lib/dependencies/dependents.resolver.factory.d.ts +1 -1
- package/lib/dependencies/dependents.resolver.factory.d.ts.map +1 -1
- package/lib/dependencies/dependents.resolver.factory.js +2 -2
- package/lib/dependencies/dependents.resolver.factory.js.map +1 -1
- package/lib/dependencies/discover.service.d.ts +2 -1
- package/lib/dependencies/discover.service.d.ts.map +1 -1
- package/lib/dependencies/discover.service.js +1 -0
- package/lib/dependencies/discover.service.js.map +1 -1
- package/lib/dependencies/dto/dependencies.args.d.ts +3 -0
- package/lib/dependencies/dto/dependencies.args.d.ts.map +1 -1
- package/lib/dependencies/dto/dependencies.args.js +15 -0
- package/lib/dependencies/dto/dependencies.args.js.map +1 -1
- package/lib/dependencies/dto/dependencies.filter.d.ts +14 -2
- package/lib/dependencies/dto/dependencies.filter.d.ts.map +1 -1
- package/lib/dependencies/dto/dependencies.filter.js +81 -6
- package/lib/dependencies/dto/dependencies.filter.js.map +1 -1
- package/lib/dependencies/dto/dependency-sort.d.ts +13 -0
- package/lib/dependencies/dto/dependency-sort.d.ts.map +1 -0
- package/lib/dependencies/dto/dependency-sort.js +45 -0
- package/lib/dependencies/dto/dependency-sort.js.map +1 -0
- package/lib/dependencies/entities/block-index-dependency.object.d.ts +23 -0
- package/lib/dependencies/entities/block-index-dependency.object.d.ts.map +1 -0
- package/lib/dependencies/entities/block-index-dependency.object.js +102 -0
- package/lib/dependencies/entities/block-index-dependency.object.js.map +1 -0
- package/lib/entity-info/entity-info.decorator.d.ts +9 -0
- package/lib/entity-info/entity-info.decorator.d.ts.map +1 -0
- package/lib/{common/entityInfo → entity-info}/entity-info.decorator.js +3 -3
- package/lib/entity-info/entity-info.decorator.js.map +1 -0
- package/lib/entity-info/entity-info.module.d.ts.map +1 -0
- package/lib/{common/entityInfo → entity-info}/entity-info.module.js +3 -1
- package/lib/entity-info/entity-info.module.js.map +1 -0
- package/lib/entity-info/entity-info.object.d.ts +8 -0
- package/lib/entity-info/entity-info.object.d.ts.map +1 -0
- package/lib/{common/entityInfo → entity-info}/entity-info.object.js +18 -0
- package/lib/entity-info/entity-info.object.js.map +1 -0
- package/lib/entity-info/entity-info.service.d.ts +18 -0
- package/lib/entity-info/entity-info.service.d.ts.map +1 -0
- package/lib/entity-info/entity-info.service.js +160 -0
- package/lib/entity-info/entity-info.service.js.map +1 -0
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +7 -7
- package/lib/index.js.map +1 -1
- package/lib/mailer/entities/mailer-log-status.enum.js +1 -1
- package/lib/mailer/entities/mailer-log-status.enum.js.map +1 -1
- package/lib/mailer/entities/mailer-log.entity.d.ts.map +1 -1
- package/lib/mailer/entities/mailer-log.entity.js.map +1 -1
- package/lib/mikro-orm/migrations/Migration20250531565156.d.ts +5 -0
- package/lib/mikro-orm/migrations/Migration20250531565156.d.ts.map +1 -0
- package/lib/mikro-orm/migrations/Migration20250531565156.js +52 -0
- package/lib/mikro-orm/migrations/Migration20250531565156.js.map +1 -0
- package/lib/mikro-orm/migrations/Migration20250531565157.d.ts +5 -0
- package/lib/mikro-orm/migrations/Migration20250531565157.d.ts.map +1 -0
- package/lib/mikro-orm/migrations/Migration20250531565157.js +50 -0
- package/lib/mikro-orm/migrations/Migration20250531565157.js.map +1 -0
- package/lib/mikro-orm/migrations/Migration20251126093305.d.ts +6 -0
- package/lib/mikro-orm/migrations/Migration20251126093305.d.ts.map +1 -0
- package/lib/mikro-orm/migrations/Migration20251126093305.js +26 -0
- package/lib/mikro-orm/migrations/Migration20251126093305.js.map +1 -0
- package/lib/mikro-orm/mikro-orm.module.d.ts.map +1 -1
- package/lib/mikro-orm/mikro-orm.module.js +6 -0
- package/lib/mikro-orm/mikro-orm.module.js.map +1 -1
- package/lib/page-tree/entities/page-tree-node-base.entity.d.ts.map +1 -1
- package/lib/page-tree/entities/page-tree-node-base.entity.js +2 -0
- package/lib/page-tree/entities/page-tree-node-base.entity.js.map +1 -1
- package/lib/page-tree/page-tree.module.d.ts.map +1 -1
- package/lib/page-tree/page-tree.module.js +3 -2
- package/lib/page-tree/page-tree.module.js.map +1 -1
- package/lib/redirects/dto/redirects.filter.d.ts +5 -0
- package/lib/redirects/dto/redirects.filter.d.ts.map +1 -1
- package/lib/redirects/dto/redirects.filter.js +14 -0
- package/lib/redirects/dto/redirects.filter.js.map +1 -1
- package/lib/redirects/entities/redirect-entity.factory.js +3 -3
- package/lib/redirects/entities/redirect-entity.factory.js.map +1 -1
- package/lib/redirects/redirects.enum.d.ts +2 -1
- package/lib/redirects/redirects.enum.d.ts.map +1 -1
- package/lib/redirects/redirects.enum.js +1 -0
- package/lib/redirects/redirects.enum.js.map +1 -1
- package/lib/redirects/redirects.util.d.ts +1 -1
- package/lib/redirects/redirects.util.d.ts.map +1 -1
- package/lib/redirects/redirects.util.js +15 -0
- package/lib/redirects/redirects.util.js.map +1 -1
- package/lib/tsconfig.build.tsbuildinfo +1 -1
- package/lib/warnings/warning.module.js +1 -1
- package/lib/warnings/warning.module.js.map +1 -1
- package/lib/warnings/warning.resolver.d.ts +2 -2
- package/lib/warnings/warning.resolver.d.ts.map +1 -1
- package/lib/warnings/warning.resolver.js +3 -9
- package/lib/warnings/warning.resolver.js.map +1 -1
- package/package.json +11 -11
- package/lib/common/entityInfo/entity-info.decorator.d.ts +0 -15
- package/lib/common/entityInfo/entity-info.decorator.d.ts.map +0 -1
- package/lib/common/entityInfo/entity-info.decorator.js.map +0 -1
- package/lib/common/entityInfo/entity-info.module.d.ts.map +0 -1
- package/lib/common/entityInfo/entity-info.module.js.map +0 -1
- package/lib/common/entityInfo/entity-info.object.d.ts +0 -5
- package/lib/common/entityInfo/entity-info.object.d.ts.map +0 -1
- package/lib/common/entityInfo/entity-info.object.js.map +0 -1
- package/lib/common/entityInfo/entity-info.service.d.ts +0 -9
- package/lib/common/entityInfo/entity-info.service.d.ts.map +0 -1
- package/lib/common/entityInfo/entity-info.service.js +0 -56
- package/lib/common/entityInfo/entity-info.service.js.map +0 -1
- package/lib/dam/files/files-entity-info.service.d.ts +0 -12
- package/lib/dam/files/files-entity-info.service.d.ts.map +0 -1
- package/lib/dam/files/files-entity-info.service.js +0 -43
- package/lib/dam/files/files-entity-info.service.js.map +0 -1
- package/lib/page-tree/page-tree-node-document-entity-info.service.d.ts +0 -12
- package/lib/page-tree/page-tree-node-document-entity-info.service.d.ts.map +0 -1
- package/lib/page-tree/page-tree-node-document-entity-info.service.js +0 -45
- package/lib/page-tree/page-tree-node-document-entity-info.service.js.map +0 -1
- /package/lib/{common/entityInfo → entity-info}/entity-info.module.d.ts +0 -0
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { OffsetBasedPaginationArgs } from "../../common/pagination/offset-based.args";
|
|
2
2
|
import { DependencyFilter, DependentFilter } from "./dependencies.filter";
|
|
3
|
+
import { DependencySort } from "./dependency-sort";
|
|
3
4
|
export declare class DependenciesArgs extends OffsetBasedPaginationArgs {
|
|
4
5
|
filter?: DependencyFilter;
|
|
6
|
+
sort?: DependencySort[];
|
|
5
7
|
forceRefresh: boolean;
|
|
6
8
|
}
|
|
7
9
|
export declare class DependentsArgs extends OffsetBasedPaginationArgs {
|
|
8
10
|
filter?: DependentFilter;
|
|
11
|
+
sort?: DependencySort[];
|
|
9
12
|
forceRefresh: boolean;
|
|
10
13
|
}
|
|
11
14
|
//# sourceMappingURL=dependencies.args.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependencies.args.d.ts","sourceRoot":"","sources":["../../../src/dependencies/dto/dependencies.args.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAEtF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"dependencies.args.d.ts","sourceRoot":"","sources":["../../../src/dependencies/dto/dependencies.args.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAEtF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBACa,gBAAiB,SAAQ,yBAAyB;IAK3D,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAM1B,IAAI,CAAC,EAAE,cAAc,EAAE,CAAC;IAIxB,YAAY,EAAE,OAAO,CAAC;CACzB;AAED,qBACa,cAAe,SAAQ,yBAAyB;IAKzD,MAAM,CAAC,EAAE,eAAe,CAAC;IAMzB,IAAI,CAAC,EAAE,cAAc,EAAE,CAAC;IAIxB,YAAY,EAAE,OAAO,CAAC;CACzB"}
|
|
@@ -16,6 +16,7 @@ const class_validator_1 = require("class-validator");
|
|
|
16
16
|
const offset_based_args_1 = require("../../common/pagination/offset-based.args");
|
|
17
17
|
const is_undefinable_1 = require("../../common/validators/is-undefinable");
|
|
18
18
|
const dependencies_filter_1 = require("./dependencies.filter");
|
|
19
|
+
const dependency_sort_1 = require("./dependency-sort");
|
|
19
20
|
let DependenciesArgs = class DependenciesArgs extends offset_based_args_1.OffsetBasedPaginationArgs {
|
|
20
21
|
};
|
|
21
22
|
exports.DependenciesArgs = DependenciesArgs;
|
|
@@ -26,6 +27,13 @@ __decorate([
|
|
|
26
27
|
(0, is_undefinable_1.IsUndefinable)(),
|
|
27
28
|
__metadata("design:type", dependencies_filter_1.DependencyFilter)
|
|
28
29
|
], DependenciesArgs.prototype, "filter", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, graphql_1.Field)(() => [dependency_sort_1.DependencySort], { nullable: true }),
|
|
32
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
33
|
+
(0, class_transformer_1.Type)(() => dependency_sort_1.DependencySort),
|
|
34
|
+
(0, is_undefinable_1.IsUndefinable)(),
|
|
35
|
+
__metadata("design:type", Array)
|
|
36
|
+
], DependenciesArgs.prototype, "sort", void 0);
|
|
29
37
|
__decorate([
|
|
30
38
|
(0, graphql_1.Field)(() => Boolean, { defaultValue: false }),
|
|
31
39
|
(0, class_validator_1.IsBoolean)(),
|
|
@@ -44,6 +52,13 @@ __decorate([
|
|
|
44
52
|
(0, is_undefinable_1.IsUndefinable)(),
|
|
45
53
|
__metadata("design:type", dependencies_filter_1.DependentFilter)
|
|
46
54
|
], DependentsArgs.prototype, "filter", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, graphql_1.Field)(() => [dependency_sort_1.DependencySort], { nullable: true }),
|
|
57
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
58
|
+
(0, class_transformer_1.Type)(() => dependency_sort_1.DependencySort),
|
|
59
|
+
(0, is_undefinable_1.IsUndefinable)(),
|
|
60
|
+
__metadata("design:type", Array)
|
|
61
|
+
], DependentsArgs.prototype, "sort", void 0);
|
|
47
62
|
__decorate([
|
|
48
63
|
(0, graphql_1.Field)(() => Boolean, { defaultValue: false }),
|
|
49
64
|
(0, class_validator_1.IsBoolean)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependencies.args.js","sourceRoot":"","sources":["../../../src/dependencies/dto/dependencies.args.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAkD;AAClD,yDAAyC;AACzC,qDAA4D;AAE5D,iFAAsF;AACtF,2EAAuE;AACvE,+DAA0E;
|
|
1
|
+
{"version":3,"file":"dependencies.args.js","sourceRoot":"","sources":["../../../src/dependencies/dto/dependencies.args.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAkD;AAClD,yDAAyC;AACzC,qDAA4D;AAE5D,iFAAsF;AACtF,2EAAuE;AACvE,+DAA0E;AAC1E,uDAAmD;AAG5C,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,6CAAyB;CAgB9D,CAAA;AAhBY,4CAAgB;AAKzB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,sCAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjD,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAgB,CAAC;IAC5B,IAAA,8BAAa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GAAE;GACE,cAAc,CAgB1B"}
|
|
@@ -1,11 +1,23 @@
|
|
|
1
|
+
import { BooleanFilter } from "../../common/filter/boolean.filter";
|
|
2
|
+
import { StringFilter } from "../../common/filter/string.filter";
|
|
1
3
|
export declare class DependencyFilter {
|
|
2
|
-
targetGraphqlObjectType?:
|
|
4
|
+
targetGraphqlObjectType?: StringFilter;
|
|
3
5
|
targetId?: string;
|
|
4
6
|
rootColumnName?: string;
|
|
7
|
+
name?: StringFilter;
|
|
8
|
+
secondaryInformation?: StringFilter;
|
|
9
|
+
visible?: BooleanFilter;
|
|
10
|
+
and?: DependencyFilter[];
|
|
11
|
+
or?: DependencyFilter[];
|
|
5
12
|
}
|
|
6
13
|
export declare class DependentFilter {
|
|
7
|
-
rootGraphqlObjectType?:
|
|
14
|
+
rootGraphqlObjectType?: StringFilter;
|
|
8
15
|
rootId?: string;
|
|
9
16
|
rootColumnName?: string;
|
|
17
|
+
name?: StringFilter;
|
|
18
|
+
secondaryInformation?: StringFilter;
|
|
19
|
+
visible?: BooleanFilter;
|
|
20
|
+
and?: DependentFilter[];
|
|
21
|
+
or?: DependentFilter[];
|
|
10
22
|
}
|
|
11
23
|
//# sourceMappingURL=dependencies.filter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependencies.filter.d.ts","sourceRoot":"","sources":["../../../src/dependencies/dto/dependencies.filter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dependencies.filter.d.ts","sourceRoot":"","sources":["../../../src/dependencies/dto/dependencies.filter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAGjE,qBACa,gBAAgB;IAKzB,uBAAuB,CAAC,EAAE,YAAY,CAAC;IAKvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,cAAc,CAAC,EAAE,MAAM,CAAC;IAMxB,IAAI,CAAC,EAAE,YAAY,CAAC;IAMpB,oBAAoB,CAAC,EAAE,YAAY,CAAC;IAMpC,OAAO,CAAC,EAAE,aAAa,CAAC;IAMxB,GAAG,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAMzB,EAAE,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC3B;AAED,qBACa,eAAe;IAKxB,qBAAqB,CAAC,EAAE,YAAY,CAAC;IAKrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,cAAc,CAAC,EAAE,MAAM,CAAC;IAMxB,IAAI,CAAC,EAAE,YAAY,CAAC;IAMpB,oBAAoB,CAAC,EAAE,YAAY,CAAC;IAMpC,OAAO,CAAC,EAAE,aAAa,CAAC;IAMxB,GAAG,CAAC,EAAE,eAAe,EAAE,CAAC;IAMxB,EAAE,CAAC,EAAE,eAAe,EAAE,CAAC;CAC1B"}
|
|
@@ -11,16 +11,20 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DependentFilter = exports.DependencyFilter = void 0;
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
15
|
const class_validator_1 = require("class-validator");
|
|
16
|
+
const boolean_filter_1 = require("../../common/filter/boolean.filter");
|
|
17
|
+
const string_filter_1 = require("../../common/filter/string.filter");
|
|
15
18
|
const is_undefinable_1 = require("../../common/validators/is-undefinable");
|
|
16
19
|
let DependencyFilter = class DependencyFilter {
|
|
17
20
|
};
|
|
18
21
|
exports.DependencyFilter = DependencyFilter;
|
|
19
22
|
__decorate([
|
|
20
|
-
(0, graphql_1.Field)({ nullable: true }),
|
|
21
|
-
(0, class_validator_1.
|
|
23
|
+
(0, graphql_1.Field)(() => string_filter_1.StringFilter, { nullable: true }),
|
|
24
|
+
(0, class_validator_1.ValidateNested)(),
|
|
25
|
+
(0, class_transformer_1.Type)(() => string_filter_1.StringFilter),
|
|
22
26
|
(0, is_undefinable_1.IsUndefinable)(),
|
|
23
|
-
__metadata("design:type",
|
|
27
|
+
__metadata("design:type", string_filter_1.StringFilter)
|
|
24
28
|
], DependencyFilter.prototype, "targetGraphqlObjectType", void 0);
|
|
25
29
|
__decorate([
|
|
26
30
|
(0, graphql_1.Field)({ nullable: true }),
|
|
@@ -34,6 +38,41 @@ __decorate([
|
|
|
34
38
|
(0, is_undefinable_1.IsUndefinable)(),
|
|
35
39
|
__metadata("design:type", String)
|
|
36
40
|
], DependencyFilter.prototype, "rootColumnName", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, graphql_1.Field)(() => string_filter_1.StringFilter, { nullable: true }),
|
|
43
|
+
(0, class_validator_1.ValidateNested)(),
|
|
44
|
+
(0, class_transformer_1.Type)(() => string_filter_1.StringFilter),
|
|
45
|
+
(0, is_undefinable_1.IsUndefinable)(),
|
|
46
|
+
__metadata("design:type", string_filter_1.StringFilter)
|
|
47
|
+
], DependencyFilter.prototype, "name", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)(() => string_filter_1.StringFilter, { nullable: true }),
|
|
50
|
+
(0, class_validator_1.ValidateNested)(),
|
|
51
|
+
(0, class_transformer_1.Type)(() => string_filter_1.StringFilter),
|
|
52
|
+
(0, is_undefinable_1.IsUndefinable)(),
|
|
53
|
+
__metadata("design:type", string_filter_1.StringFilter)
|
|
54
|
+
], DependencyFilter.prototype, "secondaryInformation", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, graphql_1.Field)(() => boolean_filter_1.BooleanFilter, { nullable: true }),
|
|
57
|
+
(0, class_validator_1.ValidateNested)(),
|
|
58
|
+
(0, class_transformer_1.Type)(() => boolean_filter_1.BooleanFilter),
|
|
59
|
+
(0, is_undefinable_1.IsUndefinable)(),
|
|
60
|
+
__metadata("design:type", boolean_filter_1.BooleanFilter)
|
|
61
|
+
], DependencyFilter.prototype, "visible", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, graphql_1.Field)(() => [DependencyFilter], { nullable: true }),
|
|
64
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
65
|
+
(0, class_transformer_1.Type)(() => DependencyFilter),
|
|
66
|
+
(0, is_undefinable_1.IsUndefinable)(),
|
|
67
|
+
__metadata("design:type", Array)
|
|
68
|
+
], DependencyFilter.prototype, "and", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, graphql_1.Field)(() => [DependencyFilter], { nullable: true }),
|
|
71
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
72
|
+
(0, class_transformer_1.Type)(() => DependencyFilter),
|
|
73
|
+
(0, is_undefinable_1.IsUndefinable)(),
|
|
74
|
+
__metadata("design:type", Array)
|
|
75
|
+
], DependencyFilter.prototype, "or", void 0);
|
|
37
76
|
exports.DependencyFilter = DependencyFilter = __decorate([
|
|
38
77
|
(0, graphql_1.InputType)()
|
|
39
78
|
], DependencyFilter);
|
|
@@ -41,10 +80,11 @@ let DependentFilter = class DependentFilter {
|
|
|
41
80
|
};
|
|
42
81
|
exports.DependentFilter = DependentFilter;
|
|
43
82
|
__decorate([
|
|
44
|
-
(0, graphql_1.Field)({ nullable: true }),
|
|
45
|
-
(0, class_validator_1.
|
|
83
|
+
(0, graphql_1.Field)(() => string_filter_1.StringFilter, { nullable: true }),
|
|
84
|
+
(0, class_validator_1.ValidateNested)(),
|
|
85
|
+
(0, class_transformer_1.Type)(() => string_filter_1.StringFilter),
|
|
46
86
|
(0, is_undefinable_1.IsUndefinable)(),
|
|
47
|
-
__metadata("design:type",
|
|
87
|
+
__metadata("design:type", string_filter_1.StringFilter)
|
|
48
88
|
], DependentFilter.prototype, "rootGraphqlObjectType", void 0);
|
|
49
89
|
__decorate([
|
|
50
90
|
(0, graphql_1.Field)({ nullable: true }),
|
|
@@ -58,6 +98,41 @@ __decorate([
|
|
|
58
98
|
(0, is_undefinable_1.IsUndefinable)(),
|
|
59
99
|
__metadata("design:type", String)
|
|
60
100
|
], DependentFilter.prototype, "rootColumnName", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, graphql_1.Field)(() => string_filter_1.StringFilter, { nullable: true }),
|
|
103
|
+
(0, class_validator_1.ValidateNested)(),
|
|
104
|
+
(0, class_transformer_1.Type)(() => string_filter_1.StringFilter),
|
|
105
|
+
(0, is_undefinable_1.IsUndefinable)(),
|
|
106
|
+
__metadata("design:type", string_filter_1.StringFilter)
|
|
107
|
+
], DependentFilter.prototype, "name", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, graphql_1.Field)(() => string_filter_1.StringFilter, { nullable: true }),
|
|
110
|
+
(0, class_validator_1.ValidateNested)(),
|
|
111
|
+
(0, class_transformer_1.Type)(() => string_filter_1.StringFilter),
|
|
112
|
+
(0, is_undefinable_1.IsUndefinable)(),
|
|
113
|
+
__metadata("design:type", string_filter_1.StringFilter)
|
|
114
|
+
], DependentFilter.prototype, "secondaryInformation", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, graphql_1.Field)(() => boolean_filter_1.BooleanFilter, { nullable: true }),
|
|
117
|
+
(0, class_validator_1.ValidateNested)(),
|
|
118
|
+
(0, class_transformer_1.Type)(() => boolean_filter_1.BooleanFilter),
|
|
119
|
+
(0, is_undefinable_1.IsUndefinable)(),
|
|
120
|
+
__metadata("design:type", boolean_filter_1.BooleanFilter)
|
|
121
|
+
], DependentFilter.prototype, "visible", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, graphql_1.Field)(() => [DependentFilter], { nullable: true }),
|
|
124
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
125
|
+
(0, class_transformer_1.Type)(() => DependentFilter),
|
|
126
|
+
(0, is_undefinable_1.IsUndefinable)(),
|
|
127
|
+
__metadata("design:type", Array)
|
|
128
|
+
], DependentFilter.prototype, "and", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, graphql_1.Field)(() => [DependentFilter], { nullable: true }),
|
|
131
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
132
|
+
(0, class_transformer_1.Type)(() => DependentFilter),
|
|
133
|
+
(0, is_undefinable_1.IsUndefinable)(),
|
|
134
|
+
__metadata("design:type", Array)
|
|
135
|
+
], DependentFilter.prototype, "or", void 0);
|
|
61
136
|
exports.DependentFilter = DependentFilter = __decorate([
|
|
62
137
|
(0, graphql_1.InputType)()
|
|
63
138
|
], DependentFilter);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependencies.filter.js","sourceRoot":"","sources":["../../../src/dependencies/dto/dependencies.filter.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"dependencies.filter.js","sourceRoot":"","sources":["../../../src/dependencies/dto/dependencies.filter.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmD;AACnD,yDAAyC;AACzC,qDAA2D;AAE3D,uEAAmE;AACnE,qEAAiE;AACjE,2EAAuE;AAGhE,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CA8C5B,CAAA;AA9CY,4CAAgB;AAKzB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,4BAAY,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;IACxB,IAAA,8BAAa,GAAE;8BACU,4BAAY;iEAAC;AAKvC;IAHC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzB,IAAA,0BAAQ,GAAE;IACV,IAAA,8BAAa,GAAE;;kDACE;AAKlB;IAHC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzB,IAAA,0BAAQ,GAAE;IACV,IAAA,8BAAa,GAAE;;wDACQ;AAMxB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,4BAAY,EAAE,E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;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,eAAe,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAClD,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,eAAe,CAAC;IAC3B,IAAA,8BAAa,GAAE;;4CACQ;AAMxB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,eAAe,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAClD,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,eAAe,CAAC;IAC3B,IAAA,8BAAa,GAAE;;2CACO;0BA7Cd,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CA8C3B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SortDirection } from "../../common/sorting/sort-direction.enum";
|
|
2
|
+
declare enum DependencySortField {
|
|
3
|
+
name = "name",
|
|
4
|
+
secondaryInformation = "secondaryInformation",
|
|
5
|
+
graphqlObjectType = "graphqlObjectType",
|
|
6
|
+
visible = "visible"
|
|
7
|
+
}
|
|
8
|
+
export declare class DependencySort {
|
|
9
|
+
field: DependencySortField;
|
|
10
|
+
direction: SortDirection;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=dependency-sort.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dependency-sort.d.ts","sourceRoot":"","sources":["../../../src/dependencies/dto/dependency-sort.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAEzE,aAAK,mBAAmB;IACpB,IAAI,SAAS;IACb,oBAAoB,yBAAyB;IAC7C,iBAAiB,sBAAsB;IACvC,OAAO,YAAY;CACtB;AAKD,qBACa,cAAc;IAGvB,KAAK,EAAE,mBAAmB,CAAC;IAI3B,SAAS,EAAE,aAAa,CAAqB;CAChD"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.DependencySort = void 0;
|
|
13
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const sort_direction_enum_1 = require("../../common/sorting/sort-direction.enum");
|
|
16
|
+
var DependencySortField;
|
|
17
|
+
(function (DependencySortField) {
|
|
18
|
+
DependencySortField["name"] = "name";
|
|
19
|
+
DependencySortField["secondaryInformation"] = "secondaryInformation";
|
|
20
|
+
DependencySortField["graphqlObjectType"] = "graphqlObjectType";
|
|
21
|
+
DependencySortField["visible"] = "visible";
|
|
22
|
+
})(DependencySortField || (DependencySortField = {}));
|
|
23
|
+
(0, graphql_1.registerEnumType)(DependencySortField, {
|
|
24
|
+
name: "DependencySortField",
|
|
25
|
+
});
|
|
26
|
+
let DependencySort = class DependencySort {
|
|
27
|
+
constructor() {
|
|
28
|
+
this.direction = sort_direction_enum_1.SortDirection.ASC;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports.DependencySort = DependencySort;
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, graphql_1.Field)(() => DependencySortField),
|
|
34
|
+
(0, class_validator_1.IsEnum)(DependencySortField),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], DependencySort.prototype, "field", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, graphql_1.Field)(() => sort_direction_enum_1.SortDirection, { defaultValue: sort_direction_enum_1.SortDirection.ASC }),
|
|
39
|
+
(0, class_validator_1.IsEnum)(sort_direction_enum_1.SortDirection),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], DependencySort.prototype, "direction", void 0);
|
|
42
|
+
exports.DependencySort = DependencySort = __decorate([
|
|
43
|
+
(0, graphql_1.InputType)()
|
|
44
|
+
], DependencySort);
|
|
45
|
+
//# sourceMappingURL=dependency-sort.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dependency-sort.js","sourceRoot":"","sources":["../../../src/dependencies/dto/dependency-sort.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,qDAAyC;AAEzC,kFAAyE;AAEzE,IAAK,mBAKJ;AALD,WAAK,mBAAmB;IACpB,oCAAa,CAAA;IACb,oEAA6C,CAAA;IAC7C,8DAAuC,CAAA;IACvC,0CAAmB,CAAA;AACvB,CAAC,EALI,mBAAmB,KAAnB,mBAAmB,QAKvB;AACD,IAAA,0BAAgB,EAAC,mBAAmB,EAAE;IAClC,IAAI,EAAE,qBAAqB;CAC9B,CAAC,CAAC;AAGI,IAAM,cAAc,GAApB,MAAM,cAAc;IAApB;QAOH,cAAS,GAAkB,mCAAa,CAAC,GAAG,CAAC;IACjD,CAAC;CAAA,CAAA;AARY,wCAAc;AAGvB;IAFC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,mBAAmB,CAAC;IAChC,IAAA,wBAAM,EAAC,mBAAmB,CAAC;;6CACD;AAI3B;IAFC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,mCAAa,EAAE,EAAE,YAAY,EAAE,mCAAa,CAAC,GAAG,EAAE,CAAC;IAC/D,IAAA,wBAAM,EAAC,mCAAa,CAAC;;iDACuB;yBAPpC,cAAc;IAD1B,IAAA,mBAAS,GAAE;GACC,cAAc,CAQ1B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class BlockIndexDependencyObject {
|
|
2
|
+
rootId: string;
|
|
3
|
+
rootEntityName: string;
|
|
4
|
+
rootGraphqlObjectType: string;
|
|
5
|
+
rootTableName: string;
|
|
6
|
+
rootColumnName: string;
|
|
7
|
+
rootPrimaryKey: string;
|
|
8
|
+
blockname: string;
|
|
9
|
+
jsonPath: string;
|
|
10
|
+
blockVisible: boolean;
|
|
11
|
+
entityVisible: boolean;
|
|
12
|
+
visible: boolean;
|
|
13
|
+
targetEntityName: string;
|
|
14
|
+
targetGraphqlObjectType: string;
|
|
15
|
+
targetTableName: string;
|
|
16
|
+
targetPrimaryKey: string;
|
|
17
|
+
targetId: string;
|
|
18
|
+
rootName?: string;
|
|
19
|
+
rootSecondaryInformation?: string;
|
|
20
|
+
targetName?: string;
|
|
21
|
+
targetSecondaryInformation?: string;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=block-index-dependency.object.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"block-index-dependency.object.d.ts","sourceRoot":"","sources":["../../../src/dependencies/entities/block-index-dependency.object.ts"],"names":[],"mappings":"AAKA,qBACa,0BAA0B;IAEnC,MAAM,EAAE,MAAM,CAAC;IAGf,cAAc,EAAE,MAAM,CAAC;IAGvB,qBAAqB,EAAE,MAAM,CAAC;IAG9B,aAAa,EAAE,MAAM,CAAC;IAGtB,cAAc,EAAE,MAAM,CAAC;IAGvB,cAAc,EAAE,MAAM,CAAC;IAGvB,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,EAAE,MAAM,CAAC;IAGjB,YAAY,EAAE,OAAO,CAAC;IAGtB,aAAa,EAAE,OAAO,CAAC;IAGvB,OAAO,EAAE,OAAO,CAAC;IAGjB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,uBAAuB,EAAE,MAAM,CAAC;IAGhC,eAAe,EAAE,MAAM,CAAC;IAGxB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAGlC,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,0BAA0B,CAAC,EAAE,MAAM,CAAC;CACvC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
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.BlockIndexDependencyObject = void 0;
|
|
13
|
+
const core_1 = require("@mikro-orm/core");
|
|
14
|
+
// Note: This file is intentionally not named *.entity.ts to exclude it from MikroORM's CLI migration glob pattern.
|
|
15
|
+
// The "block_index_dependencies" materialized view is created dynamically at startup by DependenciesService, not via migrations.
|
|
16
|
+
let BlockIndexDependencyObject = class BlockIndexDependencyObject {
|
|
17
|
+
};
|
|
18
|
+
exports.BlockIndexDependencyObject = BlockIndexDependencyObject;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, core_1.PrimaryKey)({ type: "text" }),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], BlockIndexDependencyObject.prototype, "rootId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, core_1.Property)({ type: "text" }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], BlockIndexDependencyObject.prototype, "rootEntityName", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, core_1.Property)({ type: "text" }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], BlockIndexDependencyObject.prototype, "rootGraphqlObjectType", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, core_1.PrimaryKey)({ type: "text" }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], BlockIndexDependencyObject.prototype, "rootTableName", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, core_1.PrimaryKey)({ type: "text" }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], BlockIndexDependencyObject.prototype, "rootColumnName", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, core_1.Property)({ type: "text" }),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], BlockIndexDependencyObject.prototype, "rootPrimaryKey", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, core_1.PrimaryKey)({ type: "text" }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], BlockIndexDependencyObject.prototype, "blockname", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, core_1.PrimaryKey)({ type: "text" }),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], BlockIndexDependencyObject.prototype, "jsonPath", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, core_1.Property)({ type: "boolean" }),
|
|
53
|
+
__metadata("design:type", Boolean)
|
|
54
|
+
], BlockIndexDependencyObject.prototype, "blockVisible", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, core_1.Property)({ type: "boolean" }),
|
|
57
|
+
__metadata("design:type", Boolean)
|
|
58
|
+
], BlockIndexDependencyObject.prototype, "entityVisible", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, core_1.Property)({ type: "boolean" }),
|
|
61
|
+
__metadata("design:type", Boolean)
|
|
62
|
+
], BlockIndexDependencyObject.prototype, "visible", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, core_1.Property)({ type: "text" }),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], BlockIndexDependencyObject.prototype, "targetEntityName", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, core_1.Property)({ type: "text" }),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], BlockIndexDependencyObject.prototype, "targetGraphqlObjectType", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, core_1.PrimaryKey)({ type: "text" }),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], BlockIndexDependencyObject.prototype, "targetTableName", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, core_1.Property)({ type: "text" }),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], BlockIndexDependencyObject.prototype, "targetPrimaryKey", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, core_1.PrimaryKey)({ type: "text" }),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], BlockIndexDependencyObject.prototype, "targetId", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, core_1.Property)({ type: "text", nullable: true }),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], BlockIndexDependencyObject.prototype, "rootName", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, core_1.Property)({ type: "text", nullable: true }),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], BlockIndexDependencyObject.prototype, "rootSecondaryInformation", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, core_1.Property)({ type: "text", nullable: true }),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], BlockIndexDependencyObject.prototype, "targetName", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, core_1.Property)({ type: "text", nullable: true }),
|
|
97
|
+
__metadata("design:type", String)
|
|
98
|
+
], BlockIndexDependencyObject.prototype, "targetSecondaryInformation", void 0);
|
|
99
|
+
exports.BlockIndexDependencyObject = BlockIndexDependencyObject = __decorate([
|
|
100
|
+
(0, core_1.Entity)({ tableName: "block_index_dependencies" })
|
|
101
|
+
], BlockIndexDependencyObject);
|
|
102
|
+
//# sourceMappingURL=block-index-dependency.object.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"block-index-dependency.object.js","sourceRoot":"","sources":["../../../src/dependencies/entities/block-index-dependency.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA+D;AAE/D,mHAAmH;AACnH,iIAAiI;AAG1H,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;CA4DtC,CAAA;AA5DY,gEAA0B;AAEnC;IADC,IAAA,iBAAU,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;0DACd;AAGf;IADC,IAAA,eAAQ,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;kEACJ;AAGvB;IADC,IAAA,eAAQ,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yEACG;AAG9B;IADC,IAAA,iBAAU,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;iEACP;AAGtB;IADC,IAAA,iBAAU,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;kEACN;AAGvB;IADC,IAAA,eAAQ,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;kEACJ;AAGvB;IADC,IAAA,iB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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type AnyEntity, type AutoPath, type ObjectQuery, type PopulatePath } from "@mikro-orm/postgresql";
|
|
2
|
+
export declare const ENTITY_INFO_METADATA_KEY = "data:entity-info";
|
|
3
|
+
export type EntityInfo<Entity> = {
|
|
4
|
+
name: AutoPath<Entity, PopulatePath.ALL> | string;
|
|
5
|
+
secondaryInformation?: AutoPath<Entity, PopulatePath.ALL> | string;
|
|
6
|
+
visible?: ObjectQuery<Entity>;
|
|
7
|
+
} | string;
|
|
8
|
+
export declare function EntityInfo<Entity extends AnyEntity = AnyEntity>(entityInfo: EntityInfo<Entity>): ClassDecorator;
|
|
9
|
+
//# sourceMappingURL=entity-info.decorator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-info.decorator.d.ts","sourceRoot":"","sources":["../../src/entity-info/entity-info.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE3G,eAAO,MAAM,wBAAwB,qBAAqB,CAAC;AAE3D,MAAM,MAAM,UAAU,CAAC,MAAM,IACvB;IACI,IAAI,EAAE,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC;IAClD,oBAAoB,CAAC,EAAE,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC;IACnE,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACjC,GACD,MAAM,CAAC;AAEb,wBAAgB,UAAU,CAAC,MAAM,SAAS,SAAS,GAAG,SAAS,EAAE,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,cAAc,CAK/G"}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ENTITY_INFO_METADATA_KEY = void 0;
|
|
4
4
|
exports.EntityInfo = EntityInfo;
|
|
5
|
-
exports.ENTITY_INFO_METADATA_KEY = "data:
|
|
6
|
-
function EntityInfo(
|
|
5
|
+
exports.ENTITY_INFO_METADATA_KEY = "data:entity-info";
|
|
6
|
+
function EntityInfo(entityInfo) {
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
8
8
|
return (target) => {
|
|
9
|
-
Reflect.defineMetadata(exports.ENTITY_INFO_METADATA_KEY,
|
|
9
|
+
Reflect.defineMetadata(exports.ENTITY_INFO_METADATA_KEY, entityInfo, target);
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=entity-info.decorator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-info.decorator.js","sourceRoot":"","sources":["../../src/entity-info/entity-info.decorator.ts"],"names":[],"mappings":";;;AAYA,gCAKC;AAfY,QAAA,wBAAwB,GAAG,kBAAkB,CAAC;AAU3D,SAAgB,UAAU,CAAuC,UAA8B;IAC3F,sEAAsE;IACtE,OAAO,CAAC,MAAgB,EAAE,EAAE;QACxB,OAAO,CAAC,cAAc,CAAC,gCAAwB,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IACzE,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-info.module.d.ts","sourceRoot":"","sources":["../../src/entity-info/entity-info.module.ts"],"names":[],"mappings":"AAMA,qBAKa,gBAAgB;CAAG"}
|
|
@@ -7,14 +7,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.EntityInfoModule = void 0;
|
|
10
|
+
const nestjs_1 = require("@mikro-orm/nestjs");
|
|
10
11
|
const common_1 = require("@nestjs/common");
|
|
12
|
+
const entity_info_object_1 = require("./entity-info.object");
|
|
11
13
|
const entity_info_service_1 = require("./entity-info.service");
|
|
12
14
|
let EntityInfoModule = class EntityInfoModule {
|
|
13
15
|
};
|
|
14
16
|
exports.EntityInfoModule = EntityInfoModule;
|
|
15
17
|
exports.EntityInfoModule = EntityInfoModule = __decorate([
|
|
16
18
|
(0, common_1.Module)({
|
|
17
|
-
imports: [],
|
|
19
|
+
imports: [nestjs_1.MikroOrmModule.forFeature([entity_info_object_1.EntityInfoObject])],
|
|
18
20
|
providers: [entity_info_service_1.EntityInfoService],
|
|
19
21
|
exports: [entity_info_service_1.EntityInfoService],
|
|
20
22
|
})
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-info.module.js","sourceRoot":"","sources":["../../src/entity-info/entity-info.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,8CAAmD;AACnD,2CAAwC;AAExC,6DAAwD;AACxD,+DAA0D;AAOnD,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAAG,CAAA;AAAnB,4CAAgB;2BAAhB,gBAAgB;IAL5B,IAAA,eAAM,EAAC;QACJ,OAAO,EAAE,CAAC,uBAAc,CAAC,UAAU,CAAC,CAAC,qCAAgB,CAAC,CAAC,CAAC;QACxD,SAAS,EAAE,CAAC,uCAAiB,CAAC;QAC9B,OAAO,EAAE,CAAC,uCAAiB,CAAC;KAC/B,CAAC;GACW,gBAAgB,CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-info.object.d.ts","sourceRoot":"","sources":["../../src/entity-info/entity-info.object.ts"],"names":[],"mappings":"AAMA,qBAEa,gBAAgB;IAEzB,EAAE,EAAE,MAAM,CAAC;IAGX,UAAU,EAAE,MAAM,CAAC;IAInB,IAAI,EAAE,MAAM,CAAC;IAIb,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAG9B,OAAO,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -10,19 +10,37 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.EntityInfoObject = void 0;
|
|
13
|
+
const core_1 = require("@mikro-orm/core");
|
|
13
14
|
const graphql_1 = require("@nestjs/graphql");
|
|
15
|
+
// Note: This file is intentionally not named *.entity.ts to exclude it from MikroORM's CLI migration glob pattern.
|
|
16
|
+
// The "EntityInfo" view is created dynamically at startup by EntityInfoService, not via migrations.
|
|
14
17
|
let EntityInfoObject = class EntityInfoObject {
|
|
15
18
|
};
|
|
16
19
|
exports.EntityInfoObject = EntityInfoObject;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, core_1.PrimaryKey)({ type: "text" }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], EntityInfoObject.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, core_1.PrimaryKey)({ type: "text" }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], EntityInfoObject.prototype, "entityName", void 0);
|
|
17
28
|
__decorate([
|
|
18
29
|
(0, graphql_1.Field)(),
|
|
30
|
+
(0, core_1.Property)({ type: "text" }),
|
|
19
31
|
__metadata("design:type", String)
|
|
20
32
|
], EntityInfoObject.prototype, "name", void 0);
|
|
21
33
|
__decorate([
|
|
22
34
|
(0, graphql_1.Field)({ nullable: true }),
|
|
35
|
+
(0, core_1.Property)({ type: "text", nullable: true }),
|
|
23
36
|
__metadata("design:type", String)
|
|
24
37
|
], EntityInfoObject.prototype, "secondaryInformation", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, core_1.Property)({ type: "boolean" }),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], EntityInfoObject.prototype, "visible", void 0);
|
|
25
42
|
exports.EntityInfoObject = EntityInfoObject = __decorate([
|
|
43
|
+
(0, core_1.Entity)({ tableName: "EntityInfo" }),
|
|
26
44
|
(0, graphql_1.ObjectType)("EntityInfo")
|
|
27
45
|
], EntityInfoObject);
|
|
28
46
|
//# sourceMappingURL=entity-info.object.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-info.object.js","sourceRoot":"","sources":["../../src/entity-info/entity-info.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA+D;AAC/D,6CAAoD;AAEpD,mHAAmH;AACnH,oGAAoG;AAI7F,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAiB5B,CAAA;AAjBY,4CAAgB;AAEzB;IADC,IAAA,iBAAU,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CAClB;AAGX;IADC,IAAA,iBAAU,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;oDACV;AAInB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,eAAQ,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;8CACd;AAIb;IAFC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzB,IAAA,eAAQ,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACb;AAG9B;IADC,IAAA,eAAQ,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;iDACb;2BAhBR,gBAAgB;IAF5B,IAAA,aAAM,EAAC,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;IACnC,IAAA,oBAAU,EAAC,YAAY,CAAC;GACZ,gBAAgB,CAiB5B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EntityManager } from "@mikro-orm/postgresql";
|
|
2
|
+
import { DiscoverService } from "../dependencies/discover.service";
|
|
3
|
+
import { EntityInfoObject } from "./entity-info.object";
|
|
4
|
+
export declare class EntityInfoService {
|
|
5
|
+
private readonly discoverService;
|
|
6
|
+
private entityManager;
|
|
7
|
+
private readonly logger;
|
|
8
|
+
constructor(discoverService: DiscoverService, entityManager: EntityManager);
|
|
9
|
+
/**
|
|
10
|
+
* Resolves a field path (e.g., "title" or "manufacturer.name") to a SQL expression.
|
|
11
|
+
* Supports direct fields, embeddables, and n-level deep ManyToOne/OneToOne relations using subqueries.
|
|
12
|
+
*/
|
|
13
|
+
private resolveFieldToSql;
|
|
14
|
+
createEntityInfoView(): Promise<void>;
|
|
15
|
+
dropEntityInfoView(): Promise<void>;
|
|
16
|
+
getEntityInfo(entityName: string, id: string): Promise<EntityInfoObject | undefined>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=entity-info.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-info.service.d.ts","sourceRoot":"","sources":["../../src/entity-info/entity-info.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,aAAa,EAAkB,MAAM,uBAAuB,CAAC;AAGjF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,qBACa,iBAAiB;IAItB,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,aAAa;IAJzB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;gBAGxC,eAAe,EAAE,eAAe,EACzC,aAAa,EAAE,aAAa;IAGxC;;;OAGG;IACH,OAAO,CAAC,iBAAiB;IA2DnB,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IA2DrC,kBAAkB;IAIlB,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;CAY7F"}
|