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.
@@ -5,7 +5,6 @@ export declare class TranslatedBadge extends Model {
5
5
  badgeUuid: string;
6
6
  title: string;
7
7
  language: string;
8
- tags: string[];
9
8
  description: string;
10
9
  badge: Badge;
11
10
  }
@@ -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.ARRAY(DataType.TEXT), allowNull: false })\n declare tags: 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","ARRAY"],"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;AAwBrC,EAAC;;IAvBIC;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,SAASa,KAAK,CAACb,SAASW,IAAI;QAAGC,WAAW,KAAK;IAAC;GAhBvDL;;IAmBRR,OAAO;QAAEW,MAAMV,SAASW,IAAI;QAAEC,WAAW,KAAK;IAAC;GAnBvCL;;IAsBRT,UAAU,IAAMQ;GAtBRC;AAAAA;IADZF;GACYE"}
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "90dc-core",
3
- "version": "1.5.21",
3
+ "version": "1.5.22",
4
4
  "description": "A package that contains utils and interfaces used to create 90dc",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -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