@dgpholdings/greatoak-shared 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.
|
@@ -121,10 +121,13 @@ export type TExercise = {
|
|
|
121
121
|
importantTipsHtml: string;
|
|
122
122
|
};
|
|
123
123
|
export type TBodyPartExercises = Record<TBodyPart, TExercise[]>;
|
|
124
|
-
export type
|
|
125
|
-
exercise: Omit<TExercise, "exerciseId"
|
|
124
|
+
export type TApiCreateOrUpdateExerciseReq = {
|
|
125
|
+
exercise: Omit<TExercise, "exerciseId"> & {
|
|
126
|
+
slug?: string;
|
|
127
|
+
};
|
|
128
|
+
updateId?: string;
|
|
126
129
|
};
|
|
127
|
-
export type
|
|
130
|
+
export type TApiCreateOrUpdateExerciseRes = {
|
|
128
131
|
success: boolean;
|
|
129
132
|
message: string;
|
|
130
133
|
};
|