@plus45/types 1.3.18 → 1.3.20

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, 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 };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TimeUnits = exports.DistanceUnits = exports.WeightUnits = exports.AuthType = exports.ScheduleRecurrence = exports.ScheduleDay = exports.ExerciseUnit = exports.ExerciseType = exports.WeekLayout = exports.OrganizationRoles = void 0;
3
+ exports.TimeUnits = exports.DistanceUnits = exports.WeightUnits = exports.AuthType = exports.ScheduleRecurrence = exports.ScheduleDay = exports.ExerciseUnit = exports.ExerciseType = exports.WeekLayout = exports.OrganizationRoles = exports.VideoProvider = void 0;
4
4
  const exercise_types_1 = require("./types/exercise/exercise_types");
5
5
  Object.defineProperty(exports, "ExerciseType", { enumerable: true, get: function () { return exercise_types_1.ExerciseType; } });
6
6
  const exercise_units_1 = require("./types/exercise/exercise_units");
@@ -18,3 +18,5 @@ const authentication_1 = require("./types/authentication/authentication");
18
18
  Object.defineProperty(exports, "AuthType", { enumerable: true, get: function () { return authentication_1.AuthType; } });
19
19
  const organization_member_1 = require("./types/organizations/organization_member");
20
20
  Object.defineProperty(exports, "OrganizationRoles", { enumerable: true, get: function () { return organization_member_1.OrganizationRoles; } });
21
+ const exercise_video_providers_1 = require("./types/exercise/exercise_video_providers");
22
+ Object.defineProperty(exports, "VideoProvider", { enumerable: true, get: function () { return exercise_video_providers_1.VideoProvider; } });
@@ -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.20",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [