@things-factory/i18n-base 6.2.139 → 6.2.152
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.
|
@@ -14,7 +14,7 @@ tslib_1.__decorate([
|
|
|
14
14
|
], Terminology.prototype, "id", void 0);
|
|
15
15
|
tslib_1.__decorate([
|
|
16
16
|
(0, typeorm_1.ManyToOne)(type => shell_1.Domain),
|
|
17
|
-
(0, type_graphql_1.Field)(
|
|
17
|
+
(0, type_graphql_1.Field)(type => shell_1.Domain),
|
|
18
18
|
tslib_1.__metadata("design:type", shell_1.Domain)
|
|
19
19
|
], Terminology.prototype, "domain", void 0);
|
|
20
20
|
tslib_1.__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminology.js","sourceRoot":"","sources":["../../../server/service/terminology/terminology.ts"],"names":[],"mappings":";;;;AAAA,+CAAoD;AACpD,qCASgB;AAEhB,iDAA8C;AAQvC,IAAM,WAAW,GAAjB,MAAM,WAAW;CAyCvB,CAAA;AAxCC;IAAC,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;uCACC;AAEnB;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,cAAM,CAAC;IACzB,IAAA,oBAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"terminology.js","sourceRoot":"","sources":["../../../server/service/terminology/terminology.ts"],"names":[],"mappings":";;;;AAAA,+CAAoD;AACpD,qCASgB;AAEhB,iDAA8C;AAQvC,IAAM,WAAW,GAAjB,MAAM,WAAW;CAyCvB,CAAA;AAxCC;IAAC,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;uCACC;AAEnB;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,cAAM,CAAC;IACzB,I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AAW,EAAE,CAAC,IAAiB,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACrE,IAAA,eAAK,EAAC,WAAW,EAAE,CAAC,IAAiB,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;GACpE,WAAW,CAyCvB;AAzCY,kCAAW","sourcesContent":["import { Field, ID, ObjectType } from 'type-graphql'\nimport {\n Column,\n CreateDateColumn,\n Entity,\n Index,\n ManyToOne,\n PrimaryGeneratedColumn,\n RelationId,\n UpdateDateColumn\n} from 'typeorm'\n\nimport { Domain } from '@things-factory/shell'\n\n@Entity()\n@ObjectType({ description: 'Entity for Terminology' })\n@Index('ix_term_0', (term: Terminology) => [term.domain, term.locale, term.category, term.name], { unique: true })\n@Index('ix_term_1', (term: Terminology) => [term.domain])\n@Index('ix_term_2', (term: Terminology) => [term.domain, term.locale])\n@Index('ix_term_3', (term: Terminology) => [term.domain, term.locale, term.name])\nexport class Terminology {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @ManyToOne(type => Domain)\n @Field(type => Domain)\n domain?: Domain\n\n @RelationId((terminology: Terminology) => terminology.domain)\n domainId?: string\n\n @Column()\n @Field()\n name: string\n\n @Column({\n nullable: true\n })\n @Field({ nullable: true })\n description?: string\n\n @Field()\n @Column()\n locale: string\n\n @Field()\n @Column()\n category: string\n\n @Field()\n @Column()\n display: string\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt?: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt?: Date\n}\n"]}
|