@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 TApiCreateExerciseReq = {
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 TApiCreateExerciseRes = {
130
+ export type TApiCreateOrUpdateExerciseRes = {
128
131
  success: boolean;
129
132
  message: string;
130
133
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dgpholdings/greatoak-shared",
3
- "version": "1.1.42",
3
+ "version": "1.1.44",
4
4
  "description": "Shared TypeScript types and utilities for @dgpholdings projects",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",