90dc-core 1.1.0 → 1.1.2
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.
package/build/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./lib/models/ProgramInterfaces";
|
|
2
2
|
export * from "./lib/models/ExerciseInterfaces";
|
|
3
3
|
export * from "./lib/models/WorkoutInterfaces";
|
|
4
|
+
export * from "./lib/models/UserInterfaces";
|
|
4
5
|
export * from "./lib/db/models/Exercise";
|
|
5
6
|
export * from "./lib/db/models/ExerciseModels";
|
|
6
7
|
export * from "./lib/db/models/ExerciseBlueprint";
|
package/build/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export * from "./lib/models/ProgramInterfaces";
|
|
3
3
|
export * from "./lib/models/ExerciseInterfaces";
|
|
4
4
|
export * from "./lib/models/WorkoutInterfaces";
|
|
5
|
+
export * from "./lib/models/UserInterfaces";
|
|
5
6
|
//DB
|
|
6
7
|
export * from "./lib/db/models/Exercise";
|
|
7
8
|
export * from "./lib/db/models/ExerciseModels";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Exercise } from "./Exercise";
|
|
2
2
|
import { Model } from "sequelize-typescript";
|
|
3
3
|
import { Workout } from "./Workout";
|
|
4
|
-
|
|
5
|
-
export declare class Superset extends Model implements SupersetModel {
|
|
4
|
+
export declare class Superset extends Model {
|
|
6
5
|
uuid: string;
|
|
7
6
|
workout: Workout;
|
|
8
7
|
exercise: Exercise[];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Model } from "sequelize-typescript";
|
|
2
|
-
|
|
3
|
-
export declare class SupersetExercise extends Model<SupersetExercise> implements SupersetExerciseModel {
|
|
2
|
+
export declare class SupersetExercise extends Model {
|
|
4
3
|
SupersetUuid: string;
|
|
5
4
|
ExerciseUuid: string;
|
|
6
5
|
}
|
|
@@ -19,7 +19,7 @@ __decorate([
|
|
|
19
19
|
allowNull: false,
|
|
20
20
|
primaryKey: true,
|
|
21
21
|
references: {
|
|
22
|
-
model: Superset,
|
|
22
|
+
model: "Superset",
|
|
23
23
|
key: 'uuid'
|
|
24
24
|
}
|
|
25
25
|
}),
|
|
@@ -32,7 +32,7 @@ __decorate([
|
|
|
32
32
|
allowNull: false,
|
|
33
33
|
primaryKey: true,
|
|
34
34
|
references: {
|
|
35
|
-
model: Exercise,
|
|
35
|
+
model: "Exercise",
|
|
36
36
|
key: 'uuid',
|
|
37
37
|
}
|
|
38
38
|
}),
|