@nikthegeek/dreamsforlittles-shared 0.16.0 → 0.17.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/analysis-teaser.test.js +31 -1
- package/dist/analysis-teaser.test.js.map +1 -1
- package/dist/analysis.d.ts +762 -0
- package/dist/analysis.js +13 -0
- package/dist/analysis.js.map +1 -1
- package/dist/coach-sleep-plan-templates.d.ts +105 -10
- package/dist/coach-sleep-plan-templates.js +2 -2
- package/dist/coach-sleep-plan-templates.js.map +1 -1
- package/dist/coach-sleep-plans.d.ts +88 -4
- package/dist/coach.d.ts +7348 -4
- package/dist/family-profile-artifacts.d.ts +1467 -26
- package/dist/family-profile-artifacts.js +22 -2
- package/dist/family-profile-artifacts.js.map +1 -1
- package/dist/family-sleep-plan.test.js +17 -0
- package/dist/family-sleep-plan.test.js.map +1 -1
- package/dist/family.d.ts +16609 -861
- package/dist/family.js +29 -3
- package/dist/family.js.map +1 -1
- package/dist/family.test.js +43 -1
- package/dist/family.test.js.map +1 -1
- package/dist/history-export-csv.d.ts +2 -2
- package/dist/history-export-csv.js +7 -3
- package/dist/history-export-csv.js.map +1 -1
- package/dist/home-activity-context.d.ts +6396 -0
- package/dist/home-activity-context.js +97 -0
- package/dist/home-activity-context.js.map +1 -0
- package/dist/home-activity-context.test.d.ts +1 -0
- package/dist/home-activity-context.test.js +111 -0
- package/dist/home-activity-context.test.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/lead-insights.d.ts +6 -6
- package/dist/milestones.d.ts +244 -0
- package/dist/milestones.js +10 -0
- package/dist/milestones.js.map +1 -1
- package/dist/milestones.test.js +23 -1
- package/dist/milestones.test.js.map +1 -1
- package/dist/native-timer-state.d.ts +1691 -66
- package/dist/practice-insights.d.ts +2 -2
- package/dist/product-analytics.d.ts +12 -12
- package/dist/pumping.d.ts +486 -0
- package/dist/pumping.js +94 -0
- package/dist/pumping.js.map +1 -0
- package/dist/pumping.test.d.ts +1 -0
- package/dist/pumping.test.js +62 -0
- package/dist/pumping.test.js.map +1 -0
- package/dist/questionnaire-imports.d.ts +194 -2
- package/dist/sleep-average-context.d.ts +570 -0
- package/dist/sleep-average-context.js +286 -0
- package/dist/sleep-average-context.js.map +1 -0
- package/dist/sleep-average-context.test.d.ts +1 -0
- package/dist/sleep-average-context.test.js +290 -0
- package/dist/sleep-average-context.test.js.map +1 -0
- package/dist/sleep-average-summary.d.ts +46 -0
- package/dist/sleep-average-summary.js +127 -0
- package/dist/sleep-average-summary.js.map +1 -0
- package/dist/sleep-average-summary.test.d.ts +1 -0
- package/dist/sleep-average-summary.test.js +169 -0
- package/dist/sleep-average-summary.test.js.map +1 -0
- package/dist/sleep-awake-state.d.ts +8 -2
- package/dist/sleep-awake-state.js +2 -2
- package/dist/sleep-awake-state.js.map +1 -1
- package/dist/sleep-awake-state.test.js +16 -0
- package/dist/sleep-awake-state.test.js.map +1 -1
- package/dist/sleep-completed-night.d.ts +563 -0
- package/dist/subscription-cancellation-feedback.d.ts +10 -10
- package/dist/website-feedback.d.ts +4 -4
- package/package.json +1 -1
|
@@ -177,18 +177,22 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
177
177
|
sections: z.ZodArray<z.ZodObject<{
|
|
178
178
|
id: z.ZodString;
|
|
179
179
|
title: z.ZodString;
|
|
180
|
-
|
|
180
|
+
changeSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
181
|
+
blocks: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
181
182
|
id: z.ZodString;
|
|
182
183
|
type: z.ZodEnum<["paragraph", "bullet"]>;
|
|
183
184
|
text: z.ZodString;
|
|
185
|
+
presentation: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"tip">>>;
|
|
184
186
|
}, "strip", z.ZodTypeAny, {
|
|
185
187
|
type: "paragraph" | "bullet";
|
|
186
188
|
id: string;
|
|
187
189
|
text: string;
|
|
190
|
+
presentation?: "tip" | null | undefined;
|
|
188
191
|
}, {
|
|
189
192
|
type: "paragraph" | "bullet";
|
|
190
193
|
id: string;
|
|
191
194
|
text: string;
|
|
195
|
+
presentation?: "tip" | null | undefined;
|
|
192
196
|
}>, z.ZodObject<{
|
|
193
197
|
id: z.ZodString;
|
|
194
198
|
type: z.ZodLiteral<"image">;
|
|
@@ -216,7 +220,35 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
216
220
|
uploadedAt?: string | null | undefined;
|
|
217
221
|
altText?: string | null | undefined;
|
|
218
222
|
caption?: string | null | undefined;
|
|
219
|
-
}>]>,
|
|
223
|
+
}>]>, {
|
|
224
|
+
type: "paragraph" | "bullet";
|
|
225
|
+
id: string;
|
|
226
|
+
text: string;
|
|
227
|
+
presentation?: "tip" | null | undefined;
|
|
228
|
+
} | {
|
|
229
|
+
type: "image";
|
|
230
|
+
id: string;
|
|
231
|
+
fileName: string;
|
|
232
|
+
contentType: string;
|
|
233
|
+
assetId: string;
|
|
234
|
+
uploadedAt?: string | null | undefined;
|
|
235
|
+
altText?: string | null | undefined;
|
|
236
|
+
caption?: string | null | undefined;
|
|
237
|
+
}, {
|
|
238
|
+
type: "paragraph" | "bullet";
|
|
239
|
+
id: string;
|
|
240
|
+
text: string;
|
|
241
|
+
presentation?: "tip" | null | undefined;
|
|
242
|
+
} | {
|
|
243
|
+
type: "image";
|
|
244
|
+
id: string;
|
|
245
|
+
fileName: string;
|
|
246
|
+
contentType: string;
|
|
247
|
+
assetId: string;
|
|
248
|
+
uploadedAt?: string | null | undefined;
|
|
249
|
+
altText?: string | null | undefined;
|
|
250
|
+
caption?: string | null | undefined;
|
|
251
|
+
}>, "many">>;
|
|
220
252
|
}, "strip", z.ZodTypeAny, {
|
|
221
253
|
id: string;
|
|
222
254
|
title: string;
|
|
@@ -224,6 +256,7 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
224
256
|
type: "paragraph" | "bullet";
|
|
225
257
|
id: string;
|
|
226
258
|
text: string;
|
|
259
|
+
presentation?: "tip" | null | undefined;
|
|
227
260
|
} | {
|
|
228
261
|
type: "image";
|
|
229
262
|
id: string;
|
|
@@ -234,13 +267,16 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
234
267
|
altText?: string | null | undefined;
|
|
235
268
|
caption?: string | null | undefined;
|
|
236
269
|
})[];
|
|
270
|
+
changeSummary?: string | null | undefined;
|
|
237
271
|
}, {
|
|
238
272
|
id: string;
|
|
239
273
|
title: string;
|
|
274
|
+
changeSummary?: string | null | undefined;
|
|
240
275
|
blocks?: ({
|
|
241
276
|
type: "paragraph" | "bullet";
|
|
242
277
|
id: string;
|
|
243
278
|
text: string;
|
|
279
|
+
presentation?: "tip" | null | undefined;
|
|
244
280
|
} | {
|
|
245
281
|
type: "image";
|
|
246
282
|
id: string;
|
|
@@ -282,6 +318,7 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
282
318
|
type: "paragraph" | "bullet";
|
|
283
319
|
id: string;
|
|
284
320
|
text: string;
|
|
321
|
+
presentation?: "tip" | null | undefined;
|
|
285
322
|
} | {
|
|
286
323
|
type: "image";
|
|
287
324
|
id: string;
|
|
@@ -292,6 +329,7 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
292
329
|
altText?: string | null | undefined;
|
|
293
330
|
caption?: string | null | undefined;
|
|
294
331
|
})[];
|
|
332
|
+
changeSummary?: string | null | undefined;
|
|
295
333
|
}[];
|
|
296
334
|
babyId?: string | null | undefined;
|
|
297
335
|
archivedAt?: string | null | undefined;
|
|
@@ -351,10 +389,12 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
351
389
|
sections: {
|
|
352
390
|
id: string;
|
|
353
391
|
title: string;
|
|
392
|
+
changeSummary?: string | null | undefined;
|
|
354
393
|
blocks?: ({
|
|
355
394
|
type: "paragraph" | "bullet";
|
|
356
395
|
id: string;
|
|
357
396
|
text: string;
|
|
397
|
+
presentation?: "tip" | null | undefined;
|
|
358
398
|
} | {
|
|
359
399
|
type: "image";
|
|
360
400
|
id: string;
|
|
@@ -593,18 +633,22 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
593
633
|
sections: z.ZodArray<z.ZodObject<{
|
|
594
634
|
id: z.ZodString;
|
|
595
635
|
title: z.ZodString;
|
|
596
|
-
|
|
636
|
+
changeSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
637
|
+
blocks: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
597
638
|
id: z.ZodString;
|
|
598
639
|
type: z.ZodEnum<["paragraph", "bullet"]>;
|
|
599
640
|
text: z.ZodString;
|
|
641
|
+
presentation: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"tip">>>;
|
|
600
642
|
}, "strip", z.ZodTypeAny, {
|
|
601
643
|
type: "paragraph" | "bullet";
|
|
602
644
|
id: string;
|
|
603
645
|
text: string;
|
|
646
|
+
presentation?: "tip" | null | undefined;
|
|
604
647
|
}, {
|
|
605
648
|
type: "paragraph" | "bullet";
|
|
606
649
|
id: string;
|
|
607
650
|
text: string;
|
|
651
|
+
presentation?: "tip" | null | undefined;
|
|
608
652
|
}>, z.ZodObject<{
|
|
609
653
|
id: z.ZodString;
|
|
610
654
|
type: z.ZodLiteral<"image">;
|
|
@@ -632,7 +676,35 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
632
676
|
uploadedAt?: string | null | undefined;
|
|
633
677
|
altText?: string | null | undefined;
|
|
634
678
|
caption?: string | null | undefined;
|
|
635
|
-
}>]>,
|
|
679
|
+
}>]>, {
|
|
680
|
+
type: "paragraph" | "bullet";
|
|
681
|
+
id: string;
|
|
682
|
+
text: string;
|
|
683
|
+
presentation?: "tip" | null | undefined;
|
|
684
|
+
} | {
|
|
685
|
+
type: "image";
|
|
686
|
+
id: string;
|
|
687
|
+
fileName: string;
|
|
688
|
+
contentType: string;
|
|
689
|
+
assetId: string;
|
|
690
|
+
uploadedAt?: string | null | undefined;
|
|
691
|
+
altText?: string | null | undefined;
|
|
692
|
+
caption?: string | null | undefined;
|
|
693
|
+
}, {
|
|
694
|
+
type: "paragraph" | "bullet";
|
|
695
|
+
id: string;
|
|
696
|
+
text: string;
|
|
697
|
+
presentation?: "tip" | null | undefined;
|
|
698
|
+
} | {
|
|
699
|
+
type: "image";
|
|
700
|
+
id: string;
|
|
701
|
+
fileName: string;
|
|
702
|
+
contentType: string;
|
|
703
|
+
assetId: string;
|
|
704
|
+
uploadedAt?: string | null | undefined;
|
|
705
|
+
altText?: string | null | undefined;
|
|
706
|
+
caption?: string | null | undefined;
|
|
707
|
+
}>, "many">>;
|
|
636
708
|
}, "strip", z.ZodTypeAny, {
|
|
637
709
|
id: string;
|
|
638
710
|
title: string;
|
|
@@ -640,6 +712,7 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
640
712
|
type: "paragraph" | "bullet";
|
|
641
713
|
id: string;
|
|
642
714
|
text: string;
|
|
715
|
+
presentation?: "tip" | null | undefined;
|
|
643
716
|
} | {
|
|
644
717
|
type: "image";
|
|
645
718
|
id: string;
|
|
@@ -650,13 +723,16 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
650
723
|
altText?: string | null | undefined;
|
|
651
724
|
caption?: string | null | undefined;
|
|
652
725
|
})[];
|
|
726
|
+
changeSummary?: string | null | undefined;
|
|
653
727
|
}, {
|
|
654
728
|
id: string;
|
|
655
729
|
title: string;
|
|
730
|
+
changeSummary?: string | null | undefined;
|
|
656
731
|
blocks?: ({
|
|
657
732
|
type: "paragraph" | "bullet";
|
|
658
733
|
id: string;
|
|
659
734
|
text: string;
|
|
735
|
+
presentation?: "tip" | null | undefined;
|
|
660
736
|
} | {
|
|
661
737
|
type: "image";
|
|
662
738
|
id: string;
|
|
@@ -698,6 +774,7 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
698
774
|
type: "paragraph" | "bullet";
|
|
699
775
|
id: string;
|
|
700
776
|
text: string;
|
|
777
|
+
presentation?: "tip" | null | undefined;
|
|
701
778
|
} | {
|
|
702
779
|
type: "image";
|
|
703
780
|
id: string;
|
|
@@ -708,6 +785,7 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
708
785
|
altText?: string | null | undefined;
|
|
709
786
|
caption?: string | null | undefined;
|
|
710
787
|
})[];
|
|
788
|
+
changeSummary?: string | null | undefined;
|
|
711
789
|
}[];
|
|
712
790
|
babyId?: string | null | undefined;
|
|
713
791
|
archivedAt?: string | null | undefined;
|
|
@@ -767,10 +845,12 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
767
845
|
sections: {
|
|
768
846
|
id: string;
|
|
769
847
|
title: string;
|
|
848
|
+
changeSummary?: string | null | undefined;
|
|
770
849
|
blocks?: ({
|
|
771
850
|
type: "paragraph" | "bullet";
|
|
772
851
|
id: string;
|
|
773
852
|
text: string;
|
|
853
|
+
presentation?: "tip" | null | undefined;
|
|
774
854
|
} | {
|
|
775
855
|
type: "image";
|
|
776
856
|
id: string;
|
|
@@ -848,6 +928,7 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
848
928
|
type: "paragraph" | "bullet";
|
|
849
929
|
id: string;
|
|
850
930
|
text: string;
|
|
931
|
+
presentation?: "tip" | null | undefined;
|
|
851
932
|
} | {
|
|
852
933
|
type: "image";
|
|
853
934
|
id: string;
|
|
@@ -858,6 +939,7 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
858
939
|
altText?: string | null | undefined;
|
|
859
940
|
caption?: string | null | undefined;
|
|
860
941
|
})[];
|
|
942
|
+
changeSummary?: string | null | undefined;
|
|
861
943
|
}[];
|
|
862
944
|
babyId?: string | null | undefined;
|
|
863
945
|
archivedAt?: string | null | undefined;
|
|
@@ -919,10 +1001,12 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
919
1001
|
sections: {
|
|
920
1002
|
id: string;
|
|
921
1003
|
title: string;
|
|
1004
|
+
changeSummary?: string | null | undefined;
|
|
922
1005
|
blocks?: ({
|
|
923
1006
|
type: "paragraph" | "bullet";
|
|
924
1007
|
id: string;
|
|
925
1008
|
text: string;
|
|
1009
|
+
presentation?: "tip" | null | undefined;
|
|
926
1010
|
} | {
|
|
927
1011
|
type: "image";
|
|
928
1012
|
id: string;
|