@plus45/types 1.1.10 → 1.1.11

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
@@ -9,6 +9,7 @@ import {
9
9
  WeightUnits
10
10
  } from "./types/exercise/exercise_units";
11
11
  import Workout from "./types/workout/workout";
12
+ import Schedule from "./type/schedule/schedule";
12
13
 
13
14
  export {
14
15
  // User Type Structures
@@ -21,6 +22,9 @@ export {
21
22
  // Workout Type Structures
22
23
  type Workout,
23
24
 
25
+ // Schedule Type Structures
26
+ type Schedule,
27
+
24
28
  // Enums
25
29
  ExerciseType,
26
30
  ExerciseUnit,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plus45/types",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts"
6
6
  }
@@ -0,0 +1,10 @@
1
+ export type Schedule = {
2
+ id: string;
3
+ user_id: string;
4
+ workout_id: string;
5
+ days_of_week: number[];
6
+ start_time: string | null;
7
+ recurrence: string;
8
+ created_at: string;
9
+ updated_at: string;
10
+ };