90dc-core 1.15.4 → 1.15.6
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.
- package/dist/lib/dbmodels/index.d.ts +4 -2
- package/dist/lib/dbmodels/index.d.ts.map +1 -1
- package/dist/lib/dbmodels/index.js +4 -1
- package/dist/lib/dbmodels/index.js.map +1 -1
- package/dist/lib/dbmodels/program/CircularProgramDraft.d.ts +1 -0
- package/dist/lib/dbmodels/program/CircularProgramDraft.d.ts.map +1 -1
- package/dist/lib/dbmodels/program/CircularProgramDraft.js.map +1 -1
- package/dist/lib/dbmodels/program/CoachExerciseNote.d.ts +12 -0
- package/dist/lib/dbmodels/program/CoachExerciseNote.d.ts.map +1 -0
- package/dist/lib/dbmodels/program/CoachExerciseNote.js +61 -0
- package/dist/lib/dbmodels/program/CoachExerciseNote.js.map +1 -0
- package/dist/lib/dbmodels/program/Exercise.d.ts +1 -0
- package/dist/lib/dbmodels/program/Exercise.d.ts.map +1 -1
- package/dist/lib/dbmodels/program/Exercise.js +6 -0
- package/dist/lib/dbmodels/program/Exercise.js.map +1 -1
- package/dist/lib/dbmodels/program/ExerciseModels.d.ts +2 -0
- package/dist/lib/dbmodels/program/ExerciseModels.d.ts.map +1 -1
- package/dist/lib/dbmodels/program/ExerciseModels.js +13 -0
- package/dist/lib/dbmodels/program/ExerciseModels.js.map +1 -1
- package/dist/lib/models/ExerciseInterfaces.d.ts +1 -0
- package/dist/lib/models/ExerciseInterfaces.d.ts.map +1 -1
- package/dist/lib/models/ExerciseInterfaces.js.map +1 -1
- package/dist/lib/scripts/populate-exercise-thumbnails.d.ts +2 -0
- package/dist/lib/scripts/populate-exercise-thumbnails.d.ts.map +1 -0
- package/dist/lib/scripts/populate-exercise-thumbnails.js +64 -0
- package/dist/lib/scripts/populate-exercise-thumbnails.js.map +1 -0
- package/package.json +1 -1
|
@@ -40,6 +40,7 @@ export { WorkoutCompletion } from "./program/WorkoutCompletion.js";
|
|
|
40
40
|
export type { ExerciseSnapshot } from "./program/WorkoutCompletion.js";
|
|
41
41
|
export { CircularProgramDraft } from "./program/CircularProgramDraft.js";
|
|
42
42
|
export type { CircularProgramDraftData, DraftDay, DraftWorkout, DraftExercise, DraftSuperset, DraftRestDay, DraftStrengthTest, DraftChallenge, DraftStatus } from "./program/CircularProgramDraft.js";
|
|
43
|
+
export { CoachExerciseNote } from "./program/CoachExerciseNote.js";
|
|
43
44
|
export { NonConsumableProgram } from "./nonconsprogram/NonConsumableProgram.js";
|
|
44
45
|
export { NonConsumableProgramWebContent } from "./nonconsprogram/NonConsumableProgramWebContent.js";
|
|
45
46
|
export { UserPrograms } from "./nonconsprogram/UserNonConsumableProgram.js";
|
|
@@ -117,6 +118,7 @@ import { CustomWorkoutBlueprint } from "./program/CustomWorkoutBlueprint.js";
|
|
|
117
118
|
import { CustomStrengthTestExercise } from "./program/CustomStrengthTestExercises.js";
|
|
118
119
|
import { WorkoutCompletion } from "./program/WorkoutCompletion.js";
|
|
119
120
|
import { CircularProgramDraft } from "./program/CircularProgramDraft.js";
|
|
121
|
+
import { CoachExerciseNote } from "./program/CoachExerciseNote.js";
|
|
120
122
|
import { NonConsumableProgram } from "./nonconsprogram/NonConsumableProgram.js";
|
|
121
123
|
import { NonConsumableProgramWebContent } from "./nonconsprogram/NonConsumableProgramWebContent.js";
|
|
122
124
|
import { UserPrograms } from "./nonconsprogram/UserNonConsumableProgram.js";
|
|
@@ -160,11 +162,11 @@ import { TranslatedNotification } from "./notifications/TranslatedNotification.j
|
|
|
160
162
|
import { SubscriptionRefund } from "./subscription/SubscriptionRefund.js";
|
|
161
163
|
export declare const USER_MODELS: (typeof PersistedUser | typeof UserBadges | typeof UserStreak | typeof UsersFriends | typeof UserCoach | typeof UserDiscount | typeof UserOptions | typeof UserAddons | typeof DeviceTokens)[];
|
|
162
164
|
export declare const SUBSCRIPTION_MODELS: (typeof SubscriptionLog | typeof Subscription | typeof SubscriptionRefund)[];
|
|
163
|
-
export declare const PROGRAM_MODELS: (typeof TranslatedChallenge | typeof Challenge | typeof ProgressEntry | typeof Exercise | typeof UserChallenge | typeof TranslatedStrengthTestExercise | typeof StrengthTestExercise | typeof UserStrengthTests | typeof TranslatedExerciseModel | typeof ExercisesModels | typeof Workout | typeof Superset | typeof Program | typeof TranslatedStrengthTest | typeof StrengthTest | typeof ChallengeBlueprint | typeof CustomProgramBlueprint | typeof CustomStrengthTestExercise | typeof CustomWorkoutBlueprint | typeof RestDay | typeof WorkoutSession | typeof ThirtyDayChallenge | typeof ThirtyDayChallengeStrengthTest | typeof StrengthTestSession | typeof WorkoutCompletion | typeof CircularProgramDraft)[];
|
|
165
|
+
export declare const PROGRAM_MODELS: (typeof TranslatedChallenge | typeof Challenge | typeof ProgressEntry | typeof Exercise | typeof UserChallenge | typeof TranslatedStrengthTestExercise | typeof StrengthTestExercise | typeof UserStrengthTests | typeof TranslatedExerciseModel | typeof ExercisesModels | typeof Workout | typeof Superset | typeof Program | typeof TranslatedStrengthTest | typeof StrengthTest | typeof ChallengeBlueprint | typeof CustomProgramBlueprint | typeof CustomStrengthTestExercise | typeof CustomWorkoutBlueprint | typeof RestDay | typeof WorkoutSession | typeof ThirtyDayChallenge | typeof ThirtyDayChallengeStrengthTest | typeof StrengthTestSession | typeof WorkoutCompletion | typeof CircularProgramDraft | typeof CoachExerciseNote)[];
|
|
164
166
|
export declare const NON_CONSUMABLE_PROGRAM_MODELS: (typeof TranslatedConsumableProgram | typeof NonConsumableProgram | typeof UserPrograms | typeof TranslatedNonConsumableProgramWebContent | typeof NonConsumableProgramWebContent)[];
|
|
165
167
|
export declare const DIET_MODELS: (typeof RecipeTags | typeof Recipe | typeof RecipeTag | typeof TranslatedRecipeTag | typeof TranslatedRecipeTags | typeof TranslatedRecipe | typeof IngredientTags | typeof Ingredient | typeof IngredientTag | typeof RecipeIngredient | typeof DietMealRecipeIngredient | typeof DietMealRecipe | typeof DietMeal | typeof DietDay | typeof DietProgram | typeof ShoppingListItem | typeof ShoppingList | typeof DietMealCompletion | typeof UserDietPreferences)[];
|
|
166
168
|
export declare const COACHING_MODELS: (typeof WeeklyCheckin | typeof WeightRecord | typeof Question | typeof Questionnaire | typeof Answer | typeof QuestionnaireResponse | typeof ClientTag | typeof ClientNote)[];
|
|
167
169
|
export declare const GAMIFICATION_MODELS: (typeof TranslatedBadge | typeof Badge | typeof StreaksLog | typeof XpEvent | typeof XpTransaction | typeof UserRankHistory)[];
|
|
168
170
|
export declare const NOTIFICATION_MODELS: (typeof TranslatedNotification | typeof NotificationModels)[];
|
|
169
|
-
export declare const ALL_CORE_MODELS: (typeof TranslatedChallenge | typeof Challenge | typeof ProgressEntry | typeof Exercise | typeof UserChallenge | typeof TranslatedStrengthTestExercise | typeof StrengthTestExercise | typeof UserStrengthTests | typeof TranslatedExerciseModel | typeof ExercisesModels | typeof Workout | typeof Superset | typeof Program | typeof TranslatedConsumableProgram | typeof NonConsumableProgram | typeof SubscriptionLog | typeof Subscription | typeof PersistedUser | typeof UserPrograms | typeof TranslatedNonConsumableProgramWebContent | typeof NonConsumableProgramWebContent | typeof TranslatedStrengthTest | typeof StrengthTest | typeof TranslatedBadge | typeof Badge | typeof UserBadges | typeof UserStreak | typeof UsersFriends | typeof UserCoach | typeof UserDiscount | typeof UserOptions | typeof UserAddons | typeof DeviceTokens | typeof SubscriptionRefund | typeof ChallengeBlueprint | typeof CustomProgramBlueprint | typeof CustomStrengthTestExercise | typeof CustomWorkoutBlueprint | typeof RestDay | typeof WorkoutSession | typeof ThirtyDayChallenge | typeof ThirtyDayChallengeStrengthTest | typeof StrengthTestSession | typeof WorkoutCompletion | typeof CircularProgramDraft | typeof RecipeTags | typeof Recipe | typeof RecipeTag | typeof TranslatedRecipeTag | typeof TranslatedRecipeTags | typeof TranslatedRecipe | typeof IngredientTags | typeof Ingredient | typeof IngredientTag | typeof RecipeIngredient | typeof DietMealRecipeIngredient | typeof DietMealRecipe | typeof DietMeal | typeof DietDay | typeof DietProgram | typeof ShoppingListItem | typeof ShoppingList | typeof DietMealCompletion | typeof UserDietPreferences | typeof WeeklyCheckin | typeof WeightRecord | typeof Question | typeof Questionnaire | typeof Answer | typeof QuestionnaireResponse | typeof ClientTag | typeof ClientNote | typeof StreaksLog | typeof XpEvent | typeof XpTransaction | typeof UserRankHistory | typeof TranslatedNotification | typeof NotificationModels)[];
|
|
171
|
+
export declare const ALL_CORE_MODELS: (typeof TranslatedChallenge | typeof Challenge | typeof ProgressEntry | typeof Exercise | typeof UserChallenge | typeof TranslatedStrengthTestExercise | typeof StrengthTestExercise | typeof UserStrengthTests | typeof TranslatedExerciseModel | typeof ExercisesModels | typeof Workout | typeof Superset | typeof Program | typeof TranslatedConsumableProgram | typeof NonConsumableProgram | typeof SubscriptionLog | typeof Subscription | typeof PersistedUser | typeof UserPrograms | typeof TranslatedNonConsumableProgramWebContent | typeof NonConsumableProgramWebContent | typeof TranslatedStrengthTest | typeof StrengthTest | typeof TranslatedBadge | typeof Badge | typeof UserBadges | typeof UserStreak | typeof UsersFriends | typeof UserCoach | typeof UserDiscount | typeof UserOptions | typeof UserAddons | typeof DeviceTokens | typeof SubscriptionRefund | typeof ChallengeBlueprint | typeof CustomProgramBlueprint | typeof CustomStrengthTestExercise | typeof CustomWorkoutBlueprint | typeof RestDay | typeof WorkoutSession | typeof ThirtyDayChallenge | typeof ThirtyDayChallengeStrengthTest | typeof StrengthTestSession | typeof WorkoutCompletion | typeof CircularProgramDraft | typeof CoachExerciseNote | typeof RecipeTags | typeof Recipe | typeof RecipeTag | typeof TranslatedRecipeTag | typeof TranslatedRecipeTags | typeof TranslatedRecipe | typeof IngredientTags | typeof Ingredient | typeof IngredientTag | typeof RecipeIngredient | typeof DietMealRecipeIngredient | typeof DietMealRecipe | typeof DietMeal | typeof DietDay | typeof DietProgram | typeof ShoppingListItem | typeof ShoppingList | typeof DietMealCompletion | typeof UserDietPreferences | typeof WeeklyCheckin | typeof WeightRecord | typeof Question | typeof Questionnaire | typeof Answer | typeof QuestionnaireResponse | typeof ClientTag | typeof ClientNote | typeof StreaksLog | typeof XpEvent | typeof XpTransaction | typeof UserRankHistory | typeof TranslatedNotification | typeof NotificationModels)[];
|
|
170
172
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAG1E,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EA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DAAqD,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAC,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;AAIxE,eAAO,MAAM,WAAW,gMAUvB,CAAC;AAEF,eAAO,MAAM,mBAAmB,8EAAyE,CAAC;AAE1G,eAAO,MAAM,cAAc,stBA6B1B,CAAC;AAEF,eAAO,MAAM,6BAA6B,sLAMzC,CAAC;AAEF,eAAO,MAAM,WAAW,ucAoBvB,CAAC;AAEF,eAAO,MAAM,eAAe,+KAS3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,gIAO/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,+DAA+C,CAAC;AAGhF,eAAO,MAAM,eAAe,07DAS3B,CAAC"}
|
|
@@ -42,6 +42,7 @@ export { CustomStrengthTest } from "./program/CustomStrengthTest.js";
|
|
|
42
42
|
export { CustomStrengthTestExercise } from "./program/CustomStrengthTestExercises.js";
|
|
43
43
|
export { WorkoutCompletion } from "./program/WorkoutCompletion.js";
|
|
44
44
|
export { CircularProgramDraft } from "./program/CircularProgramDraft.js";
|
|
45
|
+
export { CoachExerciseNote } from "./program/CoachExerciseNote.js";
|
|
45
46
|
// Non-Consumable Program Models
|
|
46
47
|
export { NonConsumableProgram } from "./nonconsprogram/NonConsumableProgram.js";
|
|
47
48
|
export { NonConsumableProgramWebContent } from "./nonconsprogram/NonConsumableProgramWebContent.js";
|
|
@@ -126,6 +127,7 @@ import { CustomStrengthTest } from "./program/CustomStrengthTest.js";
|
|
|
126
127
|
import { CustomStrengthTestExercise } from "./program/CustomStrengthTestExercises.js";
|
|
127
128
|
import { WorkoutCompletion } from "./program/WorkoutCompletion.js";
|
|
128
129
|
import { CircularProgramDraft } from "./program/CircularProgramDraft.js";
|
|
130
|
+
import { CoachExerciseNote } from "./program/CoachExerciseNote.js";
|
|
129
131
|
import { NonConsumableProgram } from "./nonconsprogram/NonConsumableProgram.js";
|
|
130
132
|
import { NonConsumableProgramWebContent } from "./nonconsprogram/NonConsumableProgramWebContent.js";
|
|
131
133
|
import { UserPrograms } from "./nonconsprogram/UserNonConsumableProgram.js";
|
|
@@ -212,7 +214,8 @@ export const PROGRAM_MODELS = [
|
|
|
212
214
|
CustomStrengthTest,
|
|
213
215
|
CustomStrengthTestExercise,
|
|
214
216
|
WorkoutCompletion,
|
|
215
|
-
CircularProgramDraft
|
|
217
|
+
CircularProgramDraft,
|
|
218
|
+
CoachExerciseNote
|
|
216
219
|
];
|
|
217
220
|
export const NON_CONSUMABLE_PROGRAM_MODELS = [
|
|
218
221
|
NonConsumableProgram,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/lib/dbmodels/index.ts"],"sourcesContent":["// User Models\nimport {SubscriptionEvent} from \"./subscription/SubscriptionEvent.js\";\n\nexport { PersistedUser } from \"./user/PersistedUser.js\";\nexport { UserBadges } from \"./user/UserBadges.js\";\nexport { UserStreak } from \"./user/UserStreaks.js\";\nexport { UsersFriends } from \"./user/UsersFriends.js\";\nexport { UserCoach } from \"./user/UserCoach.js\";\nexport { UserDiscount } from \"./user/UserDiscount.js\";\nexport { UserOptions } from \"./user/UserOptions.js\";\nexport { UserAddons } from \"./user/UserAddons.js\";\nexport { DeviceTokens } from \"./user/DeviceTokens.js\";\n\n// Subscription Models\nexport { Subscription } from \"./subscription/Subscription.js\";\nexport { SubscriptionLog } from \"./subscription/SubscriptionLog.js\";\nexport { SubscriptionEvent } from \"./subscription/SubscriptionEvent.js\";\nexport { SubscriptionRefund } from \"./subscription/SubscriptionRefund.js\";\n\n// Program Models\nexport { Program } from \"./program/Program.js\";\nexport { Workout } from \"./program/Workout.js\";\nexport { Exercise } from \"./program/Exercise.js\";\nexport { ExercisesModels } from \"./program/ExerciseModels.js\";\nexport { Superset } from \"./program/Superset.js\";\nexport { ProgressEntry } from \"./program/ProgressEntry.js\";\nexport { RestDay } from \"./program/RestDay.js\";\nexport { WorkoutSession } from \"./program/WorkoutSession.js\";\nexport { Challenge } from \"./program/Challenge.js\";\nexport { ChallengeBlueprint } from \"./program/ChallengeBlueprint.js\";\nexport { UserChallenge } from \"./program/UserChallenge.js\";\nexport { TranslatedChallenge } from \"./program/TranslatedChallenge.js\";\nexport { ThirtyDayChallenge } from \"./program/ThirtyDayChallenge.js\";\nexport { ThirtyDayChallengeStrengthTest } from \"./program/ThirtyDayChallengeStrengthTest.js\";\nexport { StrengthTest } from \"./program/StrengthTest.js\";\nexport { StrengthTestExercise } from \"./program/StrengthTestExercise.js\";\nexport { StrengthTestSession } from \"./program/StrengthTestSession.js\";\nexport { UserStrengthTests } from \"./program/UserStrengthTests.js\";\nexport { TranslatedStrengthTest } from \"./program/TranslatedStrengthTest.js\";\nexport { TranslatedStrengthTestExercise } from \"./program/TranslatedStrengthTestExercise.js\";\nexport { TranslatedExerciseModel } from \"./program/TranslatedExerciseModel.js\";\nexport { CustomProgramBlueprint } from \"./program/CustomProgramBlueprint.js\";\nexport { CustomWorkoutBlueprint } from \"./program/CustomWorkoutBlueprint.js\";\nexport { CustomStrengthTest } from \"./program/CustomStrengthTest.js\";\nexport { CustomStrengthTestExercise } from \"./program/CustomStrengthTestExercises.js\";\nexport { WorkoutCompletion } from \"./program/WorkoutCompletion.js\";\nexport type { ExerciseSnapshot } from \"./program/WorkoutCompletion.js\";\nexport { CircularProgramDraft } from \"./program/CircularProgramDraft.js\";\nexport type {\n CircularProgramDraftData,\n DraftDay,\n DraftWorkout,\n DraftExercise,\n DraftSuperset,\n DraftRestDay,\n DraftStrengthTest,\n DraftChallenge,\n DraftStatus\n} from \"./program/CircularProgramDraft.js\";\n\n// Non-Consumable Program Models\nexport { NonConsumableProgram } from \"./nonconsprogram/NonConsumableProgram.js\";\nexport { NonConsumableProgramWebContent } from \"./nonconsprogram/NonConsumableProgramWebContent.js\";\nexport { UserPrograms } from \"./nonconsprogram/UserNonConsumableProgram.js\";\nexport { TranslatedConsumableProgram } from \"./nonconsprogram/TranslatedConsumableProgram.js\";\nexport { TranslatedNonConsumableProgramWebContent } from \"./nonconsprogram/TranslatedNonConsumableProgramWebContent.js\";\n\n// Diet & Nutrition Models\nexport { DietProgram } from \"./diet/DietProgram.js\";\nexport { DietDay } from \"./diet/DietDay.js\";\nexport { DietMeal } from \"./diet/DietMeal.js\";\nexport { DietMealRecipe } from \"./diet/DietMealRecipe.js\";\nexport { DietMealRecipeIngredient } from \"./diet/DietMealRecipeIngredient.js\";\nexport { DietMealCompletion } from \"./diet/DietMealCompletion.js\";\nexport { Recipe, type RecipeAttributes, type RecipeCreationAttributes } from \"./diet/Recipe.js\";\nexport { TranslatedRecipe } from \"./diet/TranslatedRecipe.js\";\nexport { RecipeTag } from \"./diet/RecipeTag.js\";\nexport { TranslatedRecipeTag } from \"./diet/TranslatedRecipeTag.js\";\nexport { RecipeTags } from \"./diet/RecipeTags.js\";\nexport { TranslatedRecipeTags } from \"./diet/TranslatedRecipeTags.js\";\nexport { ShoppingList } from \"./diet/ShoppingList.js\";\nexport { ShoppingListItem } from \"./diet/ShoppingListItem.js\";\nexport { UserDietPreferences } from \"./diet/UserDietPreferences.js\";\nexport { Ingredient } from \"./diet/Ingredient.js\";\nexport { IngredientTag } from \"./diet/IngredientTag.js\";\nexport { IngredientTags } from \"./diet/IngredientTags.js\";\nexport { RecipeIngredient, type RecipeIngredientAttributes, type RecipeIngredientCreationAttributes } from \"./diet/RecipeIngredient.js\";\n\n// Coaching Models\nexport { WeeklyCheckin } from \"./coaching/WeeklyCheckIn.js\";\nexport { WeightRecord } from \"./coaching/WeightRecord.js\";\nexport { Questionnaire, QuestionnaireType } from \"./coaching/Questionnaire.js\";\nexport { Question, QuestionType } from \"./coaching/Question.js\";\nexport { Answer } from \"./coaching/Answer.js\";\nexport { QuestionnaireResponse } from \"./coaching/QuestionnaireResponse.js\";\nexport { ClientTag } from \"./coaching/ClientTag.js\";\nexport { ClientNote } from \"./coaching/ClientNote.js\";\n\n// Gamification Models\nexport { Badge } from \"./gamification/Badge.js\";\nexport { TranslatedBadge } from \"./gamification/TranslatedBadge.js\";\nexport { StreaksLog } from \"./gamification/StreaksLog.js\";\nexport { XpEvent } from \"./gamification/xpAndLeaderboards/XpEvent.js\";\nexport { XpTransaction } from \"./gamification/xpAndLeaderboards/XpTransaction.js\";\nexport { UserRankHistory } from \"./gamification/xpAndLeaderboards/UserRankHistory.js\";\n\n// Notification Models\nexport { NotificationModels } from \"./notifications/NotificationModels.js\";\nexport { TranslatedNotification } from \"./notifications/TranslatedNotification.js\";\n\n// Import for model arrays\nimport { PersistedUser } from \"./user/PersistedUser.js\";\nimport { UserBadges } from \"./user/UserBadges.js\";\nimport { UserStreak } from \"./user/UserStreaks.js\";\nimport { UsersFriends } from \"./user/UsersFriends.js\";\nimport { UserCoach } from \"./user/UserCoach.js\";\nimport { UserDiscount } from \"./user/UserDiscount.js\";\nimport { UserOptions } from \"./user/UserOptions.js\";\nimport { UserAddons } from \"./user/UserAddons.js\";\nimport { DeviceTokens } from \"./user/DeviceTokens.js\";\nimport { Subscription } from \"./subscription/Subscription.js\";\nimport { SubscriptionLog } from \"./subscription/SubscriptionLog.js\";\nimport { Program } from \"./program/Program.js\";\nimport { Workout } from \"./program/Workout.js\";\nimport { Exercise } from \"./program/Exercise.js\";\nimport { ExercisesModels } from \"./program/ExerciseModels.js\";\nimport { Superset } from \"./program/Superset.js\";\nimport { ProgressEntry } from \"./program/ProgressEntry.js\";\nimport { RestDay } from \"./program/RestDay.js\";\nimport { WorkoutSession } from \"./program/WorkoutSession.js\";\nimport { Challenge } from \"./program/Challenge.js\";\nimport { ChallengeBlueprint } from \"./program/ChallengeBlueprint.js\";\nimport { UserChallenge } from \"./program/UserChallenge.js\";\nimport { TranslatedChallenge } from \"./program/TranslatedChallenge.js\";\nimport { ThirtyDayChallenge } from \"./program/ThirtyDayChallenge.js\";\nimport { ThirtyDayChallengeStrengthTest } from \"./program/ThirtyDayChallengeStrengthTest.js\";\nimport { StrengthTest } from \"./program/StrengthTest.js\";\nimport { StrengthTestExercise } from \"./program/StrengthTestExercise.js\";\nimport { StrengthTestSession } from \"./program/StrengthTestSession.js\";\nimport { UserStrengthTests } from \"./program/UserStrengthTests.js\";\nimport { TranslatedStrengthTest } from \"./program/TranslatedStrengthTest.js\";\nimport { TranslatedStrengthTestExercise } from \"./program/TranslatedStrengthTestExercise.js\";\nimport { TranslatedExerciseModel } from \"./program/TranslatedExerciseModel.js\";\nimport { CustomProgramBlueprint } from \"./program/CustomProgramBlueprint.js\";\nimport { CustomWorkoutBlueprint } from \"./program/CustomWorkoutBlueprint.js\";\nimport { CustomStrengthTest } from \"./program/CustomStrengthTest.js\";\nimport { CustomStrengthTestExercise } from \"./program/CustomStrengthTestExercises.js\";\nimport { WorkoutCompletion } from \"./program/WorkoutCompletion.js\";\nimport { CircularProgramDraft } from \"./program/CircularProgramDraft.js\";\nimport { NonConsumableProgram } from \"./nonconsprogram/NonConsumableProgram.js\";\nimport { NonConsumableProgramWebContent } from \"./nonconsprogram/NonConsumableProgramWebContent.js\";\nimport { UserPrograms } from \"./nonconsprogram/UserNonConsumableProgram.js\";\nimport { TranslatedConsumableProgram } from \"./nonconsprogram/TranslatedConsumableProgram.js\";\nimport { TranslatedNonConsumableProgramWebContent } from \"./nonconsprogram/TranslatedNonConsumableProgramWebContent.js\";\nimport { DietProgram } from \"./diet/DietProgram.js\";\nimport { DietDay } from \"./diet/DietDay.js\";\nimport { DietMeal } from \"./diet/DietMeal.js\";\nimport { DietMealRecipe } from \"./diet/DietMealRecipe.js\";\nimport { DietMealRecipeIngredient } from \"./diet/DietMealRecipeIngredient.js\";\nimport { DietMealCompletion } from \"./diet/DietMealCompletion.js\";\nimport { Recipe } from \"./diet/Recipe.js\";\nimport { TranslatedRecipe } from \"./diet/TranslatedRecipe.js\";\nimport { RecipeTag } from \"./diet/RecipeTag.js\";\nimport { TranslatedRecipeTag } from \"./diet/TranslatedRecipeTag.js\";\nimport { RecipeTags } from \"./diet/RecipeTags.js\";\nimport { TranslatedRecipeTags } from \"./diet/TranslatedRecipeTags.js\";\nimport { ShoppingList } from \"./diet/ShoppingList.js\";\nimport { ShoppingListItem } from \"./diet/ShoppingListItem.js\";\nimport { UserDietPreferences } from \"./diet/UserDietPreferences.js\";\nimport { Ingredient } from \"./diet/Ingredient.js\";\nimport { IngredientTag } from \"./diet/IngredientTag.js\";\nimport { IngredientTags } from \"./diet/IngredientTags.js\";\nimport { RecipeIngredient } from \"./diet/RecipeIngredient.js\";\nimport { WeeklyCheckin } from \"./coaching/WeeklyCheckIn.js\";\nimport { WeightRecord } from \"./coaching/WeightRecord.js\";\nimport { Questionnaire } from \"./coaching/Questionnaire.js\";\nimport { Question } from \"./coaching/Question.js\";\nimport { Answer } from \"./coaching/Answer.js\";\nimport { QuestionnaireResponse } from \"./coaching/QuestionnaireResponse.js\";\nimport { ClientTag } from \"./coaching/ClientTag.js\";\nimport { ClientNote } from \"./coaching/ClientNote.js\";\nimport { Badge } from \"./gamification/Badge.js\";\nimport { TranslatedBadge } from \"./gamification/TranslatedBadge.js\";\nimport { StreaksLog } from \"./gamification/StreaksLog.js\";\nimport { XpEvent } from \"./gamification/xpAndLeaderboards/XpEvent.js\";\nimport { XpTransaction } from \"./gamification/xpAndLeaderboards/XpTransaction.js\";\nimport { UserRankHistory } from \"./gamification/xpAndLeaderboards/UserRankHistory.js\";\nimport { NotificationModels } from \"./notifications/NotificationModels.js\";\nimport { TranslatedNotification } from \"./notifications/TranslatedNotification.js\";\nimport {SubscriptionRefund} from \"./subscription/SubscriptionRefund.js\";\n\n\n// Model Arrays - grouped by domain\nexport const USER_MODELS = [\n PersistedUser,\n UserBadges,\n UserStreak,\n UsersFriends,\n UserCoach,\n UserDiscount,\n UserOptions,\n UserAddons,\n DeviceTokens,\n];\n\nexport const SUBSCRIPTION_MODELS = [Subscription, SubscriptionLog ,SubscriptionEvent, SubscriptionRefund];\n\nexport const PROGRAM_MODELS = [\n Program,\n Workout,\n Exercise,\n ExercisesModels,\n Superset,\n ProgressEntry,\n RestDay,\n WorkoutSession,\n Challenge,\n ChallengeBlueprint,\n UserChallenge,\n TranslatedChallenge,\n ThirtyDayChallenge,\n ThirtyDayChallengeStrengthTest,\n StrengthTest,\n StrengthTestExercise,\n StrengthTestSession,\n UserStrengthTests,\n TranslatedStrengthTest,\n TranslatedStrengthTestExercise,\n TranslatedExerciseModel,\n CustomProgramBlueprint,\n CustomWorkoutBlueprint,\n CustomStrengthTest,\n CustomStrengthTestExercise,\n WorkoutCompletion,\n CircularProgramDraft,\n];\n\nexport const NON_CONSUMABLE_PROGRAM_MODELS = [\n NonConsumableProgram,\n NonConsumableProgramWebContent,\n UserPrograms,\n TranslatedConsumableProgram,\n TranslatedNonConsumableProgramWebContent,\n];\n\nexport const DIET_MODELS = [\n DietProgram,\n DietDay,\n DietMeal,\n DietMealRecipe,\n DietMealRecipeIngredient,\n DietMealCompletion,\n Recipe,\n TranslatedRecipe,\n RecipeTag,\n TranslatedRecipeTag,\n RecipeTags,\n TranslatedRecipeTags,\n ShoppingList,\n ShoppingListItem,\n UserDietPreferences,\n Ingredient,\n IngredientTag,\n IngredientTags,\n RecipeIngredient,\n];\n\nexport const COACHING_MODELS = [\n WeeklyCheckin,\n WeightRecord,\n Questionnaire,\n Question,\n Answer,\n QuestionnaireResponse,\n ClientTag,\n ClientNote,\n];\n\nexport const GAMIFICATION_MODELS = [\n Badge,\n TranslatedBadge,\n StreaksLog,\n XpEvent,\n XpTransaction,\n UserRankHistory,\n];\n\nexport const NOTIFICATION_MODELS = [NotificationModels, TranslatedNotification];\n\n// All core models combined\nexport const ALL_CORE_MODELS = [\n ...USER_MODELS,\n ...SUBSCRIPTION_MODELS,\n ...PROGRAM_MODELS,\n ...NON_CONSUMABLE_PROGRAM_MODELS,\n ...DIET_MODELS,\n ...COACHING_MODELS,\n ...GAMIFICATION_MODELS,\n ...NOTIFICATION_MODELS,\n];\n"],"names":["SubscriptionEvent","PersistedUser","UserBadges","UserStreak","UsersFriends","UserCoach","UserDiscount","UserOptions","UserAddons","DeviceTokens","Subscription","SubscriptionLog","SubscriptionRefund","Program","Workout","Exercise","ExercisesModels","Superset","ProgressEntry","RestDay","WorkoutSession","Challenge","ChallengeBlueprint","UserChallenge","TranslatedChallenge","ThirtyDayChallenge","ThirtyDayChallengeStrengthTest","StrengthTest","StrengthTestExercise","StrengthTestSession","UserStrengthTests","TranslatedStrengthTest","TranslatedStrengthTestExercise","TranslatedExerciseModel","CustomProgramBlueprint","CustomWorkoutBlueprint","CustomStrengthTest","CustomStrengthTestExercise","WorkoutCompletion","CircularProgramDraft","NonConsumableProgram","NonConsumableProgramWebContent","UserPrograms","TranslatedConsumableProgram","TranslatedNonConsumableProgramWebContent","DietProgram","DietDay","DietMeal","DietMealRecipe","DietMealRecipeIngredient","DietMealCompletion","Recipe","TranslatedRecipe","RecipeTag","TranslatedRecipeTag","RecipeTags","TranslatedRecipeTags","ShoppingList","ShoppingListItem","UserDietPreferences","Ingredient","IngredientTag","IngredientTags","RecipeIngredient","WeeklyCheckin","WeightRecord","Questionnaire","QuestionnaireType","Question","QuestionType","Answer","QuestionnaireResponse","ClientTag","ClientNote","Badge","TranslatedBadge","StreaksLog","XpEvent","XpTransaction","UserRankHistory","NotificationModels","TranslatedNotification","USER_MODELS","SUBSCRIPTION_MODELS","PROGRAM_MODELS","NON_CONSUMABLE_PROGRAM_MODELS","DIET_MODELS","COACHING_MODELS","GAMIFICATION_MODELS","NOTIFICATION_MODELS","ALL_CORE_MODELS"],"mappings":"AAAA,cAAc;AACd,SAAQA,iBAAiB,QAAO,sCAAsC;AAEtE,SAASC,aAAa,QAAQ,0BAA0B;AACxD,SAASC,UAAU,QAAQ,uBAAuB;AAClD,SAASC,UAAU,QAAQ,wBAAwB;AACnD,SAASC,YAAY,QAAQ,yBAAyB;AACtD,SAASC,SAAS,QAAQ,sBAAsB;AAChD,SAASC,YAAY,QAAQ,yBAAyB;AACtD,SAASC,WAAW,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,MAAMwB,kBAAkB;IAC3BvB;IACAC;IACAC;IACAE;IACAE;IACAC;IACAC;IACAC;CACH,CAAC;AAEF,OAAO,MAAMe,sBAAsB;IAC/Bd;IACAC;IACAC;IACAC;IACAC;IACAC;CACH,CAAC;AAEF,OAAO,MAAMU,sBAAsB;IAACT;IAAoBC;CAAuB,CAAC;AAEhF,2BAA2B;AAC3B,OAAO,MAAMS,kBAAkB;OACxBR;OACAC;OACAC;OACAC;OACAC;OACAC;OACAC;OACAC;CACN,CAAC"}
|
|
1
|
+
{"version":3,"sources":["../../../src/lib/dbmodels/index.ts"],"sourcesContent":["// User Models\nimport {SubscriptionEvent} from \"./subscription/SubscriptionEvent.js\";\n\nexport { PersistedUser } from \"./user/PersistedUser.js\";\nexport { UserBadges } from \"./user/UserBadges.js\";\nexport { UserStreak } from \"./user/UserStreaks.js\";\nexport { UsersFriends } from \"./user/UsersFriends.js\";\nexport { UserCoach } from \"./user/UserCoach.js\";\nexport { UserDiscount } from \"./user/UserDiscount.js\";\nexport { UserOptions } from \"./user/UserOptions.js\";\nexport { UserAddons } from \"./user/UserAddons.js\";\nexport { DeviceTokens } from \"./user/DeviceTokens.js\";\n\n// Subscription Models\nexport { Subscription } from \"./subscription/Subscription.js\";\nexport { SubscriptionLog } from \"./subscription/SubscriptionLog.js\";\nexport { SubscriptionEvent } from \"./subscription/SubscriptionEvent.js\";\nexport { SubscriptionRefund } from \"./subscription/SubscriptionRefund.js\";\n\n// Program Models\nexport { Program } from \"./program/Program.js\";\nexport { Workout } from \"./program/Workout.js\";\nexport { Exercise } from \"./program/Exercise.js\";\nexport { ExercisesModels } from \"./program/ExerciseModels.js\";\nexport { Superset } from \"./program/Superset.js\";\nexport { ProgressEntry } from \"./program/ProgressEntry.js\";\nexport { RestDay } from \"./program/RestDay.js\";\nexport { WorkoutSession } from \"./program/WorkoutSession.js\";\nexport { Challenge } from \"./program/Challenge.js\";\nexport { ChallengeBlueprint } from \"./program/ChallengeBlueprint.js\";\nexport { UserChallenge } from \"./program/UserChallenge.js\";\nexport { TranslatedChallenge } from \"./program/TranslatedChallenge.js\";\nexport { ThirtyDayChallenge } from \"./program/ThirtyDayChallenge.js\";\nexport { ThirtyDayChallengeStrengthTest } from \"./program/ThirtyDayChallengeStrengthTest.js\";\nexport { StrengthTest } from \"./program/StrengthTest.js\";\nexport { StrengthTestExercise } from \"./program/StrengthTestExercise.js\";\nexport { StrengthTestSession } from \"./program/StrengthTestSession.js\";\nexport { UserStrengthTests } from \"./program/UserStrengthTests.js\";\nexport { TranslatedStrengthTest } from \"./program/TranslatedStrengthTest.js\";\nexport { TranslatedStrengthTestExercise } from \"./program/TranslatedStrengthTestExercise.js\";\nexport { TranslatedExerciseModel } from \"./program/TranslatedExerciseModel.js\";\nexport { CustomProgramBlueprint } from \"./program/CustomProgramBlueprint.js\";\nexport { CustomWorkoutBlueprint } from \"./program/CustomWorkoutBlueprint.js\";\nexport { CustomStrengthTest } from \"./program/CustomStrengthTest.js\";\nexport { CustomStrengthTestExercise } from \"./program/CustomStrengthTestExercises.js\";\nexport { WorkoutCompletion } from \"./program/WorkoutCompletion.js\";\nexport type { ExerciseSnapshot } from \"./program/WorkoutCompletion.js\";\nexport { CircularProgramDraft } from \"./program/CircularProgramDraft.js\";\nexport type {\n CircularProgramDraftData,\n DraftDay,\n DraftWorkout,\n DraftExercise,\n DraftSuperset,\n DraftRestDay,\n DraftStrengthTest,\n DraftChallenge,\n DraftStatus\n} from \"./program/CircularProgramDraft.js\";\nexport { CoachExerciseNote } from \"./program/CoachExerciseNote.js\";\n\n// Non-Consumable Program Models\nexport { NonConsumableProgram } from \"./nonconsprogram/NonConsumableProgram.js\";\nexport { NonConsumableProgramWebContent } from \"./nonconsprogram/NonConsumableProgramWebContent.js\";\nexport { UserPrograms } from \"./nonconsprogram/UserNonConsumableProgram.js\";\nexport { TranslatedConsumableProgram } from \"./nonconsprogram/TranslatedConsumableProgram.js\";\nexport { TranslatedNonConsumableProgramWebContent } from \"./nonconsprogram/TranslatedNonConsumableProgramWebContent.js\";\n\n// Diet & Nutrition Models\nexport { DietProgram } from \"./diet/DietProgram.js\";\nexport { DietDay } from \"./diet/DietDay.js\";\nexport { DietMeal } from \"./diet/DietMeal.js\";\nexport { DietMealRecipe } from \"./diet/DietMealRecipe.js\";\nexport { DietMealRecipeIngredient } from \"./diet/DietMealRecipeIngredient.js\";\nexport { DietMealCompletion } from \"./diet/DietMealCompletion.js\";\nexport { Recipe, type RecipeAttributes, type RecipeCreationAttributes } from \"./diet/Recipe.js\";\nexport { TranslatedRecipe } from \"./diet/TranslatedRecipe.js\";\nexport { RecipeTag } from \"./diet/RecipeTag.js\";\nexport { TranslatedRecipeTag } from \"./diet/TranslatedRecipeTag.js\";\nexport { RecipeTags } from \"./diet/RecipeTags.js\";\nexport { TranslatedRecipeTags } from \"./diet/TranslatedRecipeTags.js\";\nexport { ShoppingList } from \"./diet/ShoppingList.js\";\nexport { ShoppingListItem } from \"./diet/ShoppingListItem.js\";\nexport { UserDietPreferences } from \"./diet/UserDietPreferences.js\";\nexport { Ingredient } from \"./diet/Ingredient.js\";\nexport { IngredientTag } from \"./diet/IngredientTag.js\";\nexport { IngredientTags } from \"./diet/IngredientTags.js\";\nexport { RecipeIngredient, type RecipeIngredientAttributes, type RecipeIngredientCreationAttributes } from \"./diet/RecipeIngredient.js\";\n\n// Coaching Models\nexport { WeeklyCheckin } from \"./coaching/WeeklyCheckIn.js\";\nexport { WeightRecord } from \"./coaching/WeightRecord.js\";\nexport { Questionnaire, QuestionnaireType } from \"./coaching/Questionnaire.js\";\nexport { Question, QuestionType } from \"./coaching/Question.js\";\nexport { Answer } from \"./coaching/Answer.js\";\nexport { QuestionnaireResponse } from \"./coaching/QuestionnaireResponse.js\";\nexport { ClientTag } from \"./coaching/ClientTag.js\";\nexport { ClientNote } from \"./coaching/ClientNote.js\";\n\n// Gamification Models\nexport { Badge } from \"./gamification/Badge.js\";\nexport { TranslatedBadge } from \"./gamification/TranslatedBadge.js\";\nexport { StreaksLog } from \"./gamification/StreaksLog.js\";\nexport { XpEvent } from \"./gamification/xpAndLeaderboards/XpEvent.js\";\nexport { XpTransaction } from \"./gamification/xpAndLeaderboards/XpTransaction.js\";\nexport { UserRankHistory } from \"./gamification/xpAndLeaderboards/UserRankHistory.js\";\n\n// Notification Models\nexport { NotificationModels } from \"./notifications/NotificationModels.js\";\nexport { TranslatedNotification } from \"./notifications/TranslatedNotification.js\";\n\n// Import for model arrays\nimport { PersistedUser } from \"./user/PersistedUser.js\";\nimport { UserBadges } from \"./user/UserBadges.js\";\nimport { UserStreak } from \"./user/UserStreaks.js\";\nimport { UsersFriends } from \"./user/UsersFriends.js\";\nimport { UserCoach } from \"./user/UserCoach.js\";\nimport { UserDiscount } from \"./user/UserDiscount.js\";\nimport { UserOptions } from \"./user/UserOptions.js\";\nimport { UserAddons } from \"./user/UserAddons.js\";\nimport { DeviceTokens } from \"./user/DeviceTokens.js\";\nimport { Subscription } from \"./subscription/Subscription.js\";\nimport { SubscriptionLog } from \"./subscription/SubscriptionLog.js\";\nimport { Program } from \"./program/Program.js\";\nimport { Workout } from \"./program/Workout.js\";\nimport { Exercise } from \"./program/Exercise.js\";\nimport { ExercisesModels } from \"./program/ExerciseModels.js\";\nimport { Superset } from \"./program/Superset.js\";\nimport { ProgressEntry } from \"./program/ProgressEntry.js\";\nimport { RestDay } from \"./program/RestDay.js\";\nimport { WorkoutSession } from \"./program/WorkoutSession.js\";\nimport { Challenge } from \"./program/Challenge.js\";\nimport { ChallengeBlueprint } from \"./program/ChallengeBlueprint.js\";\nimport { UserChallenge } from \"./program/UserChallenge.js\";\nimport { TranslatedChallenge } from \"./program/TranslatedChallenge.js\";\nimport { ThirtyDayChallenge } from \"./program/ThirtyDayChallenge.js\";\nimport { ThirtyDayChallengeStrengthTest } from \"./program/ThirtyDayChallengeStrengthTest.js\";\nimport { StrengthTest } from \"./program/StrengthTest.js\";\nimport { StrengthTestExercise } from \"./program/StrengthTestExercise.js\";\nimport { StrengthTestSession } from \"./program/StrengthTestSession.js\";\nimport { UserStrengthTests } from \"./program/UserStrengthTests.js\";\nimport { TranslatedStrengthTest } from \"./program/TranslatedStrengthTest.js\";\nimport { TranslatedStrengthTestExercise } from \"./program/TranslatedStrengthTestExercise.js\";\nimport { TranslatedExerciseModel } from \"./program/TranslatedExerciseModel.js\";\nimport { CustomProgramBlueprint } from \"./program/CustomProgramBlueprint.js\";\nimport { CustomWorkoutBlueprint } from \"./program/CustomWorkoutBlueprint.js\";\nimport { CustomStrengthTest } from \"./program/CustomStrengthTest.js\";\nimport { CustomStrengthTestExercise } from \"./program/CustomStrengthTestExercises.js\";\nimport { WorkoutCompletion } from \"./program/WorkoutCompletion.js\";\nimport { CircularProgramDraft } from \"./program/CircularProgramDraft.js\";\nimport { CoachExerciseNote } from \"./program/CoachExerciseNote.js\";\nimport { NonConsumableProgram } from \"./nonconsprogram/NonConsumableProgram.js\";\nimport { NonConsumableProgramWebContent } from \"./nonconsprogram/NonConsumableProgramWebContent.js\";\nimport { UserPrograms } from \"./nonconsprogram/UserNonConsumableProgram.js\";\nimport { TranslatedConsumableProgram } from \"./nonconsprogram/TranslatedConsumableProgram.js\";\nimport { TranslatedNonConsumableProgramWebContent } from \"./nonconsprogram/TranslatedNonConsumableProgramWebContent.js\";\nimport { DietProgram } from \"./diet/DietProgram.js\";\nimport { DietDay } from \"./diet/DietDay.js\";\nimport { DietMeal } from \"./diet/DietMeal.js\";\nimport { DietMealRecipe } from \"./diet/DietMealRecipe.js\";\nimport { DietMealRecipeIngredient } from \"./diet/DietMealRecipeIngredient.js\";\nimport { DietMealCompletion } from \"./diet/DietMealCompletion.js\";\nimport { Recipe } from \"./diet/Recipe.js\";\nimport { TranslatedRecipe } from \"./diet/TranslatedRecipe.js\";\nimport { RecipeTag } from \"./diet/RecipeTag.js\";\nimport { TranslatedRecipeTag } from \"./diet/TranslatedRecipeTag.js\";\nimport { RecipeTags } from \"./diet/RecipeTags.js\";\nimport { TranslatedRecipeTags } from \"./diet/TranslatedRecipeTags.js\";\nimport { ShoppingList } from \"./diet/ShoppingList.js\";\nimport { ShoppingListItem } from \"./diet/ShoppingListItem.js\";\nimport { UserDietPreferences } from \"./diet/UserDietPreferences.js\";\nimport { Ingredient } from \"./diet/Ingredient.js\";\nimport { IngredientTag } from \"./diet/IngredientTag.js\";\nimport { IngredientTags } from \"./diet/IngredientTags.js\";\nimport { RecipeIngredient } from \"./diet/RecipeIngredient.js\";\nimport { WeeklyCheckin } from \"./coaching/WeeklyCheckIn.js\";\nimport { WeightRecord } from \"./coaching/WeightRecord.js\";\nimport { Questionnaire } from \"./coaching/Questionnaire.js\";\nimport { Question } from \"./coaching/Question.js\";\nimport { Answer } from \"./coaching/Answer.js\";\nimport { QuestionnaireResponse } from \"./coaching/QuestionnaireResponse.js\";\nimport { ClientTag } from \"./coaching/ClientTag.js\";\nimport { ClientNote } from \"./coaching/ClientNote.js\";\nimport { Badge } from \"./gamification/Badge.js\";\nimport { TranslatedBadge } from \"./gamification/TranslatedBadge.js\";\nimport { StreaksLog } from \"./gamification/StreaksLog.js\";\nimport { XpEvent } from \"./gamification/xpAndLeaderboards/XpEvent.js\";\nimport { XpTransaction } from \"./gamification/xpAndLeaderboards/XpTransaction.js\";\nimport { UserRankHistory } from \"./gamification/xpAndLeaderboards/UserRankHistory.js\";\nimport { NotificationModels } from \"./notifications/NotificationModels.js\";\nimport { TranslatedNotification } from \"./notifications/TranslatedNotification.js\";\nimport {SubscriptionRefund} from \"./subscription/SubscriptionRefund.js\";\n\n\n// Model Arrays - grouped by domain\nexport const USER_MODELS = [\n PersistedUser,\n UserBadges,\n UserStreak,\n UsersFriends,\n UserCoach,\n UserDiscount,\n UserOptions,\n UserAddons,\n DeviceTokens,\n];\n\nexport const SUBSCRIPTION_MODELS = [Subscription, SubscriptionLog ,SubscriptionEvent, SubscriptionRefund];\n\nexport const PROGRAM_MODELS = [\n Program,\n Workout,\n Exercise,\n ExercisesModels,\n Superset,\n ProgressEntry,\n RestDay,\n WorkoutSession,\n Challenge,\n ChallengeBlueprint,\n UserChallenge,\n TranslatedChallenge,\n ThirtyDayChallenge,\n ThirtyDayChallengeStrengthTest,\n StrengthTest,\n StrengthTestExercise,\n StrengthTestSession,\n UserStrengthTests,\n TranslatedStrengthTest,\n TranslatedStrengthTestExercise,\n TranslatedExerciseModel,\n CustomProgramBlueprint,\n CustomWorkoutBlueprint,\n CustomStrengthTest,\n CustomStrengthTestExercise,\n WorkoutCompletion,\n CircularProgramDraft,\n CoachExerciseNote,\n];\n\nexport const NON_CONSUMABLE_PROGRAM_MODELS = [\n NonConsumableProgram,\n NonConsumableProgramWebContent,\n UserPrograms,\n TranslatedConsumableProgram,\n TranslatedNonConsumableProgramWebContent,\n];\n\nexport const DIET_MODELS = [\n DietProgram,\n DietDay,\n DietMeal,\n DietMealRecipe,\n DietMealRecipeIngredient,\n DietMealCompletion,\n Recipe,\n TranslatedRecipe,\n RecipeTag,\n TranslatedRecipeTag,\n RecipeTags,\n TranslatedRecipeTags,\n ShoppingList,\n ShoppingListItem,\n UserDietPreferences,\n Ingredient,\n IngredientTag,\n IngredientTags,\n RecipeIngredient,\n];\n\nexport const COACHING_MODELS = [\n WeeklyCheckin,\n WeightRecord,\n Questionnaire,\n Question,\n Answer,\n QuestionnaireResponse,\n ClientTag,\n ClientNote,\n];\n\nexport const GAMIFICATION_MODELS = [\n Badge,\n TranslatedBadge,\n StreaksLog,\n XpEvent,\n XpTransaction,\n UserRankHistory,\n];\n\nexport const NOTIFICATION_MODELS = [NotificationModels, TranslatedNotification];\n\n// All core models combined\nexport const ALL_CORE_MODELS = [\n ...USER_MODELS,\n ...SUBSCRIPTION_MODELS,\n ...PROGRAM_MODELS,\n ...NON_CONSUMABLE_PROGRAM_MODELS,\n ...DIET_MODELS,\n ...COACHING_MODELS,\n ...GAMIFICATION_MODELS,\n ...NOTIFICATION_MODELS,\n];\n"],"names":["SubscriptionEvent","PersistedUser","UserBadges","UserStreak","UsersFriends","UserCoach","UserDiscount","UserOptions","UserAddons","DeviceTokens","Subscription","SubscriptionLog","SubscriptionRefund","Program","Workout","Exercise","ExercisesModels","Superset","ProgressEntry","RestDay","WorkoutSession","Challenge","ChallengeBlueprint","UserChallenge","TranslatedChallenge","ThirtyDayChallenge","ThirtyDayChallengeStrengthTest","StrengthTest","StrengthTestExercise","StrengthTestSession","UserStrengthTests","TranslatedStrengthTest","TranslatedStrengthTestExercise","TranslatedExerciseModel","CustomProgramBlueprint","CustomWorkoutBlueprint","CustomStrengthTest","CustomStrengthTestExercise","WorkoutCompletion","CircularProgramDraft","CoachExerciseNote","NonConsumableProgram","NonConsumableProgramWebContent","UserPrograms","TranslatedConsumableProgram","TranslatedNonConsumableProgramWebContent","DietProgram","DietDay","DietMeal","DietMealRecipe","DietMealRecipeIngredient","DietMealCompletion","Recipe","TranslatedRecipe","RecipeTag","TranslatedRecipeTag","RecipeTags","TranslatedRecipeTags","ShoppingList","ShoppingListItem","UserDietPreferences","Ingredient","IngredientTag","IngredientTags","RecipeIngredient","WeeklyCheckin","WeightRecord","Questionnaire","QuestionnaireType","Question","QuestionType","Answer","QuestionnaireResponse","ClientTag","ClientNote","Badge","TranslatedBadge","StreaksLog","XpEvent","XpTransaction","UserRankHistory","NotificationModels","TranslatedNotification","USER_MODELS","SUBSCRIPTION_MODELS","PROGRAM_MODELS","NON_CONSUMABLE_PROGRAM_MODELS","DIET_MODELS","COACHING_MODELS","GAMIFICATION_MODELS","NOTIFICATION_MODELS","ALL_CORE_MODELS"],"mappings":"AAAA,cAAc;AACd,SAAQA,iBAAiB,QAAO,sCAAsC;AAEtE,SAASC,aAAa,QAAQ,0BAA0B;AACxD,SAASC,UAAU,QAAQ,uBAAuB;AAClD,SAASC,UAAU,QAAQ,wBAAwB;AACnD,SAASC,YAAY,QAAQ,yBAAyB;AACtD,SAASC,SAAS,QAAQ,sBAAsB;AAChD,SAASC,YAAY,QAAQ,yBAAyB;AACtD,SAASC,WAAW,QAAQ,wBAAwB;AACpD,SAASC,U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;IACAC;IACAC;IACAC;IACAC;IACAC;CACH,CAAC;AAEF,OAAO,MAAMwB,kBAAkB;IAC3BvB;IACAC;IACAC;IACAE;IACAE;IACAC;IACAC;IACAC;CACH,CAAC;AAEF,OAAO,MAAMe,sBAAsB;IAC/Bd;IACAC;IACAC;IACAC;IACAC;IACAC;CACH,CAAC;AAEF,OAAO,MAAMU,sBAAsB;IAACT;IAAoBC;CAAuB,CAAC;AAEhF,2BAA2B;AAC3B,OAAO,MAAMS,kBAAkB;OACxBR;OACAC;OACAC;OACAC;OACAC;OACAC;OACAC;OACAC;CACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CircularProgramDraft.d.ts","sourceRoot":"","sources":["../../../../src/lib/dbmodels/program/CircularProgramDraft.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,EAMN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,CAAC;AAE7D,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"CircularProgramDraft.d.ts","sourceRoot":"","sources":["../../../../src/lib/dbmodels/program/CircularProgramDraft.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,EAMN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,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WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IAGzB,SAAS,EAAE,sBAAsB,CAAC;IAGlC,gBAAgB,EAAE,OAAO,CAAC;CACnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/dbmodels/program/CircularProgramDraft.ts"],"sourcesContent":["import {\n Table,\n Column,\n Model,\n DataType,\n Default,\n ForeignKey,\n Index,\n BelongsTo,\n} from \"sequelize-typescript\";\nimport { Program } from \"./Program.js\";\nimport { CustomProgramBlueprint } from \"./CustomProgramBlueprint.js\";\n\nexport type DraftStatus = \"draft\" | \"published\" | \"archived\";\n\nexport interface DraftExercise {\n uuid: string;\n name: string;\n sets: number;\n reps: string;\n order: number;\n restTime?: string | number | null;\n supersetUuid?: string | null;\n thumbnailUrl?: string | null;\n}\n\nexport interface DraftSuperset {\n uuid: string;\n startPosition: number;\n exercises: Omit<DraftExercise, \"supersetUuid\">[];\n}\n\nexport interface DraftWorkout {\n uuid: string;\n title: string;\n duration: string;\n order: number;\n exercises: DraftExercise[];\n supersets: DraftSuperset[];\n}\n\nexport interface DraftRestDay {\n uuid: string;\n order: number;\n}\n\nexport interface DraftStrengthTestExercise {\n uuid: string;\n title: string;\n url: string;\n pointer: string;\n timerTime: string;\n order: number;\n}\n\nexport interface DraftStrengthTest {\n uuid: string;\n type: string;\n order: number;\n exercises: DraftStrengthTestExercise[];\n}\n\nexport interface DraftChallenge {\n uuid: string;\n title: string;\n order: number;\n progress: any[];\n}\n\n// Individual day types for internal use\nexport interface DraftDay {\n uuid: string;\n type: \"Workout\" | \"ActiveRestDay\" | \"StrengthTest\" | \"Challenge\";\n templateIndex: number; // order in the program sequence\n isFinished?: boolean;\n\n // Workout-specific fields\n title?: string;\n duration?: string;\n order?: number; // workout order (same as templateIndex)\n programId?: string; // reference to program\n exercise?: DraftExercise[];\n superset?: DraftSuperset[];\n\n // StrengthTest-specific fields\n strengthTestExercise?: DraftStrengthTestExercise[];\n\n // Challenge-specific fields\n progress?: any[];\n restDayUuid?: string;\n}\n\n// Main draft data structure - matches getUniqueProgram format\nexport interface CircularProgramDraftData {\n startDate: string;\n days: DraftDay[]; // Flat array of all days, sorted by templateIndex\n}\n\n@Table({ tableName: \"CircularProgramDrafts\", timestamps: true })\nexport class CircularProgramDraft extends Model {\n @Default(DataType.UUIDV4)\n @Column({\n type: DataType.UUID,\n primaryKey: true,\n allowNull: false,\n })\n declare uuid: string;\n\n @ForeignKey(() => CustomProgramBlueprint)\n @Column({\n type: DataType.UUID,\n allowNull: true,\n })\n declare blueprintUuid: string | null;\n\n @ForeignKey(() => Program)\n @Index\n @Column({\n type: DataType.UUID,\n allowNull: true,\n })\n declare publishedProgramId: string | null;\n\n @Index\n @Column({\n type: DataType.UUID,\n allowNull: false,\n })\n declare userUuid: string;\n\n @Index\n @Column({\n type: DataType.UUID,\n allowNull: false,\n })\n declare createdByCoachUuid: string;\n\n @Column({\n type: DataType.JSONB,\n allowNull: false,\n })\n declare draftData: CircularProgramDraftData;\n\n @Index\n @Column({\n type: DataType.ENUM(\"draft\", \"published\", \"archived\"),\n allowNull: false,\n defaultValue: \"draft\",\n })\n declare status: DraftStatus;\n\n @Column({\n type: DataType.DATE,\n allowNull: true,\n })\n declare publishedAt: Date | null;\n\n @BelongsTo(() => CustomProgramBlueprint)\n declare blueprint: CustomProgramBlueprint;\n\n @BelongsTo(() => Program)\n declare publishedProgram: Program;\n}\n"],"names":["Table","Column","Model","DataType","Default","ForeignKey","Index","BelongsTo","Program","CustomProgramBlueprint","CircularProgramDraft","UUIDV4","type","UUID","primaryKey","allowNull","JSONB","ENUM","defaultValue","DATE","tableName","timestamps"],"mappings":";;;;;;AAAA,SACEA,KAAK,EACLC,MAAM,EACNC,KAAK,EACLC,QAAQ,EACRC,OAAO,EACPC,UAAU,EACVC,KAAK,EACLC,SAAS,QACJ,uBAAuB;AAC9B,SAASC,OAAO,QAAQ,eAAe;AACvC,SAASC,sBAAsB,QAAQ,8BAA8B;
|
|
1
|
+
{"version":3,"sources":["../../../../src/lib/dbmodels/program/CircularProgramDraft.ts"],"sourcesContent":["import {\n Table,\n Column,\n Model,\n DataType,\n Default,\n ForeignKey,\n Index,\n BelongsTo,\n} from \"sequelize-typescript\";\nimport { Program } from \"./Program.js\";\nimport { CustomProgramBlueprint } from \"./CustomProgramBlueprint.js\";\n\nexport type DraftStatus = \"draft\" | \"published\" | \"archived\";\n\nexport interface DraftExercise {\n uuid: string;\n name: string;\n sets: number;\n reps: string;\n order: number;\n restTime?: string | number | null;\n supersetUuid?: string | null;\n thumbnailUrl?: string | null;\n coachNote?: string | null;\n}\n\nexport interface DraftSuperset {\n uuid: string;\n startPosition: number;\n exercises: Omit<DraftExercise, \"supersetUuid\">[];\n}\n\nexport interface DraftWorkout {\n uuid: string;\n title: string;\n duration: string;\n order: number;\n exercises: DraftExercise[];\n supersets: DraftSuperset[];\n}\n\nexport interface DraftRestDay {\n uuid: string;\n order: number;\n}\n\nexport interface DraftStrengthTestExercise {\n uuid: string;\n title: string;\n url: string;\n pointer: string;\n timerTime: string;\n order: number;\n}\n\nexport interface DraftStrengthTest {\n uuid: string;\n type: string;\n order: number;\n exercises: DraftStrengthTestExercise[];\n}\n\nexport interface DraftChallenge {\n uuid: string;\n title: string;\n order: number;\n progress: any[];\n}\n\n// Individual day types for internal use\nexport interface DraftDay {\n uuid: string;\n type: \"Workout\" | \"ActiveRestDay\" | \"StrengthTest\" | \"Challenge\";\n templateIndex: number; // order in the program sequence\n isFinished?: boolean;\n\n // Workout-specific fields\n title?: string;\n duration?: string;\n order?: number; // workout order (same as templateIndex)\n programId?: string; // reference to program\n exercise?: DraftExercise[];\n superset?: DraftSuperset[];\n\n // StrengthTest-specific fields\n strengthTestExercise?: DraftStrengthTestExercise[];\n\n // Challenge-specific fields\n progress?: any[];\n restDayUuid?: string;\n}\n\n// Main draft data structure - matches getUniqueProgram format\nexport interface CircularProgramDraftData {\n startDate: string;\n days: DraftDay[]; // Flat array of all days, sorted by templateIndex\n}\n\n@Table({ tableName: \"CircularProgramDrafts\", timestamps: true })\nexport class CircularProgramDraft extends Model {\n @Default(DataType.UUIDV4)\n @Column({\n type: DataType.UUID,\n primaryKey: true,\n allowNull: false,\n })\n declare uuid: string;\n\n @ForeignKey(() => CustomProgramBlueprint)\n @Column({\n type: DataType.UUID,\n allowNull: true,\n })\n declare blueprintUuid: string | null;\n\n @ForeignKey(() => Program)\n @Index\n @Column({\n type: DataType.UUID,\n allowNull: true,\n })\n declare publishedProgramId: string | null;\n\n @Index\n @Column({\n type: DataType.UUID,\n allowNull: false,\n })\n declare userUuid: string;\n\n @Index\n @Column({\n type: DataType.UUID,\n allowNull: false,\n })\n declare createdByCoachUuid: string;\n\n @Column({\n type: DataType.JSONB,\n allowNull: false,\n })\n declare draftData: CircularProgramDraftData;\n\n @Index\n @Column({\n type: DataType.ENUM(\"draft\", \"published\", \"archived\"),\n allowNull: false,\n defaultValue: \"draft\",\n })\n declare status: DraftStatus;\n\n @Column({\n type: DataType.DATE,\n allowNull: true,\n })\n declare publishedAt: Date | null;\n\n @BelongsTo(() => CustomProgramBlueprint)\n declare blueprint: CustomProgramBlueprint;\n\n @BelongsTo(() => Program)\n declare publishedProgram: Program;\n}\n"],"names":["Table","Column","Model","DataType","Default","ForeignKey","Index","BelongsTo","Program","CustomProgramBlueprint","CircularProgramDraft","UUIDV4","type","UUID","primaryKey","allowNull","JSONB","ENUM","defaultValue","DATE","tableName","timestamps"],"mappings":";;;;;;AAAA,SACEA,KAAK,EACLC,MAAM,EACNC,KAAK,EACLC,QAAQ,EACRC,OAAO,EACPC,UAAU,EACVC,KAAK,EACLC,SAAS,QACJ,uBAAuB;AAC9B,SAASC,OAAO,QAAQ,eAAe;AACvC,SAASC,sBAAsB,QAAQ,8BAA8B;AAyFrE,OAAO,MAAMC,6BAA6BR;AA+D1C;;qBA9DoBS;;QAEhBC,MAAMT,SAASU,IAAI;QACnBC,YAAY;QACZC,WAAW;;;;mBAIKN;;QAEhBG,MAAMT,SAASU,IAAI;QACnBE,WAAW;;;;mBAIKP;;;QAGhBI,MAAMT,SAASU,IAAI;QACnBE,WAAW;;;;;;QAMXH,MAAMT,SAASU,IAAI;QACnBE,WAAW;;;;;;QAMXH,MAAMT,SAASU,IAAI;QACnBE,WAAW;;;;;QAKXH,MAAMT,SAASa,KAAK;QACpBD,WAAW;;;;;;QAMXH,MAAMT,SAASc,IAAI,CAAC,SAAS,aAAa;QAC1CF,WAAW;QACXG,cAAc;;;;;QAKdN,MAAMT,SAASgB,IAAI;QACnBJ,WAAW;;;;kBAIIN;;;kBAGAD;;;;QA9DVY,WAAW;QAAyBC,YAAY"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
import { ExercisesModels } from './ExerciseModels.js';
|
|
3
|
+
import { PersistedUser } from '../user/PersistedUser.js';
|
|
4
|
+
export declare class CoachExerciseNote extends Model {
|
|
5
|
+
uuid: string;
|
|
6
|
+
coachUuid: string;
|
|
7
|
+
exerciseModelUuid: string;
|
|
8
|
+
note: string;
|
|
9
|
+
coach: PersistedUser;
|
|
10
|
+
exerciseModel: ExercisesModels;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=CoachExerciseNote.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoachExerciseNote.d.ts","sourceRoot":"","sources":["../../../../src/lib/dbmodels/program/CoachExerciseNote.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,EAEN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,qBAUa,iBAAkB,SAAQ,KAAK;IAMlC,IAAI,EAAE,MAAM,CAAC;IAIb,SAAS,EAAE,MAAM,CAAC;IAIlB,iBAAiB,EAAE,MAAM,CAAC;IAG1B,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,aAAa,CAAC;IAGrB,aAAa,EAAE,eAAe,CAAC;CACxC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
function _ts_decorate(decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
}
|
|
7
|
+
import { BelongsTo, Column, DataType, Default, ForeignKey, Model, Table } from "sequelize-typescript";
|
|
8
|
+
import { ExercisesModels } from "./ExerciseModels.js";
|
|
9
|
+
import { PersistedUser } from "../user/PersistedUser.js";
|
|
10
|
+
export class CoachExerciseNote extends Model {
|
|
11
|
+
}
|
|
12
|
+
_ts_decorate([
|
|
13
|
+
Default(DataType.UUIDV4),
|
|
14
|
+
Column({
|
|
15
|
+
type: DataType.UUID,
|
|
16
|
+
primaryKey: true
|
|
17
|
+
})
|
|
18
|
+
], CoachExerciseNote.prototype, "uuid", void 0);
|
|
19
|
+
_ts_decorate([
|
|
20
|
+
ForeignKey(()=>PersistedUser),
|
|
21
|
+
Column({
|
|
22
|
+
type: DataType.UUID,
|
|
23
|
+
allowNull: false
|
|
24
|
+
})
|
|
25
|
+
], CoachExerciseNote.prototype, "coachUuid", void 0);
|
|
26
|
+
_ts_decorate([
|
|
27
|
+
ForeignKey(()=>ExercisesModels),
|
|
28
|
+
Column({
|
|
29
|
+
type: DataType.UUID,
|
|
30
|
+
allowNull: false
|
|
31
|
+
})
|
|
32
|
+
], CoachExerciseNote.prototype, "exerciseModelUuid", void 0);
|
|
33
|
+
_ts_decorate([
|
|
34
|
+
Column({
|
|
35
|
+
type: DataType.TEXT,
|
|
36
|
+
allowNull: false
|
|
37
|
+
})
|
|
38
|
+
], CoachExerciseNote.prototype, "note", void 0);
|
|
39
|
+
_ts_decorate([
|
|
40
|
+
BelongsTo(()=>PersistedUser)
|
|
41
|
+
], CoachExerciseNote.prototype, "coach", void 0);
|
|
42
|
+
_ts_decorate([
|
|
43
|
+
BelongsTo(()=>ExercisesModels)
|
|
44
|
+
], CoachExerciseNote.prototype, "exerciseModel", void 0);
|
|
45
|
+
CoachExerciseNote = _ts_decorate([
|
|
46
|
+
Table({
|
|
47
|
+
tableName: 'CoachExerciseNotes',
|
|
48
|
+
indexes: [
|
|
49
|
+
{
|
|
50
|
+
unique: true,
|
|
51
|
+
fields: [
|
|
52
|
+
'coachUuid',
|
|
53
|
+
'exerciseModelUuid'
|
|
54
|
+
],
|
|
55
|
+
name: 'unique_coach_exercise_note'
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
})
|
|
59
|
+
], CoachExerciseNote);
|
|
60
|
+
|
|
61
|
+
//# sourceMappingURL=CoachExerciseNote.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/lib/dbmodels/program/CoachExerciseNote.ts"],"sourcesContent":["import {\n BelongsTo,\n Column,\n DataType,\n Default,\n ForeignKey,\n Model,\n Table,\n} from 'sequelize-typescript';\nimport { ExercisesModels } from './ExerciseModels.js';\nimport { PersistedUser } from '../user/PersistedUser.js';\n\n@Table({\n tableName: 'CoachExerciseNotes',\n indexes: [\n {\n unique: true,\n fields: ['coachUuid', 'exerciseModelUuid'],\n name: 'unique_coach_exercise_note',\n },\n ],\n})\nexport class CoachExerciseNote extends Model {\n @Default(DataType.UUIDV4)\n @Column({\n type: DataType.UUID,\n primaryKey: true,\n })\n declare uuid: string;\n\n @ForeignKey(() => PersistedUser)\n @Column({ type: DataType.UUID, allowNull: false })\n declare coachUuid: string;\n\n @ForeignKey(() => ExercisesModels)\n @Column({ type: DataType.UUID, allowNull: false })\n declare exerciseModelUuid: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare note: string;\n\n @BelongsTo(() => PersistedUser)\n declare coach: PersistedUser;\n\n @BelongsTo(() => ExercisesModels)\n declare exerciseModel: ExercisesModels;\n}\n"],"names":["BelongsTo","Column","DataType","Default","ForeignKey","Model","Table","ExercisesModels","PersistedUser","CoachExerciseNote","UUIDV4","type","UUID","primaryKey","allowNull","TEXT","tableName","indexes","unique","fields","name"],"mappings":";;;;;;AAAA,SACEA,SAAS,EACTC,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,UAAU,EACVC,KAAK,EACLC,KAAK,QACA,uBAAuB;AAC9B,SAASC,eAAe,QAAQ,sBAAsB;AACtD,SAASC,aAAa,QAAQ,2BAA2B;AAYzD,OAAO,MAAMC,0BAA0BJ;AAwBvC;;qBAvBoBK;;QAEhBC,MAAMT,SAASU,IAAI;QACnBC,YAAY;;;;mBAIIL;;QACRG,MAAMT,SAASU,IAAI;QAAEE,WAAW;;;;mBAGxBP;;QACRI,MAAMT,SAASU,IAAI;QAAEE,WAAW;;;;;QAGhCH,MAAMT,SAASa,IAAI;QAAED,WAAW;;;;kBAGzBN;;;kBAGAD;;;;QA/BjBS,WAAW;QACXC,SAAS;YACP;gBACEC,QAAQ;gBACRC,QAAQ;oBAAC;oBAAa;iBAAoB;gBAC1CC,MAAM;YACR;SACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Exercise.d.ts","sourceRoot":"","sources":["../../../../src/lib/dbmodels/program/Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,EAA4D,MAAM,sBAAsB,CAAC;AACtH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAEn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ototype, "restTime", void 0);
|
|
56
|
+
_ts_decorate([
|
|
57
|
+
Column({
|
|
58
|
+
type: DataType.TEXT,
|
|
59
|
+
allowNull: true
|
|
60
|
+
})
|
|
61
|
+
], Exercise.prototype, "coachNote", void 0);
|
|
56
62
|
_ts_decorate([
|
|
57
63
|
Index,
|
|
58
64
|
ForeignKey(()=>Workout),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/dbmodels/program/Exercise.ts"],"sourcesContent":["import { Table, Column, Model, ForeignKey, Index, DataType, Default, HasMany, BelongsTo } from 'sequelize-typescript';\nimport { Workout } from './Workout.js';\nimport { Superset } from './Superset.js';\nimport { ProgressEntry } from './ProgressEntry.js';\nimport type { Progress } from '../../models/ExerciseInterfaces.js';\n\n@Table\nexport class Exercise extends Model<Exercise> {\n @Default(DataType.UUIDV4)\n @Column({\n type: DataType.UUID,\n primaryKey: true,\n })\n declare uuid: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare name: string;\n\n @Column({ type: DataType.INTEGER, allowNull: false })\n declare order: number;\n\n // DEPRECATED: Keep for backward compatibility during migration\n @Column({ type: DataType.ARRAY(DataType.JSONB), allowNull: true })\n declare progress: Progress[];\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare reps: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare sets: string;\n\n @Column({ type: DataType.STRING, allowNull: true })\n declare restTime: string;\n\n @Index\n @ForeignKey(() => Workout)\n @Column({ type: DataType.UUID, allowNull: false })\n declare workoutUuid: string;\n\n @Index\n @ForeignKey(() => Superset)\n @Column({ type: DataType.UUID, allowNull: true })\n declare supersetUuid: string | null;\n\n @HasMany(() => ProgressEntry)\n declare progressEntries: ProgressEntry[];\n\n @BelongsTo(() => Superset)\n declare superset: Superset | null;\n\n declare workout: Workout;\n}\n"],"names":["Table","Column","Model","ForeignKey","Index","DataType","Default","HasMany","BelongsTo","Workout","Superset","ProgressEntry","Exercise","UUIDV4","type","UUID","primaryKey","STRING","allowNull","INTEGER","ARRAY","JSONB"],"mappings":";;;;;;AAAA,SAASA,KAAK,EAAEC,MAAM,EAAEC,KAAK,EAAEC,UAAU,EAAEC,KAAK,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,EAAEC,SAAS,QAAQ,uBAAuB;AACtH,SAASC,OAAO,QAAQ,eAAe;AACvC,SAASC,QAAQ,QAAQ,gBAAgB;AACzC,SAASC,aAAa,QAAQ,qBAAqB;AAInD,OAAO,MAAMC,iBAAiBV;
|
|
1
|
+
{"version":3,"sources":["../../../../src/lib/dbmodels/program/Exercise.ts"],"sourcesContent":["import { Table, Column, Model, ForeignKey, Index, DataType, Default, HasMany, BelongsTo } from 'sequelize-typescript';\nimport { Workout } from './Workout.js';\nimport { Superset } from './Superset.js';\nimport { ProgressEntry } from './ProgressEntry.js';\nimport type { Progress } from '../../models/ExerciseInterfaces.js';\n\n@Table\nexport class Exercise extends Model<Exercise> {\n @Default(DataType.UUIDV4)\n @Column({\n type: DataType.UUID,\n primaryKey: true,\n })\n declare uuid: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare name: string;\n\n @Column({ type: DataType.INTEGER, allowNull: false })\n declare order: number;\n\n // DEPRECATED: Keep for backward compatibility during migration\n @Column({ type: DataType.ARRAY(DataType.JSONB), allowNull: true })\n declare progress: Progress[];\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare reps: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare sets: string;\n\n @Column({ type: DataType.STRING, allowNull: true })\n declare restTime: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare coachNote: string | null;\n\n @Index\n @ForeignKey(() => Workout)\n @Column({ type: DataType.UUID, allowNull: false })\n declare workoutUuid: string;\n\n @Index\n @ForeignKey(() => Superset)\n @Column({ type: DataType.UUID, allowNull: true })\n declare supersetUuid: string | null;\n\n @HasMany(() => ProgressEntry)\n declare progressEntries: ProgressEntry[];\n\n @BelongsTo(() => Superset)\n declare superset: Superset | null;\n\n declare workout: Workout;\n}\n"],"names":["Table","Column","Model","ForeignKey","Index","DataType","Default","HasMany","BelongsTo","Workout","Superset","ProgressEntry","Exercise","UUIDV4","type","UUID","primaryKey","STRING","allowNull","INTEGER","ARRAY","JSONB","TEXT"],"mappings":";;;;;;AAAA,SAASA,KAAK,EAAEC,MAAM,EAAEC,KAAK,EAAEC,UAAU,EAAEC,KAAK,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,EAAEC,SAAS,QAAQ,uBAAuB;AACtH,SAASC,OAAO,QAAQ,eAAe;AACvC,SAASC,QAAQ,QAAQ,gBAAgB;AACzC,SAASC,aAAa,QAAQ,qBAAqB;AAInD,OAAO,MAAMC,iBAAiBV;AA+C9B;;qBA9CoBW;;QAEhBC,MAAMT,SAASU,IAAI;QACnBC,YAAY;;;;;QAIJF,MAAMT,SAASY,MAAM;QAAEC,WAAW;;;;;QAGlCJ,MAAMT,SAASc,OAAO;QAAED,WAAW;;;;;QAInCJ,MAAMT,SAASe,KAAK,CAACf,SAASgB,KAAK;QAAGH,WAAW;;;;;QAGjDJ,MAAMT,SAASY,MAAM;QAAEC,WAAW;;;;;QAGlCJ,MAAMT,SAASY,MAAM;QAAEC,WAAW;;;;;QAGlCJ,MAAMT,SAASY,MAAM;QAAEC,WAAW;;;;;QAGlCJ,MAAMT,SAASiB,IAAI;QAAEJ,WAAW;;;;;mBAIxBT;;QACRK,MAAMT,SAASU,IAAI;QAAEG,WAAW;;;;;mBAIxBR;;QACRI,MAAMT,SAASU,IAAI;QAAEG,WAAW;;;;gBAG3BP;;;kBAGED"}
|
|
@@ -21,6 +21,8 @@ export declare class ExercisesModels extends Model implements ExerciseModel {
|
|
|
21
21
|
graphData: "reps" | "weight";
|
|
22
22
|
imageUrl: string;
|
|
23
23
|
createdBy: string | null;
|
|
24
|
+
isPublic: boolean;
|
|
25
|
+
thumbnailUrl: string | null;
|
|
24
26
|
translatedExercises: TranslatedExerciseModel[];
|
|
25
27
|
}
|
|
26
28
|
//# sourceMappingURL=ExerciseModels.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExerciseModels.d.ts","sourceRoot":"","sources":["../../../../src/lib/dbmodels/program/ExerciseModels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,EAAS,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAC,aAAa,EAAE,YAAY,EAAC,MAAM,oCAAoC,CAAC;AACpF,OAAO,EAAC,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAErE,qBACa,eAAgB,SAAQ,KAAM,YAAW,aAAa;IAQvD,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,OAAO,CAAC;IAGlB,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,MAAM,EAAE,CAAC;IAGhB,WAAW,EAAE,OAAO,CAAC;IAGrB,UAAU,EAAE,OAAO,CAAC;IAGpB,aAAa,EAAE,OAAO,CAAC;IAGvB,cAAc,EAAE,OAAO,CAAC;IAGxB,UAAU,EAAE,MAAM,CAAC;IAGnB,OAAO,EAAE,MAAM,EAAE,CAAC;IAGlB,WAAW,EAAE,OAAO,CAAC;IAGrB,cAAc,EAAE,OAAO,CAAC;IAGxB,WAAW,EAAE,YAAY,EAAE,CAAC;IAG5B,SAAS,EAAE,MAAM,GAAG,QAAQ,CAAC;IAG7B,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,mBAAmB,EAAE,uBAAuB,EAAE,CAAC;CAC1D"}
|
|
1
|
+
{"version":3,"file":"ExerciseModels.d.ts","sourceRoot":"","sources":["../../../../src/lib/dbmodels/program/ExerciseModels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,EAAS,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAC,aAAa,EAAE,YAAY,EAAC,MAAM,oCAAoC,CAAC;AACpF,OAAO,EAAC,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAErE,qBACa,eAAgB,SAAQ,KAAM,YAAW,aAAa;IAQvD,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,OAAO,CAAC;IAGlB,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,MAAM,EAAE,CAAC;IAGhB,WAAW,EAAE,OAAO,CAAC;IAGrB,UAAU,EAAE,OAAO,CAAC;IAGpB,aAAa,EAAE,OAAO,CAAC;IAGvB,cAAc,EAAE,OAAO,CAAC;IAGxB,UAAU,EAAE,MAAM,CAAC;IAGnB,OAAO,EAAE,MAAM,EAAE,CAAC;IAGlB,WAAW,EAAE,OAAO,CAAC;IAGrB,cAAc,EAAE,OAAO,CAAC;IAGxB,WAAW,EAAE,YAAY,EAAE,CAAC;IAG5B,SAAS,EAAE,MAAM,GAAG,QAAQ,CAAC;IAG7B,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,QAAQ,EAAE,OAAO,CAAC;IAGlB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,mBAAmB,EAAE,uBAAuB,EAAE,CAAC;CAC1D"}
|
|
@@ -126,6 +126,19 @@ _ts_decorate([
|
|
|
126
126
|
allowNull: true
|
|
127
127
|
})
|
|
128
128
|
], ExercisesModels.prototype, "createdBy", void 0);
|
|
129
|
+
_ts_decorate([
|
|
130
|
+
Column({
|
|
131
|
+
type: DataType.BOOLEAN,
|
|
132
|
+
allowNull: false,
|
|
133
|
+
defaultValue: false
|
|
134
|
+
})
|
|
135
|
+
], ExercisesModels.prototype, "isPublic", void 0);
|
|
136
|
+
_ts_decorate([
|
|
137
|
+
Column({
|
|
138
|
+
type: DataType.STRING(500),
|
|
139
|
+
allowNull: true
|
|
140
|
+
})
|
|
141
|
+
], ExercisesModels.prototype, "thumbnailUrl", void 0);
|
|
129
142
|
_ts_decorate([
|
|
130
143
|
HasMany(()=>TranslatedExerciseModel)
|
|
131
144
|
], ExercisesModels.prototype, "translatedExercises", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/dbmodels/program/ExerciseModels.ts"],"sourcesContent":["import { Column, DataType, Default, HasMany, Model, Table } from \"sequelize-typescript\";\nimport type {ExerciseModel, ProgramTypes} from '../../models/ExerciseInterfaces.js';\nimport {TranslatedExerciseModel} from './TranslatedExerciseModel.js';\n\n@Table\nexport class ExercisesModels extends Model implements ExerciseModel {\n @Default(DataType.UUIDV4)\n @Column({\n type: DataType.UUID,\n defaultValue: DataType.UUID,\n allowNull: false,\n primaryKey: true,\n })\n declare uuid: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare name: string;\n\n @Column({ type: DataType.STRING, allowNull: true })\n declare restTime: string;\n\n @Column({ type: DataType.STRING(2048), allowNull: false })\n declare pointers: string;\n\n @Column({ type: DataType.BOOLEAN, allowNull: true })\n declare isCustom: boolean;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare url: string;\n\n @Column({ type: DataType.ARRAY(DataType.STRING), allowNull: false })\n declare level: string[];\n\n @Column({ type: DataType.BOOLEAN, allowNull: false })\n declare hasPriority: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false })\n declare isCompound: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false })\n declare hasVariations: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false })\n declare needsEquipment: boolean;\n\n @Column({ type: DataType.JSONB, allowNull: false })\n declare variations: object;\n\n @Column({ type: DataType.ARRAY(DataType.STRING), allowNull: false })\n declare muscles: string[];\n\n @Column({ type: DataType.BOOLEAN, allowNull: false })\n declare homeWorkout: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false, defaultValue: false })\n declare isBandAssisted: boolean;\n\n @Column({ type: DataType.ARRAY(DataType.STRING), allowNull: false })\n declare programType: ProgramTypes[];\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare graphData: \"reps\" | \"weight\";\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare imageUrl: string;\n\n @Column({ type: DataType.STRING, allowNull: true })\n declare createdBy: string | null;\n\n @HasMany(() => TranslatedExerciseModel)\n declare translatedExercises: TranslatedExerciseModel[];\n}\n"],"names":["Column","DataType","Default","HasMany","Model","Table","TranslatedExerciseModel","ExercisesModels","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","STRING","BOOLEAN","ARRAY","JSONB","TEXT"],"mappings":";;;;;;AAAA,SAASA,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,EAAEC,KAAK,EAAEC,KAAK,QAAQ,uBAAuB;AAExF,SAAQC,uBAAuB,QAAO,+BAA+B;AAGrE,OAAO,MAAMC,wBAAwBH;
|
|
1
|
+
{"version":3,"sources":["../../../../src/lib/dbmodels/program/ExerciseModels.ts"],"sourcesContent":["import { Column, DataType, Default, HasMany, Model, Table } from \"sequelize-typescript\";\nimport type {ExerciseModel, ProgramTypes} from '../../models/ExerciseInterfaces.js';\nimport {TranslatedExerciseModel} from './TranslatedExerciseModel.js';\n\n@Table\nexport class ExercisesModels extends Model implements ExerciseModel {\n @Default(DataType.UUIDV4)\n @Column({\n type: DataType.UUID,\n defaultValue: DataType.UUID,\n allowNull: false,\n primaryKey: true,\n })\n declare uuid: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare name: string;\n\n @Column({ type: DataType.STRING, allowNull: true })\n declare restTime: string;\n\n @Column({ type: DataType.STRING(2048), allowNull: false })\n declare pointers: string;\n\n @Column({ type: DataType.BOOLEAN, allowNull: true })\n declare isCustom: boolean;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare url: string;\n\n @Column({ type: DataType.ARRAY(DataType.STRING), allowNull: false })\n declare level: string[];\n\n @Column({ type: DataType.BOOLEAN, allowNull: false })\n declare hasPriority: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false })\n declare isCompound: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false })\n declare hasVariations: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false })\n declare needsEquipment: boolean;\n\n @Column({ type: DataType.JSONB, allowNull: false })\n declare variations: object;\n\n @Column({ type: DataType.ARRAY(DataType.STRING), allowNull: false })\n declare muscles: string[];\n\n @Column({ type: DataType.BOOLEAN, allowNull: false })\n declare homeWorkout: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false, defaultValue: false })\n declare isBandAssisted: boolean;\n\n @Column({ type: DataType.ARRAY(DataType.STRING), allowNull: false })\n declare programType: ProgramTypes[];\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare graphData: \"reps\" | \"weight\";\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare imageUrl: string;\n\n @Column({ type: DataType.STRING, allowNull: true })\n declare createdBy: string | null;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false, defaultValue: false })\n declare isPublic: boolean;\n\n @Column({ type: DataType.STRING(500), allowNull: true })\n declare thumbnailUrl: string | null;\n\n @HasMany(() => TranslatedExerciseModel)\n declare translatedExercises: TranslatedExerciseModel[];\n}\n"],"names":["Column","DataType","Default","HasMany","Model","Table","TranslatedExerciseModel","ExercisesModels","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","STRING","BOOLEAN","ARRAY","JSONB","TEXT"],"mappings":";;;;;;AAAA,SAASA,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,EAAEC,KAAK,EAAEC,KAAK,QAAQ,uBAAuB;AAExF,SAAQC,uBAAuB,QAAO,+BAA+B;AAGrE,OAAO,MAAMC,wBAAwBH;AAwErC;;qBAvEsBI;;QAEdC,MAAMR,SAASS,IAAI;QACnB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GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CAC5C;AAID,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/lib/models/ExerciseInterfaces.ts"],"sourcesContent":["import type {UserStrengthTests} from '../dbmodels/program/UserStrengthTests.js';\nimport type {UserChallenge} from '../dbmodels/program/UserChallenge.js';\nimport type {TranslatedStrengthTestExercise} from '../dbmodels/program/TranslatedStrengthTestExercise.js';\nimport type {ExercisesModels} from '../dbmodels/program/ExerciseModels.js';\n\nexport interface ExerciseModel {\n uuid: string;\n name: string;\n level: string[];\n isCompound: boolean;\n needsEquipment: boolean;\n hasPriority: boolean;\n hasVariations: boolean;\n variations: object;\n muscles: string[];\n homeWorkout: boolean;\n createdBy?: string | null;\n}\n\nexport interface ExerciseProgress {\n exerciseUuid: string;\n progress: Progress[];\n}\n\nexport interface UpdateSTRequest {\n body: UserStrengthTests;\n}\n\nexport interface UpdateUserChallengeRequest {\n body: UserChallenge;\n}\n\nexport interface STExerciseProgress {\n exerciseUuid: string;\n progress: Progress;\n}\n\nexport interface ExercisePerformance {\n workoutIndex: number;\n progress: Progress[];\n}\n\nexport interface SwapExerciseRequest {\n exerciseUuid: string;\n}\n\nexport interface ChangeExerciseRequest {\n oldExerciseUuid: string;\n newExercise: ExercisesModels;\n}\n\nexport interface ReducedExercise {\n uuid: string;\n name: string;\n order: number;\n progress?: Progress[];\n sets: string;\n reps: string;\n restTime?: string;\n}\n\nexport interface UpdateTranslatedStrengthTestExercisesRequest {\n exercises: TranslatedStrengthTestExercise[];\n}\n\nexport interface AddTranslatedStrengthTestExercisesRequest {\n exercises: TranslatedStrengthTestExercise[];\n}\n\nexport type ProgramTypes =\n | \"BodyweightHomeWorkout\"\n | \"BodyweightOnlyBodyweight\"\n | \"BodyweightWeightedCali\"\n | \"Weights\"\n | \"Both\";\n\nexport interface Progress {\n [key: string]: number | string | undefined;\n}\n\n\n\nexport interface ProgressByExercise {\n name: string;\n totalRepsDone: number;\n weight: number;\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/lib/models/ExerciseInterfaces.ts"],"sourcesContent":["import type {UserStrengthTests} from '../dbmodels/program/UserStrengthTests.js';\nimport type {UserChallenge} from '../dbmodels/program/UserChallenge.js';\nimport type {TranslatedStrengthTestExercise} from '../dbmodels/program/TranslatedStrengthTestExercise.js';\nimport type {ExercisesModels} from '../dbmodels/program/ExerciseModels.js';\n\nexport interface ExerciseModel {\n uuid: string;\n name: string;\n level: string[];\n isCompound: boolean;\n needsEquipment: boolean;\n hasPriority: boolean;\n hasVariations: boolean;\n variations: object;\n muscles: string[];\n homeWorkout: boolean;\n createdBy?: string | null;\n isPublic: boolean;\n}\n\nexport interface ExerciseProgress {\n exerciseUuid: string;\n progress: Progress[];\n}\n\nexport interface UpdateSTRequest {\n body: UserStrengthTests;\n}\n\nexport interface UpdateUserChallengeRequest {\n body: UserChallenge;\n}\n\nexport interface STExerciseProgress {\n exerciseUuid: string;\n progress: Progress;\n}\n\nexport interface ExercisePerformance {\n workoutIndex: number;\n progress: Progress[];\n}\n\nexport interface SwapExerciseRequest {\n exerciseUuid: string;\n}\n\nexport interface ChangeExerciseRequest {\n oldExerciseUuid: string;\n newExercise: ExercisesModels;\n}\n\nexport interface ReducedExercise {\n uuid: string;\n name: string;\n order: number;\n progress?: Progress[];\n sets: string;\n reps: string;\n restTime?: string;\n}\n\nexport interface UpdateTranslatedStrengthTestExercisesRequest {\n exercises: TranslatedStrengthTestExercise[];\n}\n\nexport interface AddTranslatedStrengthTestExercisesRequest {\n exercises: TranslatedStrengthTestExercise[];\n}\n\nexport type ProgramTypes =\n | \"BodyweightHomeWorkout\"\n | \"BodyweightOnlyBodyweight\"\n | \"BodyweightWeightedCali\"\n | \"Weights\"\n | \"Both\";\n\nexport interface Progress {\n [key: string]: number | string | undefined;\n}\n\n\n\nexport interface ProgressByExercise {\n name: string;\n totalRepsDone: number;\n weight: number;\n}\n"],"names":[],"mappings":"AAmFA,WAIC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"populate-exercise-thumbnails.d.ts","sourceRoot":"","sources":["../../../src/lib/scripts/populate-exercise-thumbnails.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ExercisesModels } from "../dbmodels/program/ExerciseModels.js";
|
|
2
|
+
import axios from "axios";
|
|
3
|
+
import { DatabaseClient } from "../classes/Database.js";
|
|
4
|
+
/**
|
|
5
|
+
* Script to populate thumbnailUrl for all exercises that have a Vimeo URL
|
|
6
|
+
* Run with: npx ts-node src/lib/scripts/populate-exercise-thumbnails.ts
|
|
7
|
+
*/ async function populateThumbnails() {
|
|
8
|
+
console.log("Starting thumbnail population...");
|
|
9
|
+
// Initialize database connection
|
|
10
|
+
console.log("Database connected");
|
|
11
|
+
// Fetch all exercises that have a URL but no thumbnail
|
|
12
|
+
const exercises = await ExercisesModels.findAll({
|
|
13
|
+
where: {
|
|
14
|
+
thumbnailUrl: null
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
console.log(`Found ${exercises.length} exercises without thumbnails`);
|
|
18
|
+
let successCount = 0;
|
|
19
|
+
let failCount = 0;
|
|
20
|
+
for (const exercise of exercises){
|
|
21
|
+
if (!exercise.url) {
|
|
22
|
+
console.log(`Skipping ${exercise.name} - no URL`);
|
|
23
|
+
continue;
|
|
24
|
+
}
|
|
25
|
+
try {
|
|
26
|
+
console.log(`Fetching thumbnail for: ${exercise.name}`);
|
|
27
|
+
const response = await axios.get(`https://vimeo.com/api/oembed.json?url=${exercise.url}`, {
|
|
28
|
+
timeout: 5000
|
|
29
|
+
});
|
|
30
|
+
const thumbnailUrl = response.data.thumbnail_url;
|
|
31
|
+
if (thumbnailUrl) {
|
|
32
|
+
await exercise.update({
|
|
33
|
+
thumbnailUrl
|
|
34
|
+
});
|
|
35
|
+
console.log(`✓ Updated ${exercise.name}`);
|
|
36
|
+
successCount++;
|
|
37
|
+
} else {
|
|
38
|
+
console.log(`✗ No thumbnail found for ${exercise.name}`);
|
|
39
|
+
failCount++;
|
|
40
|
+
}
|
|
41
|
+
// Rate limiting - wait 100ms between requests
|
|
42
|
+
await new Promise((resolve)=>setTimeout(resolve, 100));
|
|
43
|
+
} catch (error) {
|
|
44
|
+
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
45
|
+
console.error(`✗ Error fetching thumbnail for ${exercise.name}:`, errorMessage);
|
|
46
|
+
failCount++;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
console.log("\n=== Summary ===");
|
|
50
|
+
console.log(`Total exercises: ${exercises.length}`);
|
|
51
|
+
console.log(`✓ Success: ${successCount}`);
|
|
52
|
+
console.log(`✗ Failed: ${failCount}`);
|
|
53
|
+
await DatabaseClient.close();
|
|
54
|
+
console.log("Database connection closed");
|
|
55
|
+
}
|
|
56
|
+
populateThumbnails().then(()=>{
|
|
57
|
+
console.log("Script completed successfully");
|
|
58
|
+
process.exit(0);
|
|
59
|
+
}).catch((error)=>{
|
|
60
|
+
console.error("Script failed:", error);
|
|
61
|
+
process.exit(1);
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
//# sourceMappingURL=populate-exercise-thumbnails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/lib/scripts/populate-exercise-thumbnails.ts"],"sourcesContent":["import { ExercisesModels } from \"../dbmodels/program/ExerciseModels.js\";\nimport axios from \"axios\";\nimport {DatabaseClient} from \"../classes/Database.js\";\n\n/**\n * Script to populate thumbnailUrl for all exercises that have a Vimeo URL\n * Run with: npx ts-node src/lib/scripts/populate-exercise-thumbnails.ts\n */\n\nasync function populateThumbnails() {\n console.log(\"Starting thumbnail population...\");\n\n // Initialize database connection\n console.log(\"Database connected\");\n\n // Fetch all exercises that have a URL but no thumbnail\n const exercises = await ExercisesModels.findAll({\n where: {\n thumbnailUrl: null,\n },\n });\n\n console.log(`Found ${exercises.length} exercises without thumbnails`);\n\n let successCount = 0;\n let failCount = 0;\n\n for (const exercise of exercises) {\n if (!exercise.url) {\n console.log(`Skipping ${exercise.name} - no URL`);\n continue;\n }\n\n try {\n console.log(`Fetching thumbnail for: ${exercise.name}`);\n const response = await axios.get(\n `https://vimeo.com/api/oembed.json?url=${exercise.url}`,\n { timeout: 5000 }\n );\n\n const thumbnailUrl = response.data.thumbnail_url;\n\n if (thumbnailUrl) {\n await exercise.update({ thumbnailUrl });\n console.log(`✓ Updated ${exercise.name}`);\n successCount++;\n } else {\n console.log(`✗ No thumbnail found for ${exercise.name}`);\n failCount++;\n }\n\n // Rate limiting - wait 100ms between requests\n await new Promise((resolve) => setTimeout(resolve, 100));\n } catch (error) {\n const errorMessage = error instanceof Error ? error.message : String(error);\n console.error(`✗ Error fetching thumbnail for ${exercise.name}:`, errorMessage);\n failCount++;\n }\n }\n\n console.log(\"\\n=== Summary ===\");\n console.log(`Total exercises: ${exercises.length}`);\n console.log(`✓ Success: ${successCount}`);\n console.log(`✗ Failed: ${failCount}`);\n\n await DatabaseClient.close();\n console.log(\"Database connection closed\");\n}\n\npopulateThumbnails()\n .then(() => {\n console.log(\"Script completed successfully\");\n process.exit(0);\n })\n .catch((error) => {\n console.error(\"Script failed:\", error);\n process.exit(1);\n });\n"],"names":["ExercisesModels","axios","DatabaseClient","populateThumbnails","console","log","exercises","findAll","where","thumbnailUrl","length","successCount","failCount","exercise","url","name","response","get","timeout","data","thumbnail_url","update","Promise","resolve","setTimeout","error","errorMessage","Error","message","String","close","then","process","exit","catch"],"mappings":"AAAA,SAASA,eAAe,QAAQ,wCAAwC;AACxE,OAAOC,WAAW,QAAQ;AAC1B,SAAQC,cAAc,QAAO,yBAAyB;AAEtD;;;CAGC,GAED,eAAeC;IACbC,QAAQC,GAAG,CAAC;IAEZ,iCAAiC;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