@plus45/types 1.3.18 → 1.3.19

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/dist/index.d.ts CHANGED
@@ -24,4 +24,5 @@ import { ImageTextBlock, Page, PageBuilderComponent, PageTitleBlock, TitleBodyBl
24
24
  import { NotificationData, PushNotificationPayload, RegisterPushSubscriptionRequest, UserPushSubscription } from "./types/user/user_push_notifications";
25
25
  import { RefreshToken } from "./types/user/refresh_token";
26
26
  import { NavBarTheme, OrganizationPageTheme } from "./types/page_builder/page_builder_themes";
27
- export { type User, type UserSessionInfo, type RefreshToken, type PublicUser, type UserPushSubscription, type RegisterPushSubscriptionRequest, type NotificationData, type PushNotificationPayload, type Exercise, type CompletedExercise, type LastExerciseValue, type ExerciseDataPoint, type Workout, type WorkoutExecution, type Schedule, type AssignedSchedule, type Organization, type OrganizationMember, type OrganizationInvitation, OrganizationRoles, Post, BatchPost, PostMedia, AuthenticationActionData, ResetPasswordAuthenticationData, WeekLayout, TimeAverage, ExerciseType, ExerciseUnit, ScheduleDay, ScheduleRecurrence, AuthType, SpotlightSearchResults, WeightUnits, DistanceUnits, TimeUnits, Page, NavBarTheme, OrganizationPageTheme, PageBuilderComponent, TitleBodyBlockData, PageTitleBlock, ImageTextBlock };
27
+ import { VideoProvider } from "./types/exercise/exercise_video_providers";
28
+ export { type User, type UserSessionInfo, type RefreshToken, type PublicUser, type UserPushSubscription, type RegisterPushSubscriptionRequest, type NotificationData, type PushNotificationPayload, type Exercise, type CompletedExercise, type LastExerciseValue, type ExerciseDataPoint, type VideoProvider, type Workout, type WorkoutExecution, type Schedule, type AssignedSchedule, type Organization, type OrganizationMember, type OrganizationInvitation, OrganizationRoles, Post, BatchPost, PostMedia, AuthenticationActionData, ResetPasswordAuthenticationData, WeekLayout, TimeAverage, ExerciseType, ExerciseUnit, ScheduleDay, ScheduleRecurrence, AuthType, SpotlightSearchResults, WeightUnits, DistanceUnits, TimeUnits, Page, NavBarTheme, OrganizationPageTheme, PageBuilderComponent, TitleBodyBlockData, PageTitleBlock, ImageTextBlock };
@@ -1,5 +1,6 @@
1
1
  import { ExerciseType } from "./exercise_types";
2
2
  import { ExerciseUnit } from "./exercise_units";
3
+ import { VideoProvider } from "./exercise_video_providers";
3
4
  type Exercise = {
4
5
  id: string;
5
6
  name: string;
@@ -14,5 +15,7 @@ type Exercise = {
14
15
  deleted?: boolean;
15
16
  parent_organization?: string;
16
17
  rest_seconds?: number;
18
+ video_id?: string;
19
+ video_provider?: VideoProvider;
17
20
  };
18
21
  export default Exercise;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Object for different video providers.
3
+ */
4
+ export declare const VideoProvider: {
5
+ readonly YouTube: "YouTube";
6
+ };
7
+ export type VideoProvider = (typeof VideoProvider)[keyof typeof VideoProvider];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VideoProvider = void 0;
4
+ /**
5
+ * Object for different video providers.
6
+ */
7
+ exports.VideoProvider = {
8
+ YouTube: "YouTube"
9
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plus45/types",
3
- "version": "1.3.18",
3
+ "version": "1.3.19",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [