90dc-core 1.5.21 → 1.5.22
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.
|
@@ -29,12 +29,6 @@ __decorate([
|
|
|
29
29
|
allowNull: false
|
|
30
30
|
})
|
|
31
31
|
], TranslatedBadge.prototype, "language", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
Column({
|
|
34
|
-
type: DataType.ARRAY(DataType.TEXT),
|
|
35
|
-
allowNull: false
|
|
36
|
-
})
|
|
37
|
-
], TranslatedBadge.prototype, "tags", void 0);
|
|
38
32
|
__decorate([
|
|
39
33
|
Column({
|
|
40
34
|
type: DataType.TEXT,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/lib/dbmodels/TranslatedBadge.ts"],"sourcesContent":["import {\n BelongsTo,\n Column,\n DataType,\n Default,\n ForeignKey,\n Model,\n PrimaryKey,\n Table,\n} from \"sequelize-typescript\";\nimport {Badge} from \"./Badge\";\n\n@Table\nexport class TranslatedBadge extends Model {\n @PrimaryKey\n @Default(DataType.UUIDV4)\n @Column(DataType.UUID)\n declare uuid: string;\n\n @ForeignKey(() => Badge)\n @Column(DataType.UUID)\n declare badgeUuid: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare title: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare language: string;\n\n @Column({ type: DataType.
|
|
1
|
+
{"version":3,"sources":["../../../src/lib/dbmodels/TranslatedBadge.ts"],"sourcesContent":["import {\n BelongsTo,\n Column,\n DataType,\n Default,\n ForeignKey,\n Model,\n PrimaryKey,\n Table,\n} from \"sequelize-typescript\";\nimport {Badge} from \"./Badge\";\n\n@Table\nexport class TranslatedBadge extends Model {\n @PrimaryKey\n @Default(DataType.UUIDV4)\n @Column(DataType.UUID)\n declare uuid: string;\n\n @ForeignKey(() => Badge)\n @Column(DataType.UUID)\n declare badgeUuid: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare title: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare language: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare description: string;\n\n @BelongsTo(() => Badge)\n declare badge: Badge;\n}\n"],"names":["BelongsTo","Column","DataType","Default","ForeignKey","Model","PrimaryKey","Table","Badge","TranslatedBadge","UUIDV4","UUID","type","TEXT","allowNull"],"mappings":";;;;;;AAAA,SACIA,SAAS,EACTC,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,UAAU,EACVC,KAAK,EACLC,UAAU,EACVC,KAAK,QACF,uBAAuB;AAC9B,SAAQC,KAAK,QAAO,UAAU;AAG9B,WAAaC,kBAAN,8BAA8BJ;AAqBrC,EAAC;;IApBIC;IACAH,QAAQD,SAASQ,MAAM;IACvBT,OAAOC,SAASS,IAAI;GAHZF;;IAMRL,WAAW,IAAMI;IACjBP,OAAOC,SAASS,IAAI;GAPZF;;IAURR,OAAO;QAAEW,MAAMV,SAASW,IAAI;QAAEC,WAAW,KAAK;IAAC;GAVvCL;;IAaRR,OAAO;QAAEW,MAAMV,SAASW,IAAI;QAAEC,WAAW,KAAK;IAAC;GAbvCL;;IAgBRR,OAAO;QAAEW,MAAMV,SAASW,IAAI;QAAEC,WAAW,KAAK;IAAC;GAhBvCL;;IAmBRT,UAAU,IAAMQ;GAnBRC;AAAAA;IADZF;GACYE"}
|
package/package.json
CHANGED
|
@@ -27,9 +27,6 @@ export class TranslatedBadge extends Model {
|
|
|
27
27
|
@Column({ type: DataType.TEXT, allowNull: false })
|
|
28
28
|
declare language: string;
|
|
29
29
|
|
|
30
|
-
@Column({ type: DataType.ARRAY(DataType.TEXT), allowNull: false })
|
|
31
|
-
declare tags: string[];
|
|
32
|
-
|
|
33
30
|
@Column({ type: DataType.TEXT, allowNull: false })
|
|
34
31
|
declare description: string;
|
|
35
32
|
|