@nativesquare/soma 0.12.0 → 0.13.1

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 (70) hide show
  1. package/dist/client/garmin.d.ts +9 -2
  2. package/dist/client/garmin.d.ts.map +1 -1
  3. package/dist/client/garmin.js +152 -1
  4. package/dist/client/garmin.js.map +1 -1
  5. package/dist/client/index.d.ts +5 -6
  6. package/dist/client/index.d.ts.map +1 -1
  7. package/dist/client/index.js +5 -211
  8. package/dist/client/index.js.map +1 -1
  9. package/dist/client/strava.d.ts +14 -7
  10. package/dist/client/strava.d.ts.map +1 -1
  11. package/dist/client/strava.js +67 -1
  12. package/dist/client/strava.js.map +1 -1
  13. package/dist/client/types.d.ts +93 -20
  14. package/dist/client/types.d.ts.map +1 -1
  15. package/dist/component/_generated/component.d.ts +24 -5
  16. package/dist/component/_generated/component.d.ts.map +1 -1
  17. package/dist/component/garmin/private.d.ts +53 -68
  18. package/dist/component/garmin/private.d.ts.map +1 -1
  19. package/dist/component/garmin/private.js +87 -85
  20. package/dist/component/garmin/private.js.map +1 -1
  21. package/dist/component/garmin/public.d.ts +97 -43
  22. package/dist/component/garmin/public.d.ts.map +1 -1
  23. package/dist/component/garmin/public.js +75 -51
  24. package/dist/component/garmin/public.js.map +1 -1
  25. package/dist/component/garmin/webhooks.d.ts +22 -20
  26. package/dist/component/garmin/webhooks.d.ts.map +1 -1
  27. package/dist/component/garmin/webhooks.js +115 -76
  28. package/dist/component/garmin/webhooks.js.map +1 -1
  29. package/dist/component/public.d.ts +15 -15
  30. package/dist/component/schema.d.ts +25 -25
  31. package/dist/component/strava/public.d.ts +12 -8
  32. package/dist/component/strava/public.d.ts.map +1 -1
  33. package/dist/component/strava/public.js +7 -7
  34. package/dist/component/strava/public.js.map +1 -1
  35. package/dist/component/validators/activity.d.ts +4 -4
  36. package/dist/component/validators/athlete.d.ts +6 -0
  37. package/dist/component/validators/athlete.d.ts.map +1 -1
  38. package/dist/component/validators/athlete.js.map +1 -1
  39. package/dist/component/validators/body.d.ts +4 -4
  40. package/dist/component/validators/daily.d.ts +4 -4
  41. package/dist/component/validators/nutrition.d.ts +9 -3
  42. package/dist/component/validators/nutrition.d.ts.map +1 -1
  43. package/dist/component/validators/nutrition.js.map +1 -1
  44. package/dist/component/validators/samples.d.ts +4 -4
  45. package/dist/component/validators/shared.d.ts +13 -4
  46. package/dist/component/validators/shared.d.ts.map +1 -1
  47. package/dist/component/validators/shared.js +7 -0
  48. package/dist/component/validators/shared.js.map +1 -1
  49. package/dist/component/validators/sleep.d.ts +11 -5
  50. package/dist/component/validators/sleep.d.ts.map +1 -1
  51. package/dist/component/validators/sleep.js.map +1 -1
  52. package/dist/validators.d.ts +48 -41
  53. package/dist/validators.d.ts.map +1 -1
  54. package/dist/validators.js +7 -6
  55. package/dist/validators.js.map +1 -1
  56. package/package.json +1 -1
  57. package/src/client/garmin.ts +695 -487
  58. package/src/client/index.ts +10 -279
  59. package/src/client/strava.ts +201 -108
  60. package/src/client/types.ts +303 -215
  61. package/src/component/_generated/component.ts +19 -19
  62. package/src/component/garmin/private.ts +1872 -1870
  63. package/src/component/garmin/public.ts +104 -80
  64. package/src/component/garmin/webhooks.ts +122 -81
  65. package/src/component/strava/public.ts +393 -393
  66. package/src/component/validators/athlete.ts +6 -0
  67. package/src/component/validators/nutrition.ts +6 -0
  68. package/src/component/validators/shared.ts +9 -0
  69. package/src/component/validators/sleep.ts +6 -0
  70. package/src/validators.ts +35 -7
@@ -1,5 +1,12 @@
1
+ export { somaErrorValidator } from "./component/validators/shared.js";
1
2
  import { type SomaActivity } from "./component/validators/activity.js";
3
+ import { type SomaAthlete } from "./component/validators/athlete.js";
2
4
  import { type SomaBody } from "./component/validators/body.js";
5
+ import { type SomaDaily } from "./component/validators/daily.js";
6
+ import { type SomaSleep } from "./component/validators/sleep.js";
7
+ import { type SomaMenstruation } from "./component/validators/menstruation.js";
8
+ import { type SomaNutrition } from "./component/validators/nutrition.js";
9
+ import { type SomaPlannedWorkout } from "./component/validators/plannedWorkout.js";
3
10
  export declare const connectionValidator: {
4
11
  userId: import("convex/values").VString<string, "required">;
5
12
  provider: import("convex/values").VString<string, "required">;
@@ -634,8 +641,8 @@ export declare const activityValidator: {
634
641
  vo2max_ml_per_min_per_kg?: number | undefined;
635
642
  avg_saturation_percentage?: number | undefined;
636
643
  saturation_samples?: {
637
- type?: number | undefined;
638
644
  timestamp?: string | undefined;
645
+ type?: number | undefined;
639
646
  percentage?: number | undefined;
640
647
  }[] | undefined;
641
648
  vo2_samples?: {
@@ -645,18 +652,18 @@ export declare const activityValidator: {
645
652
  } | undefined, {
646
653
  avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
647
654
  saturation_samples: import("convex/values").VArray<{
648
- type?: number | undefined;
649
655
  timestamp?: string | undefined;
656
+ type?: number | undefined;
650
657
  percentage?: number | undefined;
651
658
  }[] | undefined, import("convex/values").VObject<{
652
- type?: number | undefined;
653
659
  timestamp?: string | undefined;
660
+ type?: number | undefined;
654
661
  percentage?: number | undefined;
655
662
  }, {
656
663
  timestamp: import("convex/values").VString<string | undefined, "optional">;
657
664
  percentage: import("convex/values").VFloat64<number | undefined, "optional">;
658
665
  type: import("convex/values").VFloat64<number | undefined, "optional">;
659
- }, "required", "type" | "timestamp" | "percentage">, "optional">;
666
+ }, "required", "timestamp" | "type" | "percentage">, "optional">;
660
667
  vo2_samples: import("convex/values").VArray<{
661
668
  timestamp?: string | undefined;
662
669
  vo2max_ml_per_min_per_kg?: number | undefined;
@@ -1237,8 +1244,8 @@ export declare const bodyValidator: {
1237
1244
  vo2max_ml_per_min_per_kg?: number | undefined;
1238
1245
  avg_saturation_percentage?: number | undefined;
1239
1246
  saturation_samples?: {
1240
- type?: number | undefined;
1241
1247
  timestamp?: string | undefined;
1248
+ type?: number | undefined;
1242
1249
  percentage?: number | undefined;
1243
1250
  }[] | undefined;
1244
1251
  vo2_samples?: {
@@ -1248,18 +1255,18 @@ export declare const bodyValidator: {
1248
1255
  } | undefined, {
1249
1256
  avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
1250
1257
  saturation_samples: import("convex/values").VArray<{
1251
- type?: number | undefined;
1252
1258
  timestamp?: string | undefined;
1259
+ type?: number | undefined;
1253
1260
  percentage?: number | undefined;
1254
1261
  }[] | undefined, import("convex/values").VObject<{
1255
- type?: number | undefined;
1256
1262
  timestamp?: string | undefined;
1263
+ type?: number | undefined;
1257
1264
  percentage?: number | undefined;
1258
1265
  }, {
1259
1266
  timestamp: import("convex/values").VString<string | undefined, "optional">;
1260
1267
  percentage: import("convex/values").VFloat64<number | undefined, "optional">;
1261
1268
  type: import("convex/values").VFloat64<number | undefined, "optional">;
1262
- }, "required", "type" | "timestamp" | "percentage">, "optional">;
1269
+ }, "required", "timestamp" | "type" | "percentage">, "optional">;
1263
1270
  vo2_samples: import("convex/values").VArray<{
1264
1271
  timestamp?: string | undefined;
1265
1272
  vo2max_ml_per_min_per_kg?: number | undefined;
@@ -1965,8 +1972,8 @@ export declare const dailyValidator: {
1965
1972
  vo2max_ml_per_min_per_kg?: number | undefined;
1966
1973
  avg_saturation_percentage?: number | undefined;
1967
1974
  saturation_samples?: {
1968
- type?: number | undefined;
1969
1975
  timestamp?: string | undefined;
1976
+ type?: number | undefined;
1970
1977
  percentage?: number | undefined;
1971
1978
  }[] | undefined;
1972
1979
  vo2_samples?: {
@@ -1976,18 +1983,18 @@ export declare const dailyValidator: {
1976
1983
  } | undefined, {
1977
1984
  avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
1978
1985
  saturation_samples: import("convex/values").VArray<{
1979
- type?: number | undefined;
1980
1986
  timestamp?: string | undefined;
1987
+ type?: number | undefined;
1981
1988
  percentage?: number | undefined;
1982
1989
  }[] | undefined, import("convex/values").VObject<{
1983
- type?: number | undefined;
1984
1990
  timestamp?: string | undefined;
1991
+ type?: number | undefined;
1985
1992
  percentage?: number | undefined;
1986
1993
  }, {
1987
1994
  timestamp: import("convex/values").VString<string | undefined, "optional">;
1988
1995
  percentage: import("convex/values").VFloat64<number | undefined, "optional">;
1989
1996
  type: import("convex/values").VFloat64<number | undefined, "optional">;
1990
- }, "required", "type" | "timestamp" | "percentage">, "optional">;
1997
+ }, "required", "timestamp" | "type" | "percentage">, "optional">;
1991
1998
  vo2_samples: import("convex/values").VArray<{
1992
1999
  timestamp?: string | undefined;
1993
2000
  vo2max_ml_per_min_per_kg?: number | undefined;
@@ -2339,8 +2346,8 @@ export declare const sleepValidator: {
2339
2346
  end_time?: string | undefined;
2340
2347
  avg_saturation_percentage?: number | undefined;
2341
2348
  samples?: {
2342
- type?: number | undefined;
2343
2349
  timestamp?: string | undefined;
2350
+ type?: number | undefined;
2344
2351
  percentage?: number | undefined;
2345
2352
  }[] | undefined;
2346
2353
  } | undefined;
@@ -2389,26 +2396,26 @@ export declare const sleepValidator: {
2389
2396
  end_time?: string | undefined;
2390
2397
  avg_saturation_percentage?: number | undefined;
2391
2398
  samples?: {
2392
- type?: number | undefined;
2393
2399
  timestamp?: string | undefined;
2400
+ type?: number | undefined;
2394
2401
  percentage?: number | undefined;
2395
2402
  }[] | undefined;
2396
2403
  } | undefined, {
2397
2404
  avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
2398
2405
  end_time: import("convex/values").VString<string | undefined, "optional">;
2399
2406
  samples: import("convex/values").VArray<{
2400
- type?: number | undefined;
2401
2407
  timestamp?: string | undefined;
2408
+ type?: number | undefined;
2402
2409
  percentage?: number | undefined;
2403
2410
  }[] | undefined, import("convex/values").VObject<{
2404
- type?: number | undefined;
2405
2411
  timestamp?: string | undefined;
2412
+ type?: number | undefined;
2406
2413
  percentage?: number | undefined;
2407
2414
  }, {
2408
2415
  timestamp: import("convex/values").VString<string | undefined, "optional">;
2409
2416
  percentage: import("convex/values").VFloat64<number | undefined, "optional">;
2410
2417
  type: import("convex/values").VFloat64<number | undefined, "optional">;
2411
- }, "required", "type" | "timestamp" | "percentage">, "optional">;
2418
+ }, "required", "timestamp" | "type" | "percentage">, "optional">;
2412
2419
  start_time: import("convex/values").VString<string | undefined, "optional">;
2413
2420
  }, "optional", "start_time" | "end_time" | "avg_saturation_percentage" | "samples">;
2414
2421
  snoring_data: import("convex/values").VObject<{
@@ -2594,9 +2601,9 @@ export declare const nutritionValidator: {
2594
2601
  drink_name: import("convex/values").VString<string | undefined, "optional">;
2595
2602
  }, "required", "timestamp" | "drink_volume" | "drink_unit" | "drink_name">, "optional">;
2596
2603
  meals: import("convex/values").VArray<{
2604
+ timestamp: string;
2597
2605
  id: string;
2598
2606
  type: number;
2599
- timestamp: string;
2600
2607
  name: string;
2601
2608
  quantity: {
2602
2609
  unit: number;
@@ -2665,9 +2672,9 @@ export declare const nutritionValidator: {
2665
2672
  starch_g?: number | undefined;
2666
2673
  };
2667
2674
  }[] | undefined, import("convex/values").VObject<{
2675
+ timestamp: string;
2668
2676
  id: string;
2669
2677
  type: number;
2670
- timestamp: string;
2671
2678
  name: string;
2672
2679
  quantity: {
2673
2680
  unit: number;
@@ -2869,7 +2876,7 @@ export declare const nutritionValidator: {
2869
2876
  omega6_g: import("convex/values").VFloat64<number | undefined, "optional">;
2870
2877
  starch_g: import("convex/values").VFloat64<number | undefined, "optional">;
2871
2878
  }, "required", "biotin_mg" | "caffeine_mg" | "calcium_mg" | "chloride_mg" | "chromium_mg" | "copper_mg" | "folate_mg" | "folic_acid_mg" | "iodine_mg" | "iron_mg" | "magnesium_mg" | "manganese_mg" | "molybdenum_mg" | "niacin_mg" | "pantothenic_acid_mg" | "phosphorus_mg" | "potassium_mg" | "riboflavin_mg" | "selenium_mg" | "thiamin_mg" | "vitamin_A_mg" | "vitamin_B12_mg" | "vitamin_B6_mg" | "vitamin_C_mg" | "vitamin_D_mg" | "vitamin_D2_mg" | "vitamin_D3_mg" | "vitamin_E_mg" | "vitamin_K_mg" | "zinc_mg" | "cystine_g" | "histidine_g" | "isoleucine_g" | "leucine_g" | "lysine_g" | "methionine_g" | "phenylalanine_g" | "threonine_g" | "tryptophan_g" | "tyrosine_g" | "valine_g" | "monounsaturated_fat_g" | "polyunsaturated_fat_g" | "omega3_g" | "omega6_g" | "starch_g">;
2872
- }, "required", "id" | "type" | "timestamp" | "name" | "quantity" | "macros" | "micros" | "quantity.unit" | "quantity.amount" | "macros.calories" | "macros.alcohol_g" | "macros.carbohydrates_g" | "macros.cholesterol_mg" | "macros.fat_g" | "macros.fiber_g" | "macros.net_carbohydrates_g" | "macros.protein_g" | "macros.saturated_fat_g" | "macros.sodium_mg" | "macros.sugar_g" | "macros.trans_fat_g" | "micros.biotin_mg" | "micros.caffeine_mg" | "micros.calcium_mg" | "micros.chloride_mg" | "micros.chromium_mg" | "micros.copper_mg" | "micros.folate_mg" | "micros.folic_acid_mg" | "micros.iodine_mg" | "micros.iron_mg" | "micros.magnesium_mg" | "micros.manganese_mg" | "micros.molybdenum_mg" | "micros.niacin_mg" | "micros.pantothenic_acid_mg" | "micros.phosphorus_mg" | "micros.potassium_mg" | "micros.riboflavin_mg" | "micros.selenium_mg" | "micros.thiamin_mg" | "micros.vitamin_A_mg" | "micros.vitamin_B12_mg" | "micros.vitamin_B6_mg" | "micros.vitamin_C_mg" | "micros.vitamin_D_mg" | "micros.vitamin_D2_mg" | "micros.vitamin_D3_mg" | "micros.vitamin_E_mg" | "micros.vitamin_K_mg" | "micros.zinc_mg" | "micros.cystine_g" | "micros.histidine_g" | "micros.isoleucine_g" | "micros.leucine_g" | "micros.lysine_g" | "micros.methionine_g" | "micros.phenylalanine_g" | "micros.threonine_g" | "micros.tryptophan_g" | "micros.tyrosine_g" | "micros.valine_g" | "micros.monounsaturated_fat_g" | "micros.polyunsaturated_fat_g" | "micros.omega3_g" | "micros.omega6_g" | "micros.starch_g">, "optional">;
2879
+ }, "required", "timestamp" | "id" | "type" | "name" | "quantity" | "macros" | "micros" | "quantity.unit" | "quantity.amount" | "macros.calories" | "macros.alcohol_g" | "macros.carbohydrates_g" | "macros.cholesterol_mg" | "macros.fat_g" | "macros.fiber_g" | "macros.net_carbohydrates_g" | "macros.protein_g" | "macros.saturated_fat_g" | "macros.sodium_mg" | "macros.sugar_g" | "macros.trans_fat_g" | "micros.biotin_mg" | "micros.caffeine_mg" | "micros.calcium_mg" | "micros.chloride_mg" | "micros.chromium_mg" | "micros.copper_mg" | "micros.folate_mg" | "micros.folic_acid_mg" | "micros.iodine_mg" | "micros.iron_mg" | "micros.magnesium_mg" | "micros.manganese_mg" | "micros.molybdenum_mg" | "micros.niacin_mg" | "micros.pantothenic_acid_mg" | "micros.phosphorus_mg" | "micros.potassium_mg" | "micros.riboflavin_mg" | "micros.selenium_mg" | "micros.thiamin_mg" | "micros.vitamin_A_mg" | "micros.vitamin_B12_mg" | "micros.vitamin_B6_mg" | "micros.vitamin_C_mg" | "micros.vitamin_D_mg" | "micros.vitamin_D2_mg" | "micros.vitamin_D3_mg" | "micros.vitamin_E_mg" | "micros.vitamin_K_mg" | "micros.zinc_mg" | "micros.cystine_g" | "micros.histidine_g" | "micros.isoleucine_g" | "micros.leucine_g" | "micros.lysine_g" | "micros.methionine_g" | "micros.phenylalanine_g" | "micros.threonine_g" | "micros.tryptophan_g" | "micros.tyrosine_g" | "micros.valine_g" | "micros.monounsaturated_fat_g" | "micros.polyunsaturated_fat_g" | "micros.omega3_g" | "micros.omega6_g" | "micros.starch_g">, "optional">;
2873
2880
  metadata: import("convex/values").VObject<{
2874
2881
  timestamp_localization?: number | undefined;
2875
2882
  start_time: string;
@@ -3978,8 +3985,8 @@ export declare const activityData: Omit<{
3978
3985
  vo2max_ml_per_min_per_kg?: number | undefined;
3979
3986
  avg_saturation_percentage?: number | undefined;
3980
3987
  saturation_samples?: {
3981
- type?: number | undefined;
3982
3988
  timestamp?: string | undefined;
3989
+ type?: number | undefined;
3983
3990
  percentage?: number | undefined;
3984
3991
  }[] | undefined;
3985
3992
  vo2_samples?: {
@@ -3989,18 +3996,18 @@ export declare const activityData: Omit<{
3989
3996
  } | undefined, {
3990
3997
  avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
3991
3998
  saturation_samples: import("convex/values").VArray<{
3992
- type?: number | undefined;
3993
3999
  timestamp?: string | undefined;
4000
+ type?: number | undefined;
3994
4001
  percentage?: number | undefined;
3995
4002
  }[] | undefined, import("convex/values").VObject<{
3996
- type?: number | undefined;
3997
4003
  timestamp?: string | undefined;
4004
+ type?: number | undefined;
3998
4005
  percentage?: number | undefined;
3999
4006
  }, {
4000
4007
  timestamp: import("convex/values").VString<string | undefined, "optional">;
4001
4008
  percentage: import("convex/values").VFloat64<number | undefined, "optional">;
4002
4009
  type: import("convex/values").VFloat64<number | undefined, "optional">;
4003
- }, "required", "type" | "timestamp" | "percentage">, "optional">;
4010
+ }, "required", "timestamp" | "type" | "percentage">, "optional">;
4004
4011
  vo2_samples: import("convex/values").VArray<{
4005
4012
  timestamp?: string | undefined;
4006
4013
  vo2max_ml_per_min_per_kg?: number | undefined;
@@ -4581,8 +4588,8 @@ export declare const bodyData: Omit<{
4581
4588
  vo2max_ml_per_min_per_kg?: number | undefined;
4582
4589
  avg_saturation_percentage?: number | undefined;
4583
4590
  saturation_samples?: {
4584
- type?: number | undefined;
4585
4591
  timestamp?: string | undefined;
4592
+ type?: number | undefined;
4586
4593
  percentage?: number | undefined;
4587
4594
  }[] | undefined;
4588
4595
  vo2_samples?: {
@@ -4592,18 +4599,18 @@ export declare const bodyData: Omit<{
4592
4599
  } | undefined, {
4593
4600
  avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
4594
4601
  saturation_samples: import("convex/values").VArray<{
4595
- type?: number | undefined;
4596
4602
  timestamp?: string | undefined;
4603
+ type?: number | undefined;
4597
4604
  percentage?: number | undefined;
4598
4605
  }[] | undefined, import("convex/values").VObject<{
4599
- type?: number | undefined;
4600
4606
  timestamp?: string | undefined;
4607
+ type?: number | undefined;
4601
4608
  percentage?: number | undefined;
4602
4609
  }, {
4603
4610
  timestamp: import("convex/values").VString<string | undefined, "optional">;
4604
4611
  percentage: import("convex/values").VFloat64<number | undefined, "optional">;
4605
4612
  type: import("convex/values").VFloat64<number | undefined, "optional">;
4606
- }, "required", "type" | "timestamp" | "percentage">, "optional">;
4613
+ }, "required", "timestamp" | "type" | "percentage">, "optional">;
4607
4614
  vo2_samples: import("convex/values").VArray<{
4608
4615
  timestamp?: string | undefined;
4609
4616
  vo2max_ml_per_min_per_kg?: number | undefined;
@@ -5309,8 +5316,8 @@ export declare const dailyData: Omit<{
5309
5316
  vo2max_ml_per_min_per_kg?: number | undefined;
5310
5317
  avg_saturation_percentage?: number | undefined;
5311
5318
  saturation_samples?: {
5312
- type?: number | undefined;
5313
5319
  timestamp?: string | undefined;
5320
+ type?: number | undefined;
5314
5321
  percentage?: number | undefined;
5315
5322
  }[] | undefined;
5316
5323
  vo2_samples?: {
@@ -5320,18 +5327,18 @@ export declare const dailyData: Omit<{
5320
5327
  } | undefined, {
5321
5328
  avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
5322
5329
  saturation_samples: import("convex/values").VArray<{
5323
- type?: number | undefined;
5324
5330
  timestamp?: string | undefined;
5331
+ type?: number | undefined;
5325
5332
  percentage?: number | undefined;
5326
5333
  }[] | undefined, import("convex/values").VObject<{
5327
- type?: number | undefined;
5328
5334
  timestamp?: string | undefined;
5335
+ type?: number | undefined;
5329
5336
  percentage?: number | undefined;
5330
5337
  }, {
5331
5338
  timestamp: import("convex/values").VString<string | undefined, "optional">;
5332
5339
  percentage: import("convex/values").VFloat64<number | undefined, "optional">;
5333
5340
  type: import("convex/values").VFloat64<number | undefined, "optional">;
5334
- }, "required", "type" | "timestamp" | "percentage">, "optional">;
5341
+ }, "required", "timestamp" | "type" | "percentage">, "optional">;
5335
5342
  vo2_samples: import("convex/values").VArray<{
5336
5343
  timestamp?: string | undefined;
5337
5344
  vo2max_ml_per_min_per_kg?: number | undefined;
@@ -5683,8 +5690,8 @@ export declare const sleepData: Omit<{
5683
5690
  end_time?: string | undefined;
5684
5691
  avg_saturation_percentage?: number | undefined;
5685
5692
  samples?: {
5686
- type?: number | undefined;
5687
5693
  timestamp?: string | undefined;
5694
+ type?: number | undefined;
5688
5695
  percentage?: number | undefined;
5689
5696
  }[] | undefined;
5690
5697
  } | undefined;
@@ -5733,26 +5740,26 @@ export declare const sleepData: Omit<{
5733
5740
  end_time?: string | undefined;
5734
5741
  avg_saturation_percentage?: number | undefined;
5735
5742
  samples?: {
5736
- type?: number | undefined;
5737
5743
  timestamp?: string | undefined;
5744
+ type?: number | undefined;
5738
5745
  percentage?: number | undefined;
5739
5746
  }[] | undefined;
5740
5747
  } | undefined, {
5741
5748
  avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
5742
5749
  end_time: import("convex/values").VString<string | undefined, "optional">;
5743
5750
  samples: import("convex/values").VArray<{
5744
- type?: number | undefined;
5745
5751
  timestamp?: string | undefined;
5752
+ type?: number | undefined;
5746
5753
  percentage?: number | undefined;
5747
5754
  }[] | undefined, import("convex/values").VObject<{
5748
- type?: number | undefined;
5749
5755
  timestamp?: string | undefined;
5756
+ type?: number | undefined;
5750
5757
  percentage?: number | undefined;
5751
5758
  }, {
5752
5759
  timestamp: import("convex/values").VString<string | undefined, "optional">;
5753
5760
  percentage: import("convex/values").VFloat64<number | undefined, "optional">;
5754
5761
  type: import("convex/values").VFloat64<number | undefined, "optional">;
5755
- }, "required", "type" | "timestamp" | "percentage">, "optional">;
5762
+ }, "required", "timestamp" | "type" | "percentage">, "optional">;
5756
5763
  start_time: import("convex/values").VString<string | undefined, "optional">;
5757
5764
  }, "optional", "start_time" | "end_time" | "avg_saturation_percentage" | "samples">;
5758
5765
  snoring_data: import("convex/values").VObject<{
@@ -5938,9 +5945,9 @@ export declare const nutritionData: Omit<{
5938
5945
  drink_name: import("convex/values").VString<string | undefined, "optional">;
5939
5946
  }, "required", "timestamp" | "drink_volume" | "drink_unit" | "drink_name">, "optional">;
5940
5947
  meals: import("convex/values").VArray<{
5948
+ timestamp: string;
5941
5949
  id: string;
5942
5950
  type: number;
5943
- timestamp: string;
5944
5951
  name: string;
5945
5952
  quantity: {
5946
5953
  unit: number;
@@ -6009,9 +6016,9 @@ export declare const nutritionData: Omit<{
6009
6016
  starch_g?: number | undefined;
6010
6017
  };
6011
6018
  }[] | undefined, import("convex/values").VObject<{
6019
+ timestamp: string;
6012
6020
  id: string;
6013
6021
  type: number;
6014
- timestamp: string;
6015
6022
  name: string;
6016
6023
  quantity: {
6017
6024
  unit: number;
@@ -6213,7 +6220,7 @@ export declare const nutritionData: Omit<{
6213
6220
  omega6_g: import("convex/values").VFloat64<number | undefined, "optional">;
6214
6221
  starch_g: import("convex/values").VFloat64<number | undefined, "optional">;
6215
6222
  }, "required", "biotin_mg" | "caffeine_mg" | "calcium_mg" | "chloride_mg" | "chromium_mg" | "copper_mg" | "folate_mg" | "folic_acid_mg" | "iodine_mg" | "iron_mg" | "magnesium_mg" | "manganese_mg" | "molybdenum_mg" | "niacin_mg" | "pantothenic_acid_mg" | "phosphorus_mg" | "potassium_mg" | "riboflavin_mg" | "selenium_mg" | "thiamin_mg" | "vitamin_A_mg" | "vitamin_B12_mg" | "vitamin_B6_mg" | "vitamin_C_mg" | "vitamin_D_mg" | "vitamin_D2_mg" | "vitamin_D3_mg" | "vitamin_E_mg" | "vitamin_K_mg" | "zinc_mg" | "cystine_g" | "histidine_g" | "isoleucine_g" | "leucine_g" | "lysine_g" | "methionine_g" | "phenylalanine_g" | "threonine_g" | "tryptophan_g" | "tyrosine_g" | "valine_g" | "monounsaturated_fat_g" | "polyunsaturated_fat_g" | "omega3_g" | "omega6_g" | "starch_g">;
6216
- }, "required", "id" | "type" | "timestamp" | "name" | "quantity" | "macros" | "micros" | "quantity.unit" | "quantity.amount" | "macros.calories" | "macros.alcohol_g" | "macros.carbohydrates_g" | "macros.cholesterol_mg" | "macros.fat_g" | "macros.fiber_g" | "macros.net_carbohydrates_g" | "macros.protein_g" | "macros.saturated_fat_g" | "macros.sodium_mg" | "macros.sugar_g" | "macros.trans_fat_g" | "micros.biotin_mg" | "micros.caffeine_mg" | "micros.calcium_mg" | "micros.chloride_mg" | "micros.chromium_mg" | "micros.copper_mg" | "micros.folate_mg" | "micros.folic_acid_mg" | "micros.iodine_mg" | "micros.iron_mg" | "micros.magnesium_mg" | "micros.manganese_mg" | "micros.molybdenum_mg" | "micros.niacin_mg" | "micros.pantothenic_acid_mg" | "micros.phosphorus_mg" | "micros.potassium_mg" | "micros.riboflavin_mg" | "micros.selenium_mg" | "micros.thiamin_mg" | "micros.vitamin_A_mg" | "micros.vitamin_B12_mg" | "micros.vitamin_B6_mg" | "micros.vitamin_C_mg" | "micros.vitamin_D_mg" | "micros.vitamin_D2_mg" | "micros.vitamin_D3_mg" | "micros.vitamin_E_mg" | "micros.vitamin_K_mg" | "micros.zinc_mg" | "micros.cystine_g" | "micros.histidine_g" | "micros.isoleucine_g" | "micros.leucine_g" | "micros.lysine_g" | "micros.methionine_g" | "micros.phenylalanine_g" | "micros.threonine_g" | "micros.tryptophan_g" | "micros.tyrosine_g" | "micros.valine_g" | "micros.monounsaturated_fat_g" | "micros.polyunsaturated_fat_g" | "micros.omega3_g" | "micros.omega6_g" | "micros.starch_g">, "optional">;
6223
+ }, "required", "timestamp" | "id" | "type" | "name" | "quantity" | "macros" | "micros" | "quantity.unit" | "quantity.amount" | "macros.calories" | "macros.alcohol_g" | "macros.carbohydrates_g" | "macros.cholesterol_mg" | "macros.fat_g" | "macros.fiber_g" | "macros.net_carbohydrates_g" | "macros.protein_g" | "macros.saturated_fat_g" | "macros.sodium_mg" | "macros.sugar_g" | "macros.trans_fat_g" | "micros.biotin_mg" | "micros.caffeine_mg" | "micros.calcium_mg" | "micros.chloride_mg" | "micros.chromium_mg" | "micros.copper_mg" | "micros.folate_mg" | "micros.folic_acid_mg" | "micros.iodine_mg" | "micros.iron_mg" | "micros.magnesium_mg" | "micros.manganese_mg" | "micros.molybdenum_mg" | "micros.niacin_mg" | "micros.pantothenic_acid_mg" | "micros.phosphorus_mg" | "micros.potassium_mg" | "micros.riboflavin_mg" | "micros.selenium_mg" | "micros.thiamin_mg" | "micros.vitamin_A_mg" | "micros.vitamin_B12_mg" | "micros.vitamin_B6_mg" | "micros.vitamin_C_mg" | "micros.vitamin_D_mg" | "micros.vitamin_D2_mg" | "micros.vitamin_D3_mg" | "micros.vitamin_E_mg" | "micros.vitamin_K_mg" | "micros.zinc_mg" | "micros.cystine_g" | "micros.histidine_g" | "micros.isoleucine_g" | "micros.leucine_g" | "micros.lysine_g" | "micros.methionine_g" | "micros.phenylalanine_g" | "micros.threonine_g" | "micros.tryptophan_g" | "micros.tyrosine_g" | "micros.valine_g" | "micros.monounsaturated_fat_g" | "micros.polyunsaturated_fat_g" | "micros.omega3_g" | "micros.omega6_g" | "micros.starch_g">, "optional">;
6217
6224
  metadata: import("convex/values").VObject<{
6218
6225
  timestamp_localization?: number | undefined;
6219
6226
  start_time: string;
@@ -6695,5 +6702,5 @@ export declare const plannedWorkoutData: Omit<{
6695
6702
  provider_schedule_id: import("convex/values").VString<string | undefined, "optional">;
6696
6703
  }, "required", "id" | "type" | "name" | "pool_length_meters" | "description" | "estimated_if" | "provider" | "estimated_distance_meters" | "estimated_elevation_gain_meters" | "estimated_energy_kj" | "estimated_speed_meters_per_second" | "estimated_pace_minutes_per_kilometer" | "planned_date" | "created_date" | "estimated_tss" | "estimated_tscore" | "estimated_calories" | "estimated_duration_seconds" | "provider_workout_id" | "provider_schedule_id">;
6697
6704
  }, "connectionId" | "userId">;
6698
- export type { SomaActivity, SomaBody };
6705
+ export type { SomaActivity, SomaAthlete, SomaBody, SomaDaily, SomaMenstruation, SomaNutrition, SomaPlannedWorkout, SomaSleep, };
6699
6706
  //# sourceMappingURL=validators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../src/validators.ts"],"names":[],"mappings":"AA2CA,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEL,KAAK,QA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAAuC,CAAC;AAClE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAA4C,CAAC;AAI5E,YAAY,EACV,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,SAAS,GACV,CAAC"}
@@ -38,15 +38,16 @@
38
38
  // },
39
39
  // });
40
40
  import { v } from "convex/values";
41
+ export { somaErrorValidator } from "./component/validators/shared.js";
41
42
  import { connectionValidator as _connectionValidator } from "./component/validators/connection.js";
42
- import { athleteValidator as _athleteValidator } from "./component/validators/athlete.js";
43
43
  import { activityValidator as _activityValidator, } from "./component/validators/activity.js";
44
+ import { athleteValidator as _athleteValidator, } from "./component/validators/athlete.js";
44
45
  import { bodyValidator as _bodyValidator, } from "./component/validators/body.js";
45
- import { dailyValidator as _dailyValidator } from "./component/validators/daily.js";
46
- import { sleepValidator as _sleepValidator } from "./component/validators/sleep.js";
47
- import { menstruationValidator as _menstruationValidator } from "./component/validators/menstruation.js";
48
- import { nutritionValidator as _nutritionValidator } from "./component/validators/nutrition.js";
49
- import { plannedWorkoutValidator as _plannedWorkoutValidator } from "./component/validators/plannedWorkout.js";
46
+ import { dailyValidator as _dailyValidator, } from "./component/validators/daily.js";
47
+ import { sleepValidator as _sleepValidator, } from "./component/validators/sleep.js";
48
+ import { menstruationValidator as _menstruationValidator, } from "./component/validators/menstruation.js";
49
+ import { nutritionValidator as _nutritionValidator, } from "./component/validators/nutrition.js";
50
+ import { plannedWorkoutValidator as _plannedWorkoutValidator, } from "./component/validators/plannedWorkout.js";
50
51
  // ─── Helpers ─────────────────────────────────────────────────────────────────
51
52
  const asString = { connectionId: v.string() };
52
53
  function stripConnection(validator) {
@@ -1 +1 @@
1
- {"version":3,"file":"validators.js","sourceRoot":"","sources":["../src/validators.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,4EAA4E;AAC5E,iEAAiE;AACjE,EAAE;AACF,2CAA2C;AAC3C,EAAE;AACF,iFAAiF;AACjF,+EAA+E;AAC/E,EAAE;AACF,gEAAgE;AAChE,6EAA6E;AAC7E,sDAAsD;AACtD,EAAE;AACF,gFAAgF;AAChF,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,uEAAuE;AACvE,EAAE;AACF,4CAA4C;AAC5C,+BAA+B;AAC/B,sCAAsC;AACtC,8CAA8C;AAC9C,SAAS;AACT,QAAQ;AACR,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,kEAAkE;AAClE,EAAE;AACF,4CAA4C;AAC5C,6DAA6D;AAC7D,sCAAsC;AACtC,yFAAyF;AACzF,kDAAkD;AAClD,iFAAiF;AACjF,UAAU;AACV,SAAS;AACT,QAAQ;AAER,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAClC,OAAO,EAAE,mBAAmB,IAAI,oB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mB,CAAC,CAAC;AAClE,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC"}
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "bugs": {
7
7
  "url": "https://github.com/NativeSquare/soma/issues"
8
8
  },
9
- "version": "0.12.0",
9
+ "version": "0.13.1",
10
10
  "license": "Apache-2.0",
11
11
  "keywords": [
12
12
  "convex",