@plus45/types 1.1.42 → 1.1.44

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
@@ -18,6 +18,7 @@ import {
18
18
  WorkoutExecution
19
19
  } from "./types/workout/workout_execution";
20
20
  import { WeekLayout } from "./types/generics/week_layout";
21
+ import { AuthType } from "./types/authorization/authorization";
21
22
 
22
23
  export {
23
24
  // User Type Structures
@@ -45,6 +46,7 @@ export {
45
46
  ExerciseUnit,
46
47
  ScheduleDay,
47
48
  ScheduleRecurrence,
49
+ AuthType,
48
50
 
49
51
  // Collections
50
52
  WeightUnits,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plus45/types",
3
- "version": "1.1.42",
3
+ "version": "1.1.44",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts"
6
6
  }
@@ -0,0 +1,3 @@
1
+ export enum AuthType {
2
+ PASSWORD_CHANGE = "PASSWORD_CHANGE"
3
+ }
@@ -1,20 +1,20 @@
1
- import { Workout } from "../workout/workout";
2
-
3
- export type Schedule = {
4
- id: string;
5
- user_id: string;
6
- workout_id: string;
7
- workout?: Workout;
8
- days_of_week: number[];
9
- created_at: string;
10
- start_time: string;
11
- };
12
-
13
- export type AssignedSchedule = {
14
- schedule_id: string;
15
- schedule: Schedule;
16
- user_id: string;
17
- start_week: number;
18
- start_year: number;
19
- recurrence: number;
20
- };
1
+ import { Workout } from "../workout/workout";
2
+
3
+ export type Schedule = {
4
+ id: string;
5
+ user_id: string;
6
+ workout_id: string;
7
+ workout?: Workout;
8
+ days_of_week: number[];
9
+ created_at: string;
10
+ start_time: string;
11
+ };
12
+
13
+ export type AssignedSchedule = {
14
+ schedule_id: string;
15
+ schedule: Schedule;
16
+ user_id: string;
17
+ start_week: number;
18
+ start_year: number;
19
+ recurrence: number;
20
+ };