@plus45/types 1.1.6 → 1.1.8

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/index.ts CHANGED
@@ -8,12 +8,18 @@ import {
8
8
  TimeUnits,
9
9
  WeightUnits
10
10
  } from "./types/exercise/exercise_units";
11
+ import Workout from "./types/workout/workout";
11
12
 
12
13
  export {
13
- // Type Structures
14
+ // User Type Structures
15
+ type User,
16
+
17
+ // Exercise Type Structures
14
18
  type Exercise,
15
19
  type AccessToken,
16
- type User,
20
+
21
+ // Workout Type Structures
22
+ type Workout,
17
23
 
18
24
  // Enums
19
25
  ExerciseType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plus45/types",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts"
6
6
  }
@@ -0,0 +1,10 @@
1
+ import { Exercise } from "../exercise/exercise";
2
+
3
+ type Workout = {
4
+ id: string;
5
+ created_by: string;
6
+ exercises: Exercise[];
7
+ created_at: Date;
8
+ };
9
+
10
+ export default Workout;