@dgpholdings/greatoak-shared 1.1.42 → 1.1.43

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,11 @@ export type TExercise = {
121
121
  importantTipsHtml: string;
122
122
  };
123
123
  export type TBodyPartExercises = Record<TBodyPart, TExercise[]>;
124
- export type TApiCreateExerciseReq = {
124
+ export type TApiCreateOrUpdateExerciseReq = {
125
125
  exercise: Omit<TExercise, "exerciseId">;
126
+ updateId?: string;
126
127
  };
127
- export type TApiCreateExerciseRes = {
128
+ export type TApiCreateOrUpdateExerciseRes = {
128
129
  success: boolean;
129
130
  message: string;
130
131
  };
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.43",
4
4
  "description": "Shared TypeScript types and utilities for @dgpholdings projects",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",