@dgpholdings/greatoak-shared 1.1.95 → 1.1.96

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,7 +17,7 @@ export type TTemplateShopDb = {
17
17
  fr?: string;
18
18
  };
19
19
  planCode: string;
20
- tags: string[];
20
+ gender: "male" | "female" | "all";
21
21
  slug: string;
22
22
  level: "beginner" | "intermediate" | "advanced" | "beginner-intermediate" | "intermediate-advanced" | "all";
23
23
  estimatedDuration: number;
@@ -44,7 +44,7 @@ export type TApiTemplateShopCreateReq = ({
44
44
  type: "trainer-created";
45
45
  } & Omit<Extract<TTemplateShopDb, {
46
46
  type: "trainer-created";
47
- }>, "type" | "planCode" | "tags" | "slug" | "clonedCount" | "ownerId">) | ({
47
+ }>, "type" | "planCode" | "slug" | "clonedCount" | "ownerId">) | ({
48
48
  type: "system";
49
49
  } & Omit<Extract<TTemplateShopDb, {
50
50
  type: "system";
@@ -117,5 +117,6 @@ export type TApiSharedPlanGetRes = {
117
117
  state: "success";
118
118
  plan: TTemplateShopDb & {
119
119
  ownerCode: string;
120
+ ownerFullName: string;
120
121
  };
121
122
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dgpholdings/greatoak-shared",
3
- "version": "1.1.95",
3
+ "version": "1.1.96",
4
4
  "description": "Shared TypeScript types and utilities for @dgpholdings projects",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",