@dgpholdings/greatoak-shared 1.1.106 → 1.1.108

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.
@@ -17,6 +17,7 @@ export type TApiClientProgressSaveReq = {
17
17
  planId?: string;
18
18
  planName?: string;
19
19
  planCode?: string;
20
+ trainerId?: string;
20
21
  sessionRecord: TClientSessionData[];
21
22
  sessionStartTimestamp: string;
22
23
  };
@@ -96,16 +96,17 @@ export type TApiTemplateShopGetRes = {
96
96
  lastEvaluatedKey?: string;
97
97
  hasMore: boolean;
98
98
  };
99
- export type TApiTemplateShopAdoptOneReq = {
100
- planCode: string;
99
+ export type TApiTemplateShopGetOneReq = {
100
+ planId: string;
101
101
  };
102
- export type TApiTemplateShopAdoptOneRes = {
102
+ export type TApiTemplateShopGetOneRes = {
103
103
  status: 400;
104
104
  state: "failed";
105
105
  message: string;
106
106
  } | {
107
- status: 201;
107
+ status: 200;
108
108
  state: "success";
109
+ plan: TTemplateShopDb;
109
110
  };
110
111
  export type TApiSharedPlanGetReq = {
111
112
  planCode: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dgpholdings/greatoak-shared",
3
- "version": "1.1.106",
3
+ "version": "1.1.108",
4
4
  "description": "Shared TypeScript types and utilities for @dgpholdings projects",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",