hevy-shared 1.0.1006 → 1.0.1008

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.
Files changed (2) hide show
  1. package/built/index.d.ts +6 -2
  2. package/package.json +1 -1
package/built/index.d.ts CHANGED
@@ -1025,7 +1025,7 @@ export interface PostWorkoutRequestSet {
1025
1025
  * update the corresponding values of the workout in the database, and those
1026
1026
  * that are undefined will not be changed.
1027
1027
  */
1028
- export type UpdateWorkoutRequestWorkout = Partial<Pick<PostWorkoutRequestWorkout, 'title' | 'description' | 'media' | 'exercises' | 'is_private' | 'is_biometrics_public' | 'gym'>> & {
1028
+ export type UpdateWorkoutRequestWorkout = Partial<Pick<PostWorkoutRequestWorkout, 'title' | 'description' | 'media' | 'exercises' | 'is_private' | 'is_biometrics_public'>> & {
1029
1029
  start_and_end_time?: Required<Pick<PostWorkoutRequestWorkout, 'start_time' | 'end_time'>>;
1030
1030
  };
1031
1031
  /** Routines */
@@ -2009,12 +2009,16 @@ export interface ExerciseHistoryWorkout {
2009
2009
  export declare const supportedScopes: readonly ["read-workout", "modify-workout", "read-routine", "modify-routine", "unrestricted"];
2010
2010
  export type OAuthScope = Lookup<typeof supportedScopes>;
2011
2011
  export declare const isOAuthScope: (x: string) => x is OAuthScope;
2012
+ export type WorkoutMediaBackoffice = WorkoutMedia & {
2013
+ deleted: boolean;
2014
+ notes?: string;
2015
+ };
2012
2016
  export interface WorkoutsWithMediaBackofficeResponse {
2013
2017
  username: string;
2014
2018
  workouts: {
2015
2019
  id: string;
2016
2020
  name: string;
2017
- media: WorkoutMedia[];
2021
+ media: WorkoutMediaBackoffice[];
2018
2022
  }[];
2019
2023
  }
2020
2024
  export interface GetAccountsByEmailResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.1006",
3
+ "version": "1.0.1008",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",