@plus45/types 1.1.21 → 1.1.23

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,7 +8,7 @@ import {
8
8
  TimeUnits,
9
9
  WeightUnits
10
10
  } from "./types/exercise/exercise_units";
11
- import Workout from "./types/workout/workout";
11
+ import { Workout } from "./types/workout/workout";
12
12
  import { Schedule } from "./types/schedule/schedule";
13
13
  import { ScheduleDay } from "./types/schedule/schedule_days";
14
14
  import { ScheduleRecurrence } from "./types/schedule/schedule_recurrence";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plus45/types",
3
- "version": "1.1.21",
3
+ "version": "1.1.23",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts"
6
6
  }
@@ -5,5 +5,8 @@ export type AccessToken = {
5
5
  expires_at: Date;
6
6
  user_agent: string;
7
7
  ip_address: string;
8
+ platform?: string;
9
+ language?: string;
10
+ location?: string;
8
11
  created_at: Date;
9
12
  };
@@ -1,11 +1,9 @@
1
1
  import { Exercise } from "../exercise/exercise";
2
2
 
3
- type Workout = {
3
+ export type Workout = {
4
4
  id: string;
5
5
  name: string;
6
6
  created_by: string;
7
7
  exercises: Exercise[];
8
8
  created_at: Date;
9
9
  };
10
-
11
- export default Workout;