@nest-yalc-2/omnikernel-module 2.0.0 → 2.2.0
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/{src → dist/src}/omni-collection.dto.d.ts +1 -1
- package/{src → dist/src}/omni-collection.dto.js +13 -13
- package/{src → dist/src}/omni-collection.dto.js.map +1 -1
- package/{src → dist/src}/omni-collection.dto.ts +1 -1
- package/{src → dist/src}/omni-document.dto.d.ts +1 -1
- package/{src → dist/src}/omni-document.dto.js +16 -16
- package/{src → dist/src}/omni-document.dto.js.map +1 -1
- package/{src → dist/src}/omni-document.dto.ts +1 -1
- package/{src → dist/src}/omni-extension-projection.resource.d.ts +1 -1
- package/{src → dist/src}/omni-extension-projection.resource.ts +1 -1
- package/{src → dist/src}/omni-external-ref.dto.d.ts +1 -1
- package/{src → dist/src}/omni-external-ref.dto.js +12 -12
- package/{src → dist/src}/omni-external-ref.dto.js.map +1 -1
- package/{src → dist/src}/omni-external-ref.dto.ts +1 -1
- package/{src → dist/src}/omni-named.dto.d.ts +1 -1
- package/{src → dist/src}/omni-named.dto.js +6 -6
- package/{src → dist/src}/omni-named.dto.js.map +1 -1
- package/{src → dist/src}/omni-named.dto.ts +1 -1
- package/{src → dist/src}/omni-record.dto.d.ts +1 -1
- package/{src → dist/src}/omni-record.dto.js +11 -11
- package/{src → dist/src}/omni-record.dto.js.map +1 -1
- package/{src → dist/src}/omni-record.dto.ts +1 -1
- package/{src → dist/src}/omni-relation-projection.resource.d.ts +1 -1
- package/{src → dist/src}/omni-relation-projection.resource.js +2 -2
- package/{src → dist/src}/omni-relation-projection.resource.js.map +1 -1
- package/{src → dist/src}/omni-relation-projection.resource.ts +2 -2
- package/{src → dist/src}/omni-relation.dto.d.ts +1 -1
- package/{src → dist/src}/omni-relation.dto.js +10 -10
- package/{src → dist/src}/omni-relation.dto.js.map +1 -1
- package/{src → dist/src}/omni-relation.dto.ts +1 -1
- package/{src → dist/src}/omni-scoped.backend.d.ts +1 -1
- package/{src → dist/src}/omni-scoped.backend.ts +1 -1
- package/package.json +13 -21
- package/LICENSE +0 -661
- /package/{src → dist/src}/__tests__/omni-collection.entity.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-collection.service.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-document.entity.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-document.service.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-extension-projection-constraints.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-extension-projection.registration.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-extension-projection.service.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-external-ref.entity.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-external-ref.service.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-named.entity.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-record.entity.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-record.service.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-relation-semantics.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-relation.entity.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-scope-substrate.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-scoped.backend.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omni-scoped.service.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omnikernel.diagnostics.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omnikernel.module.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omnikernel.persistence.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omnikernel.public-api.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/omnikernel.query.service.spec.ts +0 -0
- /package/{src → dist/src}/__tests__/tsconfig.json +0 -0
- /package/{src → dist/src}/base/omni-base.entity.d.ts +0 -0
- /package/{src → dist/src}/base/omni-base.entity.js +0 -0
- /package/{src → dist/src}/base/omni-base.entity.js.map +0 -0
- /package/{src → dist/src}/base/omni-base.entity.ts +0 -0
- /package/{src → dist/src}/base/omni-external-ref.entity.d.ts +0 -0
- /package/{src → dist/src}/base/omni-external-ref.entity.js +0 -0
- /package/{src → dist/src}/base/omni-external-ref.entity.js.map +0 -0
- /package/{src → dist/src}/base/omni-external-ref.entity.ts +0 -0
- /package/{src → dist/src}/base/omni-named.entity.d.ts +0 -0
- /package/{src → dist/src}/base/omni-named.entity.js +0 -0
- /package/{src → dist/src}/base/omni-named.entity.js.map +0 -0
- /package/{src → dist/src}/base/omni-named.entity.ts +0 -0
- /package/{src → dist/src}/base/omni-record.entity.d.ts +0 -0
- /package/{src → dist/src}/base/omni-record.entity.js +0 -0
- /package/{src → dist/src}/base/omni-record.entity.js.map +0 -0
- /package/{src → dist/src}/base/omni-record.entity.ts +0 -0
- /package/{src → dist/src}/base/omni-relation.entity.d.ts +0 -0
- /package/{src → dist/src}/base/omni-relation.entity.js +0 -0
- /package/{src → dist/src}/base/omni-relation.entity.js.map +0 -0
- /package/{src → dist/src}/base/omni-relation.entity.ts +0 -0
- /package/{src → dist/src}/index.d.ts +0 -0
- /package/{src → dist/src}/index.js +0 -0
- /package/{src → dist/src}/index.js.map +0 -0
- /package/{src → dist/src}/index.ts +0 -0
- /package/{src → dist/src}/omni-collection-kind.enum.d.ts +0 -0
- /package/{src → dist/src}/omni-collection-kind.enum.js +0 -0
- /package/{src → dist/src}/omni-collection-kind.enum.js.map +0 -0
- /package/{src → dist/src}/omni-collection-kind.enum.ts +0 -0
- /package/{src → dist/src}/omni-collection.backend.d.ts +0 -0
- /package/{src → dist/src}/omni-collection.backend.js +0 -0
- /package/{src → dist/src}/omni-collection.backend.js.map +0 -0
- /package/{src → dist/src}/omni-collection.backend.ts +0 -0
- /package/{src → dist/src}/omni-collection.entity.d.ts +0 -0
- /package/{src → dist/src}/omni-collection.entity.js +0 -0
- /package/{src → dist/src}/omni-collection.entity.js.map +0 -0
- /package/{src → dist/src}/omni-collection.entity.ts +0 -0
- /package/{src → dist/src}/omni-collection.service.d.ts +0 -0
- /package/{src → dist/src}/omni-collection.service.js +0 -0
- /package/{src → dist/src}/omni-collection.service.js.map +0 -0
- /package/{src → dist/src}/omni-collection.service.ts +0 -0
- /package/{src → dist/src}/omni-document-kind.enum.d.ts +0 -0
- /package/{src → dist/src}/omni-document-kind.enum.js +0 -0
- /package/{src → dist/src}/omni-document-kind.enum.js.map +0 -0
- /package/{src → dist/src}/omni-document-kind.enum.ts +0 -0
- /package/{src → dist/src}/omni-document.backend.d.ts +0 -0
- /package/{src → dist/src}/omni-document.backend.js +0 -0
- /package/{src → dist/src}/omni-document.backend.js.map +0 -0
- /package/{src → dist/src}/omni-document.backend.ts +0 -0
- /package/{src → dist/src}/omni-document.entity.d.ts +0 -0
- /package/{src → dist/src}/omni-document.entity.js +0 -0
- /package/{src → dist/src}/omni-document.entity.js.map +0 -0
- /package/{src → dist/src}/omni-document.entity.ts +0 -0
- /package/{src → dist/src}/omni-document.service.d.ts +0 -0
- /package/{src → dist/src}/omni-document.service.js +0 -0
- /package/{src → dist/src}/omni-document.service.js.map +0 -0
- /package/{src → dist/src}/omni-document.service.ts +0 -0
- /package/{src → dist/src}/omni-dto.helpers.d.ts +0 -0
- /package/{src → dist/src}/omni-dto.helpers.js +0 -0
- /package/{src → dist/src}/omni-dto.helpers.js.map +0 -0
- /package/{src → dist/src}/omni-dto.helpers.ts +0 -0
- /package/{src → dist/src}/omni-extension-projection.definition.d.ts +0 -0
- /package/{src → dist/src}/omni-extension-projection.definition.js +0 -0
- /package/{src → dist/src}/omni-extension-projection.definition.js.map +0 -0
- /package/{src → dist/src}/omni-extension-projection.definition.ts +0 -0
- /package/{src → dist/src}/omni-extension-projection.resource.js +0 -0
- /package/{src → dist/src}/omni-extension-projection.resource.js.map +0 -0
- /package/{src → dist/src}/omni-extension-projection.service.d.ts +0 -0
- /package/{src → dist/src}/omni-extension-projection.service.js +0 -0
- /package/{src → dist/src}/omni-extension-projection.service.js.map +0 -0
- /package/{src → dist/src}/omni-extension-projection.service.ts +0 -0
- /package/{src → dist/src}/omni-external-ref-binding.validator.d.ts +0 -0
- /package/{src → dist/src}/omni-external-ref-binding.validator.js +0 -0
- /package/{src → dist/src}/omni-external-ref-binding.validator.js.map +0 -0
- /package/{src → dist/src}/omni-external-ref-binding.validator.ts +0 -0
- /package/{src → dist/src}/omni-external-ref-internal-type.enum.d.ts +0 -0
- /package/{src → dist/src}/omni-external-ref-internal-type.enum.js +0 -0
- /package/{src → dist/src}/omni-external-ref-internal-type.enum.js.map +0 -0
- /package/{src → dist/src}/omni-external-ref-internal-type.enum.ts +0 -0
- /package/{src → dist/src}/omni-external-ref.backend.d.ts +0 -0
- /package/{src → dist/src}/omni-external-ref.backend.js +0 -0
- /package/{src → dist/src}/omni-external-ref.backend.js.map +0 -0
- /package/{src → dist/src}/omni-external-ref.backend.ts +0 -0
- /package/{src → dist/src}/omni-external-ref.service.d.ts +0 -0
- /package/{src → dist/src}/omni-external-ref.service.js +0 -0
- /package/{src → dist/src}/omni-external-ref.service.js.map +0 -0
- /package/{src → dist/src}/omni-external-ref.service.ts +0 -0
- /package/{src → dist/src}/omni-migration.d.ts +0 -0
- /package/{src → dist/src}/omni-migration.js +0 -0
- /package/{src → dist/src}/omni-migration.js.map +0 -0
- /package/{src → dist/src}/omni-migration.ts +0 -0
- /package/{src → dist/src}/omni-named.backend.d.ts +0 -0
- /package/{src → dist/src}/omni-named.backend.js +0 -0
- /package/{src → dist/src}/omni-named.backend.js.map +0 -0
- /package/{src → dist/src}/omni-named.backend.ts +0 -0
- /package/{src → dist/src}/omni-projection.catalog.d.ts +0 -0
- /package/{src → dist/src}/omni-projection.catalog.js +0 -0
- /package/{src → dist/src}/omni-projection.catalog.js.map +0 -0
- /package/{src → dist/src}/omni-projection.catalog.ts +0 -0
- /package/{src → dist/src}/omni-projection.lifecycle.d.ts +0 -0
- /package/{src → dist/src}/omni-projection.lifecycle.js +0 -0
- /package/{src → dist/src}/omni-projection.lifecycle.js.map +0 -0
- /package/{src → dist/src}/omni-projection.lifecycle.ts +0 -0
- /package/{src → dist/src}/omni-record-status.enum.d.ts +0 -0
- /package/{src → dist/src}/omni-record-status.enum.js +0 -0
- /package/{src → dist/src}/omni-record-status.enum.js.map +0 -0
- /package/{src → dist/src}/omni-record-status.enum.ts +0 -0
- /package/{src → dist/src}/omni-record.backend.d.ts +0 -0
- /package/{src → dist/src}/omni-record.backend.js +0 -0
- /package/{src → dist/src}/omni-record.backend.js.map +0 -0
- /package/{src → dist/src}/omni-record.backend.ts +0 -0
- /package/{src → dist/src}/omni-record.service.d.ts +0 -0
- /package/{src → dist/src}/omni-record.service.js +0 -0
- /package/{src → dist/src}/omni-record.service.js.map +0 -0
- /package/{src → dist/src}/omni-record.service.ts +0 -0
- /package/{src → dist/src}/omni-relation-kind.contract.d.ts +0 -0
- /package/{src → dist/src}/omni-relation-kind.contract.js +0 -0
- /package/{src → dist/src}/omni-relation-kind.contract.js.map +0 -0
- /package/{src → dist/src}/omni-relation-kind.contract.ts +0 -0
- /package/{src → dist/src}/omni-relation-kind.enum.d.ts +0 -0
- /package/{src → dist/src}/omni-relation-kind.enum.js +0 -0
- /package/{src → dist/src}/omni-relation-kind.enum.js.map +0 -0
- /package/{src → dist/src}/omni-relation-kind.enum.ts +0 -0
- /package/{src → dist/src}/omni-relation-projection.definition.d.ts +0 -0
- /package/{src → dist/src}/omni-relation-projection.definition.js +0 -0
- /package/{src → dist/src}/omni-relation-projection.definition.js.map +0 -0
- /package/{src → dist/src}/omni-relation-projection.definition.ts +0 -0
- /package/{src → dist/src}/omni-relation-projection.service.d.ts +0 -0
- /package/{src → dist/src}/omni-relation-projection.service.js +0 -0
- /package/{src → dist/src}/omni-relation-projection.service.js.map +0 -0
- /package/{src → dist/src}/omni-relation-projection.service.ts +0 -0
- /package/{src → dist/src}/omni-relation-semantics.d.ts +0 -0
- /package/{src → dist/src}/omni-relation-semantics.js +0 -0
- /package/{src → dist/src}/omni-relation-semantics.js.map +0 -0
- /package/{src → dist/src}/omni-relation-semantics.ts +0 -0
- /package/{src → dist/src}/omni-relation-status.enum.d.ts +0 -0
- /package/{src → dist/src}/omni-relation-status.enum.js +0 -0
- /package/{src → dist/src}/omni-relation-status.enum.js.map +0 -0
- /package/{src → dist/src}/omni-relation-status.enum.ts +0 -0
- /package/{src → dist/src}/omni-relation.backend.d.ts +0 -0
- /package/{src → dist/src}/omni-relation.backend.js +0 -0
- /package/{src → dist/src}/omni-relation.backend.js.map +0 -0
- /package/{src → dist/src}/omni-relation.backend.ts +0 -0
- /package/{src → dist/src}/omni-relation.service.d.ts +0 -0
- /package/{src → dist/src}/omni-relation.service.js +0 -0
- /package/{src → dist/src}/omni-relation.service.js.map +0 -0
- /package/{src → dist/src}/omni-relation.service.ts +0 -0
- /package/{src → dist/src}/omni-scope.d.ts +0 -0
- /package/{src → dist/src}/omni-scope.js +0 -0
- /package/{src → dist/src}/omni-scope.js.map +0 -0
- /package/{src → dist/src}/omni-scope.ts +0 -0
- /package/{src → dist/src}/omni-scoped.backend.js +0 -0
- /package/{src → dist/src}/omni-scoped.backend.js.map +0 -0
- /package/{src → dist/src}/omni-scoped.repository.d.ts +0 -0
- /package/{src → dist/src}/omni-scoped.repository.js +0 -0
- /package/{src → dist/src}/omni-scoped.repository.js.map +0 -0
- /package/{src → dist/src}/omni-scoped.repository.ts +0 -0
- /package/{src → dist/src}/omni-scoped.service.d.ts +0 -0
- /package/{src → dist/src}/omni-scoped.service.js +0 -0
- /package/{src → dist/src}/omni-scoped.service.js.map +0 -0
- /package/{src → dist/src}/omni-scoped.service.ts +0 -0
- /package/{src → dist/src}/omnikernel.diagnostics.d.ts +0 -0
- /package/{src → dist/src}/omnikernel.diagnostics.js +0 -0
- /package/{src → dist/src}/omnikernel.diagnostics.js.map +0 -0
- /package/{src → dist/src}/omnikernel.diagnostics.ts +0 -0
- /package/{src → dist/src}/omnikernel.module.d.ts +0 -0
- /package/{src → dist/src}/omnikernel.module.js +0 -0
- /package/{src → dist/src}/omnikernel.module.js.map +0 -0
- /package/{src → dist/src}/omnikernel.module.ts +0 -0
- /package/{src → dist/src}/omnikernel.query.service.d.ts +0 -0
- /package/{src → dist/src}/omnikernel.query.service.js +0 -0
- /package/{src → dist/src}/omnikernel.query.service.js.map +0 -0
- /package/{src → dist/src}/omnikernel.query.service.ts +0 -0
|
@@ -20,7 +20,7 @@ export declare class OmniCollectionType extends OmniCollectionEntity {
|
|
|
20
20
|
collectionKind: OmniCollectionKind;
|
|
21
21
|
summary?: string | null;
|
|
22
22
|
}
|
|
23
|
-
declare const OmniCollectionCreateInput_base: import("@nestjs/common").Type<Omit<OmniCollectionType, "
|
|
23
|
+
declare const OmniCollectionCreateInput_base: import("@nestjs/common").Type<Omit<OmniCollectionType, "createdAt" | "updatedAt" | "revision" | "kind" | "outgoingRelations" | "incomingRelations">>;
|
|
24
24
|
export declare class OmniCollectionCreateInput extends OmniCollectionCreateInput_base {
|
|
25
25
|
}
|
|
26
26
|
declare const OmniCollectionCondition_base: import("@nestjs/common").Type<Partial<OmniCollectionCreateInput>>;
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const graphql_1 = require("@nestjs/graphql");
|
|
6
6
|
const object_decorator_js_1 = require("@nest-yalc-2/crud-gen/object.decorator.js");
|
|
7
7
|
const uuid_scalar_js_1 = require("@nest-yalc-2/graphql/scalars/uuid.scalar.js");
|
|
8
|
-
const
|
|
8
|
+
const returnValue_1 = tslib_1.__importDefault(require("@node-yalc/utils/returnValue"));
|
|
9
9
|
const class_validator_1 = require("class-validator");
|
|
10
10
|
const graphql_type_json_1 = require("graphql-type-json");
|
|
11
11
|
const omni_relation_entity_js_1 = require("./base/omni-relation.entity.js");
|
|
@@ -24,18 +24,18 @@ let OmniCollectionType = class OmniCollectionType extends omni_collection_entity
|
|
|
24
24
|
};
|
|
25
25
|
exports.OmniCollectionType = OmniCollectionType;
|
|
26
26
|
tslib_1.__decorate([
|
|
27
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
27
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(uuid_scalar_js_1.UUIDScalar), isRequired: true }),
|
|
28
28
|
(0, class_validator_1.IsUUID)(),
|
|
29
29
|
tslib_1.__metadata("design:type", String)
|
|
30
30
|
], OmniCollectionType.prototype, "guid", void 0);
|
|
31
31
|
tslib_1.__decorate([
|
|
32
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
32
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(graphql_1.Int) }),
|
|
33
33
|
(0, class_validator_1.IsInt)(),
|
|
34
34
|
tslib_1.__metadata("design:type", Number)
|
|
35
35
|
], OmniCollectionType.prototype, "revision", void 0);
|
|
36
36
|
tslib_1.__decorate([
|
|
37
37
|
(0, object_decorator_js_1.ModelField)({
|
|
38
|
-
gqlType: (0,
|
|
38
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
39
39
|
gqlOptions: { nullable: true },
|
|
40
40
|
}),
|
|
41
41
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -44,14 +44,14 @@ tslib_1.__decorate([
|
|
|
44
44
|
tslib_1.__metadata("design:type", Object)
|
|
45
45
|
], OmniCollectionType.prototype, "externalId", void 0);
|
|
46
46
|
tslib_1.__decorate([
|
|
47
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
47
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(String) }),
|
|
48
48
|
(0, class_validator_1.IsString)(),
|
|
49
49
|
(0, class_validator_1.MaxLength)(255),
|
|
50
50
|
tslib_1.__metadata("design:type", String)
|
|
51
51
|
], OmniCollectionType.prototype, "title", void 0);
|
|
52
52
|
tslib_1.__decorate([
|
|
53
53
|
(0, object_decorator_js_1.ModelField)({
|
|
54
|
-
gqlType: (0,
|
|
54
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
55
55
|
gqlOptions: { nullable: true },
|
|
56
56
|
}),
|
|
57
57
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -60,18 +60,18 @@ tslib_1.__decorate([
|
|
|
60
60
|
tslib_1.__metadata("design:type", Object)
|
|
61
61
|
], OmniCollectionType.prototype, "slug", void 0);
|
|
62
62
|
tslib_1.__decorate([
|
|
63
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
63
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(omni_collection_kind_enum_js_1.OmniCollectionKind) }),
|
|
64
64
|
(0, class_validator_1.IsEnum)(omni_collection_kind_enum_js_1.OmniCollectionKind),
|
|
65
65
|
tslib_1.__metadata("design:type", String)
|
|
66
66
|
], OmniCollectionType.prototype, "kind", void 0);
|
|
67
67
|
tslib_1.__decorate([
|
|
68
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
68
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(omni_record_status_enum_js_1.OmniRecordStatus) }),
|
|
69
69
|
(0, class_validator_1.IsEnum)(omni_record_status_enum_js_1.OmniRecordStatus),
|
|
70
70
|
tslib_1.__metadata("design:type", String)
|
|
71
71
|
], OmniCollectionType.prototype, "status", void 0);
|
|
72
72
|
tslib_1.__decorate([
|
|
73
73
|
(0, object_decorator_js_1.ModelField)({
|
|
74
|
-
gqlType: (0,
|
|
74
|
+
gqlType: (0, returnValue_1.default)(graphql_type_json_1.GraphQLJSONObject),
|
|
75
75
|
gqlOptions: { nullable: true },
|
|
76
76
|
}),
|
|
77
77
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -80,7 +80,7 @@ tslib_1.__decorate([
|
|
|
80
80
|
], OmniCollectionType.prototype, "payload", void 0);
|
|
81
81
|
tslib_1.__decorate([
|
|
82
82
|
(0, object_decorator_js_1.ModelField)({
|
|
83
|
-
gqlType: (0,
|
|
83
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
84
84
|
gqlOptions: { nullable: true },
|
|
85
85
|
}),
|
|
86
86
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -90,7 +90,7 @@ tslib_1.__decorate([
|
|
|
90
90
|
], OmniCollectionType.prototype, "payloadSchemaId", void 0);
|
|
91
91
|
tslib_1.__decorate([
|
|
92
92
|
(0, object_decorator_js_1.ModelField)({
|
|
93
|
-
gqlType: (0,
|
|
93
|
+
gqlType: (0, returnValue_1.default)(graphql_1.Int),
|
|
94
94
|
gqlOptions: { nullable: true },
|
|
95
95
|
}),
|
|
96
96
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -124,13 +124,13 @@ tslib_1.__decorate([
|
|
|
124
124
|
tslib_1.__metadata("design:type", Object)
|
|
125
125
|
], OmniCollectionType.prototype, "incomingRelations", void 0);
|
|
126
126
|
tslib_1.__decorate([
|
|
127
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
127
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(omni_collection_kind_enum_js_1.OmniCollectionKind) }),
|
|
128
128
|
(0, class_validator_1.IsEnum)(omni_collection_kind_enum_js_1.OmniCollectionKind),
|
|
129
129
|
tslib_1.__metadata("design:type", String)
|
|
130
130
|
], OmniCollectionType.prototype, "collectionKind", void 0);
|
|
131
131
|
tslib_1.__decorate([
|
|
132
132
|
(0, object_decorator_js_1.ModelField)({
|
|
133
|
-
gqlType: (0,
|
|
133
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
134
134
|
gqlOptions: { nullable: true },
|
|
135
135
|
}),
|
|
136
136
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"omni-collection.dto.js","sourceRoot":"","sources":["omni-collection.dto.ts"],"names":[],"mappings":";;;;AAAA,6CAMyB;AACzB,mFAGmD;AACnD,gFAAyE;AACzE,
|
|
1
|
+
{"version":3,"file":"omni-collection.dto.js","sourceRoot":"","sources":["omni-collection.dto.ts"],"names":[],"mappings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AA;AAXS,8DAAyB;oCAAzB,yBAAyB;IAFrC,IAAA,mBAAS,GAAE;IACX,IAAA,iCAAW,GAAE;GACD,yBAAyB,CAWlC;AAIG,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,IAAA,qBAAW,EACtD,yBAAyB,EACzB,mBAAS,CACV;CAAG,CAAA;AAHS,0DAAuB;kCAAvB,uBAAuB;IAFnC,IAAA,mBAAS,GAAE;IACX,IAAA,iCAAW,EAAC,EAAE,QAAQ,EAAE,kBAAkB,EAAE,CAAC;GACjC,uBAAuB,CAGhC;AAIG,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,IAAA,qBAAW,EACxD,yBAAyB,EACzB,mBAAS,CACV;CAAG,CAAA;AAHS,8DAAyB;oCAAzB,yBAAyB;IAFrC,IAAA,mBAAS,GAAE;IACX,IAAA,iCAAW,EAAC,EAAE,QAAQ,EAAE,kBAAkB,EAAE,CAAC;GACjC,yBAAyB,CAGlC"}
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
ModelObject,
|
|
11
11
|
} from '@nest-yalc-2/crud-gen/object.decorator.js';
|
|
12
12
|
import { UUIDScalar } from '@nest-yalc-2/graphql/scalars/uuid.scalar.js';
|
|
13
|
-
import returnValue from '@node-yalc/utils/returnValue
|
|
13
|
+
import returnValue from '@node-yalc/utils/returnValue';
|
|
14
14
|
import {
|
|
15
15
|
IsEnum,
|
|
16
16
|
IsInt,
|
|
@@ -23,7 +23,7 @@ export declare class OmniDocumentType extends OmniDocumentEntity {
|
|
|
23
23
|
sourceUrl?: string | null;
|
|
24
24
|
publishedAt?: Date | null;
|
|
25
25
|
}
|
|
26
|
-
declare const OmniDocumentCreateInput_base: import("@nestjs/common").Type<Omit<OmniDocumentType, "
|
|
26
|
+
declare const OmniDocumentCreateInput_base: import("@nestjs/common").Type<Omit<OmniDocumentType, "createdAt" | "updatedAt" | "revision" | "kind" | "outgoingRelations" | "incomingRelations">>;
|
|
27
27
|
export declare class OmniDocumentCreateInput extends OmniDocumentCreateInput_base {
|
|
28
28
|
}
|
|
29
29
|
declare const OmniDocumentCondition_base: import("@nestjs/common").Type<Partial<OmniDocumentCreateInput>>;
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const graphql_1 = require("@nestjs/graphql");
|
|
6
6
|
const object_decorator_js_1 = require("@nest-yalc-2/crud-gen/object.decorator.js");
|
|
7
7
|
const uuid_scalar_js_1 = require("@nest-yalc-2/graphql/scalars/uuid.scalar.js");
|
|
8
|
-
const
|
|
8
|
+
const returnValue_1 = tslib_1.__importDefault(require("@node-yalc/utils/returnValue"));
|
|
9
9
|
const class_validator_1 = require("class-validator");
|
|
10
10
|
const graphql_type_json_1 = require("graphql-type-json");
|
|
11
11
|
const omni_document_entity_js_1 = require("./omni-document.entity.js");
|
|
@@ -24,18 +24,18 @@ let OmniDocumentType = class OmniDocumentType extends omni_document_entity_js_1.
|
|
|
24
24
|
};
|
|
25
25
|
exports.OmniDocumentType = OmniDocumentType;
|
|
26
26
|
tslib_1.__decorate([
|
|
27
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
27
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(uuid_scalar_js_1.UUIDScalar), isRequired: true }),
|
|
28
28
|
(0, class_validator_1.IsUUID)(),
|
|
29
29
|
tslib_1.__metadata("design:type", String)
|
|
30
30
|
], OmniDocumentType.prototype, "guid", void 0);
|
|
31
31
|
tslib_1.__decorate([
|
|
32
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
32
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(graphql_1.Int) }),
|
|
33
33
|
(0, class_validator_1.IsInt)(),
|
|
34
34
|
tslib_1.__metadata("design:type", Number)
|
|
35
35
|
], OmniDocumentType.prototype, "revision", void 0);
|
|
36
36
|
tslib_1.__decorate([
|
|
37
37
|
(0, object_decorator_js_1.ModelField)({
|
|
38
|
-
gqlType: (0,
|
|
38
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
39
39
|
gqlOptions: { nullable: true },
|
|
40
40
|
}),
|
|
41
41
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -44,14 +44,14 @@ tslib_1.__decorate([
|
|
|
44
44
|
tslib_1.__metadata("design:type", Object)
|
|
45
45
|
], OmniDocumentType.prototype, "externalId", void 0);
|
|
46
46
|
tslib_1.__decorate([
|
|
47
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
47
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(String) }),
|
|
48
48
|
(0, class_validator_1.IsString)(),
|
|
49
49
|
(0, class_validator_1.MaxLength)(255),
|
|
50
50
|
tslib_1.__metadata("design:type", String)
|
|
51
51
|
], OmniDocumentType.prototype, "title", void 0);
|
|
52
52
|
tslib_1.__decorate([
|
|
53
53
|
(0, object_decorator_js_1.ModelField)({
|
|
54
|
-
gqlType: (0,
|
|
54
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
55
55
|
gqlOptions: { nullable: true },
|
|
56
56
|
}),
|
|
57
57
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -60,18 +60,18 @@ tslib_1.__decorate([
|
|
|
60
60
|
tslib_1.__metadata("design:type", Object)
|
|
61
61
|
], OmniDocumentType.prototype, "slug", void 0);
|
|
62
62
|
tslib_1.__decorate([
|
|
63
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
63
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(omni_document_kind_enum_js_1.OmniDocumentKind) }),
|
|
64
64
|
(0, class_validator_1.IsEnum)(omni_document_kind_enum_js_1.OmniDocumentKind),
|
|
65
65
|
tslib_1.__metadata("design:type", String)
|
|
66
66
|
], OmniDocumentType.prototype, "kind", void 0);
|
|
67
67
|
tslib_1.__decorate([
|
|
68
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
68
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(omni_record_status_enum_js_1.OmniRecordStatus) }),
|
|
69
69
|
(0, class_validator_1.IsEnum)(omni_record_status_enum_js_1.OmniRecordStatus),
|
|
70
70
|
tslib_1.__metadata("design:type", String)
|
|
71
71
|
], OmniDocumentType.prototype, "status", void 0);
|
|
72
72
|
tslib_1.__decorate([
|
|
73
73
|
(0, object_decorator_js_1.ModelField)({
|
|
74
|
-
gqlType: (0,
|
|
74
|
+
gqlType: (0, returnValue_1.default)(graphql_type_json_1.GraphQLJSONObject),
|
|
75
75
|
gqlOptions: { nullable: true },
|
|
76
76
|
}),
|
|
77
77
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -80,7 +80,7 @@ tslib_1.__decorate([
|
|
|
80
80
|
], OmniDocumentType.prototype, "payload", void 0);
|
|
81
81
|
tslib_1.__decorate([
|
|
82
82
|
(0, object_decorator_js_1.ModelField)({
|
|
83
|
-
gqlType: (0,
|
|
83
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
84
84
|
gqlOptions: { nullable: true },
|
|
85
85
|
}),
|
|
86
86
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -90,7 +90,7 @@ tslib_1.__decorate([
|
|
|
90
90
|
], OmniDocumentType.prototype, "payloadSchemaId", void 0);
|
|
91
91
|
tslib_1.__decorate([
|
|
92
92
|
(0, object_decorator_js_1.ModelField)({
|
|
93
|
-
gqlType: (0,
|
|
93
|
+
gqlType: (0, returnValue_1.default)(graphql_1.Int),
|
|
94
94
|
gqlOptions: { nullable: true },
|
|
95
95
|
}),
|
|
96
96
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -124,13 +124,13 @@ tslib_1.__decorate([
|
|
|
124
124
|
tslib_1.__metadata("design:type", Object)
|
|
125
125
|
], OmniDocumentType.prototype, "incomingRelations", void 0);
|
|
126
126
|
tslib_1.__decorate([
|
|
127
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
127
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(omni_document_kind_enum_js_1.OmniDocumentKind) }),
|
|
128
128
|
(0, class_validator_1.IsEnum)(omni_document_kind_enum_js_1.OmniDocumentKind),
|
|
129
129
|
tslib_1.__metadata("design:type", String)
|
|
130
130
|
], OmniDocumentType.prototype, "documentKind", void 0);
|
|
131
131
|
tslib_1.__decorate([
|
|
132
132
|
(0, object_decorator_js_1.ModelField)({
|
|
133
|
-
gqlType: (0,
|
|
133
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
134
134
|
gqlOptions: { nullable: true },
|
|
135
135
|
}),
|
|
136
136
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -139,7 +139,7 @@ tslib_1.__decorate([
|
|
|
139
139
|
], OmniDocumentType.prototype, "content", void 0);
|
|
140
140
|
tslib_1.__decorate([
|
|
141
141
|
(0, object_decorator_js_1.ModelField)({
|
|
142
|
-
gqlType: (0,
|
|
142
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
143
143
|
gqlOptions: { nullable: true },
|
|
144
144
|
}),
|
|
145
145
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -149,7 +149,7 @@ tslib_1.__decorate([
|
|
|
149
149
|
], OmniDocumentType.prototype, "contentMimeType", void 0);
|
|
150
150
|
tslib_1.__decorate([
|
|
151
151
|
(0, object_decorator_js_1.ModelField)({
|
|
152
|
-
gqlType: (0,
|
|
152
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
153
153
|
gqlOptions: { nullable: true },
|
|
154
154
|
}),
|
|
155
155
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -159,7 +159,7 @@ tslib_1.__decorate([
|
|
|
159
159
|
], OmniDocumentType.prototype, "sourceUrl", void 0);
|
|
160
160
|
tslib_1.__decorate([
|
|
161
161
|
(0, object_decorator_js_1.ModelField)({
|
|
162
|
-
gqlType: (0,
|
|
162
|
+
gqlType: (0, returnValue_1.default)(Date),
|
|
163
163
|
gqlOptions: { nullable: true },
|
|
164
164
|
}),
|
|
165
165
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"omni-document.dto.js","sourceRoot":"","sources":["omni-document.dto.ts"],"names":[],"mappings":";;;;AAAA,6CAMyB;AACzB,mFAGmD;AACnD,gFAAyE;AACzE,
|
|
1
|
+
{"version":3,"file":"omni-document.dto.js","sourceRoot":"","sources":["omni-document.dto.ts"],"names":[],"mappings":";;;;AAAA,6CAMyB;AACzB,mFAGmD;AACnD,gFAAyE;AACzE,uFAAuD;AACvD,qDAUyB;AACzB,yDAAsD;AAEtD,uEAA+D;AAC/D,6EAAgE;AAChE,+DAA4D;AAC5D,6EAAgE;AAChE,4EAAoE;AACpE,iEAA0D;AAInD,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,4CAAkB;IACtD,YAAY,IAAgC;QAC1C,KAAK,EAAE,CAAC;QACR,IAAI,IAAI,EAAE,CAAC;YACT,IAAA,yCAAmB,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;CA+HF,CAAA;AArIY,4CAAgB;AAU3B;IAFC,IAAA,gCAAU,EAAC,EAAE,OAAO,EAAE,IAAA,qBAAW,EAAC,2BAAU,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;IAClE,IAAA,wBAAM,GAAE;;8CACK;AAId;IAFC,IAAA,gCAAU,EAAC,EAAE,OAAO,EAAE,IAAA,qBAAW,EAAC,aAAG,CAAC,EAAE,CAAC;IACzC,IAAA,uBAAK,GAAE;;kDACU;AASlB;IAPC,IAAA,gCAAU,EAAC;QACV,OAAO,EAAE,IAAA,qBAAW,EAAC,MAAM,CAAC;QAC5B,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;KAC/B,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;oDACY;AAK3B;IA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IACX,IAAA,iCAAW,EAAC,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC;GAC/B,qBAAqB,CAG9B;AAIG,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,IAAA,qBAAW,EACtD,uBAAuB,EACvB,mBAAS,CACV;CAAG,CAAA;AAHS,0DAAuB;kCAAvB,uBAAuB;IAFnC,IAAA,mBAAS,GAAE;IACX,IAAA,iCAAW,EAAC,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC;GAC/B,uBAAuB,CAGhC"}
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
ModelObject,
|
|
11
11
|
} from '@nest-yalc-2/crud-gen/object.decorator.js';
|
|
12
12
|
import { UUIDScalar } from '@nest-yalc-2/graphql/scalars/uuid.scalar.js';
|
|
13
|
-
import returnValue from '@node-yalc/utils/returnValue
|
|
13
|
+
import returnValue from '@node-yalc/utils/returnValue';
|
|
14
14
|
import {
|
|
15
15
|
IsDate,
|
|
16
16
|
IsEnum,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type InjectionToken, type Provider } from '@nestjs/common';
|
|
2
2
|
import { type ICrudGenResourceFactoryResult, type ProjectionGraphqlTypes } from '@nest-yalc-2/crud-gen';
|
|
3
|
-
import type { ClassType } from '@node-yalc/types/globals
|
|
3
|
+
import type { ClassType } from '@node-yalc/types/globals';
|
|
4
4
|
import type { EntityTarget, ObjectLiteral } from 'typeorm';
|
|
5
5
|
import type { OmniExtensionProjectionDefinition } from './omni-extension-projection.definition.js';
|
|
6
6
|
import type { OmniExtensionProjectionReaderRegistration, OmniProjectionReaderCatalogProvider } from './omni-projection.catalog.js';
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
getFn,
|
|
15
15
|
} from '@nest-yalc-2/data-loader';
|
|
16
16
|
import { YalcEventService } from '@nest-yalc-2/event-manager';
|
|
17
|
-
import type { ClassType } from '@node-yalc/types/globals
|
|
17
|
+
import type { ClassType } from '@node-yalc/types/globals';
|
|
18
18
|
import type { DataSource, EntityTarget, ObjectLiteral } from 'typeorm';
|
|
19
19
|
import { OmniRecordEntity } from './base/omni-record.entity.js';
|
|
20
20
|
import type { OmniExtensionProjectionDefinition } from './omni-extension-projection.definition.js';
|
|
@@ -14,7 +14,7 @@ export declare class OmniExternalRefType extends OmniExternalRefEntity {
|
|
|
14
14
|
payloadSchemaId?: string | null;
|
|
15
15
|
payloadSchemaVersion?: number | null;
|
|
16
16
|
}
|
|
17
|
-
declare const OmniExternalRefCreateInput_base: import("@nestjs/common").Type<Omit<OmniExternalRefType, "
|
|
17
|
+
declare const OmniExternalRefCreateInput_base: import("@nestjs/common").Type<Omit<OmniExternalRefType, "createdAt" | "updatedAt" | "revision">>;
|
|
18
18
|
export declare class OmniExternalRefCreateInput extends OmniExternalRefCreateInput_base {
|
|
19
19
|
}
|
|
20
20
|
declare const OmniExternalRefCondition_base: import("@nestjs/common").Type<Partial<OmniExternalRefCreateInput>>;
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const graphql_1 = require("@nestjs/graphql");
|
|
6
6
|
const object_decorator_js_1 = require("@nest-yalc-2/crud-gen/object.decorator.js");
|
|
7
7
|
const uuid_scalar_js_1 = require("@nest-yalc-2/graphql/scalars/uuid.scalar.js");
|
|
8
|
-
const
|
|
8
|
+
const returnValue_1 = tslib_1.__importDefault(require("@node-yalc/utils/returnValue"));
|
|
9
9
|
const class_validator_1 = require("class-validator");
|
|
10
10
|
const graphql_type_json_1 = require("graphql-type-json");
|
|
11
11
|
const omni_external_ref_entity_js_1 = require("./base/omni-external-ref.entity.js");
|
|
@@ -21,34 +21,34 @@ let OmniExternalRefType = class OmniExternalRefType extends omni_external_ref_en
|
|
|
21
21
|
};
|
|
22
22
|
exports.OmniExternalRefType = OmniExternalRefType;
|
|
23
23
|
tslib_1.__decorate([
|
|
24
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
24
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(uuid_scalar_js_1.UUIDScalar), isRequired: true }),
|
|
25
25
|
(0, class_validator_1.IsUUID)(),
|
|
26
26
|
tslib_1.__metadata("design:type", String)
|
|
27
27
|
], OmniExternalRefType.prototype, "guid", void 0);
|
|
28
28
|
tslib_1.__decorate([
|
|
29
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
29
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(graphql_1.Int) }),
|
|
30
30
|
(0, class_validator_1.IsInt)(),
|
|
31
31
|
tslib_1.__metadata("design:type", Number)
|
|
32
32
|
], OmniExternalRefType.prototype, "revision", void 0);
|
|
33
33
|
tslib_1.__decorate([
|
|
34
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
34
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(omni_external_ref_internal_type_enum_js_1.OmniExternalRefInternalType) }),
|
|
35
35
|
(0, class_validator_1.IsEnum)(omni_external_ref_internal_type_enum_js_1.OmniExternalRefInternalType),
|
|
36
36
|
tslib_1.__metadata("design:type", String)
|
|
37
37
|
], OmniExternalRefType.prototype, "internalType", void 0);
|
|
38
38
|
tslib_1.__decorate([
|
|
39
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
39
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(uuid_scalar_js_1.UUIDScalar), isRequired: true }),
|
|
40
40
|
(0, class_validator_1.IsUUID)(),
|
|
41
41
|
tslib_1.__metadata("design:type", String)
|
|
42
42
|
], OmniExternalRefType.prototype, "internalId", void 0);
|
|
43
43
|
tslib_1.__decorate([
|
|
44
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
44
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(String) }),
|
|
45
45
|
(0, class_validator_1.IsString)(),
|
|
46
46
|
(0, class_validator_1.MaxLength)(128),
|
|
47
47
|
tslib_1.__metadata("design:type", String)
|
|
48
48
|
], OmniExternalRefType.prototype, "provider", void 0);
|
|
49
49
|
tslib_1.__decorate([
|
|
50
50
|
(0, object_decorator_js_1.ModelField)({
|
|
51
|
-
gqlType: (0,
|
|
51
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
52
52
|
gqlOptions: { nullable: true },
|
|
53
53
|
}),
|
|
54
54
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -58,7 +58,7 @@ tslib_1.__decorate([
|
|
|
58
58
|
], OmniExternalRefType.prototype, "account", void 0);
|
|
59
59
|
tslib_1.__decorate([
|
|
60
60
|
(0, object_decorator_js_1.ModelField)({
|
|
61
|
-
gqlType: (0,
|
|
61
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
62
62
|
gqlOptions: { nullable: true },
|
|
63
63
|
}),
|
|
64
64
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -67,14 +67,14 @@ tslib_1.__decorate([
|
|
|
67
67
|
tslib_1.__metadata("design:type", Object)
|
|
68
68
|
], OmniExternalRefType.prototype, "container", void 0);
|
|
69
69
|
tslib_1.__decorate([
|
|
70
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
70
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(String) }),
|
|
71
71
|
(0, class_validator_1.IsString)(),
|
|
72
72
|
(0, class_validator_1.MaxLength)(255),
|
|
73
73
|
tslib_1.__metadata("design:type", String)
|
|
74
74
|
], OmniExternalRefType.prototype, "externalId", void 0);
|
|
75
75
|
tslib_1.__decorate([
|
|
76
76
|
(0, object_decorator_js_1.ModelField)({
|
|
77
|
-
gqlType: (0,
|
|
77
|
+
gqlType: (0, returnValue_1.default)(graphql_type_json_1.GraphQLJSONObject),
|
|
78
78
|
gqlOptions: { nullable: true },
|
|
79
79
|
}),
|
|
80
80
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -83,7 +83,7 @@ tslib_1.__decorate([
|
|
|
83
83
|
], OmniExternalRefType.prototype, "payload", void 0);
|
|
84
84
|
tslib_1.__decorate([
|
|
85
85
|
(0, object_decorator_js_1.ModelField)({
|
|
86
|
-
gqlType: (0,
|
|
86
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
87
87
|
gqlOptions: { nullable: true },
|
|
88
88
|
}),
|
|
89
89
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -93,7 +93,7 @@ tslib_1.__decorate([
|
|
|
93
93
|
], OmniExternalRefType.prototype, "payloadSchemaId", void 0);
|
|
94
94
|
tslib_1.__decorate([
|
|
95
95
|
(0, object_decorator_js_1.ModelField)({
|
|
96
|
-
gqlType: (0,
|
|
96
|
+
gqlType: (0, returnValue_1.default)(graphql_1.Int),
|
|
97
97
|
gqlOptions: { nullable: true },
|
|
98
98
|
}),
|
|
99
99
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"omni-external-ref.dto.js","sourceRoot":"","sources":["omni-external-ref.dto.ts"],"names":[],"mappings":";;;;AAAA,6CAMyB;AACzB,mFAGmD;AACnD,gFAAyE;AACzE,
|
|
1
|
+
{"version":3,"file":"omni-external-ref.dto.js","sourceRoot":"","sources":["omni-external-ref.dto.ts"],"names":[],"mappings":";;;;AAAA,6CAMyB;AACzB,mFAGmD;AACnD,gFAAyE;AACzE,uFAAuD;AACvD,qDAQyB;AACzB,yDAAsD;AACtD,oFAA2E;AAC3E,+DAA4D;AAC5D,uGAAwF;AAIjF,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,mDAAqB;IAC5D,YAAY,IAAmC;QAC7C,KAAK,EAAE,CAAC;QACR,IAAI,IAAI,EAAE,CAAC;YACT,IAAA,yCAAmB,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;CAsEF,CAAA;AA5EY,kDAAmB;AAU9B;IAFC,IAAA,gCAAU,EAAC,EAAE,OAAO,EAAE,IAAA,qBA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AAS,GAAE;IACX,IAAA,iCAAW,EAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE,CAAC;GAClC,wBAAwB,CAGjC;AAIG,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,IAAA,qBAAW,EACzD,0BAA0B,EAC1B,mBAAS,CACV;CAAG,CAAA;AAHS,gEAA0B;qCAA1B,0BAA0B;IAFtC,IAAA,mBAAS,GAAE;IACX,IAAA,iCAAW,EAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE,CAAC;GAClC,0BAA0B,CAGnC"}
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
ModelObject,
|
|
11
11
|
} from '@nest-yalc-2/crud-gen/object.decorator.js';
|
|
12
12
|
import { UUIDScalar } from '@nest-yalc-2/graphql/scalars/uuid.scalar.js';
|
|
13
|
-
import returnValue from '@node-yalc/utils/returnValue
|
|
13
|
+
import returnValue from '@node-yalc/utils/returnValue';
|
|
14
14
|
import {
|
|
15
15
|
IsEnum,
|
|
16
16
|
IsInt,
|
|
@@ -7,7 +7,7 @@ export declare class OmniNamedType extends OmniNamedEntity {
|
|
|
7
7
|
title: string;
|
|
8
8
|
slug?: string | null;
|
|
9
9
|
}
|
|
10
|
-
declare const OmniNamedCreateInput_base: import("@nestjs/common").Type<Omit<OmniNamedType, "
|
|
10
|
+
declare const OmniNamedCreateInput_base: import("@nestjs/common").Type<Omit<OmniNamedType, "createdAt" | "updatedAt" | "revision">>;
|
|
11
11
|
export declare class OmniNamedCreateInput extends OmniNamedCreateInput_base {
|
|
12
12
|
}
|
|
13
13
|
declare const OmniNamedCondition_base: import("@nestjs/common").Type<Partial<OmniNamedCreateInput>>;
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const graphql_1 = require("@nestjs/graphql");
|
|
6
6
|
const object_decorator_js_1 = require("@nest-yalc-2/crud-gen/object.decorator.js");
|
|
7
7
|
const uuid_scalar_js_1 = require("@nest-yalc-2/graphql/scalars/uuid.scalar.js");
|
|
8
|
-
const
|
|
8
|
+
const returnValue_1 = tslib_1.__importDefault(require("@node-yalc/utils/returnValue"));
|
|
9
9
|
const class_validator_1 = require("class-validator");
|
|
10
10
|
const omni_named_entity_js_1 = require("./base/omni-named.entity.js");
|
|
11
11
|
const omni_dto_helpers_js_1 = require("./omni-dto.helpers.js");
|
|
@@ -19,18 +19,18 @@ let OmniNamedType = class OmniNamedType extends omni_named_entity_js_1.OmniNamed
|
|
|
19
19
|
};
|
|
20
20
|
exports.OmniNamedType = OmniNamedType;
|
|
21
21
|
tslib_1.__decorate([
|
|
22
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
22
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(uuid_scalar_js_1.UUIDScalar), isRequired: true }),
|
|
23
23
|
(0, class_validator_1.IsUUID)(),
|
|
24
24
|
tslib_1.__metadata("design:type", String)
|
|
25
25
|
], OmniNamedType.prototype, "guid", void 0);
|
|
26
26
|
tslib_1.__decorate([
|
|
27
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
27
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(graphql_1.Int) }),
|
|
28
28
|
(0, class_validator_1.IsInt)(),
|
|
29
29
|
tslib_1.__metadata("design:type", Number)
|
|
30
30
|
], OmniNamedType.prototype, "revision", void 0);
|
|
31
31
|
tslib_1.__decorate([
|
|
32
32
|
(0, object_decorator_js_1.ModelField)({
|
|
33
|
-
gqlType: (0,
|
|
33
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
34
34
|
gqlOptions: { nullable: true },
|
|
35
35
|
}),
|
|
36
36
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -39,14 +39,14 @@ tslib_1.__decorate([
|
|
|
39
39
|
tslib_1.__metadata("design:type", Object)
|
|
40
40
|
], OmniNamedType.prototype, "externalId", void 0);
|
|
41
41
|
tslib_1.__decorate([
|
|
42
|
-
(0, object_decorator_js_1.ModelField)({ gqlType: (0,
|
|
42
|
+
(0, object_decorator_js_1.ModelField)({ gqlType: (0, returnValue_1.default)(String) }),
|
|
43
43
|
(0, class_validator_1.IsString)(),
|
|
44
44
|
(0, class_validator_1.MaxLength)(255),
|
|
45
45
|
tslib_1.__metadata("design:type", String)
|
|
46
46
|
], OmniNamedType.prototype, "title", void 0);
|
|
47
47
|
tslib_1.__decorate([
|
|
48
48
|
(0, object_decorator_js_1.ModelField)({
|
|
49
|
-
gqlType: (0,
|
|
49
|
+
gqlType: (0, returnValue_1.default)(String),
|
|
50
50
|
gqlOptions: { nullable: true },
|
|
51
51
|
}),
|
|
52
52
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"omni-named.dto.js","sourceRoot":"","sources":["omni-named.dto.ts"],"names":[],"mappings":";;;;AAAA,6CAMyB;AACzB,mFAGmD;AACnD,gFAAyE;AACzE,
|
|
1
|
+
{"version":3,"file":"omni-named.dto.js","sourceRoot":"","sources":["omni-named.dto.ts"],"names":[],"mappings":";;;;AAAA,6CAMyB;AACzB,mFAGmD;AACnD,gFAAyE;AACzE,uFAAuD;AACvD,qDAMyB;AACzB,sEAA8D;AAC9D,+DAA4D;AAIrD,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,sCAAe;IAChD,YAAY,IAA6B;QACvC,KAAK,EAAE,CAAC;QACR,IAAI,IAAI,EAAE,CAAC;YACT,IAAA,yCAAmB,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;CAgCF,CAAA;AAtCY,sCAAa;AAUxB;IAFC,IAAA,gCAAU,EAAC,EAAE,OAAO,EAAE,IAAA,qBAAW,EAAC,2BAAU,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;IAClE,IAAA,wBAAM,GAAE;;2CACK;AAId;IAFC,IAAA,gCAAU,EAAC,EAAE,OAAO,EAAE,IAAA,qBAAW,EAAC,aAAG,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AAE,aAAa,EAAE,CAAC;GAC5B,kBAAkB,CAG3B;AAIG,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,IAAA,qBAAW,EACnD,oBAAoB,EACpB,mBAAS,CACV;CAAG,CAAA;AAHS,oDAAoB;+BAApB,oBAAoB;IAFhC,IAAA,mBAAS,GAAE;IACX,IAAA,iCAAW,EAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC;GAC5B,oBAAoB,CAG7B"}
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
ModelObject,
|
|
11
11
|
} from '@nest-yalc-2/crud-gen/object.decorator.js';
|
|
12
12
|
import { UUIDScalar } from '@nest-yalc-2/graphql/scalars/uuid.scalar.js';
|
|
13
|
-
import returnValue from '@node-yalc/utils/returnValue
|
|
13
|
+
import returnValue from '@node-yalc/utils/returnValue';
|
|
14
14
|
import {
|
|
15
15
|
IsInt,
|
|
16
16
|
IsOptional,
|
|
@@ -17,7 +17,7 @@ export declare class OmniRecordType extends OmniRecordEntity {
|
|
|
17
17
|
outgoingRelations?: Relation<OmniRelationType[]>;
|
|
18
18
|
incomingRelations?: Relation<OmniRelationType[]>;
|
|
19
19
|
}
|
|
20
|
-
declare const OmniRecordCreateInput_base: import("@nestjs/common").Type<Omit<OmniRecordType, "
|
|
20
|
+
declare const OmniRecordCreateInput_base: import("@nestjs/common").Type<Omit<OmniRecordType, "createdAt" | "updatedAt" | "revision" | "outgoingRelations" | "incomingRelations">>;
|
|
21
21
|
export declare class OmniRecordCreateInput extends OmniRecordCreateInput_base {
|
|
22
22
|
}
|
|
23
23
|
declare const OmniRecordCondition_base: import("@nestjs/common").Type<Partial<OmniRecordCreateInput>>;
|