90dc-core 1.1.13 → 1.1.14

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/dist/index.js ADDED
@@ -0,0 +1,7 @@
1
+ //Interfaces
2
+ export * from "./lib/models/ProgramInterfaces";
3
+ export * from "./lib/models/ExerciseInterfaces";
4
+ export * from "./lib/models/WorkoutInterfaces";
5
+ export * from "./lib/models/UserInterfaces";
6
+
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["//Interfaces\nexport * from \"./lib/models/ProgramInterfaces\";\nexport * from \"./lib/models/ExerciseInterfaces\";\nexport * from \"./lib/models/WorkoutInterfaces\";\nexport * from \"./lib/models/UserInterfaces\";\n"],"names":[],"mappings":"AAAA,YAAY;AACZ,cAAc,iCAAiC;AAC/C,cAAc,kCAAkC;AAChD,cAAc,iCAAiC;AAC/C,cAAc,8BAA8B"}
@@ -0,0 +1,3 @@
1
+ export { };
2
+
3
+ //# sourceMappingURL=BlueprintInterfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/models/BlueprintInterfaces.ts"],"sourcesContent":["import type { SupersetModel } from \"./WorkoutInterfaces\";\n\nexport interface ExerciseBlueprint {\n uuid: string;\n hasPriority: boolean;\n isCompound: boolean;\n homeWorkout: boolean;\n needsEquipment: boolean;\n isSuperset: boolean;\n isFixed: boolean;\n muscle: string;\n rir: number;\n order: number;\n reps: string;\n sets: string;\n}\n\nexport interface ProgramBlueprint {\n programId: string;\n title: string;\n level: string;\n numberOfDays: number;\n workouts: WorkoutBlueprint[];\n}\n\nexport interface WorkoutBlueprint {\n uuid: string;\n title: string;\n duration: string;\n exercises: ExerciseBlueprint[];\n superset: SupersetModel[];\n}\n\nexport interface SupersetBlueprint {\n uuid: string;\n workout: WorkoutBlueprint;\n exercise: ExerciseBlueprint[];\n}\n"],"names":[],"mappings":"AAAA,WAqCC"}
@@ -0,0 +1,3 @@
1
+ export { };
2
+
3
+ //# sourceMappingURL=ExerciseInterfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/models/ExerciseInterfaces.ts"],"sourcesContent":["import type { ProgramBlueprint } from \"./BlueprintInterfaces\";\n\nexport interface ExerciseModel {\n uuid: string;\n name: string;\n level: string[];\n isCompound: boolean;\n needsEquipment: boolean;\n hasPriority: boolean;\n hasVariations: boolean;\n variations: object;\n muscles: string[];\n homeWorkout: boolean;\n}\nexport interface ExerciseProgressRequest {\n exerciseUuid: string;\n reps: string;\n weight: string;\n}\nexport interface ExerciseProgressGetRequest {\n exerciseUuid: string;\n}\nexport interface ExerciseBlueprint {\n uuid: string;\n hasPriority: boolean;\n isCompound: boolean;\n homeWorkout: boolean;\n needsEquipment: boolean;\n isSuperset: boolean;\n isFixed: boolean;\n muscle: string;\n rir: number;\n order: number;\n reps: string;\n sets: string;\n program: ProgramBlueprint;\n}\n"],"names":[],"mappings":"AAAA,WAoCC"}
@@ -0,0 +1,3 @@
1
+ export { };
2
+
3
+ //# sourceMappingURL=ProgramInterfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/models/ProgramInterfaces.ts"],"sourcesContent":["import type { WorkoutBlueprint } from \"./BlueprintInterfaces\";\n\nexport interface ProgramModel {\n programId: string;\n userUuid: string;\n}\nexport interface ProgramIdRequest {\n programId: string;\n}\nexport interface ProgramUserRequest {\n userUuid: string;\n}\nexport interface UserProgramOptions {\n level: string;\n type: string;\n numberOfDays: number;\n userUuid: string;\n}\n\nexport interface ProgramBlueprint {\n programId: string;\n title: string;\n level: string;\n numberOfDays: number;\n workouts: WorkoutBlueprint[];\n}\n"],"names":[],"mappings":"AAAA,WAyBC"}
@@ -0,0 +1,3 @@
1
+ export { };
2
+
3
+ //# sourceMappingURL=UserInterfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/models/UserInterfaces.ts"],"sourcesContent":["export interface UserTypes {\n userUuid: string;\n email: string;\n firstName: string;\n lastName: string;\n avatar: string;\n}\n\nexport interface UserInfoModel {\n userUuid: string;\n height: string;\n weight: string;\n}\n\nexport interface LoginRequest {\n email: string;\n password: string;\n}\n\nexport interface UserPhotoRequest {\n base64: string;\n}\n\nexport interface ProgressPhoto {\n date: Date;\n progressPhoto: string;\n userUuid: string;\n}\n\nexport interface ForgotPassword {\n uuid: string;\n userUuid: string;\n token: string;\n date: Date;\n}\n\nexport interface RefreshPayload {\n userUuid: string;\n}\n\nexport interface TokenRequest {\n token: string;\n}\n\nexport interface RefreshRequest {\n refreshToken: string;\n}\n\nexport interface UuidRequest {\n userUuid: string;\n}\n\nexport interface EmailRequest {\n email: string;\n}\n\nexport interface TitleRequest {\n title: string;\n}\n\nexport interface UserPhoto {\n base64: string;\n title: string;\n}\n\nexport default interface AuthenticationToken {\n type: string;\n contents: string;\n}\n\nexport interface RestorePasswordRequest {\n email: string;\n}\n\nexport interface BeforeSubscriptionOptions {\n firstName: string;\n lastName: string;\n sex: string;\n goal: string;\n weightGoal: string;\n level: string;\n type: string;\n days: number;\n}\n\nexport interface AfterSubscriptionOptions {\n dateOfBirth: string;\n metricSystem: string;\n height: string;\n weight: string;\n}\n"],"names":[],"mappings":"AAAA,WA0FC"}
@@ -0,0 +1,3 @@
1
+ export { };
2
+
3
+ //# sourceMappingURL=WorkoutInterfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/models/WorkoutInterfaces.ts"],"sourcesContent":["import type { ExerciseBlueprint } from \"./BlueprintInterfaces\";\n\nexport interface WorkoutModel {\n uuid: string;\n isFinished: boolean;\n}\nexport interface SupersetModel {\n uuid: string;\n}\nexport interface WorkoutExerciseModel {\n WorkoutUuid: string;\n ExerciseUuid: string;\n}\nexport interface SupersetExerciseModel {\n SupersetUuid: string;\n ExerciseUuid: string;\n}\nexport interface WorkoutBlueprint {\n uuid: string;\n title: string;\n duration: string;\n exercises: ExerciseBlueprint[];\n superset: SupersetModel[];\n}\n\nexport interface SupersetBlueprint {\n uuid: string;\n workout: WorkoutBlueprint;\n exercise: ExerciseBlueprint[];\n}"],"names":[],"mappings":"AAAA,WA6BC"}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "90dc-core",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "description": "A package that contains utils and interfaces used to create 90dc",
5
5
  "main": "build/index.js",
6
6
  "files": [
7
7
  "xml/**/*",
8
- "build/**/*"
8
+ "dist/**/*"
9
9
  ],
10
10
  "type": "module",
11
11
  "devDependencies": {