90dc-core 1.10.8 → 1.10.10

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.
Files changed (423) hide show
  1. package/dist/Errors/Errors.d.ts.map +1 -0
  2. package/dist/dbmodels/Badge.d.ts.map +1 -0
  3. package/dist/dbmodels/DeviceTokens.d.ts.map +1 -0
  4. package/dist/dbmodels/NotificationModels.d.ts.map +1 -0
  5. package/dist/dbmodels/PersistedUser.d.ts.map +1 -0
  6. package/dist/dbmodels/StreaksLog.d.ts.map +1 -0
  7. package/dist/dbmodels/Subscription.d.ts.map +1 -0
  8. package/dist/dbmodels/SubscriptionLog.d.ts.map +1 -0
  9. package/dist/dbmodels/TranslatedBadge.d.ts.map +1 -0
  10. package/dist/dbmodels/TranslatedNotification.d.ts.map +1 -0
  11. package/dist/dbmodels/UserBadges.d.ts.map +1 -0
  12. package/dist/dbmodels/UserCoach.d.ts.map +1 -0
  13. package/dist/dbmodels/UserDiscount.d.ts.map +1 -0
  14. package/dist/dbmodels/UserStreaks.d.ts.map +1 -0
  15. package/dist/dbmodels/UsersFriends.d.ts.map +1 -0
  16. package/dist/dbmodels/nonconsprogram/NonConsumableProgram.d.ts.map +1 -0
  17. package/dist/dbmodels/nonconsprogram/NonConsumableProgramWebContent.d.ts.map +1 -0
  18. package/dist/dbmodels/nonconsprogram/TranslatedConsumableProgram.d.ts.map +1 -0
  19. package/dist/dbmodels/nonconsprogram/TranslatedNonConsumableProgramWebContent.d.ts.map +1 -0
  20. package/dist/dbmodels/nonconsprogram/UserNonConsumableProgram.d.ts.map +1 -0
  21. package/dist/dbmodels/program/Challenge.d.ts.map +1 -0
  22. package/dist/dbmodels/program/ChallengeBlueprint.d.ts.map +1 -0
  23. package/dist/dbmodels/program/CustomProgramBlueprint.d.ts.map +1 -0
  24. package/dist/dbmodels/program/CustomStrengthTest.d.ts.map +1 -0
  25. package/dist/dbmodels/program/CustomStrengthTestExercises.d.ts.map +1 -0
  26. package/dist/dbmodels/program/CustomWorkoutBlueprint.d.ts.map +1 -0
  27. package/dist/dbmodels/program/Exercise.d.ts.map +1 -0
  28. package/dist/dbmodels/program/ExerciseModels.d.ts.map +1 -0
  29. package/dist/dbmodels/program/Program.d.ts.map +1 -0
  30. package/dist/dbmodels/program/RestDay.d.ts.map +1 -0
  31. package/dist/dbmodels/program/StrengthTest.d.ts.map +1 -0
  32. package/dist/dbmodels/program/StrengthTestExercise.d.ts.map +1 -0
  33. package/dist/dbmodels/program/StrengthTestSession.d.ts.map +1 -0
  34. package/dist/dbmodels/program/Superset.d.ts.map +1 -0
  35. package/dist/dbmodels/program/ThirtyDayChallenge.d.ts.map +1 -0
  36. package/dist/dbmodels/program/ThirtyDayChallengeStrengthTest.d.ts.map +1 -0
  37. package/dist/dbmodels/program/TranslatedChallenge.d.ts.map +1 -0
  38. package/dist/dbmodels/program/TranslatedExerciseModel.d.ts.map +1 -0
  39. package/dist/dbmodels/program/TranslatedStrengthTest.d.ts.map +1 -0
  40. package/dist/dbmodels/program/TranslatedStrengthTestExercise.d.ts.map +1 -0
  41. package/dist/dbmodels/program/UserChallenge.d.ts.map +1 -0
  42. package/dist/dbmodels/program/UserStrengthTests.d.ts.map +1 -0
  43. package/dist/dbmodels/program/Workout.d.ts.map +1 -0
  44. package/dist/dbmodels/program/WorkoutSession.d.ts.map +1 -0
  45. package/dist/dbmodels/xpAndLeaderboards/UserRankHistory.d.ts.map +1 -0
  46. package/dist/dbmodels/xpAndLeaderboards/XpEvent.d.ts.map +1 -0
  47. package/dist/dbmodels/xpAndLeaderboards/XpTransaction.d.ts.map +1 -0
  48. package/dist/enums/ProgramEnums.d.ts.map +1 -0
  49. package/dist/enums/ProgramTemplates.d.ts.map +1 -0
  50. package/dist/enums/cert.d.ts.map +1 -0
  51. package/dist/lib/Errors/Errors.js.map +1 -0
  52. package/dist/lib/dbmodels/Badge.js.map +1 -0
  53. package/dist/lib/dbmodels/DeviceTokens.js.map +1 -0
  54. package/dist/lib/dbmodels/NotificationModels.js.map +1 -0
  55. package/dist/lib/dbmodels/PersistedUser.js.map +1 -0
  56. package/dist/lib/dbmodels/StreaksLog.js.map +1 -0
  57. package/dist/lib/dbmodels/Subscription.js.map +1 -0
  58. package/dist/lib/dbmodels/SubscriptionLog.js.map +1 -0
  59. package/dist/lib/dbmodels/TranslatedBadge.js.map +1 -0
  60. package/dist/lib/dbmodels/TranslatedNotification.js.map +1 -0
  61. package/dist/lib/dbmodels/UserBadges.js.map +1 -0
  62. package/dist/lib/dbmodels/UserCoach.js.map +1 -0
  63. package/dist/lib/dbmodels/UserDiscount.js.map +1 -0
  64. package/dist/lib/dbmodels/UserStreaks.js.map +1 -0
  65. package/dist/lib/dbmodels/UsersFriends.js.map +1 -0
  66. package/dist/lib/dbmodels/nonconsprogram/NonConsumableProgram.js.map +1 -0
  67. package/dist/lib/dbmodels/nonconsprogram/NonConsumableProgramWebContent.js.map +1 -0
  68. package/dist/lib/dbmodels/nonconsprogram/TranslatedConsumableProgram.js.map +1 -0
  69. package/dist/lib/dbmodels/nonconsprogram/TranslatedNonConsumableProgramWebContent.js.map +1 -0
  70. package/dist/lib/dbmodels/nonconsprogram/UserNonConsumableProgram.js.map +1 -0
  71. package/dist/lib/dbmodels/program/Challenge.js.map +1 -0
  72. package/dist/lib/dbmodels/program/ChallengeBlueprint.js.map +1 -0
  73. package/dist/lib/dbmodels/program/CustomProgramBlueprint.js.map +1 -0
  74. package/dist/lib/dbmodels/program/CustomStrengthTest.js.map +1 -0
  75. package/dist/lib/dbmodels/program/CustomStrengthTestExercises.js.map +1 -0
  76. package/dist/lib/dbmodels/program/CustomWorkoutBlueprint.js.map +1 -0
  77. package/dist/lib/dbmodels/program/Exercise.js.map +1 -0
  78. package/dist/lib/dbmodels/program/ExerciseModels.js.map +1 -0
  79. package/dist/lib/dbmodels/program/Program.js.map +1 -0
  80. package/dist/lib/dbmodels/program/RestDay.js.map +1 -0
  81. package/dist/lib/dbmodels/program/StrengthTest.js.map +1 -0
  82. package/dist/lib/dbmodels/program/StrengthTestExercise.js.map +1 -0
  83. package/dist/lib/dbmodels/program/StrengthTestSession.js.map +1 -0
  84. package/dist/lib/dbmodels/program/Superset.js.map +1 -0
  85. package/dist/lib/dbmodels/program/ThirtyDayChallenge.js.map +1 -0
  86. package/dist/lib/dbmodels/program/ThirtyDayChallengeStrengthTest.js.map +1 -0
  87. package/dist/lib/dbmodels/program/TranslatedChallenge.js.map +1 -0
  88. package/dist/lib/dbmodels/program/TranslatedExerciseModel.js.map +1 -0
  89. package/dist/lib/dbmodels/program/TranslatedStrengthTest.js.map +1 -0
  90. package/dist/lib/dbmodels/program/TranslatedStrengthTestExercise.js.map +1 -0
  91. package/dist/lib/dbmodels/program/UserChallenge.js.map +1 -0
  92. package/dist/lib/dbmodels/program/UserStrengthTests.js.map +1 -0
  93. package/dist/lib/dbmodels/program/Workout.js.map +1 -0
  94. package/dist/lib/dbmodels/program/WorkoutSession.js.map +1 -0
  95. package/dist/lib/dbmodels/xpAndLeaderboards/UserRankHistory.js.map +1 -0
  96. package/dist/lib/dbmodels/xpAndLeaderboards/XpEvent.js.map +1 -0
  97. package/dist/lib/dbmodels/xpAndLeaderboards/XpTransaction.js.map +1 -0
  98. package/dist/lib/enums/ProgramEnums.js.map +1 -0
  99. package/dist/lib/enums/ProgramTemplates.js.map +1 -0
  100. package/dist/lib/enums/cert.js.map +1 -0
  101. package/dist/lib/models/BlueprintInterfaces.js.map +1 -0
  102. package/dist/lib/models/ExerciseInterfaces.js.map +1 -0
  103. package/dist/lib/models/NotificationInterfaces.js.map +1 -0
  104. package/dist/lib/models/ProgramInterfaces.js.map +1 -0
  105. package/dist/lib/models/UserInterfaces.js.map +1 -0
  106. package/dist/lib/models/WorkoutInterfaces.js.map +1 -0
  107. package/dist/lib/utils/AuthenticationUtil.js.map +1 -0
  108. package/dist/lib/utils/NotificationClient.js.map +1 -0
  109. package/dist/lib/utils/NotificationsUtil.js.map +1 -0
  110. package/dist/models/BlueprintInterfaces.d.ts.map +1 -0
  111. package/dist/models/ExerciseInterfaces.d.ts.map +1 -0
  112. package/dist/models/NotificationInterfaces.d.ts.map +1 -0
  113. package/dist/models/ProgramInterfaces.d.ts.map +1 -0
  114. package/dist/models/UserInterfaces.d.ts.map +1 -0
  115. package/dist/models/WorkoutInterfaces.d.ts.map +1 -0
  116. package/dist/utils/AuthenticationUtil.d.ts.map +1 -0
  117. package/dist/utils/NotificationClient.d.ts.map +1 -0
  118. package/dist/utils/NotificationsUtil.d.ts.map +1 -0
  119. package/package.json +28 -18
  120. package/.claude/settings.local.json +0 -12
  121. package/.swcrc +0 -22
  122. package/dist/index.d.ts +0 -25
  123. package/dist/index.d.ts.map +0 -1
  124. package/dist/lib/Errors/Errors.d.ts.map +0 -1
  125. package/dist/lib/dbmodels/Badge.d.ts.map +0 -1
  126. package/dist/lib/dbmodels/DeviceTokens.d.ts.map +0 -1
  127. package/dist/lib/dbmodels/NotificationModels.d.ts.map +0 -1
  128. package/dist/lib/dbmodels/PersistedUser.d.ts.map +0 -1
  129. package/dist/lib/dbmodels/StreaksLog.d.ts.map +0 -1
  130. package/dist/lib/dbmodels/Subscription.d.ts.map +0 -1
  131. package/dist/lib/dbmodels/SubscriptionLog.d.ts.map +0 -1
  132. package/dist/lib/dbmodels/TranslatedBadge.d.ts.map +0 -1
  133. package/dist/lib/dbmodels/TranslatedNotification.d.ts.map +0 -1
  134. package/dist/lib/dbmodels/UserBadges.d.ts.map +0 -1
  135. package/dist/lib/dbmodels/UserCoach.d.ts.map +0 -1
  136. package/dist/lib/dbmodels/UserDiscount.d.ts.map +0 -1
  137. package/dist/lib/dbmodels/UserStreaks.d.ts.map +0 -1
  138. package/dist/lib/dbmodels/UsersFriends.d.ts.map +0 -1
  139. package/dist/lib/dbmodels/nonconsprogram/NonConsumableProgram.d.ts.map +0 -1
  140. package/dist/lib/dbmodels/nonconsprogram/NonConsumableProgramWebContent.d.ts.map +0 -1
  141. package/dist/lib/dbmodels/nonconsprogram/TranslatedConsumableProgram.d.ts.map +0 -1
  142. package/dist/lib/dbmodels/nonconsprogram/TranslatedNonConsumableProgramWebContent.d.ts.map +0 -1
  143. package/dist/lib/dbmodels/nonconsprogram/UserNonConsumableProgram.d.ts.map +0 -1
  144. package/dist/lib/dbmodels/program/Challenge.d.ts.map +0 -1
  145. package/dist/lib/dbmodels/program/ChallengeBlueprint.d.ts.map +0 -1
  146. package/dist/lib/dbmodels/program/CustomProgramBlueprint.d.ts.map +0 -1
  147. package/dist/lib/dbmodels/program/CustomStrengthTest.d.ts.map +0 -1
  148. package/dist/lib/dbmodels/program/CustomStrengthTestExercises.d.ts.map +0 -1
  149. package/dist/lib/dbmodels/program/CustomWorkoutBlueprint.d.ts.map +0 -1
  150. package/dist/lib/dbmodels/program/Exercise.d.ts.map +0 -1
  151. package/dist/lib/dbmodels/program/ExerciseModels.d.ts.map +0 -1
  152. package/dist/lib/dbmodels/program/Program.d.ts.map +0 -1
  153. package/dist/lib/dbmodels/program/RestDay.d.ts.map +0 -1
  154. package/dist/lib/dbmodels/program/StrengthTest.d.ts.map +0 -1
  155. package/dist/lib/dbmodels/program/StrengthTestExercise.d.ts.map +0 -1
  156. package/dist/lib/dbmodels/program/StrengthTestSession.d.ts.map +0 -1
  157. package/dist/lib/dbmodels/program/Superset.d.ts.map +0 -1
  158. package/dist/lib/dbmodels/program/ThirtyDayChallenge.d.ts.map +0 -1
  159. package/dist/lib/dbmodels/program/ThirtyDayChallengeStrengthTest.d.ts.map +0 -1
  160. package/dist/lib/dbmodels/program/TranslatedChallenge.d.ts.map +0 -1
  161. package/dist/lib/dbmodels/program/TranslatedExerciseModel.d.ts.map +0 -1
  162. package/dist/lib/dbmodels/program/TranslatedStrengthTest.d.ts.map +0 -1
  163. package/dist/lib/dbmodels/program/TranslatedStrengthTestExercise.d.ts.map +0 -1
  164. package/dist/lib/dbmodels/program/UserChallenge.d.ts.map +0 -1
  165. package/dist/lib/dbmodels/program/UserStrengthTests.d.ts.map +0 -1
  166. package/dist/lib/dbmodels/program/Workout.d.ts.map +0 -1
  167. package/dist/lib/dbmodels/program/WorkoutSession.d.ts.map +0 -1
  168. package/dist/lib/dbmodels/xpAndLeaderboards/UserRankHistory.d.ts.map +0 -1
  169. package/dist/lib/dbmodels/xpAndLeaderboards/XpEvent.d.ts.map +0 -1
  170. package/dist/lib/dbmodels/xpAndLeaderboards/XpTransaction.d.ts.map +0 -1
  171. package/dist/lib/enums/ProgramEnums.d.ts.map +0 -1
  172. package/dist/lib/enums/ProgramTemplates.d.ts.map +0 -1
  173. package/dist/lib/enums/cert.d.ts.map +0 -1
  174. package/dist/lib/models/BlueprintInterfaces.d.ts.map +0 -1
  175. package/dist/lib/models/ExerciseInterfaces.d.ts.map +0 -1
  176. package/dist/lib/models/NotificationInterfaces.d.ts.map +0 -1
  177. package/dist/lib/models/ProgramInterfaces.d.ts.map +0 -1
  178. package/dist/lib/models/UserInterfaces.d.ts.map +0 -1
  179. package/dist/lib/models/WorkoutInterfaces.d.ts.map +0 -1
  180. package/dist/lib/utils/AuthenticationUtil.d.ts.map +0 -1
  181. package/dist/lib/utils/NotificationClient.d.ts.map +0 -1
  182. package/dist/lib/utils/NotificationsUtil.d.ts.map +0 -1
  183. package/dist/src/index.js +0 -29
  184. package/dist/src/index.js.map +0 -1
  185. package/dist/src/lib/Errors/Errors.js.map +0 -1
  186. package/dist/src/lib/dbmodels/Badge.js.map +0 -1
  187. package/dist/src/lib/dbmodels/DeviceTokens.js.map +0 -1
  188. package/dist/src/lib/dbmodels/NotificationModels.js.map +0 -1
  189. package/dist/src/lib/dbmodels/PersistedUser.js.map +0 -1
  190. package/dist/src/lib/dbmodels/StreaksLog.js.map +0 -1
  191. package/dist/src/lib/dbmodels/Subscription.js.map +0 -1
  192. package/dist/src/lib/dbmodels/SubscriptionLog.js.map +0 -1
  193. package/dist/src/lib/dbmodels/TranslatedBadge.js.map +0 -1
  194. package/dist/src/lib/dbmodels/TranslatedNotification.js.map +0 -1
  195. package/dist/src/lib/dbmodels/UserBadges.js.map +0 -1
  196. package/dist/src/lib/dbmodels/UserCoach.js.map +0 -1
  197. package/dist/src/lib/dbmodels/UserDiscount.js.map +0 -1
  198. package/dist/src/lib/dbmodels/UserStreaks.js.map +0 -1
  199. package/dist/src/lib/dbmodels/UsersFriends.js.map +0 -1
  200. package/dist/src/lib/dbmodels/nonconsprogram/NonConsumableProgram.js.map +0 -1
  201. package/dist/src/lib/dbmodels/nonconsprogram/NonConsumableProgramWebContent.js.map +0 -1
  202. package/dist/src/lib/dbmodels/nonconsprogram/TranslatedConsumableProgram.js.map +0 -1
  203. package/dist/src/lib/dbmodels/nonconsprogram/TranslatedNonConsumableProgramWebContent.js.map +0 -1
  204. package/dist/src/lib/dbmodels/nonconsprogram/UserNonConsumableProgram.js.map +0 -1
  205. package/dist/src/lib/dbmodels/program/Challenge.js.map +0 -1
  206. package/dist/src/lib/dbmodels/program/ChallengeBlueprint.js.map +0 -1
  207. package/dist/src/lib/dbmodels/program/CustomProgramBlueprint.js.map +0 -1
  208. package/dist/src/lib/dbmodels/program/CustomStrengthTest.js.map +0 -1
  209. package/dist/src/lib/dbmodels/program/CustomStrengthTestExercises.js.map +0 -1
  210. package/dist/src/lib/dbmodels/program/CustomWorkoutBlueprint.js.map +0 -1
  211. package/dist/src/lib/dbmodels/program/Exercise.js.map +0 -1
  212. package/dist/src/lib/dbmodels/program/ExerciseModels.js.map +0 -1
  213. package/dist/src/lib/dbmodels/program/Program.js.map +0 -1
  214. package/dist/src/lib/dbmodels/program/RestDay.js.map +0 -1
  215. package/dist/src/lib/dbmodels/program/StrengthTest.js.map +0 -1
  216. package/dist/src/lib/dbmodels/program/StrengthTestExercise.js.map +0 -1
  217. package/dist/src/lib/dbmodels/program/StrengthTestSession.js.map +0 -1
  218. package/dist/src/lib/dbmodels/program/Superset.js.map +0 -1
  219. package/dist/src/lib/dbmodels/program/ThirtyDayChallenge.js.map +0 -1
  220. package/dist/src/lib/dbmodels/program/ThirtyDayChallengeStrengthTest.js.map +0 -1
  221. package/dist/src/lib/dbmodels/program/TranslatedChallenge.js.map +0 -1
  222. package/dist/src/lib/dbmodels/program/TranslatedExerciseModel.js.map +0 -1
  223. package/dist/src/lib/dbmodels/program/TranslatedStrengthTest.js.map +0 -1
  224. package/dist/src/lib/dbmodels/program/TranslatedStrengthTestExercise.js.map +0 -1
  225. package/dist/src/lib/dbmodels/program/UserChallenge.js.map +0 -1
  226. package/dist/src/lib/dbmodels/program/UserStrengthTests.js.map +0 -1
  227. package/dist/src/lib/dbmodels/program/Workout.js.map +0 -1
  228. package/dist/src/lib/dbmodels/program/WorkoutSession.js.map +0 -1
  229. package/dist/src/lib/dbmodels/xpAndLeaderboards/UserRankHistory.js.map +0 -1
  230. package/dist/src/lib/dbmodels/xpAndLeaderboards/XpEvent.js.map +0 -1
  231. package/dist/src/lib/dbmodels/xpAndLeaderboards/XpTransaction.js.map +0 -1
  232. package/dist/src/lib/enums/ProgramEnums.js.map +0 -1
  233. package/dist/src/lib/enums/ProgramTemplates.js.map +0 -1
  234. package/dist/src/lib/enums/cert.js.map +0 -1
  235. package/dist/src/lib/models/BlueprintInterfaces.js.map +0 -1
  236. package/dist/src/lib/models/ExerciseInterfaces.js.map +0 -1
  237. package/dist/src/lib/models/NotificationInterfaces.js.map +0 -1
  238. package/dist/src/lib/models/ProgramInterfaces.js.map +0 -1
  239. package/dist/src/lib/models/UserInterfaces.js.map +0 -1
  240. package/dist/src/lib/models/WorkoutInterfaces.js.map +0 -1
  241. package/dist/src/lib/utils/AuthenticationUtil.js.map +0 -1
  242. package/dist/src/lib/utils/NotificationClient.js.map +0 -1
  243. package/dist/src/lib/utils/NotificationsUtil.js.map +0 -1
  244. package/eslint.config.js +0 -30
  245. package/src/index.ts +0 -30
  246. package/src/lib/Errors/Errors.ts +0 -49
  247. package/src/lib/dbmodels/Badge.ts +0 -37
  248. package/src/lib/dbmodels/DeviceTokens.ts +0 -24
  249. package/src/lib/dbmodels/NotificationModels.ts +0 -39
  250. package/src/lib/dbmodels/PersistedUser.ts +0 -137
  251. package/src/lib/dbmodels/StreaksLog.ts +0 -28
  252. package/src/lib/dbmodels/Subscription.ts +0 -59
  253. package/src/lib/dbmodels/SubscriptionLog.ts +0 -35
  254. package/src/lib/dbmodels/TranslatedBadge.ts +0 -35
  255. package/src/lib/dbmodels/TranslatedNotification.ts +0 -42
  256. package/src/lib/dbmodels/UserBadges.ts +0 -45
  257. package/src/lib/dbmodels/UserCoach.ts +0 -13
  258. package/src/lib/dbmodels/UserDiscount.ts +0 -14
  259. package/src/lib/dbmodels/UserStreaks.ts +0 -54
  260. package/src/lib/dbmodels/UsersFriends.ts +0 -24
  261. package/src/lib/dbmodels/nonconsprogram/NonConsumableProgram.ts +0 -98
  262. package/src/lib/dbmodels/nonconsprogram/NonConsumableProgramWebContent.ts +0 -63
  263. package/src/lib/dbmodels/nonconsprogram/TranslatedConsumableProgram.ts +0 -67
  264. package/src/lib/dbmodels/nonconsprogram/TranslatedNonConsumableProgramWebContent.ts +0 -70
  265. package/src/lib/dbmodels/nonconsprogram/UserNonConsumableProgram.ts +0 -20
  266. package/src/lib/dbmodels/program/Challenge.ts +0 -35
  267. package/src/lib/dbmodels/program/ChallengeBlueprint.ts +0 -44
  268. package/src/lib/dbmodels/program/CustomProgramBlueprint.ts +0 -57
  269. package/src/lib/dbmodels/program/CustomStrengthTest.ts +0 -54
  270. package/src/lib/dbmodels/program/CustomStrengthTestExercises.ts +0 -53
  271. package/src/lib/dbmodels/program/CustomWorkoutBlueprint.ts +0 -38
  272. package/src/lib/dbmodels/program/Exercise.ts +0 -53
  273. package/src/lib/dbmodels/program/ExerciseModels.ts +0 -69
  274. package/src/lib/dbmodels/program/Program.ts +0 -54
  275. package/src/lib/dbmodels/program/RestDay.ts +0 -29
  276. package/src/lib/dbmodels/program/StrengthTest.ts +0 -30
  277. package/src/lib/dbmodels/program/StrengthTestExercise.ts +0 -45
  278. package/src/lib/dbmodels/program/StrengthTestSession.ts +0 -56
  279. package/src/lib/dbmodels/program/Superset.ts +0 -27
  280. package/src/lib/dbmodels/program/ThirtyDayChallenge.ts +0 -46
  281. package/src/lib/dbmodels/program/ThirtyDayChallengeStrengthTest.ts +0 -38
  282. package/src/lib/dbmodels/program/TranslatedChallenge.ts +0 -38
  283. package/src/lib/dbmodels/program/TranslatedExerciseModel.ts +0 -66
  284. package/src/lib/dbmodels/program/TranslatedStrengthTest.ts +0 -42
  285. package/src/lib/dbmodels/program/TranslatedStrengthTestExercise.ts +0 -47
  286. package/src/lib/dbmodels/program/UserChallenge.ts +0 -29
  287. package/src/lib/dbmodels/program/UserStrengthTests.ts +0 -44
  288. package/src/lib/dbmodels/program/Workout.ts +0 -46
  289. package/src/lib/dbmodels/program/WorkoutSession.ts +0 -56
  290. package/src/lib/dbmodels/xpAndLeaderboards/UserRankHistory.ts +0 -24
  291. package/src/lib/dbmodels/xpAndLeaderboards/XpEvent.ts +0 -23
  292. package/src/lib/dbmodels/xpAndLeaderboards/XpTransaction.ts +0 -36
  293. package/src/lib/enums/ProgramEnums.ts +0 -19
  294. package/src/lib/enums/ProgramTemplates.ts +0 -881
  295. package/src/lib/enums/cert.ts +0 -16
  296. package/src/lib/models/BlueprintInterfaces.ts +0 -38
  297. package/src/lib/models/ExerciseInterfaces.ts +0 -84
  298. package/src/lib/models/NotificationInterfaces.ts +0 -66
  299. package/src/lib/models/ProgramInterfaces.ts +0 -26
  300. package/src/lib/models/UserInterfaces.ts +0 -178
  301. package/src/lib/models/WorkoutInterfaces.ts +0 -58
  302. package/src/lib/utils/AuthenticationUtil.ts +0 -621
  303. package/src/lib/utils/NotificationClient.ts +0 -492
  304. package/src/lib/utils/NotificationsUtil.ts +0 -323
  305. package/tsconfig.json +0 -37
  306. /package/dist/{lib/Errors → Errors}/Errors.d.ts +0 -0
  307. /package/dist/{lib/dbmodels → dbmodels}/Badge.d.ts +0 -0
  308. /package/dist/{lib/dbmodels → dbmodels}/DeviceTokens.d.ts +0 -0
  309. /package/dist/{lib/dbmodels → dbmodels}/NotificationModels.d.ts +0 -0
  310. /package/dist/{lib/dbmodels → dbmodels}/PersistedUser.d.ts +0 -0
  311. /package/dist/{lib/dbmodels → dbmodels}/StreaksLog.d.ts +0 -0
  312. /package/dist/{lib/dbmodels → dbmodels}/Subscription.d.ts +0 -0
  313. /package/dist/{lib/dbmodels → dbmodels}/SubscriptionLog.d.ts +0 -0
  314. /package/dist/{lib/dbmodels → dbmodels}/TranslatedBadge.d.ts +0 -0
  315. /package/dist/{lib/dbmodels → dbmodels}/TranslatedNotification.d.ts +0 -0
  316. /package/dist/{lib/dbmodels → dbmodels}/UserBadges.d.ts +0 -0
  317. /package/dist/{lib/dbmodels → dbmodels}/UserCoach.d.ts +0 -0
  318. /package/dist/{lib/dbmodels → dbmodels}/UserDiscount.d.ts +0 -0
  319. /package/dist/{lib/dbmodels → dbmodels}/UserStreaks.d.ts +0 -0
  320. /package/dist/{lib/dbmodels → dbmodels}/UsersFriends.d.ts +0 -0
  321. /package/dist/{lib/dbmodels → dbmodels}/nonconsprogram/NonConsumableProgram.d.ts +0 -0
  322. /package/dist/{lib/dbmodels → dbmodels}/nonconsprogram/NonConsumableProgramWebContent.d.ts +0 -0
  323. /package/dist/{lib/dbmodels → dbmodels}/nonconsprogram/TranslatedConsumableProgram.d.ts +0 -0
  324. /package/dist/{lib/dbmodels → dbmodels}/nonconsprogram/TranslatedNonConsumableProgramWebContent.d.ts +0 -0
  325. /package/dist/{lib/dbmodels → dbmodels}/nonconsprogram/UserNonConsumableProgram.d.ts +0 -0
  326. /package/dist/{lib/dbmodels → dbmodels}/program/Challenge.d.ts +0 -0
  327. /package/dist/{lib/dbmodels → dbmodels}/program/ChallengeBlueprint.d.ts +0 -0
  328. /package/dist/{lib/dbmodels → dbmodels}/program/CustomProgramBlueprint.d.ts +0 -0
  329. /package/dist/{lib/dbmodels → dbmodels}/program/CustomStrengthTest.d.ts +0 -0
  330. /package/dist/{lib/dbmodels → dbmodels}/program/CustomStrengthTestExercises.d.ts +0 -0
  331. /package/dist/{lib/dbmodels → dbmodels}/program/CustomWorkoutBlueprint.d.ts +0 -0
  332. /package/dist/{lib/dbmodels → dbmodels}/program/Exercise.d.ts +0 -0
  333. /package/dist/{lib/dbmodels → dbmodels}/program/ExerciseModels.d.ts +0 -0
  334. /package/dist/{lib/dbmodels → dbmodels}/program/Program.d.ts +0 -0
  335. /package/dist/{lib/dbmodels → dbmodels}/program/RestDay.d.ts +0 -0
  336. /package/dist/{lib/dbmodels → dbmodels}/program/StrengthTest.d.ts +0 -0
  337. /package/dist/{lib/dbmodels → dbmodels}/program/StrengthTestExercise.d.ts +0 -0
  338. /package/dist/{lib/dbmodels → dbmodels}/program/StrengthTestSession.d.ts +0 -0
  339. /package/dist/{lib/dbmodels → dbmodels}/program/Superset.d.ts +0 -0
  340. /package/dist/{lib/dbmodels → dbmodels}/program/ThirtyDayChallenge.d.ts +0 -0
  341. /package/dist/{lib/dbmodels → dbmodels}/program/ThirtyDayChallengeStrengthTest.d.ts +0 -0
  342. /package/dist/{lib/dbmodels → dbmodels}/program/TranslatedChallenge.d.ts +0 -0
  343. /package/dist/{lib/dbmodels → dbmodels}/program/TranslatedExerciseModel.d.ts +0 -0
  344. /package/dist/{lib/dbmodels → dbmodels}/program/TranslatedStrengthTest.d.ts +0 -0
  345. /package/dist/{lib/dbmodels → dbmodels}/program/TranslatedStrengthTestExercise.d.ts +0 -0
  346. /package/dist/{lib/dbmodels → dbmodels}/program/UserChallenge.d.ts +0 -0
  347. /package/dist/{lib/dbmodels → dbmodels}/program/UserStrengthTests.d.ts +0 -0
  348. /package/dist/{lib/dbmodels → dbmodels}/program/Workout.d.ts +0 -0
  349. /package/dist/{lib/dbmodels → dbmodels}/program/WorkoutSession.d.ts +0 -0
  350. /package/dist/{lib/dbmodels → dbmodels}/xpAndLeaderboards/UserRankHistory.d.ts +0 -0
  351. /package/dist/{lib/dbmodels → dbmodels}/xpAndLeaderboards/XpEvent.d.ts +0 -0
  352. /package/dist/{lib/dbmodels → dbmodels}/xpAndLeaderboards/XpTransaction.d.ts +0 -0
  353. /package/dist/{lib/enums → enums}/ProgramEnums.d.ts +0 -0
  354. /package/dist/{lib/enums → enums}/ProgramTemplates.d.ts +0 -0
  355. /package/dist/{lib/enums → enums}/cert.d.ts +0 -0
  356. /package/dist/{src/lib → lib}/Errors/Errors.js +0 -0
  357. /package/dist/{src/lib → lib}/dbmodels/Badge.js +0 -0
  358. /package/dist/{src/lib → lib}/dbmodels/DeviceTokens.js +0 -0
  359. /package/dist/{src/lib → lib}/dbmodels/NotificationModels.js +0 -0
  360. /package/dist/{src/lib → lib}/dbmodels/PersistedUser.js +0 -0
  361. /package/dist/{src/lib → lib}/dbmodels/StreaksLog.js +0 -0
  362. /package/dist/{src/lib → lib}/dbmodels/Subscription.js +0 -0
  363. /package/dist/{src/lib → lib}/dbmodels/SubscriptionLog.js +0 -0
  364. /package/dist/{src/lib → lib}/dbmodels/TranslatedBadge.js +0 -0
  365. /package/dist/{src/lib → lib}/dbmodels/TranslatedNotification.js +0 -0
  366. /package/dist/{src/lib → lib}/dbmodels/UserBadges.js +0 -0
  367. /package/dist/{src/lib → lib}/dbmodels/UserCoach.js +0 -0
  368. /package/dist/{src/lib → lib}/dbmodels/UserDiscount.js +0 -0
  369. /package/dist/{src/lib → lib}/dbmodels/UserStreaks.js +0 -0
  370. /package/dist/{src/lib → lib}/dbmodels/UsersFriends.js +0 -0
  371. /package/dist/{src/lib → lib}/dbmodels/nonconsprogram/NonConsumableProgram.js +0 -0
  372. /package/dist/{src/lib → lib}/dbmodels/nonconsprogram/NonConsumableProgramWebContent.js +0 -0
  373. /package/dist/{src/lib → lib}/dbmodels/nonconsprogram/TranslatedConsumableProgram.js +0 -0
  374. /package/dist/{src/lib → lib}/dbmodels/nonconsprogram/TranslatedNonConsumableProgramWebContent.js +0 -0
  375. /package/dist/{src/lib → lib}/dbmodels/nonconsprogram/UserNonConsumableProgram.js +0 -0
  376. /package/dist/{src/lib → lib}/dbmodels/program/Challenge.js +0 -0
  377. /package/dist/{src/lib → lib}/dbmodels/program/ChallengeBlueprint.js +0 -0
  378. /package/dist/{src/lib → lib}/dbmodels/program/CustomProgramBlueprint.js +0 -0
  379. /package/dist/{src/lib → lib}/dbmodels/program/CustomStrengthTest.js +0 -0
  380. /package/dist/{src/lib → lib}/dbmodels/program/CustomStrengthTestExercises.js +0 -0
  381. /package/dist/{src/lib → lib}/dbmodels/program/CustomWorkoutBlueprint.js +0 -0
  382. /package/dist/{src/lib → lib}/dbmodels/program/Exercise.js +0 -0
  383. /package/dist/{src/lib → lib}/dbmodels/program/ExerciseModels.js +0 -0
  384. /package/dist/{src/lib → lib}/dbmodels/program/Program.js +0 -0
  385. /package/dist/{src/lib → lib}/dbmodels/program/RestDay.js +0 -0
  386. /package/dist/{src/lib → lib}/dbmodels/program/StrengthTest.js +0 -0
  387. /package/dist/{src/lib → lib}/dbmodels/program/StrengthTestExercise.js +0 -0
  388. /package/dist/{src/lib → lib}/dbmodels/program/StrengthTestSession.js +0 -0
  389. /package/dist/{src/lib → lib}/dbmodels/program/Superset.js +0 -0
  390. /package/dist/{src/lib → lib}/dbmodels/program/ThirtyDayChallenge.js +0 -0
  391. /package/dist/{src/lib → lib}/dbmodels/program/ThirtyDayChallengeStrengthTest.js +0 -0
  392. /package/dist/{src/lib → lib}/dbmodels/program/TranslatedChallenge.js +0 -0
  393. /package/dist/{src/lib → lib}/dbmodels/program/TranslatedExerciseModel.js +0 -0
  394. /package/dist/{src/lib → lib}/dbmodels/program/TranslatedStrengthTest.js +0 -0
  395. /package/dist/{src/lib → lib}/dbmodels/program/TranslatedStrengthTestExercise.js +0 -0
  396. /package/dist/{src/lib → lib}/dbmodels/program/UserChallenge.js +0 -0
  397. /package/dist/{src/lib → lib}/dbmodels/program/UserStrengthTests.js +0 -0
  398. /package/dist/{src/lib → lib}/dbmodels/program/Workout.js +0 -0
  399. /package/dist/{src/lib → lib}/dbmodels/program/WorkoutSession.js +0 -0
  400. /package/dist/{src/lib → lib}/dbmodels/xpAndLeaderboards/UserRankHistory.js +0 -0
  401. /package/dist/{src/lib → lib}/dbmodels/xpAndLeaderboards/XpEvent.js +0 -0
  402. /package/dist/{src/lib → lib}/dbmodels/xpAndLeaderboards/XpTransaction.js +0 -0
  403. /package/dist/{src/lib → lib}/enums/ProgramEnums.js +0 -0
  404. /package/dist/{src/lib → lib}/enums/ProgramTemplates.js +0 -0
  405. /package/dist/{src/lib → lib}/enums/cert.js +0 -0
  406. /package/dist/{src/lib → lib}/models/BlueprintInterfaces.js +0 -0
  407. /package/dist/{src/lib → lib}/models/ExerciseInterfaces.js +0 -0
  408. /package/dist/{src/lib → lib}/models/NotificationInterfaces.js +0 -0
  409. /package/dist/{src/lib → lib}/models/ProgramInterfaces.js +0 -0
  410. /package/dist/{src/lib → lib}/models/UserInterfaces.js +0 -0
  411. /package/dist/{src/lib → lib}/models/WorkoutInterfaces.js +0 -0
  412. /package/dist/{src/lib → lib}/utils/AuthenticationUtil.js +0 -0
  413. /package/dist/{src/lib → lib}/utils/NotificationClient.js +0 -0
  414. /package/dist/{src/lib → lib}/utils/NotificationsUtil.js +0 -0
  415. /package/dist/{lib/models → models}/BlueprintInterfaces.d.ts +0 -0
  416. /package/dist/{lib/models → models}/ExerciseInterfaces.d.ts +0 -0
  417. /package/dist/{lib/models → models}/NotificationInterfaces.d.ts +0 -0
  418. /package/dist/{lib/models → models}/ProgramInterfaces.d.ts +0 -0
  419. /package/dist/{lib/models → models}/UserInterfaces.d.ts +0 -0
  420. /package/dist/{lib/models → models}/WorkoutInterfaces.d.ts +0 -0
  421. /package/dist/{lib/utils → utils}/AuthenticationUtil.d.ts +0 -0
  422. /package/dist/{lib/utils → utils}/NotificationClient.d.ts +0 -0
  423. /package/dist/{lib/utils → utils}/NotificationsUtil.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/lib/Errors/Errors.ts"],"names":[],"mappings":"AAAA,qBAAa,gBAAiB,SAAQ,KAAK;IACzC,KAAK,KAAM;gBAEC,OAAO,EAAE,MAAM;CAK5B;AAED,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,KAAK,KAAM;gBAEC,OAAO,EAAE,MAAM;CAK5B;AAED,qBAAa,qBAAsB,SAAQ,KAAK;IAC9C,KAAK,KAAM;gBAEC,OAAO,EAAE,MAAM;CAK5B;AAED,qBAAa,eAAgB,SAAQ,KAAK;IACxC,KAAK,KAAM;gBAEC,OAAO,EAAE,MAAM;CAK5B;AAED,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,KAAK,KAAM;gBAEC,OAAO,EAAE,MAAM;CAK5B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/Badge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoD,KAAK,EAAQ,MAAM,sBAAsB,CAAC;AAErG,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AAErD,qBACa,KAAM,SAAQ,KAAK;IAQpB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,IAAI,EAAE,MAAM,EAAE,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,KAAK,EAAE,MAAM,CAAC;IAGd,WAAW,EAAE,MAAM,CAAC;IAGpB,KAAK,EAAE,aAAa,EAAE,CAAC;IAGvB,gBAAgB,EAAE,eAAe,EAAE,CAAC;CAC/C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeviceTokens.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/DeviceTokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,EAAS,MAAM,sBAAsB,CAAC;AAEtE,qBACa,YAAa,SAAQ,KAAK;IAO7B,QAAQ,EAAE,MAAM,CAAC;IAMjB,WAAW,EAAE,MAAM,CAAC;IAMpB,QAAQ,EAAE,KAAK,GAAG,SAAS,CAAC;CACrC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationModels.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/NotificationModels.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,EAAS,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAAC,sBAAsB,EAAC,MAAM,6BAA6B,CAAC;AAEnE,qBACa,kBAAmB,SAAQ,KAAK;IAOnC,IAAI,EAAE,MAAM,CAAC;IAMb,IAAI,EACR,8BAA8B,GAC9B,2BAA2B,GAC3B,4BAA4B,GAC5B,kBAAkB,GAClB,yBAAyB,GACzB,eAAe,GACf,iBAAiB,GACjB,eAAe,GACf,YAAY,GACZ,mBAAmB,GACnB,qBAAqB,CAAC;IAMlB,IAAI,EAAE,MAAM,CAAC;IAGb,YAAY,EAAE,sBAAsB,EAAE,CAAC;CAChD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PersistedUser.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/PersistedUser.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,EAEN,MAAM,sBAAsB,CAAC;AAC9B,OAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,oBAAoB,EAAC,MAAM,0CAA0C,CAAC;AAE9E,qBACa,aAAc,SAAQ,KAAK;IAS9B,QAAQ,EAAE,MAAM,CAAC;IAIjB,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,MAAM,EAAE,MAAM,CAAC;IAGf,GAAG,EAAE,MAAM,CAAC;IAGZ,IAAI,EAAE,MAAM,CAAC;IAGb,aAAa,EAAE,OAAO,CAAC;IAGvB,WAAW,EAAE,OAAO,CAAC;IAGrB,kBAAkB,EAAE,OAAO,CAAC;IAG5B,UAAU,EAAE,MAAM,CAAC;IAGnB,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;IAG1B,KAAK,EAAE,MAAM,CAAC;IAGd,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,EAAE,MAAM,CAAC;IAGpB,YAAY,EAAE,MAAM,CAAC;IAGrB,MAAM,EAAE,MAAM,CAAC;IAGf,MAAM,EAAE,MAAM,CAAC;IAGf,eAAe,EAAE,MAAM,CAAC;IAGxB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,mBAAmB,EAAE,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,CAAC;IAGhE,YAAY,EAAE,MAAM,CAAC;IAGrB,cAAc,EAAE,OAAO,CAAC;IAGxB,qBAAqB,EAAE,OAAO,CAAC;IAG/B,WAAW,EAAE,OAAO,CAAC;IAGrB,kBAAkB,EAAE,OAAO,CAAC;IAG5B,OAAO,EAAE,MAAM,CAAC;IAGhB,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,YAAY,EAAE,YAAY,CAAC;IAG3B,qBAAqB,EAAE,oBAAoB,EAAE,CAAC;IAG9C,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,KAAK,CAAC,EAAE,aAAa,CAAC;IAGtB,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;CACnC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StreaksLog.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/StreaksLog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,KAAK,EAAQ,MAAM,sBAAsB,CAAC;AAG1F,qBACa,UAAW,SAAQ,KAAK;IAQzB,IAAI,EAAE,MAAM,CAAC;IAOb,QAAQ,EAAE,MAAM,CAAC;IAMjB,gBAAgB,EAAE,IAAI,CAAC;CAElC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Subscription.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/Subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,EAGN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,WAAW,CAAC;AAEhD,qBACa,YAAa,SAAQ,KAAK;IAQ7B,QAAQ,EAAE,MAAM,CAAC;IAGjB,UAAU,EAAE,MAAM,CAAC;IAGnB,QAAQ,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;IAGxC,MAAM,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;IAG1C,IAAI,EAAE,MAAM,CAAC;IAGb,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,IAAI,EAAE,aAAa,CAAC;IAGpB,gBAAgB,EAAE,eAAe,EAAE,CAAC;IAKpC,SAAS,EAAE,gBAAgB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAKzC,SAAS,EAAE,gBAAgB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CAClD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubscriptionLog.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/SubscriptionLog.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,EAEN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,qBACa,eAAgB,SAAQ,KAAK;IAQhC,IAAI,EAAE,MAAM,CAAC;IAOb,gBAAgB,EAAE,MAAM,CAAC;IAGzB,MAAM,EAAE,MAAM,CAAC;IAGf,YAAY,EAAE,YAAY,CAAC;CACpC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TranslatedBadge.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/TranslatedBadge.ts"],"names":[],"mappings":"AAAA,OAAO,EAMH,KAAK,EAGR,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAC,KAAK,EAAC,MAAM,YAAY,CAAC;AAEjC,qBACa,eAAgB,SAAQ,KAAK;IAI9B,IAAI,EAAE,MAAM,CAAC;IAIb,SAAS,EAAE,MAAM,CAAC;IAGlB,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,MAAM,CAAC;IAGjB,WAAW,EAAE,MAAM,CAAC;IAGpB,KAAK,EAAE,KAAK,CAAC;CACxB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TranslatedNotification.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/TranslatedNotification.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,EAEN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,qBACa,sBAAuB,SAAQ,KAAK;IAOvC,IAAI,EAAE,MAAM,CAAC;IAOb,gBAAgB,EAAE,MAAM,CAAC;IAMzB,QAAQ,EAAE,MAAM,CAAC;IAMjB,IAAI,EAAE,MAAM,CAAC;IAGb,YAAY,EAAE,kBAAkB,CAAC;CAC1C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserBadges.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/UserBadges.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2C,KAAK,EAAS,MAAM,sBAAsB,CAAC;AAC7F,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAE7C,qBAEe,UAAW,SAAQ,KAAK;IAM3B,QAAQ,EAAE,MAAM,CAAC;IAOjB,SAAS,EAAE,MAAM,CAAC;IAOlB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAI7B,WAAW,EAAE,MAAM,CAAC;IAGpB,YAAY,EAAE,OAAO,CAAC;IAGtB,IAAI,EAAE,aAAa,CAAC;IAGpB,KAAK,EAAE,KAAK,CAAC;IAGb,eAAe,CAAC,EAAE,OAAO,CAAC;CACrC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserCoach.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/UserCoach.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,EAAS,MAAM,sBAAsB,CAAC;AAGlF,qBACa,SAAU,SAAQ,KAAK;IAGxB,QAAQ,EAAE,MAAM,CAAC;IAIjB,SAAS,EAAE,MAAM,CAAC;CAC7B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserDiscount.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/UserDiscount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,EAAgC,MAAM,sBAAsB,CAAC;AAGlF,qBAGa,YAAa,SAAQ,KAAK;IAG3B,QAAQ,EAAE,MAAM,CAAC;IAGjB,cAAc,EAAE,MAAM,CAAC;CAClC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserStreaks.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/UserStreaks.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,EAAmC,MAAM,sBAAsB,CAAC;AACzG,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,qBAGa,UAAW,SAAQ,KAAK;IAQ3B,QAAQ,EAAE,MAAM,CAAC;IAMjB,aAAa,EAAE,MAAM,CAAC;IAMtB,aAAa,EAAE,MAAM,CAAC;IAMtB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;IAM1C,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAM1B,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAGvB,IAAI,EAAE,aAAa,CAAC;CAC7B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UsersFriends.d.ts","sourceRoot":"","sources":["../../src/lib/dbmodels/UsersFriends.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,EAAQ,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAEjD,qBACa,YAAa,SAAQ,KAAK;IAE7B,QAAQ,EAAE,MAAM,CAAC;IAGjB,UAAU,EAAE,MAAM,CAAC;IAGnB,MAAM,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;IAG5C,SAAS,EAAE,IAAI,CAAC;IAGhB,IAAI,EAAE,aAAa,CAAC;IAGpB,MAAM,EAAE,aAAa,CAAC;CAE/B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NonConsumableProgram.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/nonconsprogram/NonConsumableProgram.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,EAEN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,4BAA4B,EAC7B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/E,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF,qBACa,oBAAqB,SAAQ,KAAK;IAQrC,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,WAAW,EAAE,MAAM,CAAC;IAGpB,aAAa,EAAE,MAAM,CAAC;IAGtB,KAAK,EAAE,MAAM,CAAC;IAGd,eAAe,EAAE,MAAM,CAAC;IAGxB,UAAU,EAAE,4BAA4B,CAAC;IAGzC,IAAI,EAAE,sBAAsB,CAAC;IAG7B,IAAI,EAAE,sBAAsB,CAAC;IAG7B,MAAM,EAAE,OAAO,CAAC;IAGhB,aAAa,EAAE,OAAO,CAAC;IAGvB,MAAM,EAAE,OAAO,CAAC;IAGhB,QAAQ,EAAE,OAAO,CAAC;IAGlB,iBAAiB,EAAE,MAAM,CAAC;IAG1B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGhC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtB,QAAQ,EAAE,OAAO,CAAC;IAGlB,QAAQ,EAAE,OAAO,CAAC;IAGlB,kBAAkB,EAAE,2BAA2B,EAAE,CAAC;IAGlD,8BAA8B,EAAE,8BAA8B,CAAC;IAG/D,KAAK,EAAE,aAAa,EAAE,CAAC;IAGvB,QAAQ,EAAE,OAAO,EAAE,CAAC;CAC7B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NonConsumableProgramWebContent.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/nonconsprogram/NonConsumableProgramWebContent.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,EAEN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAC,wCAAwC,EAAC,MAAM,+CAA+C,CAAC;AAEvG,qBACa,8BAA+B,SAAQ,KAAK;IAI/C,wBAAwB,EAAE,MAAM,CAAC;IAGjC,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,MAAM,CAAC;IAGjB,WAAW,EAAE,MAAM,CAAC;IAGpB,WAAW,EAAE,MAAM,CAAC;IAGpB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,WAAW,EAAE,MAAM,CAAC;IAGpB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,eAAe,EAAE,MAAM,CAAC;IAGxB,eAAe,EAAE,MAAM,CAAC;IAGxB,eAAe,EAAE,MAAM,CAAC;IAGxB,UAAU,EAAE,MAAM,CAAC;IAGnB,iBAAiB,EAAE,MAAM,CAAC;IAG1B,sBAAsB,EAAE,MAAM,CAAC;IAG/B,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAGhC,oBAAoB,EAAE,wCAAwC,EAAE,CAAC;CAC1E"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TranslatedConsumableProgram.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/nonconsprogram/TranslatedConsumableProgram.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,EAEN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,4BAA4B,EAC7B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,qBACa,2BAA4B,SAAQ,KAAK;IAQ5C,IAAI,EAAE,MAAM,CAAC;IAIb,WAAW,EAAE,MAAM,CAAC;IAGpB,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,MAAM,CAAC;IAGjB,WAAW,EAAE,MAAM,CAAC;IAGpB,aAAa,EAAE,MAAM,CAAC;IAGtB,KAAK,EAAE,MAAM,CAAC;IAGd,UAAU,EAAE,4BAA4B,CAAC;IAGzC,IAAI,EAAE,sBAAsB,CAAC;IAG7B,IAAI,EAAE,sBAAsB,CAAC;IAG7B,MAAM,EAAE,OAAO,CAAC;IAGhB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGhC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,eAAe,EAAE,oBAAoB,CAAC;CAC/C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TranslatedNonConsumableProgramWebContent.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/nonconsprogram/TranslatedNonConsumableProgramWebContent.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,KAAK,EAER,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAC,8BAA8B,EAAC,MAAM,qCAAqC,CAAC;AAEnF,qBACa,wCAAyC,SAAQ,KAAK;IAQvD,IAAI,EAAE,MAAM,CAAC;IAIb,sBAAsB,EAAE,MAAM,CAAC;IAG/B,QAAQ,EAAE,MAAM,CAAC;IAGjB,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,MAAM,CAAC;IAGjB,WAAW,EAAE,MAAM,CAAC;IAGpB,WAAW,EAAE,MAAM,CAAC;IAGpB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,WAAW,EAAE,MAAM,CAAC;IAGpB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,eAAe,EAAE,MAAM,CAAC;IAGxB,eAAe,EAAE,MAAM,CAAC;IAGxB,eAAe,EAAE,MAAM,CAAC;IAGxB,UAAU,EAAE,MAAM,CAAC;IAGnB,iBAAiB,EAAE,MAAM,CAAC;IAG1B,sBAAsB,EAAE,MAAM,CAAC;IAG/B,OAAO,EAAE,8BAA8B,EAAE,CAAC;CACrD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserNonConsumableProgram.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/nonconsprogram/UserNonConsumableProgram.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,EAAmC,MAAM,sBAAsB,CAAC;AAI5F,qBACa,YAAa,SAAQ,KAAK,CAAC,YAAY,CAAC;IAIzC,QAAQ,EAAE,MAAM,CAAC;IAKjB,WAAW,EAAE,MAAM,CAAC;IAGpB,gBAAgB,EAAE,MAAM,CAAC;CACpC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Challenge.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/Challenge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,EAAS,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,qBACa,SAAU,SAAQ,KAAK,CAAC,SAAS,CAAC;IAQtC,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,GAAG,EAAE,MAAM,CAAC;IAGZ,OAAO,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE,MAAM,CAAC;IAGlB,aAAa,EAAE,OAAO,CAAC;IAGvB,QAAQ,EAAE,MAAM,CAAC;IAGjB,oBAAoB,EAAE,mBAAmB,EAAE,CAAC;CACpD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChallengeBlueprint.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/ChallengeBlueprint.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,KAAK,EAAQ,MAAM,sBAAsB,CAAC;AAGhG,qBACa,kBAAmB,SAAQ,KAAK;IAQjC,IAAI,EAAE,MAAM,CAAC;IASb,aAAa,EAAE,MAAM,CAAC;IAGtB,KAAK,EAAE,MAAM,CAAC;IAGd,GAAG,EAAE,MAAM,CAAC;IAGZ,OAAO,EAAE,MAAM,CAAC;IAGhB,KAAK,EAAE,MAAM,CAAC;IAGd,SAAS,EAAE,MAAM,CAAC;IAGlB,aAAa,EAAE,OAAO,CAAC;IAGvB,QAAQ,EAAE,MAAM,CAAC;CAC5B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomProgramBlueprint.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/CustomProgramBlueprint.ts"],"names":[],"mappings":"AAAA,OAAO,EAMH,KAAK,EAER,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AACrC,OAAO,EAAC,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAC,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAC,sBAAsB,EAAC,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAElD,qBACa,sBAAuB,SAAQ,KAAK;IAQrC,IAAI,EAAE,MAAM,CAAC;IAOb,SAAS,EAAE,MAAM,CAAC;IAGlB,KAAK,EAAE,MAAM,CAAC;IAGd,KAAK,EAAE,MAAM,CAAC;IAGd,YAAY,EAAE,MAAM,CAAC;IAGrB,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IAGnC,QAAQ,EAAE,OAAO,EAAE,CAAC;IAGpB,UAAU,EAAE,kBAAkB,EAAE,CAAC;IAGjC,aAAa,EAAE,kBAAkB,EAAE,CAAC;IAGpC,IAAI,EAAE,aAAa,CAAC;CAC/B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomStrengthTest.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/CustomStrengthTest.ts"],"names":[],"mappings":"AAAA,OAAO,EAOH,KAAK,EAER,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAC,0BAA0B,EAAC,MAAM,kCAAkC,CAAC;AAE5E,qBACa,kBAAmB,SAAQ,KAAK;IAQjC,IAAI,EAAE,MAAM,CAAC;IASb,aAAa,EAAE,MAAM,CAAC;IAMtB,IAAI,EAAE,MAAM,CAAC;IAMb,KAAK,EAAE,MAAM,CAAC;IAGd,SAAS,EAAE,0BAA0B,EAAE,CAAC;IAMxC,UAAU,EAAE,OAAO,CAAC;CAC/B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomStrengthTestExercises.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/CustomStrengthTestExercises.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,KAAK,EAER,MAAM,sBAAsB,CAAC;AAG9B,qBACa,0BAA2B,SAAQ,KAAK;IAQzC,IAAI,EAAE,MAAM,CAAC;IASb,MAAM,EAAE,MAAM,CAAC;IAGf,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,MAAM,CAAC;IAGd,KAAK,EAAE,MAAM,CAAC;IAGd,OAAO,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,EAAE,QAAQ,CAAC;CAE9B;AAED,MAAM,WAAW,QAAQ;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CAC9C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomWorkoutBlueprint.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/CustomWorkoutBlueprint.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,KAAK,EAAQ,MAAM,sBAAsB,CAAC;AAEhG,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,qCAAqC,CAAC;AAE3E,qBACa,sBAAuB,SAAQ,KAAK;IAQrC,IAAI,EAAE,MAAM,CAAC;IAIb,aAAa,EAAE,MAAM,CAAC;IAGtB,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,MAAM,CAAC;IAGjB,KAAK,EAAE,MAAM,CAAC;IAGd,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAG/B,QAAQ,EAAE,aAAa,EAAE,CAAC;CACrC;AACD,MAAM,WAAW,aAAa;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,iBAAiB,EAAE,CAAC;CAClC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Exercise.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,EAEN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,EAAC,QAAQ,EAAE,eAAe,EAAC,MAAM,oCAAoC,CAAC;AAElF,qBACa,QAAS,SAAQ,KAAK,CAAC,QAAQ,CAAE,YAAW,eAAe;IAQ9D,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,QAAQ,EAAE,CAAC;IAGrB,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,CAAC;IAQjB,WAAW,EAAE,MAAM,CAAC;IAGpB,OAAO,EAAE,OAAO,CAAC;CAC1B"}
@@ -0,0 +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,mBAAmB,EAAE,uBAAuB,EAAE,CAAC;CAC1D"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Program.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/Program.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAML,KAAK,EAEN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAC,oBAAoB,EAAC,MAAM,2CAA2C,CAAC;AAE/E,qBACa,OAAQ,SAAQ,KAAK,CAAC,OAAO,CAAC;IAQjC,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,EAAE,MAAM,CAAC;IAIjB,wBAAwB,EAAE,MAAM,CAAC;IAGjC,SAAS,EAAE,MAAM,CAAC;IAGlB,WAAW,EAAE,MAAM,CAAC;IAGpB,SAAS,EAAE,IAAI,CAAC;IAGhB,OAAO,EAAE,OAAO,EAAE,CAAC;IAGnB,oBAAoB,EAAE,oBAAoB,CAAC;WAGtC,qBAAqB,CAAC,QAAQ,EAAE,OAAO;CAOrD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RestDay.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/RestDay.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,EAGN,MAAM,sBAAsB,CAAC;AAG9B,qBACa,OAAQ,SAAQ,KAAK;IAIxB,IAAI,EAAE,MAAM,CAAC;IAKb,aAAa,EAAE,MAAM,CAAC;IAGtB,UAAU,EAAE,OAAO,CAAC;IAGpB,KAAK,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StrengthTest.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/StrengthTest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,EAAS,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAEpE,qBACa,YAAa,SAAQ,KAAK,CAAC,YAAY,CAAC;IAQ5C,IAAI,EAAE,MAAM,CAAC;IAMb,IAAI,EAAE,MAAM,CAAC;IAMb,SAAS,EAAE,oBAAoB,EAAE,CAAC;IAGlC,uBAAuB,EAAE,sBAAsB,EAAE,CAAC;CAC1D"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StrengthTestExercise.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/StrengthTestExercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkD,KAAK,EAAS,MAAM,sBAAsB,CAAC;AAEpG,OAAO,EAAC,8BAA8B,EAAC,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAEjE,qBACa,oBAAqB,SAAQ,KAAK,CAAC,oBAAoB,CAAC;IAQzD,IAAI,EAAE,MAAM,CAAC;IAQb,MAAM,EAAE,MAAM,CAAC;IAGf,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,MAAM,CAAC;IAGd,KAAK,EAAE,MAAM,CAAC;IAGd,OAAO,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,EAAE,QAAQ,CAAC;IAGnB,+BAA+B,EAAE,8BAA8B,EAAE,CAAC;CAC7E"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StrengthTestSession.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/StrengthTestSession.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,KAAK,EAOR,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,oBAAY,aAAa;IACrB,MAAM,WAAW;IACjB,SAAS,cAAc;CAC1B;AAED,qBAIa,mBAAoB,SAAQ,KAAK,CAAC,mBAAmB,CAAC;IAQvD,IAAI,EAAE,MAAM,CAAC;IAIb,QAAQ,EAAE,MAAM,CAAC;IAKjB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,YAAY,CAAC,EAAE,iBAAiB,CAAC;IAOjC,MAAM,EAAE,aAAa,CAAC;IAGtB,SAAS,EAAE,IAAI,CAAC;IAGhB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;CACpC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Superset.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/Superset.ts"],"names":[],"mappings":"AACA,OAAO,EAA+C,KAAK,EAAQ,MAAM,sBAAsB,CAAC;AAEhG,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AAExE,qBACa,QAAS,SAAQ,KAAK,CAAC,QAAQ,CAAC;IAQjC,IAAI,EAAE,MAAM,CAAC;IAGb,aAAa,EAAE,MAAM,CAAC;IAItB,WAAW,EAAE,MAAM,CAAC;IAGpB,SAAS,EAAE,eAAe,EAAE,CAAC;CAExC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThirtyDayChallenge.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/ThirtyDayChallenge.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,EAGN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,qBACa,kBAAmB,SAAQ,KAAK;IAInC,IAAI,EAAE,MAAM,CAAC;IAKb,WAAW,EAAE,MAAM,CAAC;IAGpB,aAAa,EAAE,MAAM,CAAC;IAGtB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,WAAW,EAAE,MAAM,CAAC;IAGpB,UAAU,EAAE,OAAO,CAAC;IAGpB,QAAQ,EAAE,OAAO,CAAC;IAGlB,OAAO,EAAE,OAAO,CAAC;CAC1B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThirtyDayChallengeStrengthTest.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/ThirtyDayChallengeStrengthTest.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,EAGN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,qBACa,8BAA+B,SAAQ,KAAK;IAI/C,IAAI,EAAE,MAAM,CAAC;IAIb,WAAW,EAAE,MAAM,CAAC;IAGpB,aAAa,EAAE,MAAM,CAAC;IAGtB,OAAO,EAAE,MAAM,CAAC;IAGhB,KAAK,EAAE,MAAM,CAAC;IAGd,UAAU,EAAE,OAAO,CAAC;IAGpB,OAAO,EAAE,OAAO,CAAC;CAC1B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TranslatedChallenge.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/TranslatedChallenge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoD,KAAK,EAAqB,MAAM,sBAAsB,CAAC;AAClH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,qBACa,mBAAoB,SAAQ,KAAK,CAAC,mBAAmB,CAAC;IAI1D,IAAI,EAAE,MAAM,CAAC;IAIb,aAAa,EAAE,MAAM,CAAC;IAGtB,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,MAAM,CAAC;IAGjB,GAAG,EAAE,MAAM,CAAC;IAGZ,OAAO,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE,MAAM,CAAC;IAGlB,aAAa,EAAE,OAAO,CAAC;IAGvB,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,SAAS,CAAC;CAC5B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TranslatedExerciseModel.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/TranslatedExerciseModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoD,KAAK,EAAqB,MAAM,sBAAsB,CAAC;AAClH,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,oCAAoC,CAAC;AAErE,qBACa,uBAAwB,SAAQ,KAAK;IAIzC,IAAI,EAAE,MAAM,CAAC;IAIb,YAAY,EAAE,MAAM,CAAC;IAGrB,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,CAAC;IAGjB,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,WAAW,EAAE,YAAY,EAAE,CAAC;IAG5B,SAAS,EAAE,MAAM,GAAG,QAAQ,CAAC;IAG7B,QAAQ,EAAE,eAAe,CAAC;CAClC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TranslatedStrengthTest.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/TranslatedStrengthTest.ts"],"names":[],"mappings":"AAAA,OAAO,EAMH,KAAK,EAGR,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAEpE,qBACa,sBAAuB,SAAQ,KAAK,CAAC,sBAAsB,CAAC;IAI7D,IAAI,EAAE,MAAM,CAAC;IAIb,gBAAgB,EAAE,MAAM,CAAC;IAMzB,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,CAAC;IAMjB,SAAS,EAAE,oBAAoB,EAAE,CAAC;IAGlC,YAAY,EAAE,YAAY,CAAC;CACtC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TranslatedStrengthTestExercise.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/TranslatedStrengthTestExercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoD,KAAK,EAAqB,MAAM,sBAAsB,CAAC;AAElH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,qBACa,8BAA+B,SAAQ,KAAK,CAAC,8BAA8B,CAAC;IAIhF,IAAI,EAAE,MAAM,CAAC;IAIb,YAAY,EAAE,MAAM,CAAC;IAQrB,MAAM,EAAE,MAAM,CAAC;IAGf,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,MAAM,CAAC;IAGjB,KAAK,EAAE,MAAM,CAAC;IAGd,OAAO,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,oBAAoB,CAAC;CACvC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserChallenge.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/UserChallenge.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,EAAS,MAAM,sBAAsB,CAAC;AAC/E,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAEjE,qBACa,aAAc,SAAQ,KAAK,CAAC,aAAa,CAAC;IAQ3C,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,QAAQ,CAAC;IAMnB,SAAS,EAAE,MAAM,CAAC;CAC7B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserStrengthTests.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/UserStrengthTests.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkD,KAAK,EAAS,MAAM,sBAAsB,CAAC;AAEpG,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,qBACa,iBAAkB,SAAQ,KAAK,CAAC,iBAAiB,CAAC;IAQtD,IAAI,EAAE,MAAM,CAAC;IAQb,SAAS,EAAE,MAAM,CAAC;IAMlB,IAAI,EAAE,MAAM,CAAC;IAMb,KAAK,EAAE,MAAM,CAAC;IAGd,SAAS,EAAE,oBAAoB,EAAE,CAAC;IAMlC,UAAU,EAAE,OAAO,CAAC;CAC5B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Workout.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/Workout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAMN,KAAK,EAEL,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,qBACa,OAAQ,SAAQ,KAAK,CAAC,OAAO,CAAC;IAQlC,IAAI,EAAE,MAAM,CAAC;IAGb,UAAU,EAAE,OAAO,CAAC;IAGpB,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,MAAM,CAAC;IAGjB,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,QAAQ,EAAE,CAAC;IAGrB,QAAQ,EAAE,QAAQ,EAAE,CAAC;IAIrB,SAAS,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkoutSession.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/program/WorkoutSession.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,KAAK,EAOR,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,oBAAY,aAAa;IACrB,MAAM,WAAW;IACjB,SAAS,cAAc;CAC1B;AAED,qBAIa,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC;IAQ7C,IAAI,EAAE,MAAM,CAAC;IAIb,QAAQ,EAAE,MAAM,CAAC;IAKjB,WAAW,EAAE,MAAM,CAAC;IAGpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAOlB,MAAM,EAAE,aAAa,CAAC;IAGtB,SAAS,EAAE,IAAI,CAAC;IAGhB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;CACpC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserRankHistory.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/xpAndLeaderboards/UserRankHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,EAAQ,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAGlD,qBACa,eAAgB,SAAQ,KAAK;IAE9B,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IAGzC,IAAI,EAAE,MAAM,CAAC;IAGb,EAAE,EAAE,MAAM,CAAC;IAGX,UAAU,EAAE,IAAI,CAAC;IAGjB,IAAI,EAAE,aAAa,CAAC;CAC/B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"XpEvent.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/xpAndLeaderboards/XpEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,EAAQ,MAAM,sBAAsB,CAAC;AAE7E,qBACa,OAAQ,SAAQ,KAAK;IAGtB,IAAI,EAAE,MAAM,CAAC;IAGb,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,EAAE,MAAM,CAAC;IAGjB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,QAAQ,EAAE,OAAO,CAAC;IAGlB,WAAW,CAAC,EAAE,MAAM,CAAC;CAChC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"XpTransaction.d.ts","sourceRoot":"","sources":["../../../src/lib/dbmodels/xpAndLeaderboards/XpTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8C,KAAK,EAAQ,MAAM,sBAAsB,CAAC;AAC/F,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AAErC,qBACa,aAAc,SAAQ,KAAK;IAG5B,IAAI,EAAE,MAAM,CAAC;IAIb,QAAQ,EAAE,MAAM,CAAC;IAIjB,SAAS,EAAE,MAAM,CAAC;IAGlB,SAAS,EAAE,MAAM,CAAC;IAGlB,SAAS,EAAE,IAAI,CAAC;IAGhB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAG/B,MAAM,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAG7C,IAAI,EAAE,aAAa,CAAC;IAGpB,KAAK,EAAE,OAAO,CAAC;CAC1B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgramEnums.d.ts","sourceRoot":"","sources":["../../src/lib/enums/ProgramEnums.ts"],"names":[],"mappings":"AAAA,oBAAY,4BAA4B;IACpC,WAAW,eAAe;IAC1B,WAAW,eAAe;IAC1B,QAAQ,aAAa;CACxB;AAED,oBAAY,sBAAsB;IAC9B,YAAY,gBAAgB;IAC5B,aAAa,iBAAiB;IAC9B,8BAA8B,+BAA+B;CAChE;AAED,oBAAY,sBAAsB;IAC9B,uBAAuB,0BAA0B;IACjD,0BAA0B,6BAA6B;IACvD,wBAAwB,2BAA2B;IACnD,OAAO,YAAY;IACnB,IAAI,SAAS;CAChB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgramTemplates.d.ts","sourceRoot":"","sources":["../../src/lib/enums/ProgramTemplates.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,UA4G7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,UA4G5B,CAAC;AAEF,eAAO,MAAM,0BAA0B,UA4GtC,CAAC;AAEF,eAAO,MAAM,gBAAgB,UA4G5B,CAAC;AAEF,eAAO,MAAM,2BAA2B,UA4GvC,CAAC;AAEF,eAAO,MAAM,0BAA0B,UA4GtC,CAAC;AAEF,eAAO,MAAM,eAAe,UA6G3B,CAAC;AAEF,eAAO,MAAM,0BAA0B,UA6GtC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cert.d.ts","sourceRoot":"","sources":["../../src/lib/enums/cert.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;CAepB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/Errors/Errors.ts"],"sourcesContent":["export class ExerciseNotFound extends Error {\n error = {};\n\n constructor(message: object) {\n super();\n this.error = message;\n Object.setPrototypeOf(this, ExerciseNotFound.prototype);\n }\n}\n\nexport class ExerciseAlreadyUsed extends Error {\n error = {};\n\n constructor(message: object) {\n super();\n this.error = message;\n Object.setPrototypeOf(this, ExerciseNotFound.prototype);\n }\n}\n\nexport class AppleTransactionError extends Error {\n error = {};\n\n constructor(message: string) {\n super();\n this.error = message;\n Object.setPrototypeOf(this, AppleTransactionError.prototype);\n }\n}\n\nexport class ProgramNotFound extends Error {\n error = {};\n\n constructor(message: object) {\n super();\n this.error = message;\n Object.setPrototypeOf(this, ProgramNotFound.prototype);\n }\n}\n\nexport class NotificationNotSent extends Error {\n error = {};\n\n constructor(message: object) {\n super();\n this.error = message;\n Object.setPrototypeOf(this, NotificationNotSent.prototype);\n }\n}\n"],"names":["ExerciseNotFound","Error","error","message","Object","setPrototypeOf","prototype","ExerciseAlreadyUsed","AppleTransactionError","ProgramNotFound","NotificationNotSent"],"mappings":"AAAA,OAAO,MAAMA,yBAAyBC;IACpCC,QAAQ,CAAC,EAAE;IAEX,YAAYC,OAAe,CAAE;QAC3B,KAAK;QACL,IAAI,CAACD,KAAK,GAAGC;QACbC,OAAOC,cAAc,CAAC,IAAI,EAAEL,iBAAiBM,SAAS;IACxD;AACF;AAEA,OAAO,MAAMC,4BAA4BN;IACvCC,QAAQ,CAAC,EAAE;IAEX,YAAYC,OAAe,CAAE;QAC3B,KAAK;QACL,IAAI,CAACD,KAAK,GAAGC;QACbC,OAAOC,cAAc,CAAC,IAAI,EAAEL,iBAAiBM,SAAS;IACxD;AACF;AAEA,OAAO,MAAME,8BAA8BP;IACzCC,QAAQ,CAAC,EAAE;IAEX,YAAYC,OAAe,CAAE;QAC3B,KAAK;QACL,IAAI,CAACD,KAAK,GAAGC;QACbC,OAAOC,cAAc,CAAC,IAAI,EAAEG,sBAAsBF,SAAS;IAC7D;AACF;AAEA,OAAO,MAAMG,wBAAwBR;IACnCC,QAAQ,CAAC,EAAE;IAEX,YAAYC,OAAe,CAAE;QAC3B,KAAK;QACL,IAAI,CAACD,KAAK,GAAGC;QACbC,OAAOC,cAAc,CAAC,IAAI,EAAEI,gBAAgBH,SAAS;IACvD;AACF;AAEA,OAAO,MAAMI,4BAA4BT;IACvCC,QAAQ,CAAC,EAAE;IAEX,YAAYC,OAAe,CAAE;QAC3B,KAAK;QACL,IAAI,CAACD,KAAK,GAAGC;QACbC,OAAOC,cAAc,CAAC,IAAI,EAAEK,oBAAoBJ,SAAS;IAC3D;AACF"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/Badge.ts"],"sourcesContent":["import {BelongsToMany, Column, DataType, Default, HasMany, Model, Table} from \"sequelize-typescript\";\nimport { UserBadges } from './UserBadges.js';\nimport { PersistedUser } from './PersistedUser.js';\nimport {TranslatedBadge} from './TranslatedBadge.js';\n\n@Table\nexport class Badge extends Model {\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.TEXT, allowNull: false })\n declare title: string;\n\n @Column({ type: DataType.ARRAY(DataType.TEXT), allowNull: false })\n declare tags: string[];\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare imageURL: string;\n\n @Column({ type: DataType.INTEGER, allowNull: true })\n declare order: number;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare description: string;\n\n @BelongsToMany(() => PersistedUser, () => UserBadges)\n declare users: PersistedUser[];\n\n @HasMany(() => TranslatedBadge)\n declare translatedBadges: TranslatedBadge[];\n}\n"],"names":["BelongsToMany","Column","DataType","Default","HasMany","Model","Table","UserBadges","PersistedUser","TranslatedBadge","Badge","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","TEXT","ARRAY","INTEGER"],"mappings":";;;;;;AAAA,SAAQA,aAAa,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,EAAEC,KAAK,EAAEC,KAAK,QAAO,uBAAuB;AACrG,SAASC,UAAU,QAAQ,kBAAkB;AAC7C,SAASC,aAAa,QAAQ,qBAAqB;AACnD,SAAQC,eAAe,QAAO,uBAAuB;AAGrD,OAAO,MAAMC,cAAcL;AA8B3B;;qBA7BsBM;;QAEdC,MAAMV,SAASW,IAAI;QACnBC,cAAcZ,SAASW,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;QAINJ,MAAMV,SAASe,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMV,SAASgB,KAAK,CAAChB,SAASe,IAAI;QAAGF,WAAW;;;;;QAGhDH,MAAMV,SAASe,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMV,SAASiB,OAAO;QAAEJ,WAAW;;;;;QAGnCH,MAAMV,SAASe,IAAI;QAAEF,WAAW;;;;sBAGrBP,mBAAqBD;;;gBAG3BE"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/DeviceTokens.ts"],"sourcesContent":["import { Column, DataType, Model, Table } from \"sequelize-typescript\";\n\n@Table\nexport class DeviceTokens extends Model {\n @Column({\n type: DataType.UUID,\n defaultValue: DataType.UUID,\n allowNull: false,\n primaryKey: true,\n })\n declare userUuid: string;\n\n @Column({\n type: DataType.TEXT,\n allowNull: false,\n })\n declare deviceToken: string;\n\n @Column({\n type: DataType.TEXT,\n allowNull: true,\n })\n declare platform: \"ios\" | \"android\";\n}\n"],"names":["Column","DataType","Model","Table","DeviceTokens","type","UUID","defaultValue","allowNull","primaryKey","TEXT"],"mappings":";;;;;;AAAA,SAASA,MAAM,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,KAAK,QAAQ,uBAAuB;AAGtE,OAAO,MAAMC,qBAAqBF;AAoBlC;;;QAlBIG,MAAMJ,SAASK,IAAI;QACnBC,cAAcN,SAASK,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;QAKZJ,MAAMJ,SAASS,IAAI;QACnBF,WAAW;;;;;QAKXH,MAAMJ,SAASS,IAAI;QACnBF,WAAW"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/NotificationModels.ts"],"sourcesContent":["import { Column, DataType, HasMany, Model, Table } from \"sequelize-typescript\";\nimport {TranslatedNotification} from './TranslatedNotification.js';\n\n@Table\nexport class NotificationModels extends Model {\n @Column({\n type: DataType.UUID,\n defaultValue: DataType.UUID,\n allowNull: false,\n primaryKey: true,\n })\n declare uuid: string;\n\n @Column({\n type: DataType.TEXT,\n allowNull: false,\n })\n declare type:\n | \"challenge_reminder_no_streak\"\n | \"challenge_reminder_streak\"\n | \"workout_reminder_no_streak\"\n | \"workout_reminder\"\n | \"rest_reminder_no_streak\"\n | \"rest_reminder\"\n | \"challenge_alert\"\n | \"workout_alert\"\n | \"rest_alert\"\n | \"workout_exp_alert\"\n | \"challenge_exp_alert\";\n\n @Column({\n type: DataType.TEXT,\n allowNull: false,\n })\n declare text: string;\n\n @HasMany(() => TranslatedNotification)\n declare translations: TranslatedNotification[];\n}\n"],"names":["Column","DataType","HasMany","Model","Table","TranslatedNotification","NotificationModels","type","UUID","defaultValue","allowNull","primaryKey","TEXT"],"mappings":";;;;;;AAAA,SAASA,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,KAAK,EAAEC,KAAK,QAAQ,uBAAuB;AAC/E,SAAQC,sBAAsB,QAAO,8BAA8B;AAGnE,OAAO,MAAMC,2BAA2BH;AAkCxC;;;QAhCII,MAAMN,SAASO,IAAI;QACnBC,cAAcR,SAASO,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;QAKZJ,MAAMN,SAASW,IAAI;QACnBF,WAAW;;;;;QAgBXH,MAAMN,SAASW,IAAI;QACnBF,WAAW;;;;gBAIEL"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/PersistedUser.ts"],"sourcesContent":["import {\n BelongsTo,\n BelongsToMany,\n Column,\n DataType,\n Default,\n HasMany,\n HasOne,\n Index,\n Model,\n Table\n} from \"sequelize-typescript\";\nimport { Subscription } from './Subscription.js';\nimport {UserPrograms} from './nonconsprogram/UserNonConsumableProgram.js';\nimport {NonConsumableProgram} from './nonconsprogram/NonConsumableProgram.js';\n\n@Table\nexport class PersistedUser extends Model {\n\n @Default(DataType.UUIDV4)\n @Column({\n type: DataType.UUID,\n defaultValue: DataType.UUID,\n allowNull: false,\n primaryKey: true\n })\n declare userUuid: string;\n\n @Index\n @Column({ type: DataType.TEXT, allowNull: false, unique: false })\n declare email: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare password: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare firstName?: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare lastName?: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare avatar: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare sex: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare goal: string;\n\n @Column({ type: DataType.BOOLEAN, allowNull: true })\n declare isFreeVersion: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: true })\n declare allowsEmail: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: true })\n declare gotParentalConsent: boolean;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare weightGoal: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare role: 'default' | 'admin';\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare level: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare type: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare days: number;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare dateOfBirth: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare metricSystem: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare height: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare weight: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare activeProgramId: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare registrationDate: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare registrationService: 'apple' | 'google' | 'facebook' | 'native';\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare utilityEmail: string;\n\n @Column({ type: DataType.BOOLEAN, allowNull: true })\n declare emailConfirmed: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: true })\n declare utilityEmailConfirmed: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: true })\n declare changeEmail: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: true })\n declare changeUtilityEmail: boolean;\n\n @Column({ type: DataType.INTEGER, allowNull: false, defaultValue: 0 })\n declare totalXp: number;\n\n @Column({ type: DataType.INTEGER, allowNull: false, defaultValue: 0 })\n declare weeklyXp: number;\n\n @Column({ type: DataType.INTEGER, allowNull: false, defaultValue: 0 })\n declare monthlyXp: number;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare country?: string;\n\n @HasOne(() => Subscription)\n declare subscription: Subscription;\n\n @BelongsToMany(() => NonConsumableProgram, { through: () => UserPrograms })\n declare nonConsumablePrograms: NonConsumableProgram[];\n\n @Column({ type: DataType.UUID, allowNull: true })\n declare coachUuid?: string;\n\n @BelongsTo(() => PersistedUser, 'coachUuid')\n declare coach?: PersistedUser;\n\n @HasMany(() => PersistedUser, 'coachUuid')\n declare clients?: PersistedUser[];\n}\n"],"names":["BelongsTo","BelongsToMany","Column","DataType","Default","HasMany","HasOne","Index","Model","Table","Subscription","UserPrograms","NonConsumableProgram","PersistedUser","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","TEXT","unique","BOOLEAN","INTEGER","through"],"mappings":";;;;;;AAAA,SACEA,SAAS,EACTC,aAAa,EACbC,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,OAAO,EACPC,MAAM,EACNC,KAAK,EACLC,KAAK,EACLC,KAAK,QACA,uBAAuB;AAC9B,SAAUC,YAAY,QAAQ,oBAAoB;AAClD,SAAQC,YAAY,QAAO,+CAA+C;AAC1E,SAAQC,oBAAoB,QAAO,2CAA2C;AAG9E,OAAO,MAAMC,sBAAsBL;AAuHnC;;qBArHoBM;;QAEhBC,MAAMZ,SAASa,IAAI;QACnBC,cAAcd,SAASa,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;;QAKJJ,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;QAAOG,QAAQ;;;;;QAG/CN,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASmB,OAAO;QAAEJ,WAAW;;;;;QAGnCH,MAAMZ,SAASmB,OAAO;QAAEJ,WAAW;;;;;QAGnCH,MAAMZ,SAASmB,OAAO;QAAEJ,WAAW;;;;;QAGnCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMZ,SAASmB,OAAO;QAAEJ,WAAW;;;;;QAGnCH,MAAMZ,SAASmB,OAAO;QAAEJ,WAAW;;;;;QAGnCH,MAAMZ,SAASmB,OAAO;QAAEJ,WAAW;;;;;QAGnCH,MAAMZ,SAASmB,OAAO;QAAEJ,WAAW;;;;;QAGnCH,MAAMZ,SAASoB,OAAO;QAAEL,WAAW;QAAOD,cAAc;;;;;QAGxDF,MAAMZ,SAASoB,OAAO;QAAEL,WAAW;QAAOD,cAAc;;;;;QAGxDF,MAAMZ,SAASoB,OAAO;QAAEL,WAAW;QAAOD,cAAc;;;;;QAGxDF,MAAMZ,SAASiB,IAAI;QAAEF,WAAW;;;;eAG5BR;;;sBAGOE;QAAwBY,SAAS,IAAMb;;;;;QAGlDI,MAAMZ,SAASa,IAAI;QAAEE,WAAW;;;;kBAGzBL;;;gBAGFA"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/StreaksLog.ts"],"sourcesContent":["import { Column, DataType, Default, ForeignKey, Model, Table} from \"sequelize-typescript\";\nimport { PersistedUser } from './PersistedUser.js';\n\n@Table\nexport class StreaksLog extends Model {\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 @ForeignKey(() => PersistedUser)\n @Column({\n type: DataType.UUID,\n allowNull: false,\n })\n declare userUuid: string;\n\n @Column({\n type: DataType.DATE,\n allowNull: false,\n })\n declare dateStreakLogged: Date;\n\n}\n"],"names":["Column","DataType","Default","ForeignKey","Model","Table","PersistedUser","StreaksLog","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","DATE"],"mappings":";;;;;;AAAA,SAASA,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,UAAU,EAAEC,KAAK,EAAEC,KAAK,QAAO,uBAAuB;AAC1F,SAASC,aAAa,QAAQ,qBAAqB;AAGnD,OAAO,MAAMC,mBAAmBH;AAuBhC;;qBAtBsBI;;QAEdC,MAAMR,SAASS,IAAI;QACnBC,cAAcV,SAASS,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;mBAIEP;;QAEdG,MAAMR,SAASS,IAAI;QACnBE,WAAW;;;;;QAKXH,MAAMR,SAASa,IAAI;QACnBF,WAAW"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/Subscription.ts"],"sourcesContent":["import {\n BelongsTo,\n Column, CreatedAt,\n DataType, Default,\n ForeignKey,\n HasMany,\n Model,\n PrimaryKey,\n Table, UpdatedAt,\n} from \"sequelize-typescript\";\nimport { SubscriptionLog } from './SubscriptionLog.js';\nimport {PersistedUser} from './PersistedUser.js';\nimport type {CreationOptional} from \"sequelize\";\n\n@Table\nexport class Subscription extends Model {\n @ForeignKey(() => PersistedUser)\n @PrimaryKey\n @Column({\n type: DataType.UUID,\n allowNull: false,\n primaryKey: true,\n })\n declare userUuid: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare identifier: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare platform: \"google\" | \"apple\" | \"mollie\";\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare status: \"active\" | \"canceled\" | \"expired\";\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare type: string;\n\n @Column({ type: DataType.DATE, allowNull: false })\n declare expiresOn: Date;\n\n @Column({ type: DataType.DATE, allowNull: false })\n declare startDate: Date;\n\n @BelongsTo(() => PersistedUser)\n declare user: PersistedUser;\n\n @HasMany(() => SubscriptionLog)\n declare subscriptionLogs: SubscriptionLog[];\n\n @CreatedAt\n @Default(null) // Set the default value to null\n @Column({ type: DataType.DATE, allowNull: true, defaultValue: new Date() })\n declare createdAt: CreationOptional<Date> | null;\n\n @UpdatedAt\n @Default(null) // Set the default value to null\n @Column({ type: DataType.DATE, allowNull: true, defaultValue: new Date() })\n declare updatedAt: CreationOptional<Date> | null;\n}\n"],"names":["BelongsTo","Column","CreatedAt","DataType","Default","ForeignKey","HasMany","Model","PrimaryKey","Table","UpdatedAt","SubscriptionLog","PersistedUser","Subscription","type","UUID","allowNull","primaryKey","TEXT","DATE","defaultValue","Date"],"mappings":";;;;;;AAAA,SACEA,SAAS,EACTC,MAAM,EAAEC,SAAS,EACjBC,QAAQ,EAAEC,OAAO,EACjBC,UAAU,EACVC,OAAO,EACPC,KAAK,EACLC,UAAU,EACVC,KAAK,EAAEC,SAAS,QACX,uBAAuB;AAC9B,SAASC,eAAe,QAAQ,uBAAuB;AACvD,SAAQC,aAAa,QAAO,qBAAqB;AAIjD,OAAO,MAAMC,qBAAqBN;AA2ClC;;mBA1CoBK;;;QAGhBE,MAAMX,SAASY,IAAI;QACnBC,WAAW;QACXC,YAAY;;;;;QAIJH,MAAMX,SAASe,IAAI;QAAEF,WAAW;;;;;QAGhCF,MAAMX,SAASe,IAAI;QAAEF,WAAW;;;;;QAGhCF,MAAMX,SAASe,IAAI;QAAEF,WAAW;;;;;QAGhCF,MAAMX,SAASe,IAAI;QAAEF,WAAW;;;;;QAGhCF,MAAMX,SAASgB,IAAI;QAAEH,WAAW;;;;;QAGhCF,MAAMX,SAASgB,IAAI;QAAEH,WAAW;;;;kBAGzBJ;;;gBAGFD;;;;;;QAKLG,MAAMX,SAASgB,IAAI;QAAEH,WAAW;QAAMI,cAAc,IAAIC;;;;;;;QAKxDP,MAAMX,SAASgB,IAAI;QAAEH,WAAW;QAAMI,cAAc,IAAIC"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/SubscriptionLog.ts"],"sourcesContent":["import {\n BelongsTo,\n Column,\n DataType,\n Default,\n ForeignKey,\n Model,\n Table,\n} from \"sequelize-typescript\";\nimport { Subscription } from './Subscription.js';\n\n@Table({ timestamps: true })\nexport class SubscriptionLog extends Model {\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 @ForeignKey(() => Subscription)\n @Column({\n type: DataType.UUID,\n allowNull: false,\n })\n declare subscriptionUuid: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare action: string;\n\n @BelongsTo(() => Subscription)\n declare subscription: Subscription;\n}\n"],"names":["BelongsTo","Column","DataType","Default","ForeignKey","Model","Table","Subscription","SubscriptionLog","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","TEXT","timestamps"],"mappings":";;;;;;AAAA,SACEA,SAAS,EACTC,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,UAAU,EACVC,KAAK,EACLC,KAAK,QACA,uBAAuB;AAC9B,SAASC,YAAY,QAAQ,oBAAoB;AAGjD,OAAO,MAAMC,wBAAwBH;AAsBrC;;qBArBoBI;;QAEhBC,MAAMR,SAASS,IAAI;QACnBC,cAAcV,SAASS,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;mBAIIP;;QAEhBG,MAAMR,SAASS,IAAI;QACnBE,WAAW;;;;;QAIHH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;kBAGzBN;;;;QArBVS,YAAY"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/TranslatedBadge.ts"],"sourcesContent":["import {\n BelongsTo,\n Column,\n DataType,\n Default,\n ForeignKey,\n Model,\n PrimaryKey,\n Table,\n} from \"sequelize-typescript\";\nimport {Badge} from './Badge.js';\n\n@Table\nexport class TranslatedBadge extends Model {\n @PrimaryKey\n @Default(DataType.UUIDV4)\n @Column(DataType.UUID)\n declare uuid: string;\n\n @ForeignKey(() => Badge)\n @Column(DataType.UUID)\n declare badgeUuid: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare title: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare language: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare description: string;\n\n @BelongsTo(() => Badge)\n declare badge: Badge;\n}\n"],"names":["BelongsTo","Column","DataType","Default","ForeignKey","Model","PrimaryKey","Table","Badge","TranslatedBadge","UUIDV4","UUID","type","TEXT","allowNull"],"mappings":";;;;;;AAAA,SACIA,SAAS,EACTC,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,UAAU,EACVC,KAAK,EACLC,UAAU,EACVC,KAAK,QACF,uBAAuB;AAC9B,SAAQC,KAAK,QAAO,aAAa;AAGjC,OAAO,MAAMC,wBAAwBJ;AAqBrC;;;qBAnBsBK;oBACDC;;;mBAGCH;oBACDG;;;;QAGPC,MAAMV,SAASW,IAAI;QAAEC,WAAW;;;;;QAGhCF,MAAMV,SAASW,IAAI;QAAEC,WAAW;;;;;QAGhCF,MAAMV,SAASW,IAAI;QAAEC,WAAW;;;;kBAGzBN"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/TranslatedNotification.ts"],"sourcesContent":["import {\n BelongsTo,\n Column,\n DataType,\n ForeignKey,\n Model,\n Table,\n} from \"sequelize-typescript\";\nimport { NotificationModels } from './NotificationModels.js';\n\n@Table\nexport class TranslatedNotification extends Model {\n @Column({\n type: DataType.UUID,\n defaultValue: DataType.UUID,\n allowNull: false,\n primaryKey: true,\n })\n declare uuid: string;\n\n @ForeignKey(() => NotificationModels)\n @Column({\n type: DataType.UUID,\n allowNull: false,\n })\n declare notificationUuid: string;\n\n @Column({\n type: DataType.STRING,\n allowNull: false,\n })\n declare language: string;\n\n @Column({\n type: DataType.TEXT,\n allowNull: false,\n })\n declare text: string;\n\n @BelongsTo(() => NotificationModels)\n declare notification: NotificationModels;\n}\n"],"names":["BelongsTo","Column","DataType","ForeignKey","Model","Table","NotificationModels","TranslatedNotification","type","UUID","defaultValue","allowNull","primaryKey","STRING","TEXT"],"mappings":";;;;;;AAAA,SACEA,SAAS,EACTC,MAAM,EACNC,QAAQ,EACRC,UAAU,EACVC,KAAK,EACLC,KAAK,QACA,uBAAuB;AAC9B,SAASC,kBAAkB,QAAQ,0BAA0B;AAG7D,OAAO,MAAMC,+BAA+BH;AA8B5C;;;QA5BII,MAAMN,SAASO,IAAI;QACnBC,cAAcR,SAASO,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;mBAIIN;;QAEhBE,MAAMN,SAASO,IAAI;QACnBE,WAAW;;;;;QAKXH,MAAMN,SAASW,MAAM;QACrBF,WAAW;;;;;QAKXH,MAAMN,SAASY,IAAI;QACnBH,WAAW;;;;kBAIIL"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/UserBadges.ts"],"sourcesContent":["import { BelongsTo, Column, DataType, ForeignKey, Model, Table } from \"sequelize-typescript\";\nimport { Badge } from './Badge.js';\nimport { PersistedUser } from './PersistedUser.js';\nimport {Program} from './program/Program.js';\n\n@Table({\n timestamps: true,\n})export class UserBadges extends Model {\n @ForeignKey(() => PersistedUser)\n @Column({\n type: DataType.UUID,\n allowNull: false,\n })\n declare userUuid: string;\n\n @ForeignKey(() => Badge)\n @Column({\n type: DataType.UUID,\n allowNull: false,\n })\n declare badgeUuid: string;\n\n @ForeignKey(() => Program)\n @Column({\n type: DataType.UUID,\n allowNull: true,\n })\n declare programInstanceUuid?: string;\n\n\n @Column({ type: DataType.INTEGER, allowNull: false, defaultValue: 1})\n declare timesEarned: number;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false, defaultValue: false})\n declare hasBeenShown: boolean;\n\n @BelongsTo(() => PersistedUser)\n declare user: PersistedUser;\n\n @BelongsTo(() => Badge)\n declare badge: Badge;\n\n @BelongsTo(() => Program)\n declare programInstance?: Program;\n}\n"],"names":["BelongsTo","Column","DataType","ForeignKey","Model","Table","Badge","PersistedUser","Program","UserBadges","type","UUID","allowNull","INTEGER","defaultValue","BOOLEAN","timestamps"],"mappings":";;;;;;AAAA,SAASA,SAAS,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,KAAK,EAAEC,KAAK,QAAQ,uBAAuB;AAC7F,SAASC,KAAK,QAAQ,aAAa;AACnC,SAASC,aAAa,QAAQ,qBAAqB;AACnD,SAAQC,OAAO,QAAO,uBAAuB;AAI3C,OAAO,MAAMC,mBAAmBL;AAqClC;;mBApCsBG;;QAEdG,MAAMR,SAASS,IAAI;QACnBC,WAAW;;;;mBAIGN;;QAEdI,MAAMR,SAASS,IAAI;QACnBC,WAAW;;;;mBAIGJ;;QAEdE,MAAMR,SAASS,IAAI;QACnBC,WAAW;;;;;QAKLF,MAAMR,SAASW,OAAO;QAAED,WAAW;QAAOE,cAAc;;;;;QAGxDJ,MAAMR,SAASa,OAAO;QAAEH,WAAW;QAAOE,cAAc;;;;kBAGjDP;;;kBAGAD;;;kBAGAE;;;;QApCjBQ,YAAY"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/UserCoach.ts"],"sourcesContent":["import { Column, DataType, ForeignKey, Model, Table } from \"sequelize-typescript\";\nimport { PersistedUser } from './PersistedUser.js';\n\n@Table\nexport class UserCoach extends Model {\n @ForeignKey(() => PersistedUser)\n @Column(DataType.UUID)\n declare userUuid: string;\n\n @ForeignKey(() => PersistedUser)\n @Column(DataType.UUID)\n declare coachUuid: string;\n}\n"],"names":["Column","DataType","ForeignKey","Model","Table","PersistedUser","UserCoach","UUID"],"mappings":";;;;;;AAAA,SAASA,MAAM,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,KAAK,EAAEC,KAAK,QAAQ,uBAAuB;AAClF,SAASC,aAAa,QAAQ,qBAAqB;AAGnD,OAAO,MAAMC,kBAAkBH;AAQ/B;;mBAPsBE;oBACDE;;;mBAGCF;oBACDE"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/UserDiscount.ts"],"sourcesContent":["import { Table, Model, Column, DataType, ForeignKey } from \"sequelize-typescript\";\nimport {PersistedUser} from \"./PersistedUser.js\";\n\n@Table({\n timestamps: true,\n})\nexport class UserDiscount extends Model {\n @ForeignKey(() => PersistedUser)\n @Column(DataType.UUID)\n declare userUuid: string;\n\n @Column(DataType.INTEGER)\n declare discountAmount: number;\n}\n"],"names":["Table","Model","Column","DataType","ForeignKey","PersistedUser","UserDiscount","UUID","INTEGER","timestamps"],"mappings":";;;;;;AAAA,SAASA,KAAK,EAAEC,KAAK,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,UAAU,QAAQ,uBAAuB;AAClF,SAAQC,aAAa,QAAO,qBAAqB;AAKjD,OAAO,MAAMC,qBAAqBL;AAOlC;;mBANsBI;oBACDE;;;oBAGAC;;;;QAPjBC,YAAY"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/UserStreaks.ts"],"sourcesContent":["import { Table, PrimaryKey, Column, Model, ForeignKey, DataType, BelongsTo } from 'sequelize-typescript';\nimport { PersistedUser } from './PersistedUser.js';\n\n@Table({\n timestamps: true,\n})\nexport class UserStreak extends Model {\n @ForeignKey(() => PersistedUser)\n @PrimaryKey\n @Column({\n type: DataType.UUID,\n allowNull: false,\n primaryKey: true\n })\n declare userUuid: string;\n\n @Column({\n type: DataType.INTEGER,\n defaultValue: 0,\n })\n declare currentStreak: number;\n\n @Column({\n type: DataType.INTEGER,\n defaultValue: 0,\n })\n declare longestStreak: number;\n\n @Column({\n type: DataType.INTEGER,\n defaultValue: 0,\n })\n declare lastActiveStreak: number;\n\n @Column({\n type: DataType.STRING,\n })\n declare status: \"active\" | \"expired\" | \"recovery\";\n\n @Column({\n type: DataType.DATE,\n allowNull: true,\n })\n declare lastOpenedAt: Date | null;\n\n @Column({\n type: DataType.DATE,\n allowNull: true,\n })\n declare expiresAt: Date | null;\n\n @BelongsTo(() => PersistedUser)\n declare user: PersistedUser;\n}\n"],"names":["Table","PrimaryKey","Column","Model","ForeignKey","DataType","BelongsTo","PersistedUser","UserStreak","type","UUID","allowNull","primaryKey","INTEGER","defaultValue","STRING","DATE","timestamps"],"mappings":";;;;;;AAAA,SAASA,KAAK,EAAEC,UAAU,EAAEC,MAAM,EAAEC,KAAK,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,SAAS,QAAQ,uBAAuB;AACzG,SAASC,aAAa,QAAQ,qBAAqB;AAKnD,OAAO,MAAMC,mBAAmBL;AA+ChC;;mBA9CoBI;;;QAGhBE,MAAMJ,SAASK,IAAI;QACnBC,WAAW;QACXC,YAAY;;;;;QAKZH,MAAMJ,SAASQ,OAAO;QACtBC,cAAc;;;;;QAKdL,MAAMJ,SAASQ,OAAO;QACtBC,cAAc;;;;;QAKdL,MAAMJ,SAASQ,OAAO;QACtBC,cAAc;;;;;QAKdL,MAAMJ,SAASU,MAAM;;;;;QAKrBN,MAAMJ,SAASW,IAAI;QACnBL,WAAW;;;;;QAKXF,MAAMJ,SAASW,IAAI;QACnBL,WAAW;;;;kBAIIJ;;;;QA/CjBU,YAAY"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/lib/dbmodels/UsersFriends.ts"],"sourcesContent":["import {BelongsTo, Column, DataType, Model, Table} from \"sequelize-typescript\";\nimport {PersistedUser} from \"./PersistedUser.js\";\n\n@Table\nexport class UsersFriends extends Model {\n @Column({ type: DataType.UUID, allowNull: false })\n declare userUuid: string;\n\n @Column({ type: DataType.UUID, allowNull: false })\n declare friendUuid: string;\n\n @Column({ type: DataType.ENUM('pending', 'accepted', 'rejected'), defaultValue: 'pending' })\n declare status: 'pending' | 'accepted' | 'rejected';\n\n @Column({ type: DataType.DATE, allowNull: false, defaultValue: DataType.NOW })\n declare createdAt: Date;\n\n @BelongsTo(() => PersistedUser, 'userUuid')\n declare user: PersistedUser;\n\n @BelongsTo(() => PersistedUser, 'friendUuid')\n declare friend: PersistedUser;\n\n}\n"],"names":["BelongsTo","Column","DataType","Model","Table","PersistedUser","UsersFriends","type","UUID","allowNull","ENUM","defaultValue","DATE","NOW"],"mappings":";;;;;;AAAA,SAAQA,SAAS,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,KAAK,QAAO,uBAAuB;AAC/E,SAAQC,aAAa,QAAO,qBAAqB;AAGjD,OAAO,MAAMC,qBAAqBH;AAmBlC;;;QAlBYI,MAAML,SAASM,IAAI;QAAEC,WAAW;;;;;QAGhCF,MAAML,SAASM,IAAI;QAAEC,WAAW;;;;;QAGhCF,MAAML,SAASQ,IAAI,CAAC,WAAW,YAAY;QAAaC,cAAc;;;;;QAGtEJ,MAAML,SAASU,IAAI;QAAEH,WAAW;QAAOE,cAAcT,SAASW,GAAG;;;;kBAG1DR;;;kBAGAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/nonconsprogram/NonConsumableProgram.ts"],"sourcesContent":["import {\n BelongsToMany,\n Column,\n DataType,\n Default,\n HasMany,\n HasOne,\n Model,\n Table,\n} from \"sequelize-typescript\";\nimport {\n ConsumableProgramGoals,\n ConsumableProgramTypes,\n ConsumableProgramWeightGoals,\n} from '../../enums/ProgramEnums.js';\nimport { TranslatedConsumableProgram } from './TranslatedConsumableProgram.js';\nimport { UserPrograms } from './UserNonConsumableProgram.js';\nimport { PersistedUser } from '../PersistedUser.js';\nimport { Program } from '../program/Program.js';\nimport { NonConsumableProgramWebContent } from './NonConsumableProgramWebContent.js';\n\n@Table\nexport class NonConsumableProgram extends Model {\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.TEXT, allowNull: false })\n declare title: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare description: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare coverImageUri: string;\n\n @Column({ type: DataType.INTEGER, allowNull: false })\n declare order: number;\n\n @Column({ type: DataType.INTEGER, allowNull: false, defaultValue: 0 })\n declare popularityOrder: number;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare weightGoal: ConsumableProgramWeightGoals;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare goal: ConsumableProgramGoals;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare type: ConsumableProgramTypes;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false })\n declare isFree: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false, defaultValue: false })\n declare isHighlighted: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false, defaultValue: false })\n declare is30DC: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false, defaultValue: false })\n declare isUnique: boolean;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare uniqueProgramUuid: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare productIdAndroid: string | null;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare productIdIos: string | null;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare header: string | null;\n\n @Column({ type: DataType.BOOLEAN, defaultValue: false })\n declare isCustom: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false, defaultValue: false })\n declare isHidden: boolean;\n\n @HasMany(() => TranslatedConsumableProgram)\n declare translatedPrograms: TranslatedConsumableProgram[];\n\n @HasOne(() => NonConsumableProgramWebContent)\n declare nonConsumableProgramWebContent: NonConsumableProgramWebContent;\n\n @BelongsToMany(() => PersistedUser, { through: () => UserPrograms })\n declare users: PersistedUser[];\n\n @HasMany(() => Program)\n declare programs: Program[];\n}"],"names":["BelongsToMany","Column","DataType","Default","HasMany","HasOne","Model","Table","TranslatedConsumableProgram","UserPrograms","PersistedUser","Program","NonConsumableProgramWebContent","NonConsumableProgram","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","TEXT","INTEGER","BOOLEAN","through"],"mappings":";;;;;;AAAA,SACEA,aAAa,EACbC,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,OAAO,EACPC,MAAM,EACNC,KAAK,EACLC,KAAK,QACA,uBAAuB;AAM9B,SAASC,2BAA2B,QAAQ,mCAAmC;AAC/E,SAASC,YAAY,QAAQ,gCAAgC;AAC7D,SAASC,aAAa,QAAQ,sBAAsB;AACpD,SAASC,OAAO,QAAQ,wBAAwB;AAChD,SAASC,8BAA8B,QAAQ,sCAAsC;AAGrF,OAAO,MAAMC,6BAA6BP;AA2E1C;;qBA1EoBQ;;QAEhBC,MAAMb,SAASc,IAAI;QACnBC,cAAcf,SAASc,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;QAIJJ,MAAMb,SAASkB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMb,SAASkB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMb,SAASkB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMb,SAASmB,OAAO;QAAEH,WAAW;;;;;QAGnCH,MAAMb,SAASmB,OAAO;QAAEH,WAAW;QAAOD,cAAc;;;;;QAGxDF,MAAMb,SAASkB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMb,SAASkB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMb,SAASkB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMb,SAASoB,OAAO;QAAEJ,WAAW;;;;;QAGnCH,MAAMb,SAASoB,OAAO;QAAEJ,WAAW;QAAOD,cAAc;;;;;QAGxDF,MAAMb,SAASoB,OAAO;QAAEJ,WAAW;QAAOD,cAAc;;;;;QAGxDF,MAAMb,SAASoB,OAAO;QAAEJ,WAAW;QAAOD,cAAc;;;;;QAGxDF,MAAMb,SAASkB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMb,SAASkB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMb,SAASkB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMb,SAASkB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMb,SAASoB,OAAO;QAAEL,cAAc;;;;;QAGtCF,MAAMb,SAASoB,OAAO;QAAEJ,WAAW;QAAOD,cAAc;;;;gBAGnDT;;;eAGDI;;;sBAGOF;QAAiBa,SAAS,IAAMd;;;;gBAGtCE"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/nonconsprogram/NonConsumableProgramWebContent.ts"],"sourcesContent":["import {\n BelongsTo,\n Column,\n DataType,\n ForeignKey, HasMany,\n Model, PrimaryKey,\n Table,\n} from \"sequelize-typescript\";\nimport {NonConsumableProgram} from './NonConsumableProgram.js';\nimport {TranslatedNonConsumableProgramWebContent} from './TranslatedNonConsumableProgramWebContent.js';\n\n@Table\nexport class NonConsumableProgramWebContent extends Model {\n @PrimaryKey\n @ForeignKey(() => NonConsumableProgram)\n @Column({type: DataType.UUID, allowNull: true})\n declare nonConsumableProgramUuid: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare title: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare subtitle: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare description: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare block1_text: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare block1_image_uri: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare block2_text: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare block2_image_uri: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare checkmark1_text: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare checkmark2_text: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare checkmark3_text: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare conclusion: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare testimonials_text: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare testimonials_image_url: string;\n\n @BelongsTo(() => NonConsumableProgram)\n declare program: NonConsumableProgram[];\n\n @HasMany(() => TranslatedNonConsumableProgramWebContent)\n declare translatedWebContent: TranslatedNonConsumableProgramWebContent[];\n}\n"],"names":["BelongsTo","Column","DataType","ForeignKey","HasMany","Model","PrimaryKey","Table","NonConsumableProgram","TranslatedNonConsumableProgramWebContent","NonConsumableProgramWebContent","type","UUID","allowNull","TEXT"],"mappings":";;;;;;AAAA,SACEA,SAAS,EACTC,MAAM,EACNC,QAAQ,EACRC,UAAU,EAAEC,OAAO,EACnBC,KAAK,EAAEC,UAAU,EACjBC,KAAK,QACA,uBAAuB;AAC9B,SAAQC,oBAAoB,QAAO,4BAA4B;AAC/D,SAAQC,wCAAwC,QAAO,gDAAgD;AAGvG,OAAO,MAAMC,uCAAuCL;AAkDpD;;;mBAhDoBG;;QACTG,MAAMT,SAASU,IAAI;QAAEC,WAAW;;;;;QAG/BF,MAAMT,SAASY,IAAI;QAAED,WAAW;;;;;QAGhCF,MAAMT,SAASY,IAAI;QAAED,WAAW;;;;;QAGhCF,MAAMT,SAASY,IAAI;QAAED,WAAW;;;;;QAGhCF,MAAMT,SAASY,IAAI;QAAED,WAAW;;;;;QAGhCF,MAAMT,SAASY,IAAI;QAAED,WAAW;;;;;QAGhCF,MAAMT,SAASY,IAAI;QAAED,WAAW;;;;;QAGhCF,MAAMT,SAASY,IAAI;QAAED,WAAW;;;;;QAGhCF,MAAMT,SAASY,IAAI;QAAED,WAAW;;;;;QAGhCF,MAAMT,SAASY,IAAI;QAAED,WAAW;;;;;QAGhCF,MAAMT,SAASY,IAAI;QAAED,WAAW;;;;;QAGhCF,MAAMT,SAASY,IAAI;QAAED,WAAW;;;;;QAGhCF,MAAMT,SAASY,IAAI;QAAED,WAAW;;;;;QAGhCF,MAAMT,SAASY,IAAI;QAAED,WAAW;;;;kBAGzBL;;;gBAGFC"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/nonconsprogram/TranslatedConsumableProgram.ts"],"sourcesContent":["import {\n BelongsTo,\n Column,\n DataType,\n Default,\n ForeignKey,\n Model,\n Table,\n} from \"sequelize-typescript\";\nimport {\n ConsumableProgramGoals,\n ConsumableProgramTypes,\n ConsumableProgramWeightGoals,\n} from '../../enums/ProgramEnums.js';\nimport { NonConsumableProgram } from './NonConsumableProgram.js';\n\n@Table\nexport class TranslatedConsumableProgram extends Model {\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 @ForeignKey(() => NonConsumableProgram)\n @Column(DataType.UUID)\n declare programUuid: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare title: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare language: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare description: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare coverImageUri: string;\n\n @Column({ type: DataType.INTEGER, allowNull: false })\n declare order: number;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare weightGoal: ConsumableProgramWeightGoals;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare goal: ConsumableProgramGoals;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare type: ConsumableProgramTypes;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false })\n declare isFree: boolean;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare productIdAndroid: string | null;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare productIdIos: string | null;\n\n @BelongsTo(() => NonConsumableProgram)\n declare originalProgram: NonConsumableProgram;\n}\n"],"names":["BelongsTo","Column","DataType","Default","ForeignKey","Model","Table","NonConsumableProgram","TranslatedConsumableProgram","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","TEXT","INTEGER","BOOLEAN"],"mappings":";;;;;;AAAA,SACEA,SAAS,EACTC,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,UAAU,EACVC,KAAK,EACLC,KAAK,QACA,uBAAuB;AAM9B,SAASC,oBAAoB,QAAQ,4BAA4B;AAGjE,OAAO,MAAMC,oCAAoCH;AAiDjD;;qBAhDoBI;;QAEhBC,MAAMR,SAASS,IAAI;QACnBC,cAAcV,SAASS,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;mBAIIP;oBACDI;;;;QAGPD,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASc,OAAO;QAAEH,WAAW;;;;;QAGnCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASe,OAAO;QAAEJ,WAAW;;;;;QAGnCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;kBAGzBN"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/nonconsprogram/TranslatedNonConsumableProgramWebContent.ts"],"sourcesContent":["import {\n BelongsTo,\n Column,\n DataType, Default,\n ForeignKey,\n Model,\n Table,\n} from \"sequelize-typescript\";\nimport {NonConsumableProgramWebContent} from './NonConsumableProgramWebContent.js';\n\n@Table\nexport class TranslatedNonConsumableProgramWebContent extends Model {\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 @ForeignKey(() => NonConsumableProgramWebContent)\n @Column(DataType.UUID)\n declare originalWebContentUuid: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare language: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare title: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare subtitle: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare description: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare block1_text: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare block1_image_uri: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare block2_text: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare block2_image_uri: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare checkmark1_text: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare checkmark2_text: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare checkmark3_text: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare conclusion: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare testimonials_text: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare testimonials_image_url: string;\n\n @BelongsTo(() => NonConsumableProgramWebContent)\n declare program: NonConsumableProgramWebContent[];\n}\n"],"names":["BelongsTo","Column","DataType","Default","ForeignKey","Model","Table","NonConsumableProgramWebContent","TranslatedNonConsumableProgramWebContent","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","TEXT"],"mappings":";;;;;;AAAA,SACIA,SAAS,EACTC,MAAM,EACNC,QAAQ,EAAEC,OAAO,EACjBC,UAAU,EACVC,KAAK,EACLC,KAAK,QACF,uBAAuB;AAC9B,SAAQC,8BAA8B,QAAO,sCAAsC;AAGnF,OAAO,MAAMC,iDAAiDH;AA0D9D;;qBAzDsBI;;QAEdC,MAAMR,SAASS,IAAI;QACnBC,cAAcV,SAASS,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;mBAIEP;oBACDI;;;;QAGPD,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;kBAGzBN"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/nonconsprogram/UserNonConsumableProgram.ts"],"sourcesContent":["import {Table, Column, Model, ForeignKey, DataType, PrimaryKey} from \"sequelize-typescript\";\nimport { PersistedUser } from '../PersistedUser.js';\nimport { NonConsumableProgram } from './NonConsumableProgram.js';\n\n@Table({ tableName: \"UserPrograms\", timestamps: true })\nexport class UserPrograms extends Model<UserPrograms> {\n @PrimaryKey\n @ForeignKey(() => PersistedUser)\n @Column({ type: DataType.UUID, allowNull: false })\n declare userUuid: string;\n\n @PrimaryKey\n @ForeignKey(() => NonConsumableProgram)\n @Column({ type: DataType.UUID, allowNull: false })\n declare programUuid: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare purchasePlatform: string;\n}\n\n"],"names":["Table","Column","Model","ForeignKey","DataType","PrimaryKey","PersistedUser","NonConsumableProgram","UserPrograms","type","UUID","allowNull","STRING","tableName","timestamps"],"mappings":";;;;;;AAAA,SAAQA,KAAK,EAAEC,MAAM,EAAEC,KAAK,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,UAAU,QAAO,uBAAuB;AAC5F,SAASC,aAAa,QAAQ,sBAAsB;AACpD,SAASC,oBAAoB,QAAQ,4BAA4B;AAGjE,OAAO,MAAMC,qBAAqBN;AAalC;;;mBAXsBI;;QACRG,MAAML,SAASM,IAAI;QAAEC,WAAW;;;;;mBAIxBJ;;QACRE,MAAML,SAASM,IAAI;QAAEC,WAAW;;;;;QAGhCF,MAAML,SAASQ,MAAM;QAAED,WAAW;;;;;QAZvCE,WAAW;QAAgBC,YAAY"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/Challenge.ts"],"sourcesContent":["import { Column, DataType, Default, HasMany, Model, Table } from 'sequelize-typescript';\nimport { TranslatedChallenge } from './TranslatedChallenge.js';\n\n@Table\nexport class Challenge extends Model<Challenge> {\n\t@Default(DataType.UUIDV4)\n\t@Column({\n\t\ttype: DataType.UUID,\n\t\tdefaultValue: DataType.UUID,\n\t\tallowNull: false,\n\t\tprimaryKey: true\n\t})\n\tdeclare uuid: string;\n\n\t@Column({ type: DataType.TEXT, allowNull: false })\n\tdeclare title: string;\n\n\t@Column({ type: DataType.TEXT, allowNull: false })\n\tdeclare url: string;\n\n\t@Column({ type: DataType.TEXT, allowNull: false })\n\tdeclare pointer: string;\n\n\t@Column({ type: DataType.TEXT, allowNull: false })\n\tdeclare timerTime: string;\n\n\t@Column({ type: DataType.BOOLEAN, allowNull: false })\n\tdeclare showStopwatch: boolean;\n\n\t@Column({ type: DataType.JSONB, allowNull: true })\n\tdeclare progress: object;\n\n\t@HasMany(() => TranslatedChallenge)\n\tdeclare translatedChallenges: TranslatedChallenge[];\n}\n"],"names":["Column","DataType","Default","HasMany","Model","Table","TranslatedChallenge","Challenge","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","TEXT","BOOLEAN","JSONB"],"mappings":";;;;;;AAAA,SAASA,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,EAAEC,KAAK,EAAEC,KAAK,QAAQ,uBAAuB;AACxF,SAASC,mBAAmB,QAAQ,2BAA2B;AAG/D,OAAO,MAAMC,kBAAkBH;AA8B/B;;qBA7BmBI;;QAEjBC,MAAMR,SAASS,IAAI;QACnBC,cAAcV,SAASS,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;QAIHJ,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASa,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMR,SAASc,OAAO;QAAEH,WAAW;;;;;QAGnCH,MAAMR,SAASe,KAAK;QAAEJ,WAAW;;;;gBAG5BN"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/ChallengeBlueprint.ts"],"sourcesContent":["import {Column, DataType, Default, ForeignKey, Index, Model, Table} from 'sequelize-typescript';\nimport {CustomProgramBlueprint} from \"./CustomProgramBlueprint.js\";\n\n@Table\nexport class ChallengeBlueprint extends Model{\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 @Index\n @ForeignKey(() => CustomProgramBlueprint)\n @Column({\n type: DataType.UUID,\n defaultValue: DataType.UUID,\n allowNull: false,\n })\n declare blueprintUuid: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare title: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare url: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare pointer: string;\n\n @Column({ type: DataType.INTEGER, allowNull: false })\n declare order: number;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare timerTime: string;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false })\n declare showStopwatch: boolean;\n\n @Column({ type: DataType.JSONB, allowNull: true })\n declare progress: object;\n}\n"],"names":["Column","DataType","Default","ForeignKey","Index","Model","Table","CustomProgramBlueprint","ChallengeBlueprint","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","STRING","TEXT","INTEGER","BOOLEAN","JSONB"],"mappings":";;;;;;AAAA,SAAQA,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,UAAU,EAAEC,KAAK,EAAEC,KAAK,EAAEC,KAAK,QAAO,uBAAuB;AAChG,SAAQC,sBAAsB,QAAO,8BAA8B;AAGnE,OAAO,MAAMC,2BAA2BH;AAuCxC;;qBAtCsBI;;QAEdC,MAAMT,SAASU,IAAI;QACnBC,cAAcX,SAASU,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;mBAKEP;;QAEdG,MAAMT,SAASU,IAAI;QACnBC,cAAcX,SAASU,IAAI;QAC3BE,WAAW;;;;;QAILH,MAAMT,SAASc,MAAM;QAAEF,WAAW;;;;;QAGlCH,MAAMT,SAASc,MAAM;QAAEF,WAAW;;;;;QAGlCH,MAAMT,SAASe,IAAI;QAAEH,WAAW;;;;;QAGhCH,MAAMT,SAASgB,OAAO;QAAEJ,WAAW;;;;;QAGnCH,MAAMT,SAASc,MAAM;QAAEF,WAAW;;;;;QAGlCH,MAAMT,SAASiB,OAAO;QAAEL,WAAW;;;;;QAGnCH,MAAMT,SAASkB,KAAK;QAAEN,WAAW"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/CustomProgramBlueprint.ts"],"sourcesContent":["import {\n BelongsTo,\n Column,\n DataType,\n Default, ForeignKey,\n HasMany, Index,\n Model,\n Table,\n} from \"sequelize-typescript\";\nimport {RestDay} from \"./RestDay.js\";\nimport {ChallengeBlueprint} from \"./ChallengeBlueprint.js\";\nimport {CustomStrengthTest} from \"./CustomStrengthTest.js\";\nimport {CustomWorkoutBlueprint} from \"./CustomWorkoutBlueprint.js\";\nimport {PersistedUser} from \"../PersistedUser.js\";\n\n@Table\nexport class CustomProgramBlueprint extends Model {\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 @ForeignKey(() => PersistedUser)\n @Column({\n type: DataType.UUID,\n allowNull: true,\n })\n declare createdBy: string;\n\n @Column({ type: DataType.STRING, allowNull: false, unique: true })\n declare title: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare level: string;\n\n @Column({ type: DataType.INTEGER, allowNull: false })\n declare numberOfDays: number;\n\n @HasMany(() => CustomWorkoutBlueprint, { foreignKey: \"blueprintUuid\" })\n declare workouts: CustomWorkoutBlueprint[];\n\n @HasMany(() => RestDay, { foreignKey: \"blueprintUuid\" })\n declare restDays: RestDay[];\n\n @HasMany(() => ChallengeBlueprint, { foreignKey: \"blueprintUuid\" })\n declare challenges: ChallengeBlueprint[];\n\n @HasMany(() => CustomStrengthTest, { foreignKey: \"blueprintUuid\" })\n declare strengthTests: CustomStrengthTest[];\n\n @BelongsTo(() => PersistedUser)\n declare user: PersistedUser;\n}\n"],"names":["BelongsTo","Column","DataType","Default","ForeignKey","HasMany","Model","Table","RestDay","ChallengeBlueprint","CustomStrengthTest","CustomWorkoutBlueprint","PersistedUser","CustomProgramBlueprint","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","STRING","unique","INTEGER","foreignKey"],"mappings":";;;;;;AAAA,SACIA,SAAS,EACTC,MAAM,EACNC,QAAQ,EACRC,OAAO,EAAEC,UAAU,EACnBC,OAAO,EACPC,KAAK,EACLC,KAAK,QACF,uBAAuB;AAC9B,SAAQC,OAAO,QAAO,eAAe;AACrC,SAAQC,kBAAkB,QAAO,0BAA0B;AAC3D,SAAQC,kBAAkB,QAAO,0BAA0B;AAC3D,SAAQC,sBAAsB,QAAO,8BAA8B;AACnE,SAAQC,aAAa,QAAO,sBAAsB;AAGlD,OAAO,MAAMC,+BAA+BP;AAwC5C;;qBAvCsBQ;;QAEdC,MAAMb,SAASc,IAAI;QACnBC,cAAcf,SAASc,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;mBAIEP;;QAEdG,MAAMb,SAASc,IAAI;QACnBE,WAAW;;;;;QAILH,MAAMb,SAASkB,MAAM;QAAEF,WAAW;QAAOG,QAAQ;;;;;QAGjDN,MAAMb,SAASkB,MAAM;QAAEF,WAAW;;;;;QAGlCH,MAAMb,SAASoB,OAAO;QAAEJ,WAAW;;;;gBAG9BP;QAA0BY,YAAY;;;;gBAGtCf;QAAWe,YAAY;;;;gBAGvBd;QAAsBc,YAAY;;;;gBAGlCb;QAAsBa,YAAY;;;;kBAGhCX"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/CustomStrengthTest.ts"],"sourcesContent":["import {\n Column,\n DataType,\n Default,\n ForeignKey,\n HasMany,\n Index,\n Model,\n Table,\n} from \"sequelize-typescript\";\nimport {CustomProgramBlueprint} from \"./CustomProgramBlueprint.js\";\nimport {CustomStrengthTestExercise} from \"./CustomStrengthTestExercises.js\";\n\n@Table\nexport class CustomStrengthTest extends Model {\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 @Index\n @ForeignKey(() => CustomProgramBlueprint)\n @Column({\n type: DataType.UUID,\n defaultValue: DataType.UUID,\n allowNull: false,\n })\n declare blueprintUuid: string;\n\n @Column({\n type: DataType.STRING,\n allowNull: false,\n })\n declare type: string;\n\n @Column({\n type: DataType.INTEGER,\n allowNull: true,\n })\n declare order: number;\n\n @HasMany(() => CustomStrengthTestExercise)\n declare exercises: CustomStrengthTestExercise[];\n\n @Column({\n type: DataType.BOOLEAN,\n allowNull: false,\n })\n declare isFinished: boolean;\n}\n"],"names":["Column","DataType","Default","ForeignKey","HasMany","Index","Model","Table","CustomProgramBlueprint","CustomStrengthTestExercise","CustomStrengthTest","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","STRING","INTEGER","BOOLEAN"],"mappings":";;;;;;AAAA,SACIA,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,UAAU,EACVC,OAAO,EACPC,KAAK,EACLC,KAAK,EACLC,KAAK,QACF,uBAAuB;AAC9B,SAAQC,sBAAsB,QAAO,8BAA8B;AACnE,SAAQC,0BAA0B,QAAO,mCAAmC;AAG5E,OAAO,MAAMC,2BAA2BJ;AAuCxC;;qBAtCsBK;;QAEdC,MAAMX,SAASY,IAAI;QACnBC,cAAcb,SAASY,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;mBAKER;;QAEdI,MAAMX,SAASY,IAAI;QACnBC,cAAcb,SAASY,IAAI;QAC3BE,WAAW;;;;;QAKXH,MAAMX,SAASgB,MAAM;QACrBF,WAAW;;;;;QAKXH,MAAMX,SAASiB,OAAO;QACtBH,WAAW;;;;gBAIAN;;;;QAIXG,MAAMX,SAASkB,OAAO;QACtBJ,WAAW"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/CustomStrengthTestExercises.ts"],"sourcesContent":["import {\n Column,\n DataType,\n Default,\n ForeignKey, Index,\n Model,\n Table,\n} from \"sequelize-typescript\";\nimport {CustomStrengthTest} from \"./CustomStrengthTest.js\";\n\n@Table\nexport class CustomStrengthTestExercise extends Model {\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 @Index\n @ForeignKey(() => CustomStrengthTest)\n @Column({\n type: DataType.UUID,\n defaultValue: DataType.UUID,\n allowNull: false,\n })\n declare stUuid: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare url: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare title: string;\n\n @Column({ type: DataType.INTEGER, allowNull: false })\n declare order: number;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare pointer: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare timerTime: string;\n\n @Column({ type: DataType.JSONB, allowNull: true })\n declare progress: Progress;\n\n}\n\nexport interface Progress {\n [key: string]: number | string | undefined;\n}"],"names":["Column","DataType","Default","ForeignKey","Index","Model","Table","CustomStrengthTest","CustomStrengthTestExercise","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","STRING","INTEGER","TEXT","JSONB"],"mappings":";;;;;;AAAA,SACIA,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,UAAU,EAAEC,KAAK,EACjBC,KAAK,EACLC,KAAK,QACF,uBAAuB;AAC9B,SAAQC,kBAAkB,QAAO,0BAA0B;AAG3D,OAAO,MAAMC,mCAAmCH;AAqChD;;qBApCsBI;;QAEdC,MAAMT,SAASU,IAAI;QACnBC,cAAcX,SAASU,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;mBAKEP;;QAEdG,MAAMT,SAASU,IAAI;QACnBC,cAAcX,SAASU,IAAI;QAC3BE,WAAW;;;;;QAILH,MAAMT,SAASc,MAAM;QAAEF,WAAW;;;;;QAGlCH,MAAMT,SAASc,MAAM;QAAEF,WAAW;;;;;QAGlCH,MAAMT,SAASe,OAAO;QAAEH,WAAW;;;;;QAGnCH,MAAMT,SAASgB,IAAI;QAAEJ,WAAW;;;;;QAGhCH,MAAMT,SAASc,MAAM;QAAEF,WAAW;;;;;QAGlCH,MAAMT,SAASiB,KAAK;QAAEL,WAAW"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/CustomWorkoutBlueprint.ts"],"sourcesContent":["import {Column, DataType, Default, ForeignKey, Index, Model, Table} from \"sequelize-typescript\";\nimport {CustomProgramBlueprint} from \"./CustomProgramBlueprint.js\";\nimport type {ExerciseBlueprint} from \"../../models/BlueprintInterfaces.js\";\n\n@Table\nexport class CustomWorkoutBlueprint extends Model {\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 @Index\n @ForeignKey(() => CustomProgramBlueprint)\n declare blueprintUuid: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare title: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare duration: string;\n\n @Column({ type: DataType.INTEGER, allowNull: true })\n declare order: number;\n\n @Column({ type: DataType.ARRAY(DataType.JSONB), allowNull: false })\n declare exercises: ExerciseBlueprint[];\n\n @Column({ type: DataType.ARRAY(DataType.JSONB), allowNull: true })\n declare superset: SupersetModel[];\n}\nexport interface SupersetModel {\n startPosition: number;\n exercises: ExerciseBlueprint[];\n}\n"],"names":["Column","DataType","Default","ForeignKey","Index","Model","Table","CustomProgramBlueprint","CustomWorkoutBlueprint","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","TEXT","INTEGER","ARRAY","JSONB"],"mappings":";;;;;;AAAA,SAAQA,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,UAAU,EAAEC,KAAK,EAAEC,KAAK,EAAEC,KAAK,QAAO,uBAAuB;AAChG,SAAQC,sBAAsB,QAAO,8BAA8B;AAInE,OAAO,MAAMC,+BAA+BH;AA4B5C;;qBA3BsBI;;QAEdC,MAAMT,SAASU,IAAI;QACnBC,cAAcX,SAASU,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;mBAKEP;;;;QAGRG,MAAMT,SAASc,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMT,SAASc,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMT,SAASe,OAAO;QAAEH,WAAW;;;;;QAGnCH,MAAMT,SAASgB,KAAK,CAAChB,SAASiB,KAAK;QAAGL,WAAW;;;;;QAGjDH,MAAMT,SAASgB,KAAK,CAAChB,SAASiB,KAAK;QAAGL,WAAW"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/Exercise.ts"],"sourcesContent":["import {\n BelongsTo,\n Column,\n DataType,\n Default,\n ForeignKey,\n Index,\n Model,\n Table,\n} from \"sequelize-typescript\";\nimport { Workout } from './Workout.js';\nimport type {Progress, ReducedExercise} from '../../models/ExerciseInterfaces.js';\n\n@Table\nexport class Exercise extends Model<Exercise> implements ReducedExercise {\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.INTEGER, allowNull: false })\n declare order: number;\n\n @Column({ type: DataType.ARRAY(DataType.JSONB), allowNull: true })\n declare progress: Progress[];\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare reps: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare sets: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare restTime: string;\n\n @ForeignKey(() => Workout)\n @Index\n @Column({\n type: DataType.UUID,\n allowNull: true,\n })\n declare workoutUuid: string;\n\n @BelongsTo(() => Workout)\n declare workout: Workout;\n}\n"],"names":["BelongsTo","Column","DataType","Default","ForeignKey","Index","Model","Table","Workout","Exercise","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","STRING","INTEGER","ARRAY","JSONB","TEXT"],"mappings":";;;;;;AAAA,SACEA,SAAS,EACTC,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,UAAU,EACVC,KAAK,EACLC,KAAK,EACLC,KAAK,QACA,uBAAuB;AAC9B,SAASC,OAAO,QAAQ,eAAe;AAIvC,OAAO,MAAMC,iBAAiBH;AAsC9B;;qBArCoBI;;QAEhBC,MAAMT,SAASU,IAAI;QACnBC,cAAcX,SAASU,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;QAIJJ,MAAMT,SAASc,MAAM;QAAEF,WAAW;;;;;QAGlCH,MAAMT,SAASe,OAAO;QAAEH,WAAW;;;;;QAGnCH,MAAMT,SAASgB,KAAK,CAAChB,SAASiB,KAAK;QAAGL,WAAW;;;;;QAGjDH,MAAMT,SAASkB,IAAI;QAAEN,WAAW;;;;;QAGhCH,MAAMT,SAASkB,IAAI;QAAEN,WAAW;;;;;QAGhCH,MAAMT,SAASkB,IAAI;QAAEN,WAAW;;;;mBAGxBN;;;QAGhBG,MAAMT,SAASU,IAAI;QACnBE,WAAW;;;;kBAIIN"}
@@ -0,0 +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 @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;AA+DrC;;qBA9DsBI;;QAEdC,MAAMR,SAASS,IAAI;QACnBC,cAAcV,SAASS,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;QAINJ,MAAMR,SAASa,MAAM;QAAEF,WAAW;;;;;QAGlCH,MAAMR,SAASa,MAAM;QAAEF,WAAW;;;;;QAGlCH,MAAMR,SAASa,MAAM,CAAC;QAAOF,WAAW;;;;;QAGxCH,MAAMR,SAASc,OAAO;QAAEH,WAAW;;;;;QAGnCH,MAAMR,SAASa,MAAM;QAAEF,WAAW;;;;;QAGlCH,MAAMR,SAASe,KAAK,CAACf,SAASa,MAAM;QAAGF,WAAW;;;;;QAGlDH,MAAMR,SAASc,OAAO;QAAEH,WAAW;;;;;QAGnCH,MAAMR,SAASc,OAAO;QAAEH,WAAW;;;;;QAGnCH,MAAMR,SAASc,OAAO;QAAEH,WAAW;;;;;QAGnCH,MAAMR,SAASc,OAAO;QAAEH,WAAW;;;;;QAGnCH,MAAMR,SAASgB,KAAK;QAAEL,WAAW;;;;;QAGjCH,MAAMR,SAASe,KAAK,CAACf,SAASa,MAAM;QAAGF,WAAW;;;;;QAGlDH,MAAMR,SAASc,OAAO;QAAEH,WAAW;;;;;QAGnCH,MAAMR,SAASc,OAAO;QAAEH,WAAW;QAAOD,cAAc;;;;;QAGxDF,MAAMR,SAASe,KAAK,CAACf,SAASa,MAAM;QAAGF,WAAW;;;;;QAGlDH,MAAMR,SAASa,MAAM;QAAEF,WAAW;;;;;QAGlCH,MAAMR,SAASiB,IAAI;QAAEN,WAAW;;;;gBAG3BN"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/Program.ts"],"sourcesContent":["import { Workout } from './Workout.js';\nimport {\n BeforeDestroy, BelongsTo,\n Column,\n DataType,\n Default, ForeignKey,\n HasMany,\n Model,\n Table,\n} from \"sequelize-typescript\";\nimport {NonConsumableProgram} from '../nonconsprogram/NonConsumableProgram.js';\n\n@Table\nexport class Program extends Model<Program> {\n @Default(DataType.UUIDV4)\n @Column({\n type: DataType.UUID,\n defaultValue: DataType.UUID,\n allowNull: false,\n primaryKey: true,\n })\n declare programId: string;\n\n @Column({ type: DataType.UUID, allowNull: false })\n declare userUuid: string;\n\n @ForeignKey(() => NonConsumableProgram)\n @Column({type: DataType.UUID, allowNull: true})\n declare nonConsumableProgramUuid: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare startDate: string;\n\n @Column({ type: DataType.TEXT, allowNull: true })\n declare programType: string;\n\n @Column({ type: DataType.DATE, allowNull: true })\n declare createdAt: Date;\n\n @HasMany(() => Workout, { foreignKey: \"programId\", onDelete: \"CASCADE\" })\n declare workout: Workout[];\n\n @BelongsTo(() => NonConsumableProgram)\n declare nonConsumableProgram: NonConsumableProgram;\n\n @BeforeDestroy\n static async deleteRelatedWorkouts(instance: Program) {\n const workouts = await instance.$get(\"workout\", { scope: \"workout\" });\n\n for (const workout of workouts) {\n await workout.destroy();\n }\n }\n}\n"],"names":["Workout","BeforeDestroy","BelongsTo","Column","DataType","Default","ForeignKey","HasMany","Model","Table","NonConsumableProgram","Program","deleteRelatedWorkouts","instance","workouts","$get","scope","workout","destroy","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","TEXT","DATE","foreignKey","onDelete"],"mappings":";;;;;;AAAA,SAASA,OAAO,QAAQ,eAAe;AACvC,SACEC,aAAa,EAAEC,SAAS,EACxBC,MAAM,EACNC,QAAQ,EACRC,OAAO,EAAEC,UAAU,EACnBC,OAAO,EACPC,KAAK,EACLC,KAAK,QACA,uBAAuB;AAC9B,SAAQC,oBAAoB,QAAO,4CAA4C;AAG/E,OAAO,MAAMC,gBAAgBH;IAgC3B,aACaI,sBAAsBC,QAAiB,EAAE;QACpD,MAAMC,WAAW,MAAMD,SAASE,IAAI,CAAC,WAAW;YAAEC,OAAO;QAAU;QAEnE,KAAK,MAAMC,WAAWH,SAAU;YAC9B,MAAMG,QAAQC,OAAO;QACvB;IACF;AACF;;qBAvCoBC;;QAEhBC,MAAMhB,SAASiB,IAAI;QACnBC,cAAclB,SAASiB,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;QAIJJ,MAAMhB,SAASiB,IAAI;QAAEE,WAAW;;;;mBAGxBb;;QACTU,MAAMhB,SAASiB,IAAI;QAAEE,WAAW;;;;;QAG/BH,MAAMhB,SAASqB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMhB,SAASqB,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMhB,SAASsB,IAAI;QAAEH,WAAW;;;;gBAG3BvB;QAAW2B,YAAY;QAAaC,UAAU;;;;kBAG5ClB"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/RestDay.ts"],"sourcesContent":["import {\n Column,\n DataType,\n Default,\n ForeignKey, Index,\n Model,\n PrimaryKey,\n Table,\n} from \"sequelize-typescript\";\nimport {CustomProgramBlueprint} from \"./CustomProgramBlueprint.js\";\n\n@Table({ timestamps: true })\nexport class RestDay extends Model {\n @PrimaryKey\n @Default(DataType.UUIDV4)\n @Column(DataType.UUID)\n declare uuid: string;\n\n @Index\n @ForeignKey(() => CustomProgramBlueprint)\n @Column(DataType.UUID)\n declare blueprintUuid: string;\n\n @Column(DataType.BOOLEAN)\n declare isFinished: boolean;\n\n @Column(DataType.INTEGER)\n declare order: number;\n}\n"],"names":["Column","DataType","Default","ForeignKey","Index","Model","PrimaryKey","Table","CustomProgramBlueprint","RestDay","UUIDV4","UUID","BOOLEAN","INTEGER","timestamps"],"mappings":";;;;;;AAAA,SACEA,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,UAAU,EAAEC,KAAK,EACjBC,KAAK,EACLC,UAAU,EACVC,KAAK,QACA,uBAAuB;AAC9B,SAAQC,sBAAsB,QAAO,8BAA8B;AAGnE,OAAO,MAAMC,gBAAgBJ;AAgB7B;;;qBAdoBK;oBACDC;;;;mBAICH;oBACDG;;;oBAGAC;;;oBAGAC;;;;QAfVC,YAAY"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/StrengthTest.ts"],"sourcesContent":["import { Column, DataType, Default, HasMany, Model, Table } from 'sequelize-typescript';\nimport { TranslatedStrengthTest } from './TranslatedStrengthTest.js';\nimport type {StrengthTestExercise} from './StrengthTestExercise.js';\n\n@Table\nexport class StrengthTest extends Model<StrengthTest> {\n\t@Default(DataType.UUIDV4)\n\t@Column({\n\t\ttype: DataType.UUID,\n\t\tdefaultValue: DataType.UUID,\n\t\tallowNull: false,\n\t\tprimaryKey: true\n\t})\n\tdeclare uuid: string;\n\n\t@Column({\n\t\ttype: DataType.TEXT,\n\t\tallowNull: false\n\t})\n\tdeclare type: string;\n\n\t@Column({\n\t\ttype: DataType.ARRAY(DataType.JSONB),\n\t\tallowNull: false\n\t})\n\tdeclare exercises: StrengthTestExercise[];\n\n\t@HasMany(() => TranslatedStrengthTest)\n\tdeclare translatedStrengthTests: TranslatedStrengthTest[];\n}\n"],"names":["Column","DataType","Default","HasMany","Model","Table","TranslatedStrengthTest","StrengthTest","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","TEXT","ARRAY","JSONB"],"mappings":";;;;;;AAAA,SAASA,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,EAAEC,KAAK,EAAEC,KAAK,QAAQ,uBAAuB;AACxF,SAASC,sBAAsB,QAAQ,8BAA8B;AAIrE,OAAO,MAAMC,qBAAqBH;AAwBlC;;qBAvBmBI;;QAEjBC,MAAMR,SAASS,IAAI;QACnBC,cAAcV,SAASS,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;QAKZJ,MAAMR,SAASa,IAAI;QACnBF,WAAW;;;;;QAKXH,MAAMR,SAASc,KAAK,CAACd,SAASe,KAAK;QACnCJ,WAAW;;;;gBAIGN"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/StrengthTestExercise.ts"],"sourcesContent":["import { Column, DataType, Default, ForeignKey, HasMany, Model, Table } from \"sequelize-typescript\";\nimport { UserStrengthTests } from './UserStrengthTests.js';\nimport {TranslatedStrengthTestExercise} from './TranslatedStrengthTestExercise.js';\nimport type {Progress} from '../../models/ExerciseInterfaces.js';\n\n@Table\nexport class StrengthTestExercise extends Model<StrengthTestExercise> {\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 @ForeignKey(() => UserStrengthTests)\n @Column({\n type: DataType.UUID,\n defaultValue: DataType.UUID,\n allowNull: false,\n })\n declare stUuid: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare url: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare title: string;\n\n @Column({ type: DataType.INTEGER, allowNull: false })\n declare order: number;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare pointer: string;\n\n @Column({ type: DataType.TEXT, allowNull: false })\n declare timerTime: string;\n\n @Column({ type: DataType.JSONB, allowNull: true })\n declare progress: Progress;\n\n @HasMany(() => TranslatedStrengthTestExercise)\n declare translatedStrengthTestExercises: TranslatedStrengthTestExercise[];\n}\n"],"names":["Column","DataType","Default","ForeignKey","HasMany","Model","Table","UserStrengthTests","TranslatedStrengthTestExercise","StrengthTestExercise","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","TEXT","INTEGER","JSONB"],"mappings":";;;;;;AAAA,SAASA,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,UAAU,EAAEC,OAAO,EAAEC,KAAK,EAAEC,KAAK,QAAQ,uBAAuB;AACpG,SAASC,iBAAiB,QAAQ,yBAAyB;AAC3D,SAAQC,8BAA8B,QAAO,sCAAsC;AAInF,OAAO,MAAMC,6BAA6BJ;AAsC1C;;qBArCsBK;;QAEdC,MAAMV,SAASW,IAAI;QACnBC,cAAcZ,SAASW,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;mBAIER;;QAEdI,MAAMV,SAASW,IAAI;QACnBC,cAAcZ,SAASW,IAAI;QAC3BE,WAAW;;;;;QAILH,MAAMV,SAASe,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMV,SAASe,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMV,SAASgB,OAAO;QAAEH,WAAW;;;;;QAGnCH,MAAMV,SAASe,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMV,SAASe,IAAI;QAAEF,WAAW;;;;;QAGhCH,MAAMV,SAASiB,KAAK;QAAEJ,WAAW;;;;gBAG5BN"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/StrengthTestSession.ts"],"sourcesContent":["import {\n Table,\n Model,\n Column,\n DataType,\n Default,\n ForeignKey,\n BelongsTo,\n Index,\n} from 'sequelize-typescript';\nimport { UserStrengthTests } from './UserStrengthTests.js';\n\nexport enum SessionStatus {\n ACTIVE = 'active',\n COMPLETED = 'completed',\n}\n\n@Table({\n tableName: 'StrengthTestSession',\n timestamps: true,\n})\nexport class StrengthTestSession extends Model<StrengthTestSession> {\n @Default(DataType.UUIDV4)\n @Column({\n type: DataType.UUID,\n defaultValue: DataType.UUIDV4,\n allowNull: false,\n primaryKey: true,\n })\n declare uuid: string;\n\n @Index\n @Column({ type: DataType.UUID, allowNull: false })\n declare userUuid: string;\n\n @ForeignKey(() => UserStrengthTests)\n @Index\n @Column({ type: DataType.UUID, allowNull: false })\n declare strengthTestUuid: string;\n\n @BelongsTo(() => UserStrengthTests, { foreignKey: 'uuid', onDelete: 'CASCADE' })\n declare strengthTest?: UserStrengthTests;\n\n @Column({\n type: DataType.ENUM(...Object.values(SessionStatus)),\n allowNull: false,\n defaultValue: SessionStatus.ACTIVE,\n })\n declare status: SessionStatus;\n\n @Column({ type: DataType.DATE, allowNull: false, defaultValue: DataType.NOW })\n declare startedAt: Date;\n\n @Column({ type: DataType.DATE, allowNull: true })\n declare completedAt: Date | null;\n}"],"names":["Table","Model","Column","DataType","Default","ForeignKey","BelongsTo","Index","UserStrengthTests","SessionStatus","StrengthTestSession","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","foreignKey","onDelete","ENUM","Object","values","DATE","NOW","tableName","timestamps"],"mappings":";;;;;;AAAA,SACIA,KAAK,EACLC,KAAK,EACLC,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,UAAU,EACVC,SAAS,EACTC,KAAK,QACF,uBAAuB;AAC9B,SAASC,iBAAiB,QAAQ,yBAAyB;AAE3D,OAAO,IAAA,AAAKC,uCAAAA;;;WAAAA;MAGX;AAMD,OAAO,MAAMC,4BAA4BT;AAkCzC;;qBAjCsBU;;QAEdC,MAAMT,SAASU,IAAI;QACnBC,cAAcX,SAASQ,MAAM;QAC7BI,WAAW;QACXC,YAAY;;;;;;QAKNJ,MAAMT,SAASU,IAAI;QAAEE,WAAW;;;;mBAGxBP;;;QAERI,MAAMT,SAASU,IAAI;QAAEE,WAAW;;;;kBAGzBP;QAAqBS,YAAY;QAAQC,UAAU;;;;;QAIhEN,MAAMT,SAASgB,IAAI,IAAIC,OAAOC,MAAM,CAACZ;QACrCM,WAAW;QACXD,YAAY;;;;;QAINF,MAAMT,SAASmB,IAAI;QAAEP,WAAW;QAAOD,cAAcX,SAASoB,GAAG;;;;;QAGjEX,MAAMT,SAASmB,IAAI;QAAEP,WAAW;;;;;QAnC1CS,WAAW;QACXC,YAAY"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/Superset.ts"],"sourcesContent":["\nimport {Column, DataType, Default, ForeignKey, Index, Model, Table} from \"sequelize-typescript\";\nimport { Workout } from './Workout.js';\nimport type {ReducedExercise} from '../../models/ExerciseInterfaces.js';\n\n@Table\nexport class Superset extends Model<Superset> {\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.INTEGER, allowNull: false })\n declare startPosition: number;\n\n @ForeignKey(() => Workout)\n @Index\n declare workoutUuid: string;\n\n @Column({ type: DataType.ARRAY(DataType.JSONB), allowNull: false })\n declare exercises: ReducedExercise[];\n\n}\n"],"names":["Column","DataType","Default","ForeignKey","Index","Model","Table","Workout","Superset","UUIDV4","type","UUID","defaultValue","allowNull","primaryKey","INTEGER","ARRAY","JSONB"],"mappings":";;;;;;AACA,SAAQA,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,UAAU,EAAEC,KAAK,EAAEC,KAAK,EAAEC,KAAK,QAAO,uBAAuB;AAChG,SAASC,OAAO,QAAQ,eAAe;AAIvC,OAAO,MAAMC,iBAAiBH;AAoB9B;;qBAnBsBI;;QAEdC,MAAMT,SAASU,IAAI;QACnBC,cAAcX,SAASU,IAAI;QAC3BE,WAAW;QACXC,YAAY;;;;;QAINJ,MAAMT,SAASc,OAAO;QAAEF,WAAW;;;;mBAG3BN;;;;;QAIRG,MAAMT,SAASe,KAAK,CAACf,SAASgB,KAAK;QAAGJ,WAAW"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/ThirtyDayChallenge.ts"],"sourcesContent":["import {\n BelongsTo,\n Column,\n DataType,\n Default,\n ForeignKey,\n Index,\n Model,\n PrimaryKey,\n Table,\n} from \"sequelize-typescript\";\nimport { Program } from './Program.js';\n\n@Table({ timestamps: true })\nexport class ThirtyDayChallenge extends Model {\n @PrimaryKey\n @Default(DataType.UUIDV4)\n @Column(DataType.UUID)\n declare uuid: string;\n\n @Index\n @ForeignKey(() => Program)\n @Column(DataType.UUID)\n declare programUuid: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare challengeType: string;\n\n @Column({ type: DataType.INTEGER, allowNull: false, defaultValue: 100 })\n declare goal: number;\n\n @Column({ type: DataType.INTEGER, allowNull: false })\n declare order: number;\n\n @Column({ type: DataType.INTEGER, allowNull: false, defaultValue: 0 })\n declare currentReps: number;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false, defaultValue: false })\n declare isFinished: boolean;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false, defaultValue: false })\n declare isLocked: boolean;\n\n @BelongsTo(() => Program)\n declare program: Program;\n}\n"],"names":["BelongsTo","Column","DataType","Default","ForeignKey","Index","Model","PrimaryKey","Table","Program","ThirtyDayChallenge","UUIDV4","UUID","type","STRING","allowNull","INTEGER","defaultValue","BOOLEAN","timestamps"],"mappings":";;;;;;AAAA,SACEA,SAAS,EACTC,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,UAAU,EACVC,KAAK,EACLC,KAAK,EACLC,UAAU,EACVC,KAAK,QACA,uBAAuB;AAC9B,SAASC,OAAO,QAAQ,eAAe;AAGvC,OAAO,MAAMC,2BAA2BJ;AA+BxC;;;qBA7BoBK;oBACDC;;;;mBAICH;oBACDG;;;;QAGPC,MAAMX,SAASY,MAAM;QAAEC,WAAW;;;;;QAGlCF,MAAMX,SAASc,OAAO;QAAED,WAAW;QAAOE,cAAc;;;;;QAGxDJ,MAAMX,SAASc,OAAO;QAAED,WAAW;;;;;QAGnCF,MAAMX,SAASc,OAAO;QAAED,WAAW;QAAOE,cAAc;;;;;QAGxDJ,MAAMX,SAASgB,OAAO;QAAEH,WAAW;QAAOE,cAAc;;;;;QAGxDJ,MAAMX,SAASgB,OAAO;QAAEH,WAAW;QAAOE,cAAc;;;;kBAGjDR;;;;QA9BVU,YAAY"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/ThirtyDayChallengeStrengthTest.ts"],"sourcesContent":["import {\n BelongsTo,\n Column,\n DataType,\n Default,\n ForeignKey,\n Model,\n PrimaryKey,\n Table,\n} from \"sequelize-typescript\";\nimport { Program } from './Program.js';\n\n@Table({ timestamps: true })\nexport class ThirtyDayChallengeStrengthTest extends Model {\n @PrimaryKey\n @Default(DataType.UUIDV4)\n @Column(DataType.UUID)\n declare uuid: string;\n\n @ForeignKey(() => Program)\n @Column(DataType.UUID)\n declare programUuid: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare challengeType: string;\n\n @Column({ type: DataType.INTEGER, allowNull: false, defaultValue: 0 })\n declare maxReps: number;\n\n @Column({ type: DataType.INTEGER, allowNull: false })\n declare order: number;\n\n @Column({ type: DataType.BOOLEAN, allowNull: false, defaultValue: false })\n declare isFinished: boolean;\n\n @BelongsTo(() => Program)\n declare program: Program;\n}\n"],"names":["BelongsTo","Column","DataType","Default","ForeignKey","Model","PrimaryKey","Table","Program","ThirtyDayChallengeStrengthTest","UUIDV4","UUID","type","STRING","allowNull","INTEGER","defaultValue","BOOLEAN","timestamps"],"mappings":";;;;;;AAAA,SACEA,SAAS,EACTC,MAAM,EACNC,QAAQ,EACRC,OAAO,EACPC,UAAU,EACVC,KAAK,EACLC,UAAU,EACVC,KAAK,QACA,uBAAuB;AAC9B,SAASC,OAAO,QAAQ,eAAe;AAGvC,OAAO,MAAMC,uCAAuCJ;AAwBpD;;;qBAtBoBK;oBACDC;;;mBAGCH;oBACDG;;;;QAGPC,MAAMV,SAASW,MAAM;QAAEC,WAAW;;;;;QAGlCF,MAAMV,SAASa,OAAO;QAAED,WAAW;QAAOE,cAAc;;;;;QAGxDJ,MAAMV,SAASa,OAAO;QAAED,WAAW;;;;;QAGnCF,MAAMV,SAASe,OAAO;QAAEH,WAAW;QAAOE,cAAc;;;;kBAGjDR;;;;QAvBVU,YAAY"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/TranslatedChallenge.ts"],"sourcesContent":["import { BelongsTo, Column, DataType, Default, ForeignKey, Model, PrimaryKey, Table } from 'sequelize-typescript';\nimport { Challenge } from './Challenge.js';\n\n@Table\nexport class TranslatedChallenge extends Model<TranslatedChallenge> {\n\t@PrimaryKey\n\t@Default(DataType.UUIDV4)\n\t@Column(DataType.UUID)\n\tdeclare uuid: string;\n\n\t@ForeignKey(() => Challenge)\n\t@Column(DataType.UUID)\n\tdeclare challengeUuid: string;\n\n\t@Column({ type: DataType.TEXT, allowNull: false })\n\tdeclare title: string;\n\n\t@Column({ type: DataType.TEXT, allowNull: false })\n\tdeclare language: string;\n\n\t@Column({ type: DataType.TEXT, allowNull: false })\n\tdeclare url: string;\n\n\t@Column({ type: DataType.TEXT, allowNull: false })\n\tdeclare pointer: string;\n\n\t@Column({ type: DataType.TEXT, allowNull: false })\n\tdeclare timerTime: string;\n\n\t@Column({ type: DataType.BOOLEAN, allowNull: false })\n\tdeclare showStopwatch: boolean;\n\n\t@Column({ type: DataType.JSONB, allowNull: true })\n\tdeclare progress: object;\n\n\t@BelongsTo(() => Challenge)\n\tdeclare exercise: Challenge;\n}\n"],"names":["BelongsTo","Column","DataType","Default","ForeignKey","Model","PrimaryKey","Table","Challenge","TranslatedChallenge","UUIDV4","UUID","type","TEXT","allowNull","BOOLEAN","JSONB"],"mappings":";;;;;;AAAA,SAASA,SAAS,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,UAAU,EAAEC,KAAK,EAAEC,UAAU,EAAEC,KAAK,QAAQ,uBAAuB;AAClH,SAASC,SAAS,QAAQ,iBAAiB;AAG3C,OAAO,MAAMC,4BAA4BJ;AAiCzC;;;qBA/BmBK;oBACDC;;;mBAGCH;oBACDG;;;;QAGPC,MAAMV,SAASW,IAAI;QAAEC,WAAW;;;;;QAGhCF,MAAMV,SAASW,IAAI;QAAEC,WAAW;;;;;QAGhCF,MAAMV,SAASW,IAAI;QAAEC,WAAW;;;;;QAGhCF,MAAMV,SAASW,IAAI;QAAEC,WAAW;;;;;QAGhCF,MAAMV,SAASW,IAAI;QAAEC,WAAW;;;;;QAGhCF,MAAMV,SAASa,OAAO;QAAED,WAAW;;;;;QAGnCF,MAAMV,SAASc,KAAK;QAAEF,WAAW;;;;kBAG1BN"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/dbmodels/program/TranslatedExerciseModel.ts"],"sourcesContent":["import { BelongsTo, Column, DataType, Default, ForeignKey, Model, PrimaryKey, Table } from 'sequelize-typescript';\nimport { ExercisesModels } from './ExerciseModels.js';\nimport type {ProgramTypes} from '../../models/ExerciseInterfaces.js';\n\n@Table\nexport class TranslatedExerciseModel extends Model {\n\t@PrimaryKey\n\t@Default(DataType.UUIDV4)\n\t@Column(DataType.UUID)\n\tdeclare uuid: string;\n\n\t@ForeignKey(() => ExercisesModels)\n\t@Column(DataType.UUID)\n\tdeclare exerciseUuid: string;\n\n\t@Column({ type: DataType.STRING, allowNull: false })\n\tdeclare name: string;\n\n\t@Column({ type: DataType.TEXT, allowNull: false })\n\tdeclare language: string;\n\n\t@Column({ type: DataType.STRING, allowNull: true })\n\tdeclare restTime: string;\n\n\t@Column({ type: DataType.STRING(2048), allowNull: false })\n\tdeclare pointers: string;\n\n\t@Column({ type: DataType.BOOLEAN, allowNull: true })\n\tdeclare isCustom: boolean;\n\n\t@Column({ type: DataType.STRING, allowNull: false })\n\tdeclare url: string;\n\n\t@Column({ type: DataType.ARRAY(DataType.STRING), allowNull: false })\n\tdeclare level: string[];\n\n\t@Column({ type: DataType.BOOLEAN, allowNull: false })\n\tdeclare hasPriority: boolean;\n\n\t@Column({ type: DataType.BOOLEAN, allowNull: false })\n\tdeclare isCompound: boolean;\n\n\t@Column({ type: DataType.BOOLEAN, allowNull: false })\n\tdeclare hasVariations: boolean;\n\n\t@Column({ type: DataType.BOOLEAN, allowNull: false })\n\tdeclare needsEquipment: boolean;\n\n\t@Column({ type: DataType.JSONB, allowNull: false })\n\tdeclare variations: object;\n\n\t@Column({ type: DataType.ARRAY(DataType.STRING), allowNull: false })\n\tdeclare muscles: string[];\n\n\t@Column({ type: DataType.BOOLEAN, allowNull: false })\n\tdeclare homeWorkout: boolean;\n\n\t@Column({ type: DataType.ARRAY(DataType.STRING), allowNull: false })\n\tdeclare programType: ProgramTypes[];\n\n\t@Column({ type: DataType.STRING, allowNull: false })\n\tdeclare graphData: 'reps' | 'weight';\n\n\t@BelongsTo(() => ExercisesModels)\n\tdeclare exercise: ExercisesModels;\n}\n"],"names":["BelongsTo","Column","DataType","Default","ForeignKey","Model","PrimaryKey","Table","ExercisesModels","TranslatedExerciseModel","UUIDV4","UUID","type","STRING","allowNull","TEXT","BOOLEAN","ARRAY","JSONB"],"mappings":";;;;;;AAAA,SAASA,SAAS,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,UAAU,EAAEC,KAAK,EAAEC,UAAU,EAAEC,KAAK,QAAQ,uBAAuB;AAClH,SAASC,eAAe,QAAQ,sBAAsB;AAItD,OAAO,MAAMC,gCAAgCJ;AA4D7C;;;qBA1DmBK;oBACDC;;;mBAGCH;oBACDG;;;;QAGPC,MAAMV,SAASW,MAAM;QAAEC,WAAW;;;;;QAGlCF,MAAMV,SAASa,IAAI;QAAED,WAAW;;;;;QAGhCF,MAAMV,SAASW,MAAM;QAAEC,WAAW;;;;;QAGlCF,MAAMV,SAASW,MAAM,CAAC;QAAOC,WAAW;;;;;QAGxCF,MAAMV,SAASc,OAAO;QAAEF,WAAW;;;;;QAGnCF,MAAMV,SAASW,MAAM;QAAEC,WAAW;;;;;QAGlCF,MAAMV,SAASe,KAAK,CAACf,SAASW,MAAM;QAAGC,WAAW;;;;;QAGlDF,MAAMV,SAASc,OAAO;QAAEF,WAAW;;;;;QAGnCF,MAAMV,SAASc,OAAO;QAAEF,WAAW;;;;;QAGnCF,MAAMV,SAASc,OAAO;QAAEF,WAAW;;;;;QAGnCF,MAAMV,SAASc,OAAO;QAAEF,WAAW;;;;;QAGnCF,MAAMV,SAASgB,KAAK;QAAEJ,WAAW;;;;;QAGjCF,MAAMV,SAASe,KAAK,CAACf,SAASW,MAAM;QAAGC,WAAW;;;;;QAGlDF,MAAMV,SAASc,OAAO;QAAEF,WAAW;;;;;QAGnCF,MAAMV,SAASe,KAAK,CAACf,SAASW,MAAM;QAAGC,WAAW;;;;;QAGlDF,MAAMV,SAASW,MAAM;QAAEC,WAAW;;;;kBAG3BN"}