90dc-core 1.7.0 → 1.7.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.
@@ -27,7 +27,7 @@ __decorate([
27
27
  ], UserPrograms.prototype, "programUuid", void 0);
28
28
  __decorate([
29
29
  Column({
30
- type: DataType.UUID,
30
+ type: DataType.STRING,
31
31
  allowNull: false
32
32
  })
33
33
  ], UserPrograms.prototype, "purchasePlatform", void 0);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/lib/dbmodels/nonconsprogram/UserNonConsumableProgram.ts"],"sourcesContent":["import {Table, Column, Model, ForeignKey, DataType, PrimaryKey} from \"sequelize-typescript\";\nimport { PersistedUser } from \"../PersistedUser\";\nimport { NonConsumableProgram } from \"./NonConsumableProgram\";\n\n@Table({ tableName: \"UserPrograms\", timestamps: true })\nexport class UserPrograms extends Model<UserPrograms> {\n @PrimaryKey\n @ForeignKey(() => PersistedUser)\n @Column({ type: DataType.UUID, allowNull: false })\n declare userUuid: string;\n\n @PrimaryKey\n @ForeignKey(() => NonConsumableProgram)\n @Column({ type: DataType.UUID, allowNull: false })\n declare programUuid: string;\n\n @Column({ type: DataType.UUID, allowNull: false })\n declare purchasePlatform: string;\n}\n\n"],"names":["Table","Column","Model","ForeignKey","DataType","PrimaryKey","PersistedUser","NonConsumableProgram","UserPrograms","type","UUID","allowNull","tableName","timestamps"],"mappings":";;;;;;AAAA,SAAQA,KAAK,EAAEC,MAAM,EAAEC,KAAK,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,UAAU,QAAO,uBAAuB;AAC5F,SAASC,aAAa,QAAQ,mBAAmB;AACjD,SAASC,oBAAoB,QAAQ,yBAAyB;AAG9D,WAAaC,eAAN,2BAA2BN;AAalC,EAAC;;IAZIG;IACAF,WAAW,IAAMG;IACjBL,OAAO;QAAEQ,MAAML,SAASM,IAAI;QAAEC,WAAW,KAAK;IAAC;GAHvCH;;IAMRH;IACAF,WAAW,IAAMI;IACjBN,OAAO;QAAEQ,MAAML,SAASM,IAAI;QAAEC,WAAW,KAAK;IAAC;GARvCH;;IAWRP,OAAO;QAAEQ,MAAML,SAASM,IAAI;QAAEC,WAAW,KAAK;IAAC;GAXvCH;AAAAA;IADZR,MAAM;QAAEY,WAAW;QAAgBC,YAAY,IAAI;IAAC;GACxCL"}
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/nonconsprogram/UserNonConsumableProgram.ts"],"sourcesContent":["import {Table, Column, Model, ForeignKey, DataType, PrimaryKey} from \"sequelize-typescript\";\nimport { PersistedUser } from \"../PersistedUser\";\nimport { NonConsumableProgram } from \"./NonConsumableProgram\";\n\n@Table({ tableName: \"UserPrograms\", timestamps: true })\nexport class UserPrograms extends Model<UserPrograms> {\n @PrimaryKey\n @ForeignKey(() => PersistedUser)\n @Column({ type: DataType.UUID, allowNull: false })\n declare userUuid: string;\n\n @PrimaryKey\n @ForeignKey(() => NonConsumableProgram)\n @Column({ type: DataType.UUID, allowNull: false })\n declare programUuid: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare purchasePlatform: string;\n}\n\n"],"names":["Table","Column","Model","ForeignKey","DataType","PrimaryKey","PersistedUser","NonConsumableProgram","UserPrograms","type","UUID","allowNull","STRING","tableName","timestamps"],"mappings":";;;;;;AAAA,SAAQA,KAAK,EAAEC,MAAM,EAAEC,KAAK,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,UAAU,QAAO,uBAAuB;AAC5F,SAASC,aAAa,QAAQ,mBAAmB;AACjD,SAASC,oBAAoB,QAAQ,yBAAyB;AAG9D,WAAaC,eAAN,2BAA2BN;AAalC,EAAC;;IAZIG;IACAF,WAAW,IAAMG;IACjBL,OAAO;QAAEQ,MAAML,SAASM,IAAI;QAAEC,WAAW,KAAK;IAAC;GAHvCH;;IAMRH;IACAF,WAAW,IAAMI;IACjBN,OAAO;QAAEQ,MAAML,SAASM,IAAI;QAAEC,WAAW,KAAK;IAAC;GARvCH;;IAWRP,OAAO;QAAEQ,MAAML,SAASQ,MAAM;QAAED,WAAW,KAAK;IAAC;GAXzCH;AAAAA;IADZR,MAAM;QAAEa,WAAW;QAAgBC,YAAY,IAAI;IAAC;GACxCN"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "90dc-core",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "A package that contains utils and interfaces used to create 90dc",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -14,7 +14,7 @@ export class UserPrograms extends Model<UserPrograms> {
14
14
  @Column({ type: DataType.UUID, allowNull: false })
15
15
  declare programUuid: string;
16
16
 
17
- @Column({ type: DataType.UUID, allowNull: false })
17
+ @Column({ type: DataType.STRING, allowNull: false })
18
18
  declare purchasePlatform: string;
19
19
  }
20
20