@dgpholdings/greatoak-shared 1.2.93 → 1.2.94

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.
@@ -16,6 +16,7 @@ exports.mockUser = {
16
16
  bodyFatPercentage: 15,
17
17
  metricSystem: "EU",
18
18
  appLanguage: "en",
19
+ goalProfile: undefined,
19
20
  preferencesUpdatedAt: new Date("2023-01-01").toISOString(),
20
21
  femaleHealth: null, // Male user
21
22
  constellationLevel: 1,
@@ -1,6 +1,7 @@
1
1
  import type { TAiFitnessGoal, TAiUserInjury } from "../constants/AiExerciseVocabulary";
2
2
  import { TConstellationUserLevel } from "../utils";
3
3
  import { TGdprData } from "./commonTypes";
4
+ import { TGoalProfile } from "./goalFeature";
4
5
  import { TUserPreferences } from "./TUserPreferences";
5
6
  export type TAuthType = "email" | "apple" | "anonymous" | "token";
6
7
  export type TGender = "male" | "female" | "unmentioned";
@@ -27,6 +28,7 @@ export type TUserMetric = TUserPreferences & {
27
28
  gender: TGender;
28
29
  weightKg: number;
29
30
  heightCm: number;
31
+ goalProfile: TGoalProfile | undefined;
30
32
  emailAddress?: string;
31
33
  injuryInfo?: TInjuryInfo;
32
34
  subscriptionStatus: TSubscriptionStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dgpholdings/greatoak-shared",
3
- "version": "1.2.93",
3
+ "version": "1.2.94",
4
4
  "description": "Shared TypeScript types and utilities for @dgpholdings projects",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",