@nikthegeek/dreamsforlittles-shared 0.18.6 → 0.18.8
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/activity-import-readers.d.ts +2 -0
- package/dist/activity-import-readers.js +9 -0
- package/dist/activity-import-readers.js.map +1 -1
- package/dist/admin.d.ts +6 -6
- package/dist/analysis.d.ts +233 -194
- package/dist/auth.d.ts +18 -0
- package/dist/auth.js +2 -0
- package/dist/auth.js.map +1 -1
- package/dist/coach.d.ts +5448 -5244
- package/dist/enums.d.ts +1 -1
- package/dist/enums.js +2 -1
- package/dist/enums.js.map +1 -1
- package/dist/family.d.ts +8508 -7966
- package/dist/family.js +23 -2
- package/dist/family.js.map +1 -1
- package/dist/family.test.js +12 -0
- package/dist/family.test.js.map +1 -1
- package/dist/home-activity-context.d.ts +540 -450
- package/dist/huckleberry-import.d.ts +112 -24
- package/dist/huckleberry-import.js +6 -3
- package/dist/huckleberry-import.js.map +1 -1
- package/dist/huckleberry-import.test.d.ts +1 -0
- package/dist/huckleberry-import.test.js +23 -0
- package/dist/huckleberry-import.test.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/logged-sleep-averages.d.ts +22 -0
- package/dist/logged-sleep-averages.js +198 -0
- package/dist/logged-sleep-averages.js.map +1 -0
- package/dist/native-timer-state.d.ts +952 -878
- package/dist/sleep-average-context.d.ts +8 -0
- package/dist/sleep-average-context.js +2 -1
- package/dist/sleep-average-context.js.map +1 -1
- package/dist/sleep-average-context.test.js +12 -0
- package/dist/sleep-average-context.test.js.map +1 -1
- package/dist/sleep-awake-state.d.ts +3 -0
- package/dist/sleep-awake-state.js +1 -1
- package/dist/sleep-awake-state.js.map +1 -1
- package/dist/sleep-awake-state.test.js +12 -0
- package/dist/sleep-awake-state.test.js.map +1 -1
- package/dist/sleep-completed-night.d.ts +2997 -204
- package/dist/sleep-completed-night.js +30 -4
- package/dist/sleep-completed-night.js.map +1 -1
- package/dist/sleep-nap.d.ts +10 -0
- package/dist/sleep-nap.js +12 -0
- package/dist/sleep-nap.js.map +1 -0
- package/dist/sleep-nap.test.d.ts +1 -0
- package/dist/sleep-nap.test.js +18 -0
- package/dist/sleep-nap.test.js.map +1 -0
- package/dist/subscription-cancellation-feedback.d.ts +10 -10
- package/package.json +1 -1
package/dist/analysis.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare const analysisActivitiesQuerySchema: z.ZodEffects<z.ZodObject<{
|
|
|
32
32
|
}>;
|
|
33
33
|
export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
34
34
|
activities: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
35
|
+
wakeFeedIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
35
36
|
importBatchId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
37
|
importSource: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"huckleberry">>>;
|
|
37
38
|
importContext: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -160,16 +161,16 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
160
161
|
unit: z.ZodEnum<["ml", "oz"]>;
|
|
161
162
|
}, "strict", z.ZodTypeAny, {
|
|
162
163
|
date: string;
|
|
163
|
-
unit: "ml" | "oz";
|
|
164
164
|
start: string;
|
|
165
165
|
end: string;
|
|
166
|
+
unit: "ml" | "oz";
|
|
166
167
|
side: "left" | "right";
|
|
167
168
|
amount: number;
|
|
168
169
|
}, {
|
|
169
170
|
date: string;
|
|
170
|
-
unit: "ml" | "oz";
|
|
171
171
|
start: string;
|
|
172
172
|
end: string;
|
|
173
|
+
unit: "ml" | "oz";
|
|
173
174
|
side: "left" | "right";
|
|
174
175
|
amount: number;
|
|
175
176
|
}>, z.ZodObject<{
|
|
@@ -486,6 +487,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
486
487
|
texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
|
|
487
488
|
colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
|
|
488
489
|
}>>>;
|
|
490
|
+
nappyTextures: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodArray<z.ZodEnum<["watery", "seedy", "soft", "formed", "pellets", "mucusy"]>, "many">, ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[], ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[]>>>;
|
|
489
491
|
sleepMethods: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
490
492
|
fallAsleep: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodArray<z.ZodEnum<["fed", "motion", "touch", "held"]>, "many">, ("fed" | "motion" | "touch" | "held")[], ("fed" | "motion" | "touch" | "held")[]>>>;
|
|
491
493
|
backToSleep: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodArray<z.ZodEnum<["fed", "motion", "touch", "held"]>, "many">, ("fed" | "motion" | "touch" | "held")[], ("fed" | "motion" | "touch" | "held")[]>>>;
|
|
@@ -528,6 +530,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
528
530
|
reasons: ("fed" | "resettled" | "nappy")[];
|
|
529
531
|
} | undefined;
|
|
530
532
|
}>>>;
|
|
533
|
+
sleepNapId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
531
534
|
sleepNightId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
532
535
|
breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
533
536
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -580,75 +583,75 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
580
583
|
start: z.ZodString;
|
|
581
584
|
end: z.ZodString;
|
|
582
585
|
}, "strict", z.ZodTypeAny, {
|
|
583
|
-
kind: "feeding";
|
|
584
586
|
start: string;
|
|
585
587
|
end: string;
|
|
588
|
+
kind: "feeding";
|
|
586
589
|
side: "left" | "right";
|
|
587
590
|
}, {
|
|
588
|
-
kind: "feeding";
|
|
589
591
|
start: string;
|
|
590
592
|
end: string;
|
|
593
|
+
kind: "feeding";
|
|
591
594
|
side: "left" | "right";
|
|
592
595
|
}>, z.ZodObject<{
|
|
593
596
|
kind: z.ZodLiteral<"pause">;
|
|
594
597
|
start: z.ZodString;
|
|
595
598
|
end: z.ZodString;
|
|
596
599
|
}, "strict", z.ZodTypeAny, {
|
|
597
|
-
kind: "pause";
|
|
598
600
|
start: string;
|
|
599
601
|
end: string;
|
|
600
|
-
}, {
|
|
601
602
|
kind: "pause";
|
|
603
|
+
}, {
|
|
602
604
|
start: string;
|
|
603
605
|
end: string;
|
|
606
|
+
kind: "pause";
|
|
604
607
|
}>]>, "many">;
|
|
605
608
|
}, "strict", z.ZodTypeAny, {
|
|
606
609
|
schemaVersion: 2;
|
|
607
610
|
phases: ({
|
|
608
|
-
kind: "feeding";
|
|
609
611
|
start: string;
|
|
610
612
|
end: string;
|
|
613
|
+
kind: "feeding";
|
|
611
614
|
side: "left" | "right";
|
|
612
615
|
} | {
|
|
613
|
-
kind: "pause";
|
|
614
616
|
start: string;
|
|
615
617
|
end: string;
|
|
618
|
+
kind: "pause";
|
|
616
619
|
})[];
|
|
617
620
|
}, {
|
|
618
621
|
schemaVersion: 2;
|
|
619
622
|
phases: ({
|
|
620
|
-
kind: "feeding";
|
|
621
623
|
start: string;
|
|
622
624
|
end: string;
|
|
625
|
+
kind: "feeding";
|
|
623
626
|
side: "left" | "right";
|
|
624
627
|
} | {
|
|
625
|
-
kind: "pause";
|
|
626
628
|
start: string;
|
|
627
629
|
end: string;
|
|
630
|
+
kind: "pause";
|
|
628
631
|
})[];
|
|
629
632
|
}>, {
|
|
630
633
|
schemaVersion: 2;
|
|
631
634
|
phases: ({
|
|
632
|
-
kind: "feeding";
|
|
633
635
|
start: string;
|
|
634
636
|
end: string;
|
|
637
|
+
kind: "feeding";
|
|
635
638
|
side: "left" | "right";
|
|
636
639
|
} | {
|
|
637
|
-
kind: "pause";
|
|
638
640
|
start: string;
|
|
639
641
|
end: string;
|
|
642
|
+
kind: "pause";
|
|
640
643
|
})[];
|
|
641
644
|
}, {
|
|
642
645
|
schemaVersion: 2;
|
|
643
646
|
phases: ({
|
|
644
|
-
kind: "feeding";
|
|
645
647
|
start: string;
|
|
646
648
|
end: string;
|
|
649
|
+
kind: "feeding";
|
|
647
650
|
side: "left" | "right";
|
|
648
651
|
} | {
|
|
649
|
-
kind: "pause";
|
|
650
652
|
start: string;
|
|
651
653
|
end: string;
|
|
654
|
+
kind: "pause";
|
|
652
655
|
})[];
|
|
653
656
|
}>]>>>;
|
|
654
657
|
allergenIds: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodEnum<["milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food", ...("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[]]>, "many">, ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[], ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[]>, ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[], ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[]>>;
|
|
@@ -667,8 +670,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
667
670
|
updatedAt: string;
|
|
668
671
|
familyUserId: string;
|
|
669
672
|
activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
670
|
-
occurredAt: string;
|
|
671
|
-
babyId: string;
|
|
672
673
|
details: {
|
|
673
674
|
date: string;
|
|
674
675
|
start: string;
|
|
@@ -695,9 +696,9 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
695
696
|
imageURL?: string | null | undefined;
|
|
696
697
|
} | {
|
|
697
698
|
date: string;
|
|
698
|
-
unit: "ml" | "oz";
|
|
699
699
|
start: string;
|
|
700
700
|
end: string;
|
|
701
|
+
unit: "ml" | "oz";
|
|
701
702
|
side: "left" | "right";
|
|
702
703
|
amount: number;
|
|
703
704
|
} | {
|
|
@@ -714,6 +715,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
714
715
|
ladderId?: string | null | undefined;
|
|
715
716
|
ladderStageId?: string | null | undefined;
|
|
716
717
|
};
|
|
718
|
+
occurredAt: string;
|
|
719
|
+
babyId: string;
|
|
717
720
|
createdByUserId: string;
|
|
718
721
|
updatedByUserId: string;
|
|
719
722
|
timeZone?: string | null | undefined;
|
|
@@ -729,16 +732,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
729
732
|
} | null | undefined;
|
|
730
733
|
importSource?: "huckleberry" | null | undefined;
|
|
731
734
|
importBatchId?: string | null | undefined;
|
|
732
|
-
localDate?: string | null | undefined;
|
|
733
|
-
note?: string | null | undefined;
|
|
734
|
-
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
735
|
-
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
736
|
-
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
737
|
-
pumpingAmounts?: {
|
|
738
|
-
unit: "ml" | "oz";
|
|
739
|
-
left?: number | null | undefined;
|
|
740
|
-
right?: number | null | undefined;
|
|
741
|
-
} | null | undefined;
|
|
742
735
|
pumpingSession?: {
|
|
743
736
|
schemaVersion: 1;
|
|
744
737
|
revision: number;
|
|
@@ -759,6 +752,17 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
759
752
|
} | undefined;
|
|
760
753
|
};
|
|
761
754
|
} | null | undefined;
|
|
755
|
+
localDate?: string | null | undefined;
|
|
756
|
+
note?: string | null | undefined;
|
|
757
|
+
wakeFeedIds?: string[] | undefined;
|
|
758
|
+
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
759
|
+
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
760
|
+
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
761
|
+
pumpingAmounts?: {
|
|
762
|
+
unit: "ml" | "oz";
|
|
763
|
+
left?: number | null | undefined;
|
|
764
|
+
right?: number | null | undefined;
|
|
765
|
+
} | null | undefined;
|
|
762
766
|
medicationDose?: string | null | undefined;
|
|
763
767
|
solidsFoods?: string[] | null | undefined;
|
|
764
768
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -775,6 +779,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
775
779
|
texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
|
|
776
780
|
colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
|
|
777
781
|
} | null | undefined;
|
|
782
|
+
nappyTextures?: ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[] | null | undefined;
|
|
778
783
|
sleepMethods?: {
|
|
779
784
|
fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
780
785
|
backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
@@ -789,6 +794,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
789
794
|
reasons: ("fed" | "resettled" | "nappy")[];
|
|
790
795
|
} | undefined;
|
|
791
796
|
} | null | undefined;
|
|
797
|
+
sleepNapId?: string | null | undefined;
|
|
792
798
|
sleepNightId?: string | null | undefined;
|
|
793
799
|
breastfeedSession?: {
|
|
794
800
|
schemaVersion: 1;
|
|
@@ -800,14 +806,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
800
806
|
} | {
|
|
801
807
|
schemaVersion: 2;
|
|
802
808
|
phases: ({
|
|
803
|
-
kind: "feeding";
|
|
804
809
|
start: string;
|
|
805
810
|
end: string;
|
|
811
|
+
kind: "feeding";
|
|
806
812
|
side: "left" | "right";
|
|
807
813
|
} | {
|
|
808
|
-
kind: "pause";
|
|
809
814
|
start: string;
|
|
810
815
|
end: string;
|
|
816
|
+
kind: "pause";
|
|
811
817
|
})[];
|
|
812
818
|
} | null | undefined;
|
|
813
819
|
allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
|
|
@@ -819,8 +825,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
819
825
|
updatedAt: string;
|
|
820
826
|
familyUserId: string;
|
|
821
827
|
activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
822
|
-
occurredAt: string;
|
|
823
|
-
babyId: string;
|
|
824
828
|
details: {
|
|
825
829
|
date: string;
|
|
826
830
|
start: string;
|
|
@@ -847,9 +851,9 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
847
851
|
imageURL?: string | null | undefined;
|
|
848
852
|
} | {
|
|
849
853
|
date: string;
|
|
850
|
-
unit: "ml" | "oz";
|
|
851
854
|
start: string;
|
|
852
855
|
end: string;
|
|
856
|
+
unit: "ml" | "oz";
|
|
853
857
|
side: "left" | "right";
|
|
854
858
|
amount: number;
|
|
855
859
|
} | {
|
|
@@ -866,6 +870,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
866
870
|
ladderId?: string | null | undefined;
|
|
867
871
|
ladderStageId?: string | null | undefined;
|
|
868
872
|
};
|
|
873
|
+
occurredAt: string;
|
|
874
|
+
babyId: string;
|
|
869
875
|
createdByUserId: string;
|
|
870
876
|
updatedByUserId: string;
|
|
871
877
|
timeZone?: string | null | undefined;
|
|
@@ -881,16 +887,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
881
887
|
} | null | undefined;
|
|
882
888
|
importSource?: "huckleberry" | null | undefined;
|
|
883
889
|
importBatchId?: string | null | undefined;
|
|
884
|
-
localDate?: string | null | undefined;
|
|
885
|
-
note?: string | null | undefined;
|
|
886
|
-
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
887
|
-
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
888
|
-
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
889
|
-
pumpingAmounts?: {
|
|
890
|
-
unit: "ml" | "oz";
|
|
891
|
-
left?: number | null | undefined;
|
|
892
|
-
right?: number | null | undefined;
|
|
893
|
-
} | null | undefined;
|
|
894
890
|
pumpingSession?: {
|
|
895
891
|
schemaVersion: 1;
|
|
896
892
|
revision: number;
|
|
@@ -911,6 +907,17 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
911
907
|
} | undefined;
|
|
912
908
|
};
|
|
913
909
|
} | null | undefined;
|
|
910
|
+
localDate?: string | null | undefined;
|
|
911
|
+
note?: string | null | undefined;
|
|
912
|
+
wakeFeedIds?: string[] | undefined;
|
|
913
|
+
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
914
|
+
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
915
|
+
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
916
|
+
pumpingAmounts?: {
|
|
917
|
+
unit: "ml" | "oz";
|
|
918
|
+
left?: number | null | undefined;
|
|
919
|
+
right?: number | null | undefined;
|
|
920
|
+
} | null | undefined;
|
|
914
921
|
medicationDose?: string | null | undefined;
|
|
915
922
|
solidsFoods?: string[] | null | undefined;
|
|
916
923
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -927,6 +934,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
927
934
|
texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
|
|
928
935
|
colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
|
|
929
936
|
} | null | undefined;
|
|
937
|
+
nappyTextures?: ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[] | null | undefined;
|
|
930
938
|
sleepMethods?: {
|
|
931
939
|
fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
932
940
|
backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
@@ -941,6 +949,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
941
949
|
reasons: ("fed" | "resettled" | "nappy")[];
|
|
942
950
|
} | undefined;
|
|
943
951
|
} | null | undefined;
|
|
952
|
+
sleepNapId?: string | null | undefined;
|
|
944
953
|
sleepNightId?: string | null | undefined;
|
|
945
954
|
breastfeedSession?: {
|
|
946
955
|
schemaVersion: 1;
|
|
@@ -952,14 +961,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
952
961
|
} | {
|
|
953
962
|
schemaVersion: 2;
|
|
954
963
|
phases: ({
|
|
955
|
-
kind: "feeding";
|
|
956
964
|
start: string;
|
|
957
965
|
end: string;
|
|
966
|
+
kind: "feeding";
|
|
958
967
|
side: "left" | "right";
|
|
959
968
|
} | {
|
|
960
|
-
kind: "pause";
|
|
961
969
|
start: string;
|
|
962
970
|
end: string;
|
|
971
|
+
kind: "pause";
|
|
963
972
|
})[];
|
|
964
973
|
} | null | undefined;
|
|
965
974
|
allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
|
|
@@ -971,8 +980,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
971
980
|
updatedAt: string;
|
|
972
981
|
familyUserId: string;
|
|
973
982
|
activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
974
|
-
occurredAt: string;
|
|
975
|
-
babyId: string;
|
|
976
983
|
details: {
|
|
977
984
|
date: string;
|
|
978
985
|
start: string;
|
|
@@ -999,9 +1006,9 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
999
1006
|
imageURL?: string | null | undefined;
|
|
1000
1007
|
} | {
|
|
1001
1008
|
date: string;
|
|
1002
|
-
unit: "ml" | "oz";
|
|
1003
1009
|
start: string;
|
|
1004
1010
|
end: string;
|
|
1011
|
+
unit: "ml" | "oz";
|
|
1005
1012
|
side: "left" | "right";
|
|
1006
1013
|
amount: number;
|
|
1007
1014
|
} | {
|
|
@@ -1018,6 +1025,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1018
1025
|
ladderId?: string | null | undefined;
|
|
1019
1026
|
ladderStageId?: string | null | undefined;
|
|
1020
1027
|
};
|
|
1028
|
+
occurredAt: string;
|
|
1029
|
+
babyId: string;
|
|
1021
1030
|
createdByUserId: string;
|
|
1022
1031
|
updatedByUserId: string;
|
|
1023
1032
|
timeZone?: string | null | undefined;
|
|
@@ -1033,16 +1042,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1033
1042
|
} | null | undefined;
|
|
1034
1043
|
importSource?: "huckleberry" | null | undefined;
|
|
1035
1044
|
importBatchId?: string | null | undefined;
|
|
1036
|
-
localDate?: string | null | undefined;
|
|
1037
|
-
note?: string | null | undefined;
|
|
1038
|
-
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1039
|
-
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1040
|
-
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1041
|
-
pumpingAmounts?: {
|
|
1042
|
-
unit: "ml" | "oz";
|
|
1043
|
-
left?: number | null | undefined;
|
|
1044
|
-
right?: number | null | undefined;
|
|
1045
|
-
} | null | undefined;
|
|
1046
1045
|
pumpingSession?: {
|
|
1047
1046
|
schemaVersion: 1;
|
|
1048
1047
|
revision: number;
|
|
@@ -1063,6 +1062,17 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1063
1062
|
} | undefined;
|
|
1064
1063
|
};
|
|
1065
1064
|
} | null | undefined;
|
|
1065
|
+
localDate?: string | null | undefined;
|
|
1066
|
+
note?: string | null | undefined;
|
|
1067
|
+
wakeFeedIds?: string[] | undefined;
|
|
1068
|
+
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1069
|
+
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1070
|
+
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1071
|
+
pumpingAmounts?: {
|
|
1072
|
+
unit: "ml" | "oz";
|
|
1073
|
+
left?: number | null | undefined;
|
|
1074
|
+
right?: number | null | undefined;
|
|
1075
|
+
} | null | undefined;
|
|
1066
1076
|
medicationDose?: string | null | undefined;
|
|
1067
1077
|
solidsFoods?: string[] | null | undefined;
|
|
1068
1078
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1079,6 +1089,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1079
1089
|
texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
|
|
1080
1090
|
colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
|
|
1081
1091
|
} | null | undefined;
|
|
1092
|
+
nappyTextures?: ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[] | null | undefined;
|
|
1082
1093
|
sleepMethods?: {
|
|
1083
1094
|
fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
1084
1095
|
backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
@@ -1093,6 +1104,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1093
1104
|
reasons: ("fed" | "resettled" | "nappy")[];
|
|
1094
1105
|
} | undefined;
|
|
1095
1106
|
} | null | undefined;
|
|
1107
|
+
sleepNapId?: string | null | undefined;
|
|
1096
1108
|
sleepNightId?: string | null | undefined;
|
|
1097
1109
|
breastfeedSession?: {
|
|
1098
1110
|
schemaVersion: 1;
|
|
@@ -1104,14 +1116,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1104
1116
|
} | {
|
|
1105
1117
|
schemaVersion: 2;
|
|
1106
1118
|
phases: ({
|
|
1107
|
-
kind: "feeding";
|
|
1108
1119
|
start: string;
|
|
1109
1120
|
end: string;
|
|
1121
|
+
kind: "feeding";
|
|
1110
1122
|
side: "left" | "right";
|
|
1111
1123
|
} | {
|
|
1112
|
-
kind: "pause";
|
|
1113
1124
|
start: string;
|
|
1114
1125
|
end: string;
|
|
1126
|
+
kind: "pause";
|
|
1115
1127
|
})[];
|
|
1116
1128
|
} | null | undefined;
|
|
1117
1129
|
allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
|
|
@@ -1123,8 +1135,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1123
1135
|
updatedAt: string;
|
|
1124
1136
|
familyUserId: string;
|
|
1125
1137
|
activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
1126
|
-
occurredAt: string;
|
|
1127
|
-
babyId: string;
|
|
1128
1138
|
details: {
|
|
1129
1139
|
date: string;
|
|
1130
1140
|
start: string;
|
|
@@ -1151,9 +1161,9 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1151
1161
|
imageURL?: string | null | undefined;
|
|
1152
1162
|
} | {
|
|
1153
1163
|
date: string;
|
|
1154
|
-
unit: "ml" | "oz";
|
|
1155
1164
|
start: string;
|
|
1156
1165
|
end: string;
|
|
1166
|
+
unit: "ml" | "oz";
|
|
1157
1167
|
side: "left" | "right";
|
|
1158
1168
|
amount: number;
|
|
1159
1169
|
} | {
|
|
@@ -1170,6 +1180,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1170
1180
|
ladderId?: string | null | undefined;
|
|
1171
1181
|
ladderStageId?: string | null | undefined;
|
|
1172
1182
|
};
|
|
1183
|
+
occurredAt: string;
|
|
1184
|
+
babyId: string;
|
|
1173
1185
|
createdByUserId: string;
|
|
1174
1186
|
updatedByUserId: string;
|
|
1175
1187
|
timeZone?: string | null | undefined;
|
|
@@ -1185,16 +1197,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1185
1197
|
} | null | undefined;
|
|
1186
1198
|
importSource?: "huckleberry" | null | undefined;
|
|
1187
1199
|
importBatchId?: string | null | undefined;
|
|
1188
|
-
localDate?: string | null | undefined;
|
|
1189
|
-
note?: string | null | undefined;
|
|
1190
|
-
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1191
|
-
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1192
|
-
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1193
|
-
pumpingAmounts?: {
|
|
1194
|
-
unit: "ml" | "oz";
|
|
1195
|
-
left?: number | null | undefined;
|
|
1196
|
-
right?: number | null | undefined;
|
|
1197
|
-
} | null | undefined;
|
|
1198
1200
|
pumpingSession?: {
|
|
1199
1201
|
schemaVersion: 1;
|
|
1200
1202
|
revision: number;
|
|
@@ -1215,6 +1217,17 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1215
1217
|
} | undefined;
|
|
1216
1218
|
};
|
|
1217
1219
|
} | null | undefined;
|
|
1220
|
+
localDate?: string | null | undefined;
|
|
1221
|
+
note?: string | null | undefined;
|
|
1222
|
+
wakeFeedIds?: string[] | undefined;
|
|
1223
|
+
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1224
|
+
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1225
|
+
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1226
|
+
pumpingAmounts?: {
|
|
1227
|
+
unit: "ml" | "oz";
|
|
1228
|
+
left?: number | null | undefined;
|
|
1229
|
+
right?: number | null | undefined;
|
|
1230
|
+
} | null | undefined;
|
|
1218
1231
|
medicationDose?: string | null | undefined;
|
|
1219
1232
|
solidsFoods?: string[] | null | undefined;
|
|
1220
1233
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1231,6 +1244,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1231
1244
|
texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
|
|
1232
1245
|
colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
|
|
1233
1246
|
} | null | undefined;
|
|
1247
|
+
nappyTextures?: ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[] | null | undefined;
|
|
1234
1248
|
sleepMethods?: {
|
|
1235
1249
|
fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
1236
1250
|
backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
@@ -1245,6 +1259,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1245
1259
|
reasons: ("fed" | "resettled" | "nappy")[];
|
|
1246
1260
|
} | undefined;
|
|
1247
1261
|
} | null | undefined;
|
|
1262
|
+
sleepNapId?: string | null | undefined;
|
|
1248
1263
|
sleepNightId?: string | null | undefined;
|
|
1249
1264
|
breastfeedSession?: {
|
|
1250
1265
|
schemaVersion: 1;
|
|
@@ -1256,14 +1271,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1256
1271
|
} | {
|
|
1257
1272
|
schemaVersion: 2;
|
|
1258
1273
|
phases: ({
|
|
1259
|
-
kind: "feeding";
|
|
1260
1274
|
start: string;
|
|
1261
1275
|
end: string;
|
|
1276
|
+
kind: "feeding";
|
|
1262
1277
|
side: "left" | "right";
|
|
1263
1278
|
} | {
|
|
1264
|
-
kind: "pause";
|
|
1265
1279
|
start: string;
|
|
1266
1280
|
end: string;
|
|
1281
|
+
kind: "pause";
|
|
1267
1282
|
})[];
|
|
1268
1283
|
} | null | undefined;
|
|
1269
1284
|
allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
|
|
@@ -1275,8 +1290,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1275
1290
|
updatedAt: string;
|
|
1276
1291
|
familyUserId: string;
|
|
1277
1292
|
activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
1278
|
-
occurredAt: string;
|
|
1279
|
-
babyId: string;
|
|
1280
1293
|
details: {
|
|
1281
1294
|
date: string;
|
|
1282
1295
|
start: string;
|
|
@@ -1303,9 +1316,9 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1303
1316
|
imageURL?: string | null | undefined;
|
|
1304
1317
|
} | {
|
|
1305
1318
|
date: string;
|
|
1306
|
-
unit: "ml" | "oz";
|
|
1307
1319
|
start: string;
|
|
1308
1320
|
end: string;
|
|
1321
|
+
unit: "ml" | "oz";
|
|
1309
1322
|
side: "left" | "right";
|
|
1310
1323
|
amount: number;
|
|
1311
1324
|
} | {
|
|
@@ -1322,6 +1335,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1322
1335
|
ladderId?: string | null | undefined;
|
|
1323
1336
|
ladderStageId?: string | null | undefined;
|
|
1324
1337
|
};
|
|
1338
|
+
occurredAt: string;
|
|
1339
|
+
babyId: string;
|
|
1325
1340
|
createdByUserId: string;
|
|
1326
1341
|
updatedByUserId: string;
|
|
1327
1342
|
timeZone?: string | null | undefined;
|
|
@@ -1337,16 +1352,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1337
1352
|
} | null | undefined;
|
|
1338
1353
|
importSource?: "huckleberry" | null | undefined;
|
|
1339
1354
|
importBatchId?: string | null | undefined;
|
|
1340
|
-
localDate?: string | null | undefined;
|
|
1341
|
-
note?: string | null | undefined;
|
|
1342
|
-
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1343
|
-
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1344
|
-
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1345
|
-
pumpingAmounts?: {
|
|
1346
|
-
unit: "ml" | "oz";
|
|
1347
|
-
left?: number | null | undefined;
|
|
1348
|
-
right?: number | null | undefined;
|
|
1349
|
-
} | null | undefined;
|
|
1350
1355
|
pumpingSession?: {
|
|
1351
1356
|
schemaVersion: 1;
|
|
1352
1357
|
revision: number;
|
|
@@ -1367,6 +1372,17 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1367
1372
|
} | undefined;
|
|
1368
1373
|
};
|
|
1369
1374
|
} | null | undefined;
|
|
1375
|
+
localDate?: string | null | undefined;
|
|
1376
|
+
note?: string | null | undefined;
|
|
1377
|
+
wakeFeedIds?: string[] | undefined;
|
|
1378
|
+
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1379
|
+
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1380
|
+
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1381
|
+
pumpingAmounts?: {
|
|
1382
|
+
unit: "ml" | "oz";
|
|
1383
|
+
left?: number | null | undefined;
|
|
1384
|
+
right?: number | null | undefined;
|
|
1385
|
+
} | null | undefined;
|
|
1370
1386
|
medicationDose?: string | null | undefined;
|
|
1371
1387
|
solidsFoods?: string[] | null | undefined;
|
|
1372
1388
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1383,6 +1399,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1383
1399
|
texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
|
|
1384
1400
|
colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
|
|
1385
1401
|
} | null | undefined;
|
|
1402
|
+
nappyTextures?: ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[] | null | undefined;
|
|
1386
1403
|
sleepMethods?: {
|
|
1387
1404
|
fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
1388
1405
|
backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
@@ -1397,6 +1414,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1397
1414
|
reasons: ("fed" | "resettled" | "nappy")[];
|
|
1398
1415
|
} | undefined;
|
|
1399
1416
|
} | null | undefined;
|
|
1417
|
+
sleepNapId?: string | null | undefined;
|
|
1400
1418
|
sleepNightId?: string | null | undefined;
|
|
1401
1419
|
breastfeedSession?: {
|
|
1402
1420
|
schemaVersion: 1;
|
|
@@ -1408,14 +1426,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1408
1426
|
} | {
|
|
1409
1427
|
schemaVersion: 2;
|
|
1410
1428
|
phases: ({
|
|
1411
|
-
kind: "feeding";
|
|
1412
1429
|
start: string;
|
|
1413
1430
|
end: string;
|
|
1431
|
+
kind: "feeding";
|
|
1414
1432
|
side: "left" | "right";
|
|
1415
1433
|
} | {
|
|
1416
|
-
kind: "pause";
|
|
1417
1434
|
start: string;
|
|
1418
1435
|
end: string;
|
|
1436
|
+
kind: "pause";
|
|
1419
1437
|
})[];
|
|
1420
1438
|
} | null | undefined;
|
|
1421
1439
|
allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
|
|
@@ -1427,8 +1445,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1427
1445
|
updatedAt: string;
|
|
1428
1446
|
familyUserId: string;
|
|
1429
1447
|
activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
1430
|
-
occurredAt: string;
|
|
1431
|
-
babyId: string;
|
|
1432
1448
|
details: {
|
|
1433
1449
|
date: string;
|
|
1434
1450
|
start: string;
|
|
@@ -1455,9 +1471,9 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1455
1471
|
imageURL?: string | null | undefined;
|
|
1456
1472
|
} | {
|
|
1457
1473
|
date: string;
|
|
1458
|
-
unit: "ml" | "oz";
|
|
1459
1474
|
start: string;
|
|
1460
1475
|
end: string;
|
|
1476
|
+
unit: "ml" | "oz";
|
|
1461
1477
|
side: "left" | "right";
|
|
1462
1478
|
amount: number;
|
|
1463
1479
|
} | {
|
|
@@ -1474,6 +1490,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1474
1490
|
ladderId?: string | null | undefined;
|
|
1475
1491
|
ladderStageId?: string | null | undefined;
|
|
1476
1492
|
};
|
|
1493
|
+
occurredAt: string;
|
|
1494
|
+
babyId: string;
|
|
1477
1495
|
createdByUserId: string;
|
|
1478
1496
|
updatedByUserId: string;
|
|
1479
1497
|
timeZone?: string | null | undefined;
|
|
@@ -1489,16 +1507,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1489
1507
|
} | null | undefined;
|
|
1490
1508
|
importSource?: "huckleberry" | null | undefined;
|
|
1491
1509
|
importBatchId?: string | null | undefined;
|
|
1492
|
-
localDate?: string | null | undefined;
|
|
1493
|
-
note?: string | null | undefined;
|
|
1494
|
-
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1495
|
-
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1496
|
-
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1497
|
-
pumpingAmounts?: {
|
|
1498
|
-
unit: "ml" | "oz";
|
|
1499
|
-
left?: number | null | undefined;
|
|
1500
|
-
right?: number | null | undefined;
|
|
1501
|
-
} | null | undefined;
|
|
1502
1510
|
pumpingSession?: {
|
|
1503
1511
|
schemaVersion: 1;
|
|
1504
1512
|
revision: number;
|
|
@@ -1519,6 +1527,17 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1519
1527
|
} | undefined;
|
|
1520
1528
|
};
|
|
1521
1529
|
} | null | undefined;
|
|
1530
|
+
localDate?: string | null | undefined;
|
|
1531
|
+
note?: string | null | undefined;
|
|
1532
|
+
wakeFeedIds?: string[] | undefined;
|
|
1533
|
+
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1534
|
+
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1535
|
+
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1536
|
+
pumpingAmounts?: {
|
|
1537
|
+
unit: "ml" | "oz";
|
|
1538
|
+
left?: number | null | undefined;
|
|
1539
|
+
right?: number | null | undefined;
|
|
1540
|
+
} | null | undefined;
|
|
1522
1541
|
medicationDose?: string | null | undefined;
|
|
1523
1542
|
solidsFoods?: string[] | null | undefined;
|
|
1524
1543
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1535,6 +1554,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1535
1554
|
texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
|
|
1536
1555
|
colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
|
|
1537
1556
|
} | null | undefined;
|
|
1557
|
+
nappyTextures?: ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[] | null | undefined;
|
|
1538
1558
|
sleepMethods?: {
|
|
1539
1559
|
fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
1540
1560
|
backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
@@ -1549,6 +1569,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1549
1569
|
reasons: ("fed" | "resettled" | "nappy")[];
|
|
1550
1570
|
} | undefined;
|
|
1551
1571
|
} | null | undefined;
|
|
1572
|
+
sleepNapId?: string | null | undefined;
|
|
1552
1573
|
sleepNightId?: string | null | undefined;
|
|
1553
1574
|
breastfeedSession?: {
|
|
1554
1575
|
schemaVersion: 1;
|
|
@@ -1560,14 +1581,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1560
1581
|
} | {
|
|
1561
1582
|
schemaVersion: 2;
|
|
1562
1583
|
phases: ({
|
|
1563
|
-
kind: "feeding";
|
|
1564
1584
|
start: string;
|
|
1565
1585
|
end: string;
|
|
1586
|
+
kind: "feeding";
|
|
1566
1587
|
side: "left" | "right";
|
|
1567
1588
|
} | {
|
|
1568
|
-
kind: "pause";
|
|
1569
1589
|
start: string;
|
|
1570
1590
|
end: string;
|
|
1591
|
+
kind: "pause";
|
|
1571
1592
|
})[];
|
|
1572
1593
|
} | null | undefined;
|
|
1573
1594
|
allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
|
|
@@ -1579,8 +1600,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1579
1600
|
updatedAt: string;
|
|
1580
1601
|
familyUserId: string;
|
|
1581
1602
|
activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
1582
|
-
occurredAt: string;
|
|
1583
|
-
babyId: string;
|
|
1584
1603
|
details: {
|
|
1585
1604
|
date: string;
|
|
1586
1605
|
start: string;
|
|
@@ -1607,9 +1626,9 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1607
1626
|
imageURL?: string | null | undefined;
|
|
1608
1627
|
} | {
|
|
1609
1628
|
date: string;
|
|
1610
|
-
unit: "ml" | "oz";
|
|
1611
1629
|
start: string;
|
|
1612
1630
|
end: string;
|
|
1631
|
+
unit: "ml" | "oz";
|
|
1613
1632
|
side: "left" | "right";
|
|
1614
1633
|
amount: number;
|
|
1615
1634
|
} | {
|
|
@@ -1626,6 +1645,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1626
1645
|
ladderId?: string | null | undefined;
|
|
1627
1646
|
ladderStageId?: string | null | undefined;
|
|
1628
1647
|
};
|
|
1648
|
+
occurredAt: string;
|
|
1649
|
+
babyId: string;
|
|
1629
1650
|
createdByUserId: string;
|
|
1630
1651
|
updatedByUserId: string;
|
|
1631
1652
|
timeZone?: string | null | undefined;
|
|
@@ -1641,16 +1662,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1641
1662
|
} | null | undefined;
|
|
1642
1663
|
importSource?: "huckleberry" | null | undefined;
|
|
1643
1664
|
importBatchId?: string | null | undefined;
|
|
1644
|
-
localDate?: string | null | undefined;
|
|
1645
|
-
note?: string | null | undefined;
|
|
1646
|
-
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1647
|
-
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1648
|
-
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1649
|
-
pumpingAmounts?: {
|
|
1650
|
-
unit: "ml" | "oz";
|
|
1651
|
-
left?: number | null | undefined;
|
|
1652
|
-
right?: number | null | undefined;
|
|
1653
|
-
} | null | undefined;
|
|
1654
1665
|
pumpingSession?: {
|
|
1655
1666
|
schemaVersion: 1;
|
|
1656
1667
|
revision: number;
|
|
@@ -1671,6 +1682,17 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1671
1682
|
} | undefined;
|
|
1672
1683
|
};
|
|
1673
1684
|
} | null | undefined;
|
|
1685
|
+
localDate?: string | null | undefined;
|
|
1686
|
+
note?: string | null | undefined;
|
|
1687
|
+
wakeFeedIds?: string[] | undefined;
|
|
1688
|
+
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1689
|
+
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1690
|
+
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1691
|
+
pumpingAmounts?: {
|
|
1692
|
+
unit: "ml" | "oz";
|
|
1693
|
+
left?: number | null | undefined;
|
|
1694
|
+
right?: number | null | undefined;
|
|
1695
|
+
} | null | undefined;
|
|
1674
1696
|
medicationDose?: string | null | undefined;
|
|
1675
1697
|
solidsFoods?: string[] | null | undefined;
|
|
1676
1698
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1687,6 +1709,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1687
1709
|
texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
|
|
1688
1710
|
colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
|
|
1689
1711
|
} | null | undefined;
|
|
1712
|
+
nappyTextures?: ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[] | null | undefined;
|
|
1690
1713
|
sleepMethods?: {
|
|
1691
1714
|
fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
1692
1715
|
backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
@@ -1701,6 +1724,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1701
1724
|
reasons: ("fed" | "resettled" | "nappy")[];
|
|
1702
1725
|
} | undefined;
|
|
1703
1726
|
} | null | undefined;
|
|
1727
|
+
sleepNapId?: string | null | undefined;
|
|
1704
1728
|
sleepNightId?: string | null | undefined;
|
|
1705
1729
|
breastfeedSession?: {
|
|
1706
1730
|
schemaVersion: 1;
|
|
@@ -1712,14 +1736,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1712
1736
|
} | {
|
|
1713
1737
|
schemaVersion: 2;
|
|
1714
1738
|
phases: ({
|
|
1715
|
-
kind: "feeding";
|
|
1716
1739
|
start: string;
|
|
1717
1740
|
end: string;
|
|
1741
|
+
kind: "feeding";
|
|
1718
1742
|
side: "left" | "right";
|
|
1719
1743
|
} | {
|
|
1720
|
-
kind: "pause";
|
|
1721
1744
|
start: string;
|
|
1722
1745
|
end: string;
|
|
1746
|
+
kind: "pause";
|
|
1723
1747
|
})[];
|
|
1724
1748
|
} | null | undefined;
|
|
1725
1749
|
allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
|
|
@@ -1731,8 +1755,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1731
1755
|
updatedAt: string;
|
|
1732
1756
|
familyUserId: string;
|
|
1733
1757
|
activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
1734
|
-
occurredAt: string;
|
|
1735
|
-
babyId: string;
|
|
1736
1758
|
details: {
|
|
1737
1759
|
date: string;
|
|
1738
1760
|
start: string;
|
|
@@ -1759,9 +1781,9 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1759
1781
|
imageURL?: string | null | undefined;
|
|
1760
1782
|
} | {
|
|
1761
1783
|
date: string;
|
|
1762
|
-
unit: "ml" | "oz";
|
|
1763
1784
|
start: string;
|
|
1764
1785
|
end: string;
|
|
1786
|
+
unit: "ml" | "oz";
|
|
1765
1787
|
side: "left" | "right";
|
|
1766
1788
|
amount: number;
|
|
1767
1789
|
} | {
|
|
@@ -1778,6 +1800,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1778
1800
|
ladderId?: string | null | undefined;
|
|
1779
1801
|
ladderStageId?: string | null | undefined;
|
|
1780
1802
|
};
|
|
1803
|
+
occurredAt: string;
|
|
1804
|
+
babyId: string;
|
|
1781
1805
|
createdByUserId: string;
|
|
1782
1806
|
updatedByUserId: string;
|
|
1783
1807
|
timeZone?: string | null | undefined;
|
|
@@ -1793,16 +1817,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1793
1817
|
} | null | undefined;
|
|
1794
1818
|
importSource?: "huckleberry" | null | undefined;
|
|
1795
1819
|
importBatchId?: string | null | undefined;
|
|
1796
|
-
localDate?: string | null | undefined;
|
|
1797
|
-
note?: string | null | undefined;
|
|
1798
|
-
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1799
|
-
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1800
|
-
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1801
|
-
pumpingAmounts?: {
|
|
1802
|
-
unit: "ml" | "oz";
|
|
1803
|
-
left?: number | null | undefined;
|
|
1804
|
-
right?: number | null | undefined;
|
|
1805
|
-
} | null | undefined;
|
|
1806
1820
|
pumpingSession?: {
|
|
1807
1821
|
schemaVersion: 1;
|
|
1808
1822
|
revision: number;
|
|
@@ -1823,6 +1837,17 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1823
1837
|
} | undefined;
|
|
1824
1838
|
};
|
|
1825
1839
|
} | null | undefined;
|
|
1840
|
+
localDate?: string | null | undefined;
|
|
1841
|
+
note?: string | null | undefined;
|
|
1842
|
+
wakeFeedIds?: string[] | undefined;
|
|
1843
|
+
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1844
|
+
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1845
|
+
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1846
|
+
pumpingAmounts?: {
|
|
1847
|
+
unit: "ml" | "oz";
|
|
1848
|
+
left?: number | null | undefined;
|
|
1849
|
+
right?: number | null | undefined;
|
|
1850
|
+
} | null | undefined;
|
|
1826
1851
|
medicationDose?: string | null | undefined;
|
|
1827
1852
|
solidsFoods?: string[] | null | undefined;
|
|
1828
1853
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1839,6 +1864,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1839
1864
|
texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
|
|
1840
1865
|
colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
|
|
1841
1866
|
} | null | undefined;
|
|
1867
|
+
nappyTextures?: ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[] | null | undefined;
|
|
1842
1868
|
sleepMethods?: {
|
|
1843
1869
|
fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
1844
1870
|
backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
@@ -1853,6 +1879,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1853
1879
|
reasons: ("fed" | "resettled" | "nappy")[];
|
|
1854
1880
|
} | undefined;
|
|
1855
1881
|
} | null | undefined;
|
|
1882
|
+
sleepNapId?: string | null | undefined;
|
|
1856
1883
|
sleepNightId?: string | null | undefined;
|
|
1857
1884
|
breastfeedSession?: {
|
|
1858
1885
|
schemaVersion: 1;
|
|
@@ -1864,14 +1891,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1864
1891
|
} | {
|
|
1865
1892
|
schemaVersion: 2;
|
|
1866
1893
|
phases: ({
|
|
1867
|
-
kind: "feeding";
|
|
1868
1894
|
start: string;
|
|
1869
1895
|
end: string;
|
|
1896
|
+
kind: "feeding";
|
|
1870
1897
|
side: "left" | "right";
|
|
1871
1898
|
} | {
|
|
1872
|
-
kind: "pause";
|
|
1873
1899
|
start: string;
|
|
1874
1900
|
end: string;
|
|
1901
|
+
kind: "pause";
|
|
1875
1902
|
})[];
|
|
1876
1903
|
} | null | undefined;
|
|
1877
1904
|
allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
|
|
@@ -1883,8 +1910,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1883
1910
|
updatedAt: string;
|
|
1884
1911
|
familyUserId: string;
|
|
1885
1912
|
activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
1886
|
-
occurredAt: string;
|
|
1887
|
-
babyId: string;
|
|
1888
1913
|
details: {
|
|
1889
1914
|
date: string;
|
|
1890
1915
|
start: string;
|
|
@@ -1911,9 +1936,9 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1911
1936
|
imageURL?: string | null | undefined;
|
|
1912
1937
|
} | {
|
|
1913
1938
|
date: string;
|
|
1914
|
-
unit: "ml" | "oz";
|
|
1915
1939
|
start: string;
|
|
1916
1940
|
end: string;
|
|
1941
|
+
unit: "ml" | "oz";
|
|
1917
1942
|
side: "left" | "right";
|
|
1918
1943
|
amount: number;
|
|
1919
1944
|
} | {
|
|
@@ -1930,6 +1955,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1930
1955
|
ladderId?: string | null | undefined;
|
|
1931
1956
|
ladderStageId?: string | null | undefined;
|
|
1932
1957
|
};
|
|
1958
|
+
occurredAt: string;
|
|
1959
|
+
babyId: string;
|
|
1933
1960
|
createdByUserId: string;
|
|
1934
1961
|
updatedByUserId: string;
|
|
1935
1962
|
timeZone?: string | null | undefined;
|
|
@@ -1945,16 +1972,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1945
1972
|
} | null | undefined;
|
|
1946
1973
|
importSource?: "huckleberry" | null | undefined;
|
|
1947
1974
|
importBatchId?: string | null | undefined;
|
|
1948
|
-
localDate?: string | null | undefined;
|
|
1949
|
-
note?: string | null | undefined;
|
|
1950
|
-
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1951
|
-
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1952
|
-
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1953
|
-
pumpingAmounts?: {
|
|
1954
|
-
unit: "ml" | "oz";
|
|
1955
|
-
left?: number | null | undefined;
|
|
1956
|
-
right?: number | null | undefined;
|
|
1957
|
-
} | null | undefined;
|
|
1958
1975
|
pumpingSession?: {
|
|
1959
1976
|
schemaVersion: 1;
|
|
1960
1977
|
revision: number;
|
|
@@ -1975,6 +1992,17 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1975
1992
|
} | undefined;
|
|
1976
1993
|
};
|
|
1977
1994
|
} | null | undefined;
|
|
1995
|
+
localDate?: string | null | undefined;
|
|
1996
|
+
note?: string | null | undefined;
|
|
1997
|
+
wakeFeedIds?: string[] | undefined;
|
|
1998
|
+
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1999
|
+
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
2000
|
+
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
2001
|
+
pumpingAmounts?: {
|
|
2002
|
+
unit: "ml" | "oz";
|
|
2003
|
+
left?: number | null | undefined;
|
|
2004
|
+
right?: number | null | undefined;
|
|
2005
|
+
} | null | undefined;
|
|
1978
2006
|
medicationDose?: string | null | undefined;
|
|
1979
2007
|
solidsFoods?: string[] | null | undefined;
|
|
1980
2008
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1991,6 +2019,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1991
2019
|
texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
|
|
1992
2020
|
colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
|
|
1993
2021
|
} | null | undefined;
|
|
2022
|
+
nappyTextures?: ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[] | null | undefined;
|
|
1994
2023
|
sleepMethods?: {
|
|
1995
2024
|
fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
1996
2025
|
backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
@@ -2005,6 +2034,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2005
2034
|
reasons: ("fed" | "resettled" | "nappy")[];
|
|
2006
2035
|
} | undefined;
|
|
2007
2036
|
} | null | undefined;
|
|
2037
|
+
sleepNapId?: string | null | undefined;
|
|
2008
2038
|
sleepNightId?: string | null | undefined;
|
|
2009
2039
|
breastfeedSession?: {
|
|
2010
2040
|
schemaVersion: 1;
|
|
@@ -2016,14 +2046,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2016
2046
|
} | {
|
|
2017
2047
|
schemaVersion: 2;
|
|
2018
2048
|
phases: ({
|
|
2019
|
-
kind: "feeding";
|
|
2020
2049
|
start: string;
|
|
2021
2050
|
end: string;
|
|
2051
|
+
kind: "feeding";
|
|
2022
2052
|
side: "left" | "right";
|
|
2023
2053
|
} | {
|
|
2024
|
-
kind: "pause";
|
|
2025
2054
|
start: string;
|
|
2026
2055
|
end: string;
|
|
2056
|
+
kind: "pause";
|
|
2027
2057
|
})[];
|
|
2028
2058
|
} | null | undefined;
|
|
2029
2059
|
allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
|
|
@@ -2035,8 +2065,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2035
2065
|
updatedAt: string;
|
|
2036
2066
|
familyUserId: string;
|
|
2037
2067
|
activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
2038
|
-
occurredAt: string;
|
|
2039
|
-
babyId: string;
|
|
2040
2068
|
details: {
|
|
2041
2069
|
date: string;
|
|
2042
2070
|
start: string;
|
|
@@ -2063,9 +2091,9 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2063
2091
|
imageURL?: string | null | undefined;
|
|
2064
2092
|
} | {
|
|
2065
2093
|
date: string;
|
|
2066
|
-
unit: "ml" | "oz";
|
|
2067
2094
|
start: string;
|
|
2068
2095
|
end: string;
|
|
2096
|
+
unit: "ml" | "oz";
|
|
2069
2097
|
side: "left" | "right";
|
|
2070
2098
|
amount: number;
|
|
2071
2099
|
} | {
|
|
@@ -2082,6 +2110,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2082
2110
|
ladderId?: string | null | undefined;
|
|
2083
2111
|
ladderStageId?: string | null | undefined;
|
|
2084
2112
|
};
|
|
2113
|
+
occurredAt: string;
|
|
2114
|
+
babyId: string;
|
|
2085
2115
|
createdByUserId: string;
|
|
2086
2116
|
updatedByUserId: string;
|
|
2087
2117
|
timeZone?: string | null | undefined;
|
|
@@ -2097,16 +2127,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2097
2127
|
} | null | undefined;
|
|
2098
2128
|
importSource?: "huckleberry" | null | undefined;
|
|
2099
2129
|
importBatchId?: string | null | undefined;
|
|
2100
|
-
localDate?: string | null | undefined;
|
|
2101
|
-
note?: string | null | undefined;
|
|
2102
|
-
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
2103
|
-
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
2104
|
-
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
2105
|
-
pumpingAmounts?: {
|
|
2106
|
-
unit: "ml" | "oz";
|
|
2107
|
-
left?: number | null | undefined;
|
|
2108
|
-
right?: number | null | undefined;
|
|
2109
|
-
} | null | undefined;
|
|
2110
2130
|
pumpingSession?: {
|
|
2111
2131
|
schemaVersion: 1;
|
|
2112
2132
|
revision: number;
|
|
@@ -2127,6 +2147,17 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2127
2147
|
} | undefined;
|
|
2128
2148
|
};
|
|
2129
2149
|
} | null | undefined;
|
|
2150
|
+
localDate?: string | null | undefined;
|
|
2151
|
+
note?: string | null | undefined;
|
|
2152
|
+
wakeFeedIds?: string[] | undefined;
|
|
2153
|
+
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
2154
|
+
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
2155
|
+
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
2156
|
+
pumpingAmounts?: {
|
|
2157
|
+
unit: "ml" | "oz";
|
|
2158
|
+
left?: number | null | undefined;
|
|
2159
|
+
right?: number | null | undefined;
|
|
2160
|
+
} | null | undefined;
|
|
2130
2161
|
medicationDose?: string | null | undefined;
|
|
2131
2162
|
solidsFoods?: string[] | null | undefined;
|
|
2132
2163
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -2143,6 +2174,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2143
2174
|
texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
|
|
2144
2175
|
colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
|
|
2145
2176
|
} | null | undefined;
|
|
2177
|
+
nappyTextures?: ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[] | null | undefined;
|
|
2146
2178
|
sleepMethods?: {
|
|
2147
2179
|
fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
2148
2180
|
backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
@@ -2157,6 +2189,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2157
2189
|
reasons: ("fed" | "resettled" | "nappy")[];
|
|
2158
2190
|
} | undefined;
|
|
2159
2191
|
} | null | undefined;
|
|
2192
|
+
sleepNapId?: string | null | undefined;
|
|
2160
2193
|
sleepNightId?: string | null | undefined;
|
|
2161
2194
|
breastfeedSession?: {
|
|
2162
2195
|
schemaVersion: 1;
|
|
@@ -2168,14 +2201,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2168
2201
|
} | {
|
|
2169
2202
|
schemaVersion: 2;
|
|
2170
2203
|
phases: ({
|
|
2171
|
-
kind: "feeding";
|
|
2172
2204
|
start: string;
|
|
2173
2205
|
end: string;
|
|
2206
|
+
kind: "feeding";
|
|
2174
2207
|
side: "left" | "right";
|
|
2175
2208
|
} | {
|
|
2176
|
-
kind: "pause";
|
|
2177
2209
|
start: string;
|
|
2178
2210
|
end: string;
|
|
2211
|
+
kind: "pause";
|
|
2179
2212
|
})[];
|
|
2180
2213
|
} | null | undefined;
|
|
2181
2214
|
allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
|
|
@@ -2189,8 +2222,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2189
2222
|
updatedAt: string;
|
|
2190
2223
|
familyUserId: string;
|
|
2191
2224
|
activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
2192
|
-
occurredAt: string;
|
|
2193
|
-
babyId: string;
|
|
2194
2225
|
details: {
|
|
2195
2226
|
date: string;
|
|
2196
2227
|
start: string;
|
|
@@ -2217,9 +2248,9 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2217
2248
|
imageURL?: string | null | undefined;
|
|
2218
2249
|
} | {
|
|
2219
2250
|
date: string;
|
|
2220
|
-
unit: "ml" | "oz";
|
|
2221
2251
|
start: string;
|
|
2222
2252
|
end: string;
|
|
2253
|
+
unit: "ml" | "oz";
|
|
2223
2254
|
side: "left" | "right";
|
|
2224
2255
|
amount: number;
|
|
2225
2256
|
} | {
|
|
@@ -2236,6 +2267,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2236
2267
|
ladderId?: string | null | undefined;
|
|
2237
2268
|
ladderStageId?: string | null | undefined;
|
|
2238
2269
|
};
|
|
2270
|
+
occurredAt: string;
|
|
2271
|
+
babyId: string;
|
|
2239
2272
|
createdByUserId: string;
|
|
2240
2273
|
updatedByUserId: string;
|
|
2241
2274
|
timeZone?: string | null | undefined;
|
|
@@ -2251,16 +2284,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2251
2284
|
} | null | undefined;
|
|
2252
2285
|
importSource?: "huckleberry" | null | undefined;
|
|
2253
2286
|
importBatchId?: string | null | undefined;
|
|
2254
|
-
localDate?: string | null | undefined;
|
|
2255
|
-
note?: string | null | undefined;
|
|
2256
|
-
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
2257
|
-
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
2258
|
-
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
2259
|
-
pumpingAmounts?: {
|
|
2260
|
-
unit: "ml" | "oz";
|
|
2261
|
-
left?: number | null | undefined;
|
|
2262
|
-
right?: number | null | undefined;
|
|
2263
|
-
} | null | undefined;
|
|
2264
2287
|
pumpingSession?: {
|
|
2265
2288
|
schemaVersion: 1;
|
|
2266
2289
|
revision: number;
|
|
@@ -2281,6 +2304,17 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2281
2304
|
} | undefined;
|
|
2282
2305
|
};
|
|
2283
2306
|
} | null | undefined;
|
|
2307
|
+
localDate?: string | null | undefined;
|
|
2308
|
+
note?: string | null | undefined;
|
|
2309
|
+
wakeFeedIds?: string[] | undefined;
|
|
2310
|
+
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
2311
|
+
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
2312
|
+
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
2313
|
+
pumpingAmounts?: {
|
|
2314
|
+
unit: "ml" | "oz";
|
|
2315
|
+
left?: number | null | undefined;
|
|
2316
|
+
right?: number | null | undefined;
|
|
2317
|
+
} | null | undefined;
|
|
2284
2318
|
medicationDose?: string | null | undefined;
|
|
2285
2319
|
solidsFoods?: string[] | null | undefined;
|
|
2286
2320
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -2297,6 +2331,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2297
2331
|
texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
|
|
2298
2332
|
colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
|
|
2299
2333
|
} | null | undefined;
|
|
2334
|
+
nappyTextures?: ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[] | null | undefined;
|
|
2300
2335
|
sleepMethods?: {
|
|
2301
2336
|
fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
2302
2337
|
backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
@@ -2311,6 +2346,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2311
2346
|
reasons: ("fed" | "resettled" | "nappy")[];
|
|
2312
2347
|
} | undefined;
|
|
2313
2348
|
} | null | undefined;
|
|
2349
|
+
sleepNapId?: string | null | undefined;
|
|
2314
2350
|
sleepNightId?: string | null | undefined;
|
|
2315
2351
|
breastfeedSession?: {
|
|
2316
2352
|
schemaVersion: 1;
|
|
@@ -2322,14 +2358,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2322
2358
|
} | {
|
|
2323
2359
|
schemaVersion: 2;
|
|
2324
2360
|
phases: ({
|
|
2325
|
-
kind: "feeding";
|
|
2326
2361
|
start: string;
|
|
2327
2362
|
end: string;
|
|
2363
|
+
kind: "feeding";
|
|
2328
2364
|
side: "left" | "right";
|
|
2329
2365
|
} | {
|
|
2330
|
-
kind: "pause";
|
|
2331
2366
|
start: string;
|
|
2332
2367
|
end: string;
|
|
2368
|
+
kind: "pause";
|
|
2333
2369
|
})[];
|
|
2334
2370
|
} | null | undefined;
|
|
2335
2371
|
allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
|
|
@@ -2343,8 +2379,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2343
2379
|
updatedAt: string;
|
|
2344
2380
|
familyUserId: string;
|
|
2345
2381
|
activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
2346
|
-
occurredAt: string;
|
|
2347
|
-
babyId: string;
|
|
2348
2382
|
details: {
|
|
2349
2383
|
date: string;
|
|
2350
2384
|
start: string;
|
|
@@ -2371,9 +2405,9 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2371
2405
|
imageURL?: string | null | undefined;
|
|
2372
2406
|
} | {
|
|
2373
2407
|
date: string;
|
|
2374
|
-
unit: "ml" | "oz";
|
|
2375
2408
|
start: string;
|
|
2376
2409
|
end: string;
|
|
2410
|
+
unit: "ml" | "oz";
|
|
2377
2411
|
side: "left" | "right";
|
|
2378
2412
|
amount: number;
|
|
2379
2413
|
} | {
|
|
@@ -2390,6 +2424,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2390
2424
|
ladderId?: string | null | undefined;
|
|
2391
2425
|
ladderStageId?: string | null | undefined;
|
|
2392
2426
|
};
|
|
2427
|
+
occurredAt: string;
|
|
2428
|
+
babyId: string;
|
|
2393
2429
|
createdByUserId: string;
|
|
2394
2430
|
updatedByUserId: string;
|
|
2395
2431
|
timeZone?: string | null | undefined;
|
|
@@ -2405,16 +2441,6 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2405
2441
|
} | null | undefined;
|
|
2406
2442
|
importSource?: "huckleberry" | null | undefined;
|
|
2407
2443
|
importBatchId?: string | null | undefined;
|
|
2408
|
-
localDate?: string | null | undefined;
|
|
2409
|
-
note?: string | null | undefined;
|
|
2410
|
-
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
2411
|
-
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
2412
|
-
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
2413
|
-
pumpingAmounts?: {
|
|
2414
|
-
unit: "ml" | "oz";
|
|
2415
|
-
left?: number | null | undefined;
|
|
2416
|
-
right?: number | null | undefined;
|
|
2417
|
-
} | null | undefined;
|
|
2418
2444
|
pumpingSession?: {
|
|
2419
2445
|
schemaVersion: 1;
|
|
2420
2446
|
revision: number;
|
|
@@ -2435,6 +2461,17 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2435
2461
|
} | undefined;
|
|
2436
2462
|
};
|
|
2437
2463
|
} | null | undefined;
|
|
2464
|
+
localDate?: string | null | undefined;
|
|
2465
|
+
note?: string | null | undefined;
|
|
2466
|
+
wakeFeedIds?: string[] | undefined;
|
|
2467
|
+
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
2468
|
+
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
2469
|
+
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
2470
|
+
pumpingAmounts?: {
|
|
2471
|
+
unit: "ml" | "oz";
|
|
2472
|
+
left?: number | null | undefined;
|
|
2473
|
+
right?: number | null | undefined;
|
|
2474
|
+
} | null | undefined;
|
|
2438
2475
|
medicationDose?: string | null | undefined;
|
|
2439
2476
|
solidsFoods?: string[] | null | undefined;
|
|
2440
2477
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -2451,6 +2488,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2451
2488
|
texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
|
|
2452
2489
|
colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
|
|
2453
2490
|
} | null | undefined;
|
|
2491
|
+
nappyTextures?: ("soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy")[] | null | undefined;
|
|
2454
2492
|
sleepMethods?: {
|
|
2455
2493
|
fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
2456
2494
|
backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
|
|
@@ -2465,6 +2503,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2465
2503
|
reasons: ("fed" | "resettled" | "nappy")[];
|
|
2466
2504
|
} | undefined;
|
|
2467
2505
|
} | null | undefined;
|
|
2506
|
+
sleepNapId?: string | null | undefined;
|
|
2468
2507
|
sleepNightId?: string | null | undefined;
|
|
2469
2508
|
breastfeedSession?: {
|
|
2470
2509
|
schemaVersion: 1;
|
|
@@ -2476,14 +2515,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2476
2515
|
} | {
|
|
2477
2516
|
schemaVersion: 2;
|
|
2478
2517
|
phases: ({
|
|
2479
|
-
kind: "feeding";
|
|
2480
2518
|
start: string;
|
|
2481
2519
|
end: string;
|
|
2520
|
+
kind: "feeding";
|
|
2482
2521
|
side: "left" | "right";
|
|
2483
2522
|
} | {
|
|
2484
|
-
kind: "pause";
|
|
2485
2523
|
start: string;
|
|
2486
2524
|
end: string;
|
|
2525
|
+
kind: "pause";
|
|
2487
2526
|
})[];
|
|
2488
2527
|
} | null | undefined;
|
|
2489
2528
|
allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
|