@nikthegeek/dreamsforlittles-shared 0.18.2 → 0.18.3
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/coach-sleep-plan-templates.d.ts +765 -0
- package/dist/coach-sleep-plans.d.ts +292 -0
- package/dist/family-profile-artifacts.d.ts +1060 -0
- package/dist/family-profile-artifacts.js +18 -2
- package/dist/family-profile-artifacts.js.map +1 -1
- package/dist/family-sleep-plan.test.js +7 -0
- package/dist/family-sleep-plan.test.js.map +1 -1
- package/package.json +1 -1
|
@@ -182,17 +182,82 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
182
182
|
id: z.ZodString;
|
|
183
183
|
type: z.ZodEnum<["paragraph", "bullet"]>;
|
|
184
184
|
text: z.ZodString;
|
|
185
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
186
|
+
heading: z.ZodOptional<z.ZodBoolean>;
|
|
187
|
+
ordered: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
+
spans: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
189
|
+
start: z.ZodNumber;
|
|
190
|
+
end: z.ZodNumber;
|
|
191
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
192
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
193
|
+
href: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
194
|
+
}, "strict", z.ZodTypeAny, {
|
|
195
|
+
start: number;
|
|
196
|
+
end: number;
|
|
197
|
+
bold?: boolean | undefined;
|
|
198
|
+
italic?: boolean | undefined;
|
|
199
|
+
href?: string | undefined;
|
|
200
|
+
}, {
|
|
201
|
+
start: number;
|
|
202
|
+
end: number;
|
|
203
|
+
bold?: boolean | undefined;
|
|
204
|
+
italic?: boolean | undefined;
|
|
205
|
+
href?: string | undefined;
|
|
206
|
+
}>, "many">>;
|
|
207
|
+
}, "strict", z.ZodTypeAny, {
|
|
208
|
+
spans: {
|
|
209
|
+
start: number;
|
|
210
|
+
end: number;
|
|
211
|
+
bold?: boolean | undefined;
|
|
212
|
+
italic?: boolean | undefined;
|
|
213
|
+
href?: string | undefined;
|
|
214
|
+
}[];
|
|
215
|
+
ordered?: boolean | undefined;
|
|
216
|
+
heading?: boolean | undefined;
|
|
217
|
+
}, {
|
|
218
|
+
ordered?: boolean | undefined;
|
|
219
|
+
heading?: boolean | undefined;
|
|
220
|
+
spans?: {
|
|
221
|
+
start: number;
|
|
222
|
+
end: number;
|
|
223
|
+
bold?: boolean | undefined;
|
|
224
|
+
italic?: boolean | undefined;
|
|
225
|
+
href?: string | undefined;
|
|
226
|
+
}[] | undefined;
|
|
227
|
+
}>>>;
|
|
185
228
|
presentation: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"tip">>>;
|
|
186
229
|
}, "strip", z.ZodTypeAny, {
|
|
187
230
|
type: "paragraph" | "bullet";
|
|
188
231
|
id: string;
|
|
189
232
|
text: string;
|
|
190
233
|
presentation?: "tip" | null | undefined;
|
|
234
|
+
format?: {
|
|
235
|
+
spans: {
|
|
236
|
+
start: number;
|
|
237
|
+
end: number;
|
|
238
|
+
bold?: boolean | undefined;
|
|
239
|
+
italic?: boolean | undefined;
|
|
240
|
+
href?: string | undefined;
|
|
241
|
+
}[];
|
|
242
|
+
ordered?: boolean | undefined;
|
|
243
|
+
heading?: boolean | undefined;
|
|
244
|
+
} | null | undefined;
|
|
191
245
|
}, {
|
|
192
246
|
type: "paragraph" | "bullet";
|
|
193
247
|
id: string;
|
|
194
248
|
text: string;
|
|
195
249
|
presentation?: "tip" | null | undefined;
|
|
250
|
+
format?: {
|
|
251
|
+
ordered?: boolean | undefined;
|
|
252
|
+
heading?: boolean | undefined;
|
|
253
|
+
spans?: {
|
|
254
|
+
start: number;
|
|
255
|
+
end: number;
|
|
256
|
+
bold?: boolean | undefined;
|
|
257
|
+
italic?: boolean | undefined;
|
|
258
|
+
href?: string | undefined;
|
|
259
|
+
}[] | undefined;
|
|
260
|
+
} | null | undefined;
|
|
196
261
|
}>, z.ZodObject<{
|
|
197
262
|
id: z.ZodString;
|
|
198
263
|
type: z.ZodLiteral<"image">;
|
|
@@ -225,6 +290,17 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
225
290
|
id: string;
|
|
226
291
|
text: string;
|
|
227
292
|
presentation?: "tip" | null | undefined;
|
|
293
|
+
format?: {
|
|
294
|
+
spans: {
|
|
295
|
+
start: number;
|
|
296
|
+
end: number;
|
|
297
|
+
bold?: boolean | undefined;
|
|
298
|
+
italic?: boolean | undefined;
|
|
299
|
+
href?: string | undefined;
|
|
300
|
+
}[];
|
|
301
|
+
ordered?: boolean | undefined;
|
|
302
|
+
heading?: boolean | undefined;
|
|
303
|
+
} | null | undefined;
|
|
228
304
|
} | {
|
|
229
305
|
type: "image";
|
|
230
306
|
id: string;
|
|
@@ -239,6 +315,17 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
239
315
|
id: string;
|
|
240
316
|
text: string;
|
|
241
317
|
presentation?: "tip" | null | undefined;
|
|
318
|
+
format?: {
|
|
319
|
+
ordered?: boolean | undefined;
|
|
320
|
+
heading?: boolean | undefined;
|
|
321
|
+
spans?: {
|
|
322
|
+
start: number;
|
|
323
|
+
end: number;
|
|
324
|
+
bold?: boolean | undefined;
|
|
325
|
+
italic?: boolean | undefined;
|
|
326
|
+
href?: string | undefined;
|
|
327
|
+
}[] | undefined;
|
|
328
|
+
} | null | undefined;
|
|
242
329
|
} | {
|
|
243
330
|
type: "image";
|
|
244
331
|
id: string;
|
|
@@ -257,6 +344,17 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
257
344
|
id: string;
|
|
258
345
|
text: string;
|
|
259
346
|
presentation?: "tip" | null | undefined;
|
|
347
|
+
format?: {
|
|
348
|
+
spans: {
|
|
349
|
+
start: number;
|
|
350
|
+
end: number;
|
|
351
|
+
bold?: boolean | undefined;
|
|
352
|
+
italic?: boolean | undefined;
|
|
353
|
+
href?: string | undefined;
|
|
354
|
+
}[];
|
|
355
|
+
ordered?: boolean | undefined;
|
|
356
|
+
heading?: boolean | undefined;
|
|
357
|
+
} | null | undefined;
|
|
260
358
|
} | {
|
|
261
359
|
type: "image";
|
|
262
360
|
id: string;
|
|
@@ -277,6 +375,17 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
277
375
|
id: string;
|
|
278
376
|
text: string;
|
|
279
377
|
presentation?: "tip" | null | undefined;
|
|
378
|
+
format?: {
|
|
379
|
+
ordered?: boolean | undefined;
|
|
380
|
+
heading?: boolean | undefined;
|
|
381
|
+
spans?: {
|
|
382
|
+
start: number;
|
|
383
|
+
end: number;
|
|
384
|
+
bold?: boolean | undefined;
|
|
385
|
+
italic?: boolean | undefined;
|
|
386
|
+
href?: string | undefined;
|
|
387
|
+
}[] | undefined;
|
|
388
|
+
} | null | undefined;
|
|
280
389
|
} | {
|
|
281
390
|
type: "image";
|
|
282
391
|
id: string;
|
|
@@ -298,6 +407,7 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
298
407
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
299
408
|
createdAt: z.ZodString;
|
|
300
409
|
updatedAt: z.ZodString;
|
|
410
|
+
persisted: z.ZodOptional<z.ZodBoolean>;
|
|
301
411
|
} & {
|
|
302
412
|
familyName: z.ZodString;
|
|
303
413
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -319,6 +429,17 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
319
429
|
id: string;
|
|
320
430
|
text: string;
|
|
321
431
|
presentation?: "tip" | null | undefined;
|
|
432
|
+
format?: {
|
|
433
|
+
spans: {
|
|
434
|
+
start: number;
|
|
435
|
+
end: number;
|
|
436
|
+
bold?: boolean | undefined;
|
|
437
|
+
italic?: boolean | undefined;
|
|
438
|
+
href?: string | undefined;
|
|
439
|
+
}[];
|
|
440
|
+
ordered?: boolean | undefined;
|
|
441
|
+
heading?: boolean | undefined;
|
|
442
|
+
} | null | undefined;
|
|
322
443
|
} | {
|
|
323
444
|
type: "image";
|
|
324
445
|
id: string;
|
|
@@ -376,6 +497,7 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
376
497
|
pdfContentType?: string | null | undefined;
|
|
377
498
|
pdfUploadedAt?: string | null | undefined;
|
|
378
499
|
publishedAt?: string | null | undefined;
|
|
500
|
+
persisted?: boolean | undefined;
|
|
379
501
|
}, {
|
|
380
502
|
status: "archived" | "draft" | "published";
|
|
381
503
|
id: string;
|
|
@@ -395,6 +517,17 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
395
517
|
id: string;
|
|
396
518
|
text: string;
|
|
397
519
|
presentation?: "tip" | null | undefined;
|
|
520
|
+
format?: {
|
|
521
|
+
ordered?: boolean | undefined;
|
|
522
|
+
heading?: boolean | undefined;
|
|
523
|
+
spans?: {
|
|
524
|
+
start: number;
|
|
525
|
+
end: number;
|
|
526
|
+
bold?: boolean | undefined;
|
|
527
|
+
italic?: boolean | undefined;
|
|
528
|
+
href?: string | undefined;
|
|
529
|
+
}[] | undefined;
|
|
530
|
+
} | null | undefined;
|
|
398
531
|
} | {
|
|
399
532
|
type: "image";
|
|
400
533
|
id: string;
|
|
@@ -452,6 +585,7 @@ export declare const coachSleepPlanListItemSchema: z.ZodObject<{
|
|
|
452
585
|
pdfContentType?: string | null | undefined;
|
|
453
586
|
pdfUploadedAt?: string | null | undefined;
|
|
454
587
|
publishedAt?: string | null | undefined;
|
|
588
|
+
persisted?: boolean | undefined;
|
|
455
589
|
}>;
|
|
456
590
|
export type CoachSleepPlanListItem = z.infer<typeof coachSleepPlanListItemSchema>;
|
|
457
591
|
export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
@@ -638,17 +772,82 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
638
772
|
id: z.ZodString;
|
|
639
773
|
type: z.ZodEnum<["paragraph", "bullet"]>;
|
|
640
774
|
text: z.ZodString;
|
|
775
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
776
|
+
heading: z.ZodOptional<z.ZodBoolean>;
|
|
777
|
+
ordered: z.ZodOptional<z.ZodBoolean>;
|
|
778
|
+
spans: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
779
|
+
start: z.ZodNumber;
|
|
780
|
+
end: z.ZodNumber;
|
|
781
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
782
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
783
|
+
href: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
784
|
+
}, "strict", z.ZodTypeAny, {
|
|
785
|
+
start: number;
|
|
786
|
+
end: number;
|
|
787
|
+
bold?: boolean | undefined;
|
|
788
|
+
italic?: boolean | undefined;
|
|
789
|
+
href?: string | undefined;
|
|
790
|
+
}, {
|
|
791
|
+
start: number;
|
|
792
|
+
end: number;
|
|
793
|
+
bold?: boolean | undefined;
|
|
794
|
+
italic?: boolean | undefined;
|
|
795
|
+
href?: string | undefined;
|
|
796
|
+
}>, "many">>;
|
|
797
|
+
}, "strict", z.ZodTypeAny, {
|
|
798
|
+
spans: {
|
|
799
|
+
start: number;
|
|
800
|
+
end: number;
|
|
801
|
+
bold?: boolean | undefined;
|
|
802
|
+
italic?: boolean | undefined;
|
|
803
|
+
href?: string | undefined;
|
|
804
|
+
}[];
|
|
805
|
+
ordered?: boolean | undefined;
|
|
806
|
+
heading?: boolean | undefined;
|
|
807
|
+
}, {
|
|
808
|
+
ordered?: boolean | undefined;
|
|
809
|
+
heading?: boolean | undefined;
|
|
810
|
+
spans?: {
|
|
811
|
+
start: number;
|
|
812
|
+
end: number;
|
|
813
|
+
bold?: boolean | undefined;
|
|
814
|
+
italic?: boolean | undefined;
|
|
815
|
+
href?: string | undefined;
|
|
816
|
+
}[] | undefined;
|
|
817
|
+
}>>>;
|
|
641
818
|
presentation: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"tip">>>;
|
|
642
819
|
}, "strip", z.ZodTypeAny, {
|
|
643
820
|
type: "paragraph" | "bullet";
|
|
644
821
|
id: string;
|
|
645
822
|
text: string;
|
|
646
823
|
presentation?: "tip" | null | undefined;
|
|
824
|
+
format?: {
|
|
825
|
+
spans: {
|
|
826
|
+
start: number;
|
|
827
|
+
end: number;
|
|
828
|
+
bold?: boolean | undefined;
|
|
829
|
+
italic?: boolean | undefined;
|
|
830
|
+
href?: string | undefined;
|
|
831
|
+
}[];
|
|
832
|
+
ordered?: boolean | undefined;
|
|
833
|
+
heading?: boolean | undefined;
|
|
834
|
+
} | null | undefined;
|
|
647
835
|
}, {
|
|
648
836
|
type: "paragraph" | "bullet";
|
|
649
837
|
id: string;
|
|
650
838
|
text: string;
|
|
651
839
|
presentation?: "tip" | null | undefined;
|
|
840
|
+
format?: {
|
|
841
|
+
ordered?: boolean | undefined;
|
|
842
|
+
heading?: boolean | undefined;
|
|
843
|
+
spans?: {
|
|
844
|
+
start: number;
|
|
845
|
+
end: number;
|
|
846
|
+
bold?: boolean | undefined;
|
|
847
|
+
italic?: boolean | undefined;
|
|
848
|
+
href?: string | undefined;
|
|
849
|
+
}[] | undefined;
|
|
850
|
+
} | null | undefined;
|
|
652
851
|
}>, z.ZodObject<{
|
|
653
852
|
id: z.ZodString;
|
|
654
853
|
type: z.ZodLiteral<"image">;
|
|
@@ -681,6 +880,17 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
681
880
|
id: string;
|
|
682
881
|
text: string;
|
|
683
882
|
presentation?: "tip" | null | undefined;
|
|
883
|
+
format?: {
|
|
884
|
+
spans: {
|
|
885
|
+
start: number;
|
|
886
|
+
end: number;
|
|
887
|
+
bold?: boolean | undefined;
|
|
888
|
+
italic?: boolean | undefined;
|
|
889
|
+
href?: string | undefined;
|
|
890
|
+
}[];
|
|
891
|
+
ordered?: boolean | undefined;
|
|
892
|
+
heading?: boolean | undefined;
|
|
893
|
+
} | null | undefined;
|
|
684
894
|
} | {
|
|
685
895
|
type: "image";
|
|
686
896
|
id: string;
|
|
@@ -695,6 +905,17 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
695
905
|
id: string;
|
|
696
906
|
text: string;
|
|
697
907
|
presentation?: "tip" | null | undefined;
|
|
908
|
+
format?: {
|
|
909
|
+
ordered?: boolean | undefined;
|
|
910
|
+
heading?: boolean | undefined;
|
|
911
|
+
spans?: {
|
|
912
|
+
start: number;
|
|
913
|
+
end: number;
|
|
914
|
+
bold?: boolean | undefined;
|
|
915
|
+
italic?: boolean | undefined;
|
|
916
|
+
href?: string | undefined;
|
|
917
|
+
}[] | undefined;
|
|
918
|
+
} | null | undefined;
|
|
698
919
|
} | {
|
|
699
920
|
type: "image";
|
|
700
921
|
id: string;
|
|
@@ -713,6 +934,17 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
713
934
|
id: string;
|
|
714
935
|
text: string;
|
|
715
936
|
presentation?: "tip" | null | undefined;
|
|
937
|
+
format?: {
|
|
938
|
+
spans: {
|
|
939
|
+
start: number;
|
|
940
|
+
end: number;
|
|
941
|
+
bold?: boolean | undefined;
|
|
942
|
+
italic?: boolean | undefined;
|
|
943
|
+
href?: string | undefined;
|
|
944
|
+
}[];
|
|
945
|
+
ordered?: boolean | undefined;
|
|
946
|
+
heading?: boolean | undefined;
|
|
947
|
+
} | null | undefined;
|
|
716
948
|
} | {
|
|
717
949
|
type: "image";
|
|
718
950
|
id: string;
|
|
@@ -733,6 +965,17 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
733
965
|
id: string;
|
|
734
966
|
text: string;
|
|
735
967
|
presentation?: "tip" | null | undefined;
|
|
968
|
+
format?: {
|
|
969
|
+
ordered?: boolean | undefined;
|
|
970
|
+
heading?: boolean | undefined;
|
|
971
|
+
spans?: {
|
|
972
|
+
start: number;
|
|
973
|
+
end: number;
|
|
974
|
+
bold?: boolean | undefined;
|
|
975
|
+
italic?: boolean | undefined;
|
|
976
|
+
href?: string | undefined;
|
|
977
|
+
}[] | undefined;
|
|
978
|
+
} | null | undefined;
|
|
736
979
|
} | {
|
|
737
980
|
type: "image";
|
|
738
981
|
id: string;
|
|
@@ -754,6 +997,7 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
754
997
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
755
998
|
createdAt: z.ZodString;
|
|
756
999
|
updatedAt: z.ZodString;
|
|
1000
|
+
persisted: z.ZodOptional<z.ZodBoolean>;
|
|
757
1001
|
} & {
|
|
758
1002
|
familyName: z.ZodString;
|
|
759
1003
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -775,6 +1019,17 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
775
1019
|
id: string;
|
|
776
1020
|
text: string;
|
|
777
1021
|
presentation?: "tip" | null | undefined;
|
|
1022
|
+
format?: {
|
|
1023
|
+
spans: {
|
|
1024
|
+
start: number;
|
|
1025
|
+
end: number;
|
|
1026
|
+
bold?: boolean | undefined;
|
|
1027
|
+
italic?: boolean | undefined;
|
|
1028
|
+
href?: string | undefined;
|
|
1029
|
+
}[];
|
|
1030
|
+
ordered?: boolean | undefined;
|
|
1031
|
+
heading?: boolean | undefined;
|
|
1032
|
+
} | null | undefined;
|
|
778
1033
|
} | {
|
|
779
1034
|
type: "image";
|
|
780
1035
|
id: string;
|
|
@@ -832,6 +1087,7 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
832
1087
|
pdfContentType?: string | null | undefined;
|
|
833
1088
|
pdfUploadedAt?: string | null | undefined;
|
|
834
1089
|
publishedAt?: string | null | undefined;
|
|
1090
|
+
persisted?: boolean | undefined;
|
|
835
1091
|
}, {
|
|
836
1092
|
status: "archived" | "draft" | "published";
|
|
837
1093
|
id: string;
|
|
@@ -851,6 +1107,17 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
851
1107
|
id: string;
|
|
852
1108
|
text: string;
|
|
853
1109
|
presentation?: "tip" | null | undefined;
|
|
1110
|
+
format?: {
|
|
1111
|
+
ordered?: boolean | undefined;
|
|
1112
|
+
heading?: boolean | undefined;
|
|
1113
|
+
spans?: {
|
|
1114
|
+
start: number;
|
|
1115
|
+
end: number;
|
|
1116
|
+
bold?: boolean | undefined;
|
|
1117
|
+
italic?: boolean | undefined;
|
|
1118
|
+
href?: string | undefined;
|
|
1119
|
+
}[] | undefined;
|
|
1120
|
+
} | null | undefined;
|
|
854
1121
|
} | {
|
|
855
1122
|
type: "image";
|
|
856
1123
|
id: string;
|
|
@@ -908,6 +1175,7 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
908
1175
|
pdfContentType?: string | null | undefined;
|
|
909
1176
|
pdfUploadedAt?: string | null | undefined;
|
|
910
1177
|
publishedAt?: string | null | undefined;
|
|
1178
|
+
persisted?: boolean | undefined;
|
|
911
1179
|
}>, "many">;
|
|
912
1180
|
}, "strip", z.ZodTypeAny, {
|
|
913
1181
|
sleepPlans: {
|
|
@@ -929,6 +1197,17 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
929
1197
|
id: string;
|
|
930
1198
|
text: string;
|
|
931
1199
|
presentation?: "tip" | null | undefined;
|
|
1200
|
+
format?: {
|
|
1201
|
+
spans: {
|
|
1202
|
+
start: number;
|
|
1203
|
+
end: number;
|
|
1204
|
+
bold?: boolean | undefined;
|
|
1205
|
+
italic?: boolean | undefined;
|
|
1206
|
+
href?: string | undefined;
|
|
1207
|
+
}[];
|
|
1208
|
+
ordered?: boolean | undefined;
|
|
1209
|
+
heading?: boolean | undefined;
|
|
1210
|
+
} | null | undefined;
|
|
932
1211
|
} | {
|
|
933
1212
|
type: "image";
|
|
934
1213
|
id: string;
|
|
@@ -986,6 +1265,7 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
986
1265
|
pdfContentType?: string | null | undefined;
|
|
987
1266
|
pdfUploadedAt?: string | null | undefined;
|
|
988
1267
|
publishedAt?: string | null | undefined;
|
|
1268
|
+
persisted?: boolean | undefined;
|
|
989
1269
|
}[];
|
|
990
1270
|
}, {
|
|
991
1271
|
sleepPlans: {
|
|
@@ -1007,6 +1287,17 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
1007
1287
|
id: string;
|
|
1008
1288
|
text: string;
|
|
1009
1289
|
presentation?: "tip" | null | undefined;
|
|
1290
|
+
format?: {
|
|
1291
|
+
ordered?: boolean | undefined;
|
|
1292
|
+
heading?: boolean | undefined;
|
|
1293
|
+
spans?: {
|
|
1294
|
+
start: number;
|
|
1295
|
+
end: number;
|
|
1296
|
+
bold?: boolean | undefined;
|
|
1297
|
+
italic?: boolean | undefined;
|
|
1298
|
+
href?: string | undefined;
|
|
1299
|
+
}[] | undefined;
|
|
1300
|
+
} | null | undefined;
|
|
1010
1301
|
} | {
|
|
1011
1302
|
type: "image";
|
|
1012
1303
|
id: string;
|
|
@@ -1064,6 +1355,7 @@ export declare const coachSleepPlansResponseSchema: z.ZodObject<{
|
|
|
1064
1355
|
pdfContentType?: string | null | undefined;
|
|
1065
1356
|
pdfUploadedAt?: string | null | undefined;
|
|
1066
1357
|
publishedAt?: string | null | undefined;
|
|
1358
|
+
persisted?: boolean | undefined;
|
|
1067
1359
|
}[];
|
|
1068
1360
|
}>;
|
|
1069
1361
|
export type CoachSleepPlansResponse = z.infer<typeof coachSleepPlansResponseSchema>;
|