@dgpholdings/greatoak-shared 1.2.60 → 1.2.61

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.
@@ -0,0 +1,92 @@
1
+ export type TConfidence = "high" | "medium" | null;
2
+ export type TNameReviewStatus = "pending" | "approved";
3
+ export type TQdrantSyncStatus = "pending" | "synced" | "failed";
4
+ export type TAiMuscles = {
5
+ primary: string[];
6
+ secondary: string[];
7
+ stabilizers: string[];
8
+ stretched: string[];
9
+ };
10
+ export type TAiJointInvolved = {
11
+ joint: string;
12
+ action: string;
13
+ rom_degrees: string;
14
+ stress_level: string;
15
+ };
16
+ export type TAiDifficulty = {
17
+ level: string;
18
+ coordination_demand: string;
19
+ balance_demand: string;
20
+ flexibility_demand: string;
21
+ strength_demand: string;
22
+ };
23
+ export type TAiEquipment = {
24
+ primary: string;
25
+ secondary: string[];
26
+ can_be_done_at_home: boolean;
27
+ minimal_equipment_alternative: string | null;
28
+ };
29
+ export type TAiSafety = {
30
+ injury_risk_areas: string[];
31
+ contraindicated_conditions: string[];
32
+ common_mistakes: string[];
33
+ prerequisite_mobility: string[];
34
+ };
35
+ export type TAiEnergyAndLoad = {
36
+ estimated_met: number;
37
+ typical_rep_range: string;
38
+ typical_set_range: string;
39
+ rest_period_seconds: string;
40
+ tempo_recommendation: string;
41
+ };
42
+ export type TAiFatigueProfile = {
43
+ cns_demand: string;
44
+ local_muscle_fatigue: string;
45
+ cardiovascular_demand: string;
46
+ recovery_time_hours: string;
47
+ };
48
+ export type TAiProgrammingContext = {
49
+ suitable_for_goals: string[];
50
+ workout_placement: string;
51
+ pairs_well_with: string[];
52
+ progressions: string[];
53
+ regressions: string[];
54
+ };
55
+ export type TAiDemographics = {
56
+ suitable_for_beginners: boolean;
57
+ suitable_for_elderly: boolean;
58
+ suitable_for_prenatal: boolean;
59
+ suitable_during_rehab: boolean;
60
+ age_group_notes: string;
61
+ };
62
+ export type TApiAiExerciseAnalysis = {
63
+ exerciseId: string;
64
+ isGivenNameConflicting: boolean;
65
+ exercise_name: string;
66
+ alternative_names: string[];
67
+ movement_description: string;
68
+ movement_pattern: string;
69
+ exercise_type: string;
70
+ contraction_type: string;
71
+ plane_of_motion: string[];
72
+ kinetic_chain: string;
73
+ laterality: string;
74
+ muscles: TAiMuscles;
75
+ joints_involved: TAiJointInvolved[];
76
+ difficulty: TAiDifficulty;
77
+ equipment: TAiEquipment;
78
+ safety: TAiSafety;
79
+ energy_and_load: TAiEnergyAndLoad;
80
+ fatigue_profile: TAiFatigueProfile;
81
+ programming_context: TAiProgrammingContext;
82
+ demographics: TAiDemographics;
83
+ form_notes: string;
84
+ embedding_text: string;
85
+ confidence: TConfidence;
86
+ nameReviewStatus: TNameReviewStatus;
87
+ qdrantSyncStatus: TQdrantSyncStatus;
88
+ enrichedAt: string;
89
+ aiProvider: string;
90
+ seedVersion: string;
91
+ };
92
+ export type TApiAiMetaListRecord = Pick<TApiAiExerciseAnalysis, "exerciseId" | "isGivenNameConflicting" | "confidence" | "nameReviewStatus">;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -11,3 +11,4 @@ export type * from "./TApiRevenueCat";
11
11
  export type * from "./TApiClientProgress";
12
12
  export type * from "./TApiProPlan";
13
13
  export type * from "./TApiSales";
14
+ export type * from "./TApiAiExerciseAnalysis";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dgpholdings/greatoak-shared",
3
- "version": "1.2.60",
3
+ "version": "1.2.61",
4
4
  "description": "Shared TypeScript types and utilities for @dgpholdings projects",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",