90dc-core 1.16.6 → 1.16.7

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.
@@ -12,6 +12,7 @@ export declare class Exercise extends Model<Exercise> {
12
12
  sets: string;
13
13
  restTime: string;
14
14
  coachNote: string | null;
15
+ thumbnailUrl: string | null;
15
16
  workoutUuid: string;
16
17
  supersetUuid: string | null;
17
18
  progressEntries: ProgressEntry[];
@@ -1 +1 @@
1
- {"version":3,"file":"Exercise.d.ts","sourceRoot":"","sources":["../../../../src/lib/dbmodels/program/Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,EAA4D,MAAM,sBAAsB,CAAC;AACtH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAEnE,qBACa,QAAS,SAAQ,KAAK,CAAC,QAAQ,CAAC;IAMnC,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,EAAE,QAAQ,EAAE,CAAC;IAGrB,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAKzB,WAAW,EAAE,MAAM,CAAC;IAKpB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,eAAe,EAAE,aAAa,EAAE,CAAC;IAGjC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAE1B,OAAO,EAAE,OAAO,CAAC;CAC1B"}
1
+ {"version":3,"file":"Exercise.d.ts","sourceRoot":"","sources":["../../../../src/lib/dbmodels/program/Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,EAA4D,MAAM,sBAAsB,CAAC;AACtH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAEnE,qBACa,QAAS,SAAQ,KAAK,CAAC,QAAQ,CAAC;IAMnC,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,EAAE,QAAQ,EAAE,CAAC;IAGrB,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAK5B,WAAW,EAAE,MAAM,CAAC;IAKpB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,eAAe,EAAE,aAAa,EAAE,CAAC;IAGjC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAE1B,OAAO,EAAE,OAAO,CAAC;CAC1B"}
@@ -59,6 +59,12 @@ _ts_decorate([
59
59
  allowNull: true
60
60
  })
61
61
  ], Exercise.prototype, "coachNote", void 0);
62
+ _ts_decorate([
63
+ Column({
64
+ type: DataType.STRING(500),
65
+ allowNull: true
66
+ })
67
+ ], Exercise.prototype, "thumbnailUrl", void 0);
62
68
  _ts_decorate([
63
69
  Index,
64
70
  ForeignKey(()=>Workout),
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/lib/dbmodels/program/Exercise.ts"],"sourcesContent":["import { Table, Column, Model, ForeignKey, Index, DataType, Default, HasMany, BelongsTo } from 'sequelize-typescript';\nimport { Workout } from './Workout.js';\nimport { Superset } from './Superset.js';\nimport { ProgressEntry } from './ProgressEntry.js';\nimport type { Progress } from '../../models/ExerciseInterfaces.js';\n\n@Table\nexport class Exercise extends Model<Exercise> {\n @Default(DataType.UUIDV4)\n @Column({\n type: DataType.UUID,\n primaryKey: true,\n })\n declare uuid: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare name: string;\n\n @Column({ type: DataType.INTEGER, allowNull: false })\n declare order: number;\n\n // DEPRECATED: Keep for backward compatibility during migration\n @Column({ type: DataType.ARRAY(DataType.JSONB), allowNull: true })\n declare progress: Progress[];\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare reps: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare sets: string;\n\n @Column({ type: DataType.STRING, allowNull: true })\n declare restTime: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare coachNote: string | null;\n\n @Index\n @ForeignKey(() => Workout)\n @Column({ type: DataType.UUID, allowNull: false })\n declare workoutUuid: string;\n\n @Index\n @ForeignKey(() => Superset)\n @Column({ type: DataType.UUID, allowNull: true })\n declare supersetUuid: string | null;\n\n @HasMany(() => ProgressEntry)\n declare progressEntries: ProgressEntry[];\n\n @BelongsTo(() => Superset)\n declare superset: Superset | null;\n\n declare workout: Workout;\n}\n"],"names":["Table","Column","Model","ForeignKey","Index","DataType","Default","HasMany","BelongsTo","Workout","Superset","ProgressEntry","Exercise","UUIDV4","type","UUID","primaryKey","STRING","allowNull","INTEGER","ARRAY","JSONB","TEXT"],"mappings":";;;;;;AAAA,SAASA,KAAK,EAAEC,MAAM,EAAEC,KAAK,EAAEC,UAAU,EAAEC,KAAK,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,EAAEC,SAAS,QAAQ,uBAAuB;AACtH,SAASC,OAAO,QAAQ,eAAe;AACvC,SAASC,QAAQ,QAAQ,gBAAgB;AACzC,SAASC,aAAa,QAAQ,qBAAqB;AAInD,OAAO,MAAMC,iBAAiBV;AA+C9B;;qBA9CoBW;;QAEhBC,MAAMT,SAASU,IAAI;QACnBC,YAAY;;;;;QAIJF,MAAMT,SAASY,MAAM;QAAEC,WAAW;;;;;QAGlCJ,MAAMT,SAASc,OAAO;QAAED,WAAW;;;;;QAInCJ,MAAMT,SAASe,KAAK,CAACf,SAASgB,KAAK;QAAGH,WAAW;;;;;QAGjDJ,MAAMT,SAASY,MAAM;QAAEC,WAAW;;;;;QAGlCJ,MAAMT,SAASY,MAAM;QAAEC,WAAW;;;;;QAGlCJ,MAAMT,SAASY,MAAM;QAAEC,WAAW;;;;;QAGlCJ,MAAMT,SAASiB,IAAI;QAAEJ,WAAW;;;;;mBAIxBT;;QACRK,MAAMT,SAASU,IAAI;QAAEG,WAAW;;;;;mBAIxBR;;QACRI,MAAMT,SAASU,IAAI;QAAEG,WAAW;;;;gBAG3BP;;;kBAGED"}
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/Exercise.ts"],"sourcesContent":["import { Table, Column, Model, ForeignKey, Index, DataType, Default, HasMany, BelongsTo } from 'sequelize-typescript';\nimport { Workout } from './Workout.js';\nimport { Superset } from './Superset.js';\nimport { ProgressEntry } from './ProgressEntry.js';\nimport type { Progress } from '../../models/ExerciseInterfaces.js';\n\n@Table\nexport class Exercise extends Model<Exercise> {\n @Default(DataType.UUIDV4)\n @Column({\n type: DataType.UUID,\n primaryKey: true,\n })\n declare uuid: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare name: string;\n\n @Column({ type: DataType.INTEGER, allowNull: false })\n declare order: number;\n\n // DEPRECATED: Keep for backward compatibility during migration\n @Column({ type: DataType.ARRAY(DataType.JSONB), allowNull: true })\n declare progress: Progress[];\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare reps: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare sets: string;\n\n @Column({ type: DataType.STRING, allowNull: true })\n declare restTime: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare coachNote: string | null;\n\n @Column({ type: DataType.STRING(500), allowNull: true })\n declare thumbnailUrl: string | null;\n\n @Index\n @ForeignKey(() => Workout)\n @Column({ type: DataType.UUID, allowNull: false })\n declare workoutUuid: string;\n\n @Index\n @ForeignKey(() => Superset)\n @Column({ type: DataType.UUID, allowNull: true })\n declare supersetUuid: string | null;\n\n @HasMany(() => ProgressEntry)\n declare progressEntries: ProgressEntry[];\n\n @BelongsTo(() => Superset)\n declare superset: Superset | null;\n\n declare workout: Workout;\n}\n"],"names":["Table","Column","Model","ForeignKey","Index","DataType","Default","HasMany","BelongsTo","Workout","Superset","ProgressEntry","Exercise","UUIDV4","type","UUID","primaryKey","STRING","allowNull","INTEGER","ARRAY","JSONB","TEXT"],"mappings":";;;;;;AAAA,SAASA,KAAK,EAAEC,MAAM,EAAEC,KAAK,EAAEC,UAAU,EAAEC,KAAK,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,EAAEC,SAAS,QAAQ,uBAAuB;AACtH,SAASC,OAAO,QAAQ,eAAe;AACvC,SAASC,QAAQ,QAAQ,gBAAgB;AACzC,SAASC,aAAa,QAAQ,qBAAqB;AAInD,OAAO,MAAMC,iBAAiBV;AAkD9B;;qBAjDoBW;;QAEhBC,MAAMT,SAASU,IAAI;QACnBC,YAAY;;;;;QAIJF,MAAMT,SAASY,MAAM;QAAEC,WAAW;;;;;QAGlCJ,MAAMT,SAASc,OAAO;QAAED,WAAW;;;;;QAInCJ,MAAMT,SAASe,KAAK,CAACf,SAASgB,KAAK;QAAGH,WAAW;;;;;QAGjDJ,MAAMT,SAASY,MAAM;QAAEC,WAAW;;;;;QAGlCJ,MAAMT,SAASY,MAAM;QAAEC,WAAW;;;;;QAGlCJ,MAAMT,SAASY,MAAM;QAAEC,WAAW;;;;;QAGlCJ,MAAMT,SAASiB,IAAI;QAAEJ,WAAW;;;;;QAGhCJ,MAAMT,SAASY,MAAM,CAAC;QAAMC,WAAW;;;;;mBAI/BT;;QACRK,MAAMT,SAASU,IAAI;QAAEG,WAAW;;;;;mBAIxBR;;QACRI,MAAMT,SAASU,IAAI;QAAEG,WAAW;;;;gBAG3BP;;;kBAGED"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "90dc-core",
3
- "version": "1.16.6",
3
+ "version": "1.16.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -44,6 +44,7 @@
44
44
  "google-auth-library": "^10.5.0",
45
45
  "googleapis": "^165.0.0",
46
46
  "ioredis": "^5.8.2",
47
+ "jsonwebtoken": "^9.0.2",
47
48
  "jwks-rsa": "^3.2.0",
48
49
  "pg": "^8.16.3",
49
50
  "sequelize": "^6.37.7",