@nativesquare/soma 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/garmin.d.ts +5 -1
- package/dist/client/garmin.d.ts.map +1 -1
- package/dist/client/garmin.js +148 -0
- package/dist/client/garmin.js.map +1 -1
- package/dist/client/index.d.ts +5 -6
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +5 -211
- package/dist/client/index.js.map +1 -1
- package/dist/client/strava.d.ts +11 -6
- package/dist/client/strava.d.ts.map +1 -1
- package/dist/client/strava.js +64 -0
- package/dist/client/strava.js.map +1 -1
- package/dist/client/types.d.ts +93 -20
- package/dist/client/types.d.ts.map +1 -1
- package/dist/component/_generated/component.d.ts +24 -5
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/garmin/private.d.ts +53 -68
- package/dist/component/garmin/private.d.ts.map +1 -1
- package/dist/component/garmin/private.js +87 -85
- package/dist/component/garmin/private.js.map +1 -1
- package/dist/component/garmin/public.d.ts +97 -43
- package/dist/component/garmin/public.d.ts.map +1 -1
- package/dist/component/garmin/public.js +75 -51
- package/dist/component/garmin/public.js.map +1 -1
- package/dist/component/garmin/webhooks.d.ts +22 -20
- package/dist/component/garmin/webhooks.d.ts.map +1 -1
- package/dist/component/garmin/webhooks.js +115 -76
- package/dist/component/garmin/webhooks.js.map +1 -1
- package/dist/component/public.d.ts +15 -15
- package/dist/component/schema.d.ts +25 -25
- package/dist/component/strava/public.d.ts +12 -8
- package/dist/component/strava/public.d.ts.map +1 -1
- package/dist/component/strava/public.js +7 -7
- package/dist/component/strava/public.js.map +1 -1
- package/dist/component/validators/activity.d.ts +4 -4
- package/dist/component/validators/body.d.ts +4 -4
- package/dist/component/validators/daily.d.ts +4 -4
- package/dist/component/validators/nutrition.d.ts +3 -3
- package/dist/component/validators/samples.d.ts +4 -4
- package/dist/component/validators/shared.d.ts +13 -4
- package/dist/component/validators/shared.d.ts.map +1 -1
- package/dist/component/validators/shared.js +7 -0
- package/dist/component/validators/shared.js.map +1 -1
- package/dist/component/validators/sleep.d.ts +5 -5
- package/dist/validators.d.ts +41 -40
- package/dist/validators.d.ts.map +1 -1
- package/dist/validators.js +1 -0
- package/dist/validators.js.map +1 -1
- package/package.json +1 -1
- package/src/client/garmin.ts +692 -487
- package/src/client/index.ts +10 -279
- package/src/client/strava.ts +199 -108
- package/src/client/types.ts +303 -215
- package/src/component/_generated/component.ts +19 -19
- package/src/component/garmin/private.ts +1872 -1870
- package/src/component/garmin/public.ts +104 -80
- package/src/component/garmin/webhooks.ts +122 -81
- package/src/component/strava/public.ts +393 -393
- package/src/component/validators/shared.ts +9 -0
- package/src/validators.ts +1 -0
|
@@ -18,9 +18,9 @@ export declare const nutritionValidator: {
|
|
|
18
18
|
drink_name: import("convex/values").VString<string | undefined, "optional">;
|
|
19
19
|
}, "required", "timestamp" | "drink_volume" | "drink_unit" | "drink_name">, "optional">;
|
|
20
20
|
meals: import("convex/values").VArray<{
|
|
21
|
+
timestamp: string;
|
|
21
22
|
id: string;
|
|
22
23
|
type: number;
|
|
23
|
-
timestamp: string;
|
|
24
24
|
name: string;
|
|
25
25
|
quantity: {
|
|
26
26
|
unit: number;
|
|
@@ -89,9 +89,9 @@ export declare const nutritionValidator: {
|
|
|
89
89
|
starch_g?: number | undefined;
|
|
90
90
|
};
|
|
91
91
|
}[] | undefined, import("convex/values").VObject<{
|
|
92
|
+
timestamp: string;
|
|
92
93
|
id: string;
|
|
93
94
|
type: number;
|
|
94
|
-
timestamp: string;
|
|
95
95
|
name: string;
|
|
96
96
|
quantity: {
|
|
97
97
|
unit: number;
|
|
@@ -293,7 +293,7 @@ export declare const nutritionValidator: {
|
|
|
293
293
|
omega6_g: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
294
294
|
starch_g: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
295
295
|
}, "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">;
|
|
296
|
-
}, "required", "
|
|
296
|
+
}, "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">;
|
|
297
297
|
metadata: import("convex/values").VObject<{
|
|
298
298
|
timestamp_localization?: number | undefined;
|
|
299
299
|
start_time: string;
|
|
@@ -175,14 +175,14 @@ export declare const lapSample: import("convex/values").VObject<{
|
|
|
175
175
|
avg_hr_bpm: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
176
176
|
}, "required", "calories" | "distance_meters" | "start_time" | "end_time" | "total_strokes" | "stroke_type" | "avg_speed_meters_per_second" | "avg_hr_bpm">;
|
|
177
177
|
export declare const oxygenSaturationSample: import("convex/values").VObject<{
|
|
178
|
-
type?: number | undefined;
|
|
179
178
|
timestamp?: string | undefined;
|
|
179
|
+
type?: number | undefined;
|
|
180
180
|
percentage?: number | undefined;
|
|
181
181
|
}, {
|
|
182
182
|
timestamp: import("convex/values").VString<string | undefined, "optional">;
|
|
183
183
|
percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
184
184
|
type: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
185
|
-
}, "required", "
|
|
185
|
+
}, "required", "timestamp" | "type" | "percentage">;
|
|
186
186
|
export declare const vo2MaxSample: import("convex/values").VObject<{
|
|
187
187
|
timestamp?: string | undefined;
|
|
188
188
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
@@ -401,9 +401,9 @@ export declare const tagEntry: import("convex/values").VObject<{
|
|
|
401
401
|
notes: import("convex/values").VString<string, "required">;
|
|
402
402
|
}, "required", "timestamp" | "tag_name" | "notes">;
|
|
403
403
|
export declare const meal: import("convex/values").VObject<{
|
|
404
|
+
timestamp: string;
|
|
404
405
|
id: string;
|
|
405
406
|
type: number;
|
|
406
|
-
timestamp: string;
|
|
407
407
|
name: string;
|
|
408
408
|
quantity: {
|
|
409
409
|
unit: number;
|
|
@@ -605,5 +605,5 @@ export declare const meal: import("convex/values").VObject<{
|
|
|
605
605
|
omega6_g: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
606
606
|
starch_g: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
607
607
|
}, "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">;
|
|
608
|
-
}, "required", "
|
|
608
|
+
}, "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">;
|
|
609
609
|
//# sourceMappingURL=samples.d.ts.map
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
export declare const somaErrorValidator: import("convex/values").VObject<{
|
|
2
|
+
id: string;
|
|
3
|
+
type: string;
|
|
4
|
+
message: string;
|
|
5
|
+
}, {
|
|
6
|
+
type: import("convex/values").VString<string, "required">;
|
|
7
|
+
id: import("convex/values").VString<string, "required">;
|
|
8
|
+
message: import("convex/values").VString<string, "required">;
|
|
9
|
+
}, "required", "id" | "type" | "message">;
|
|
1
10
|
export declare const dataContributor: import("convex/values").VObject<{
|
|
2
11
|
contributor_name: string;
|
|
3
12
|
contributor_score: number;
|
|
@@ -218,8 +227,8 @@ export declare const oxygenData: import("convex/values").VObject<{
|
|
|
218
227
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
219
228
|
avg_saturation_percentage?: number | undefined;
|
|
220
229
|
saturation_samples?: {
|
|
221
|
-
type?: number | undefined;
|
|
222
230
|
timestamp?: string | undefined;
|
|
231
|
+
type?: number | undefined;
|
|
223
232
|
percentage?: number | undefined;
|
|
224
233
|
}[] | undefined;
|
|
225
234
|
vo2_samples?: {
|
|
@@ -229,18 +238,18 @@ export declare const oxygenData: import("convex/values").VObject<{
|
|
|
229
238
|
}, {
|
|
230
239
|
avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
231
240
|
saturation_samples: import("convex/values").VArray<{
|
|
232
|
-
type?: number | undefined;
|
|
233
241
|
timestamp?: string | undefined;
|
|
242
|
+
type?: number | undefined;
|
|
234
243
|
percentage?: number | undefined;
|
|
235
244
|
}[] | undefined, import("convex/values").VObject<{
|
|
236
|
-
type?: number | undefined;
|
|
237
245
|
timestamp?: string | undefined;
|
|
246
|
+
type?: number | undefined;
|
|
238
247
|
percentage?: number | undefined;
|
|
239
248
|
}, {
|
|
240
249
|
timestamp: import("convex/values").VString<string | undefined, "optional">;
|
|
241
250
|
percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
242
251
|
type: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
243
|
-
}, "required", "
|
|
252
|
+
}, "required", "timestamp" | "type" | "percentage">, "optional">;
|
|
244
253
|
vo2_samples: import("convex/values").VArray<{
|
|
245
254
|
timestamp?: string | undefined;
|
|
246
255
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/component/validators/shared.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/component/validators/shared.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;;;yCAI7B,CAAC;AAaH,eAAO,MAAM,eAAe;;;;;;wDAG1B,CAAC;AAGH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;mKAS1B,CAAC;AAIH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sMAWrB,CAAC;AAIH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mUAoBxB,CAAC;AAIH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+GAKrB,CAAC;AAIH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;gIAOpB,CAAC;AAGH,eAAO,MAAM,QAAQ;;;;;;;;iEAInB,CAAC;AAIH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;yMAajB,CAAC;AAIH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iwBAkDjB,CAAC"}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { v } from "convex/values";
|
|
2
|
+
// ─── SomaError ──��──────────────────────────────────────────────────────────
|
|
3
|
+
// Convex validator matching the SomaError TypeScript interface.
|
|
4
|
+
export const somaErrorValidator = v.object({
|
|
5
|
+
type: v.string(),
|
|
6
|
+
id: v.string(),
|
|
7
|
+
message: v.string(),
|
|
8
|
+
});
|
|
2
9
|
import { heartRateDataSample, hrvSampleRmssd, hrvSampleSdnn, heartRateZoneData, oxygenSaturationSample, vo2MaxSample, } from "./samples.js";
|
|
3
10
|
// ─── DataContributor ────────────────────────────────────────────────────────
|
|
4
11
|
// Shared across Daily and Sleep data_enrichment contributor arrays.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/component/validators/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":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CAAC;IACnC,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACpC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAClC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAChC,qBAAqB;IACrB,qBAAqB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC7C,qBAAqB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC7C,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAChC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAChC,gBAAgB;IAChB,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACjC,CAAC,CAAC"}
|
|
@@ -250,8 +250,8 @@ export declare const sleepValidator: {
|
|
|
250
250
|
end_time?: string | undefined;
|
|
251
251
|
avg_saturation_percentage?: number | undefined;
|
|
252
252
|
samples?: {
|
|
253
|
-
type?: number | undefined;
|
|
254
253
|
timestamp?: string | undefined;
|
|
254
|
+
type?: number | undefined;
|
|
255
255
|
percentage?: number | undefined;
|
|
256
256
|
}[] | undefined;
|
|
257
257
|
} | undefined;
|
|
@@ -300,26 +300,26 @@ export declare const sleepValidator: {
|
|
|
300
300
|
end_time?: string | undefined;
|
|
301
301
|
avg_saturation_percentage?: number | undefined;
|
|
302
302
|
samples?: {
|
|
303
|
-
type?: number | undefined;
|
|
304
303
|
timestamp?: string | undefined;
|
|
304
|
+
type?: number | undefined;
|
|
305
305
|
percentage?: number | undefined;
|
|
306
306
|
}[] | undefined;
|
|
307
307
|
} | undefined, {
|
|
308
308
|
avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
309
309
|
end_time: import("convex/values").VString<string | undefined, "optional">;
|
|
310
310
|
samples: import("convex/values").VArray<{
|
|
311
|
-
type?: number | undefined;
|
|
312
311
|
timestamp?: string | undefined;
|
|
312
|
+
type?: number | undefined;
|
|
313
313
|
percentage?: number | undefined;
|
|
314
314
|
}[] | undefined, import("convex/values").VObject<{
|
|
315
|
-
type?: number | undefined;
|
|
316
315
|
timestamp?: string | undefined;
|
|
316
|
+
type?: number | undefined;
|
|
317
317
|
percentage?: number | undefined;
|
|
318
318
|
}, {
|
|
319
319
|
timestamp: import("convex/values").VString<string | undefined, "optional">;
|
|
320
320
|
percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
321
321
|
type: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
322
|
-
}, "required", "
|
|
322
|
+
}, "required", "timestamp" | "type" | "percentage">, "optional">;
|
|
323
323
|
start_time: import("convex/values").VString<string | undefined, "optional">;
|
|
324
324
|
}, "optional", "start_time" | "end_time" | "avg_saturation_percentage" | "samples">;
|
|
325
325
|
snoring_data: import("convex/values").VObject<{
|
package/dist/validators.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { somaErrorValidator } from "./component/validators/shared.js";
|
|
1
2
|
import { type SomaActivity } from "./component/validators/activity.js";
|
|
2
3
|
import { type SomaBody } from "./component/validators/body.js";
|
|
3
4
|
export declare const connectionValidator: {
|
|
@@ -634,8 +635,8 @@ export declare const activityValidator: {
|
|
|
634
635
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
635
636
|
avg_saturation_percentage?: number | undefined;
|
|
636
637
|
saturation_samples?: {
|
|
637
|
-
type?: number | undefined;
|
|
638
638
|
timestamp?: string | undefined;
|
|
639
|
+
type?: number | undefined;
|
|
639
640
|
percentage?: number | undefined;
|
|
640
641
|
}[] | undefined;
|
|
641
642
|
vo2_samples?: {
|
|
@@ -645,18 +646,18 @@ export declare const activityValidator: {
|
|
|
645
646
|
} | undefined, {
|
|
646
647
|
avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
647
648
|
saturation_samples: import("convex/values").VArray<{
|
|
648
|
-
type?: number | undefined;
|
|
649
649
|
timestamp?: string | undefined;
|
|
650
|
+
type?: number | undefined;
|
|
650
651
|
percentage?: number | undefined;
|
|
651
652
|
}[] | undefined, import("convex/values").VObject<{
|
|
652
|
-
type?: number | undefined;
|
|
653
653
|
timestamp?: string | undefined;
|
|
654
|
+
type?: number | undefined;
|
|
654
655
|
percentage?: number | undefined;
|
|
655
656
|
}, {
|
|
656
657
|
timestamp: import("convex/values").VString<string | undefined, "optional">;
|
|
657
658
|
percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
658
659
|
type: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
659
|
-
}, "required", "
|
|
660
|
+
}, "required", "timestamp" | "type" | "percentage">, "optional">;
|
|
660
661
|
vo2_samples: import("convex/values").VArray<{
|
|
661
662
|
timestamp?: string | undefined;
|
|
662
663
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
@@ -1237,8 +1238,8 @@ export declare const bodyValidator: {
|
|
|
1237
1238
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
1238
1239
|
avg_saturation_percentage?: number | undefined;
|
|
1239
1240
|
saturation_samples?: {
|
|
1240
|
-
type?: number | undefined;
|
|
1241
1241
|
timestamp?: string | undefined;
|
|
1242
|
+
type?: number | undefined;
|
|
1242
1243
|
percentage?: number | undefined;
|
|
1243
1244
|
}[] | undefined;
|
|
1244
1245
|
vo2_samples?: {
|
|
@@ -1248,18 +1249,18 @@ export declare const bodyValidator: {
|
|
|
1248
1249
|
} | undefined, {
|
|
1249
1250
|
avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
1250
1251
|
saturation_samples: import("convex/values").VArray<{
|
|
1251
|
-
type?: number | undefined;
|
|
1252
1252
|
timestamp?: string | undefined;
|
|
1253
|
+
type?: number | undefined;
|
|
1253
1254
|
percentage?: number | undefined;
|
|
1254
1255
|
}[] | undefined, import("convex/values").VObject<{
|
|
1255
|
-
type?: number | undefined;
|
|
1256
1256
|
timestamp?: string | undefined;
|
|
1257
|
+
type?: number | undefined;
|
|
1257
1258
|
percentage?: number | undefined;
|
|
1258
1259
|
}, {
|
|
1259
1260
|
timestamp: import("convex/values").VString<string | undefined, "optional">;
|
|
1260
1261
|
percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
1261
1262
|
type: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
1262
|
-
}, "required", "
|
|
1263
|
+
}, "required", "timestamp" | "type" | "percentage">, "optional">;
|
|
1263
1264
|
vo2_samples: import("convex/values").VArray<{
|
|
1264
1265
|
timestamp?: string | undefined;
|
|
1265
1266
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
@@ -1965,8 +1966,8 @@ export declare const dailyValidator: {
|
|
|
1965
1966
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
1966
1967
|
avg_saturation_percentage?: number | undefined;
|
|
1967
1968
|
saturation_samples?: {
|
|
1968
|
-
type?: number | undefined;
|
|
1969
1969
|
timestamp?: string | undefined;
|
|
1970
|
+
type?: number | undefined;
|
|
1970
1971
|
percentage?: number | undefined;
|
|
1971
1972
|
}[] | undefined;
|
|
1972
1973
|
vo2_samples?: {
|
|
@@ -1976,18 +1977,18 @@ export declare const dailyValidator: {
|
|
|
1976
1977
|
} | undefined, {
|
|
1977
1978
|
avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
1978
1979
|
saturation_samples: import("convex/values").VArray<{
|
|
1979
|
-
type?: number | undefined;
|
|
1980
1980
|
timestamp?: string | undefined;
|
|
1981
|
+
type?: number | undefined;
|
|
1981
1982
|
percentage?: number | undefined;
|
|
1982
1983
|
}[] | undefined, import("convex/values").VObject<{
|
|
1983
|
-
type?: number | undefined;
|
|
1984
1984
|
timestamp?: string | undefined;
|
|
1985
|
+
type?: number | undefined;
|
|
1985
1986
|
percentage?: number | undefined;
|
|
1986
1987
|
}, {
|
|
1987
1988
|
timestamp: import("convex/values").VString<string | undefined, "optional">;
|
|
1988
1989
|
percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
1989
1990
|
type: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
1990
|
-
}, "required", "
|
|
1991
|
+
}, "required", "timestamp" | "type" | "percentage">, "optional">;
|
|
1991
1992
|
vo2_samples: import("convex/values").VArray<{
|
|
1992
1993
|
timestamp?: string | undefined;
|
|
1993
1994
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
@@ -2339,8 +2340,8 @@ export declare const sleepValidator: {
|
|
|
2339
2340
|
end_time?: string | undefined;
|
|
2340
2341
|
avg_saturation_percentage?: number | undefined;
|
|
2341
2342
|
samples?: {
|
|
2342
|
-
type?: number | undefined;
|
|
2343
2343
|
timestamp?: string | undefined;
|
|
2344
|
+
type?: number | undefined;
|
|
2344
2345
|
percentage?: number | undefined;
|
|
2345
2346
|
}[] | undefined;
|
|
2346
2347
|
} | undefined;
|
|
@@ -2389,26 +2390,26 @@ export declare const sleepValidator: {
|
|
|
2389
2390
|
end_time?: string | undefined;
|
|
2390
2391
|
avg_saturation_percentage?: number | undefined;
|
|
2391
2392
|
samples?: {
|
|
2392
|
-
type?: number | undefined;
|
|
2393
2393
|
timestamp?: string | undefined;
|
|
2394
|
+
type?: number | undefined;
|
|
2394
2395
|
percentage?: number | undefined;
|
|
2395
2396
|
}[] | undefined;
|
|
2396
2397
|
} | undefined, {
|
|
2397
2398
|
avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
2398
2399
|
end_time: import("convex/values").VString<string | undefined, "optional">;
|
|
2399
2400
|
samples: import("convex/values").VArray<{
|
|
2400
|
-
type?: number | undefined;
|
|
2401
2401
|
timestamp?: string | undefined;
|
|
2402
|
+
type?: number | undefined;
|
|
2402
2403
|
percentage?: number | undefined;
|
|
2403
2404
|
}[] | undefined, import("convex/values").VObject<{
|
|
2404
|
-
type?: number | undefined;
|
|
2405
2405
|
timestamp?: string | undefined;
|
|
2406
|
+
type?: number | undefined;
|
|
2406
2407
|
percentage?: number | undefined;
|
|
2407
2408
|
}, {
|
|
2408
2409
|
timestamp: import("convex/values").VString<string | undefined, "optional">;
|
|
2409
2410
|
percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
2410
2411
|
type: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
2411
|
-
}, "required", "
|
|
2412
|
+
}, "required", "timestamp" | "type" | "percentage">, "optional">;
|
|
2412
2413
|
start_time: import("convex/values").VString<string | undefined, "optional">;
|
|
2413
2414
|
}, "optional", "start_time" | "end_time" | "avg_saturation_percentage" | "samples">;
|
|
2414
2415
|
snoring_data: import("convex/values").VObject<{
|
|
@@ -2594,9 +2595,9 @@ export declare const nutritionValidator: {
|
|
|
2594
2595
|
drink_name: import("convex/values").VString<string | undefined, "optional">;
|
|
2595
2596
|
}, "required", "timestamp" | "drink_volume" | "drink_unit" | "drink_name">, "optional">;
|
|
2596
2597
|
meals: import("convex/values").VArray<{
|
|
2598
|
+
timestamp: string;
|
|
2597
2599
|
id: string;
|
|
2598
2600
|
type: number;
|
|
2599
|
-
timestamp: string;
|
|
2600
2601
|
name: string;
|
|
2601
2602
|
quantity: {
|
|
2602
2603
|
unit: number;
|
|
@@ -2665,9 +2666,9 @@ export declare const nutritionValidator: {
|
|
|
2665
2666
|
starch_g?: number | undefined;
|
|
2666
2667
|
};
|
|
2667
2668
|
}[] | undefined, import("convex/values").VObject<{
|
|
2669
|
+
timestamp: string;
|
|
2668
2670
|
id: string;
|
|
2669
2671
|
type: number;
|
|
2670
|
-
timestamp: string;
|
|
2671
2672
|
name: string;
|
|
2672
2673
|
quantity: {
|
|
2673
2674
|
unit: number;
|
|
@@ -2869,7 +2870,7 @@ export declare const nutritionValidator: {
|
|
|
2869
2870
|
omega6_g: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
2870
2871
|
starch_g: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
2871
2872
|
}, "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", "
|
|
2873
|
+
}, "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
2874
|
metadata: import("convex/values").VObject<{
|
|
2874
2875
|
timestamp_localization?: number | undefined;
|
|
2875
2876
|
start_time: string;
|
|
@@ -3978,8 +3979,8 @@ export declare const activityData: Omit<{
|
|
|
3978
3979
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
3979
3980
|
avg_saturation_percentage?: number | undefined;
|
|
3980
3981
|
saturation_samples?: {
|
|
3981
|
-
type?: number | undefined;
|
|
3982
3982
|
timestamp?: string | undefined;
|
|
3983
|
+
type?: number | undefined;
|
|
3983
3984
|
percentage?: number | undefined;
|
|
3984
3985
|
}[] | undefined;
|
|
3985
3986
|
vo2_samples?: {
|
|
@@ -3989,18 +3990,18 @@ export declare const activityData: Omit<{
|
|
|
3989
3990
|
} | undefined, {
|
|
3990
3991
|
avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
3991
3992
|
saturation_samples: import("convex/values").VArray<{
|
|
3992
|
-
type?: number | undefined;
|
|
3993
3993
|
timestamp?: string | undefined;
|
|
3994
|
+
type?: number | undefined;
|
|
3994
3995
|
percentage?: number | undefined;
|
|
3995
3996
|
}[] | undefined, import("convex/values").VObject<{
|
|
3996
|
-
type?: number | undefined;
|
|
3997
3997
|
timestamp?: string | undefined;
|
|
3998
|
+
type?: number | undefined;
|
|
3998
3999
|
percentage?: number | undefined;
|
|
3999
4000
|
}, {
|
|
4000
4001
|
timestamp: import("convex/values").VString<string | undefined, "optional">;
|
|
4001
4002
|
percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4002
4003
|
type: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4003
|
-
}, "required", "
|
|
4004
|
+
}, "required", "timestamp" | "type" | "percentage">, "optional">;
|
|
4004
4005
|
vo2_samples: import("convex/values").VArray<{
|
|
4005
4006
|
timestamp?: string | undefined;
|
|
4006
4007
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
@@ -4581,8 +4582,8 @@ export declare const bodyData: Omit<{
|
|
|
4581
4582
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
4582
4583
|
avg_saturation_percentage?: number | undefined;
|
|
4583
4584
|
saturation_samples?: {
|
|
4584
|
-
type?: number | undefined;
|
|
4585
4585
|
timestamp?: string | undefined;
|
|
4586
|
+
type?: number | undefined;
|
|
4586
4587
|
percentage?: number | undefined;
|
|
4587
4588
|
}[] | undefined;
|
|
4588
4589
|
vo2_samples?: {
|
|
@@ -4592,18 +4593,18 @@ export declare const bodyData: Omit<{
|
|
|
4592
4593
|
} | undefined, {
|
|
4593
4594
|
avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4594
4595
|
saturation_samples: import("convex/values").VArray<{
|
|
4595
|
-
type?: number | undefined;
|
|
4596
4596
|
timestamp?: string | undefined;
|
|
4597
|
+
type?: number | undefined;
|
|
4597
4598
|
percentage?: number | undefined;
|
|
4598
4599
|
}[] | undefined, import("convex/values").VObject<{
|
|
4599
|
-
type?: number | undefined;
|
|
4600
4600
|
timestamp?: string | undefined;
|
|
4601
|
+
type?: number | undefined;
|
|
4601
4602
|
percentage?: number | undefined;
|
|
4602
4603
|
}, {
|
|
4603
4604
|
timestamp: import("convex/values").VString<string | undefined, "optional">;
|
|
4604
4605
|
percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4605
4606
|
type: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4606
|
-
}, "required", "
|
|
4607
|
+
}, "required", "timestamp" | "type" | "percentage">, "optional">;
|
|
4607
4608
|
vo2_samples: import("convex/values").VArray<{
|
|
4608
4609
|
timestamp?: string | undefined;
|
|
4609
4610
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
@@ -5309,8 +5310,8 @@ export declare const dailyData: Omit<{
|
|
|
5309
5310
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
5310
5311
|
avg_saturation_percentage?: number | undefined;
|
|
5311
5312
|
saturation_samples?: {
|
|
5312
|
-
type?: number | undefined;
|
|
5313
5313
|
timestamp?: string | undefined;
|
|
5314
|
+
type?: number | undefined;
|
|
5314
5315
|
percentage?: number | undefined;
|
|
5315
5316
|
}[] | undefined;
|
|
5316
5317
|
vo2_samples?: {
|
|
@@ -5320,18 +5321,18 @@ export declare const dailyData: Omit<{
|
|
|
5320
5321
|
} | undefined, {
|
|
5321
5322
|
avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
5322
5323
|
saturation_samples: import("convex/values").VArray<{
|
|
5323
|
-
type?: number | undefined;
|
|
5324
5324
|
timestamp?: string | undefined;
|
|
5325
|
+
type?: number | undefined;
|
|
5325
5326
|
percentage?: number | undefined;
|
|
5326
5327
|
}[] | undefined, import("convex/values").VObject<{
|
|
5327
|
-
type?: number | undefined;
|
|
5328
5328
|
timestamp?: string | undefined;
|
|
5329
|
+
type?: number | undefined;
|
|
5329
5330
|
percentage?: number | undefined;
|
|
5330
5331
|
}, {
|
|
5331
5332
|
timestamp: import("convex/values").VString<string | undefined, "optional">;
|
|
5332
5333
|
percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
5333
5334
|
type: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
5334
|
-
}, "required", "
|
|
5335
|
+
}, "required", "timestamp" | "type" | "percentage">, "optional">;
|
|
5335
5336
|
vo2_samples: import("convex/values").VArray<{
|
|
5336
5337
|
timestamp?: string | undefined;
|
|
5337
5338
|
vo2max_ml_per_min_per_kg?: number | undefined;
|
|
@@ -5683,8 +5684,8 @@ export declare const sleepData: Omit<{
|
|
|
5683
5684
|
end_time?: string | undefined;
|
|
5684
5685
|
avg_saturation_percentage?: number | undefined;
|
|
5685
5686
|
samples?: {
|
|
5686
|
-
type?: number | undefined;
|
|
5687
5687
|
timestamp?: string | undefined;
|
|
5688
|
+
type?: number | undefined;
|
|
5688
5689
|
percentage?: number | undefined;
|
|
5689
5690
|
}[] | undefined;
|
|
5690
5691
|
} | undefined;
|
|
@@ -5733,26 +5734,26 @@ export declare const sleepData: Omit<{
|
|
|
5733
5734
|
end_time?: string | undefined;
|
|
5734
5735
|
avg_saturation_percentage?: number | undefined;
|
|
5735
5736
|
samples?: {
|
|
5736
|
-
type?: number | undefined;
|
|
5737
5737
|
timestamp?: string | undefined;
|
|
5738
|
+
type?: number | undefined;
|
|
5738
5739
|
percentage?: number | undefined;
|
|
5739
5740
|
}[] | undefined;
|
|
5740
5741
|
} | undefined, {
|
|
5741
5742
|
avg_saturation_percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
5742
5743
|
end_time: import("convex/values").VString<string | undefined, "optional">;
|
|
5743
5744
|
samples: import("convex/values").VArray<{
|
|
5744
|
-
type?: number | undefined;
|
|
5745
5745
|
timestamp?: string | undefined;
|
|
5746
|
+
type?: number | undefined;
|
|
5746
5747
|
percentage?: number | undefined;
|
|
5747
5748
|
}[] | undefined, import("convex/values").VObject<{
|
|
5748
|
-
type?: number | undefined;
|
|
5749
5749
|
timestamp?: string | undefined;
|
|
5750
|
+
type?: number | undefined;
|
|
5750
5751
|
percentage?: number | undefined;
|
|
5751
5752
|
}, {
|
|
5752
5753
|
timestamp: import("convex/values").VString<string | undefined, "optional">;
|
|
5753
5754
|
percentage: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
5754
5755
|
type: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
5755
|
-
}, "required", "
|
|
5756
|
+
}, "required", "timestamp" | "type" | "percentage">, "optional">;
|
|
5756
5757
|
start_time: import("convex/values").VString<string | undefined, "optional">;
|
|
5757
5758
|
}, "optional", "start_time" | "end_time" | "avg_saturation_percentage" | "samples">;
|
|
5758
5759
|
snoring_data: import("convex/values").VObject<{
|
|
@@ -5938,9 +5939,9 @@ export declare const nutritionData: Omit<{
|
|
|
5938
5939
|
drink_name: import("convex/values").VString<string | undefined, "optional">;
|
|
5939
5940
|
}, "required", "timestamp" | "drink_volume" | "drink_unit" | "drink_name">, "optional">;
|
|
5940
5941
|
meals: import("convex/values").VArray<{
|
|
5942
|
+
timestamp: string;
|
|
5941
5943
|
id: string;
|
|
5942
5944
|
type: number;
|
|
5943
|
-
timestamp: string;
|
|
5944
5945
|
name: string;
|
|
5945
5946
|
quantity: {
|
|
5946
5947
|
unit: number;
|
|
@@ -6009,9 +6010,9 @@ export declare const nutritionData: Omit<{
|
|
|
6009
6010
|
starch_g?: number | undefined;
|
|
6010
6011
|
};
|
|
6011
6012
|
}[] | undefined, import("convex/values").VObject<{
|
|
6013
|
+
timestamp: string;
|
|
6012
6014
|
id: string;
|
|
6013
6015
|
type: number;
|
|
6014
|
-
timestamp: string;
|
|
6015
6016
|
name: string;
|
|
6016
6017
|
quantity: {
|
|
6017
6018
|
unit: number;
|
|
@@ -6213,7 +6214,7 @@ export declare const nutritionData: Omit<{
|
|
|
6213
6214
|
omega6_g: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
6214
6215
|
starch_g: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
6215
6216
|
}, "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", "
|
|
6217
|
+
}, "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
6218
|
metadata: import("convex/values").VObject<{
|
|
6218
6219
|
timestamp_localization?: number | undefined;
|
|
6219
6220
|
start_time: string;
|
package/dist/validators.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../src/validators.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../src/validators.ts"],"names":[],"mappings":"AAyCA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAGtE,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEL,KAAK,QAAQ,EACd,MAAM,gCAAgC,CAAC;AAsBxC,eAAO,MAAM,mBAAmB;;;;;;CAAuB,CAAC;AACxD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;CAAwC,CAAC;AACtE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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