@d4l/collect-lib 1.44.0 → 1.44.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.
- package/dist/index.d.mts +28 -4
- package/dist/index.d.ts +28 -4
- package/dist/index.js +56 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +55 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -426,6 +426,53 @@ var OURA_SIGNAL_TYPE_ANNOTATIONS = {
|
|
|
426
426
|
batteryLevel: OURA_BATTERY_LEVEL_ANNOTATION
|
|
427
427
|
};
|
|
428
428
|
|
|
429
|
+
// src/devices/annotations/menstrual.ts
|
|
430
|
+
var MENSTRUAL_CYCLE_PHASE = {
|
|
431
|
+
unknown: -1,
|
|
432
|
+
menstrual: 1,
|
|
433
|
+
follicular: 2,
|
|
434
|
+
ovulation: 3,
|
|
435
|
+
luteal: 4,
|
|
436
|
+
pregnancy: 5
|
|
437
|
+
};
|
|
438
|
+
var MENSTRUAL_FLOW = {
|
|
439
|
+
unknown: -1,
|
|
440
|
+
none: 0,
|
|
441
|
+
unspecified: 1,
|
|
442
|
+
spotting: 2,
|
|
443
|
+
light: 3,
|
|
444
|
+
medium: 4,
|
|
445
|
+
heavy: 5
|
|
446
|
+
};
|
|
447
|
+
var MENSTRUAL_CYCLE_ANNOTATION_ITEM = {
|
|
448
|
+
type: "menstrualCycle",
|
|
449
|
+
size: 14,
|
|
450
|
+
channels: 7,
|
|
451
|
+
channelLabels: [
|
|
452
|
+
"dayInCycle",
|
|
453
|
+
"phase",
|
|
454
|
+
"cycleLength",
|
|
455
|
+
"periodLength",
|
|
456
|
+
"daysUntilNextPhase",
|
|
457
|
+
"fertileWindowStart",
|
|
458
|
+
"isPredictedCycle"
|
|
459
|
+
],
|
|
460
|
+
format: "signedInt",
|
|
461
|
+
littleEndian: true,
|
|
462
|
+
note: "-1 means not provided; phase per MENSTRUAL_CYCLE_PHASE"
|
|
463
|
+
};
|
|
464
|
+
var MENSTRUAL_CYCLE_ANNOTATION = [MENSTRUAL_CYCLE_ANNOTATION_ITEM];
|
|
465
|
+
var MENSTRUAL_FLOW_ANNOTATION_ITEM = {
|
|
466
|
+
type: "menstrualFlow",
|
|
467
|
+
size: 4,
|
|
468
|
+
channels: 2,
|
|
469
|
+
channelLabels: ["flow", "isCycleStart"],
|
|
470
|
+
format: "signedInt",
|
|
471
|
+
littleEndian: true,
|
|
472
|
+
note: "-1 means not provided; flow per MENSTRUAL_FLOW"
|
|
473
|
+
};
|
|
474
|
+
var MENSTRUAL_FLOW_ANNOTATION = [MENSTRUAL_FLOW_ANNOTATION_ITEM];
|
|
475
|
+
|
|
429
476
|
// src/devices/annotations/garmin.ts
|
|
430
477
|
var GARMIN_SIGNAL_TYPE_ANNOTATIONS = {
|
|
431
478
|
heartRate: FITBIT_HEART_RATE_ANNOTATION,
|
|
@@ -436,7 +483,8 @@ var GARMIN_SIGNAL_TYPE_ANNOTATIONS = {
|
|
|
436
483
|
calories: FITBIT_CALORIES_ANNOTATION,
|
|
437
484
|
respiratoryRate: FITBIT_BREATHING_RATE_ANNOTATION,
|
|
438
485
|
skinTemperature: FITBIT_SKIN_TEMPERATURE_ANNOTATION,
|
|
439
|
-
stress: OURA_STRESS_ANNOTATION
|
|
486
|
+
stress: OURA_STRESS_ANNOTATION,
|
|
487
|
+
menstrualCycle: MENSTRUAL_CYCLE_ANNOTATION
|
|
440
488
|
};
|
|
441
489
|
|
|
442
490
|
// src/devices/annotations/movella.ts
|
|
@@ -7077,6 +7125,12 @@ export {
|
|
|
7077
7125
|
Iso3166CodeSystem,
|
|
7078
7126
|
KEY_LENGTH,
|
|
7079
7127
|
KeyHandler,
|
|
7128
|
+
MENSTRUAL_CYCLE_ANNOTATION,
|
|
7129
|
+
MENSTRUAL_CYCLE_ANNOTATION_ITEM,
|
|
7130
|
+
MENSTRUAL_CYCLE_PHASE,
|
|
7131
|
+
MENSTRUAL_FLOW,
|
|
7132
|
+
MENSTRUAL_FLOW_ANNOTATION,
|
|
7133
|
+
MENSTRUAL_FLOW_ANNOTATION_ITEM,
|
|
7080
7134
|
MaxValueExtension,
|
|
7081
7135
|
MeasurementTypeSystem,
|
|
7082
7136
|
MinLengthExtension,
|