@plus45/types 1.1.11 → 1.1.13

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,7 +9,9 @@ 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
+ import { Schedule } from "./types/schedule/schedule";
13
+ import { ScheduleDay } from "./types/schedule/schedule_days";
14
+ import { ScheduleRecurrence } from "./types/schedule/schedule_recurrence";
13
15
 
14
16
  export {
15
17
  // User Type Structures
@@ -28,6 +30,8 @@ export {
28
30
  // Enums
29
31
  ExerciseType,
30
32
  ExerciseUnit,
33
+ ScheduleDay,
34
+ ScheduleRecurrence,
31
35
 
32
36
  // Collections
33
37
  WeightUnits,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plus45/types",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts"
6
6
  }
@@ -1,4 +1,4 @@
1
- export type Schedule = {
1
+ export default type Schedule = {
2
2
  id: string;
3
3
  user_id: string;
4
4
  workout_id: string;
@@ -0,0 +1,9 @@
1
+ export enum ScheduleDay {
2
+ "SUNDAY" = 0,
3
+ "MONDAY" = 1,
4
+ "TUESDAY" = 2,
5
+ "WEDNESDAY" = 3,
6
+ "THURSDAY" = 4,
7
+ "FRIDAY" = 5,
8
+ "SATURDAY" = 6
9
+ }
@@ -0,0 +1,4 @@
1
+ export enum ScheduleRecurrence {
2
+ Weekly = "WEEKLY",
3
+ BIWEEKLY = "BIWEEKLY"
4
+ }