@nikthegeek/dreamsforlittles-shared 0.15.1 → 0.15.2
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/admin.d.ts +5 -5
- package/dist/allergy-ladders.d.ts +57 -38
- package/dist/allergy-ladders.js +9 -1
- package/dist/allergy-ladders.js.map +1 -1
- package/dist/allergy-ladders.test.d.ts +1 -0
- package/dist/allergy-ladders.test.js +36 -0
- package/dist/allergy-ladders.test.js.map +1 -0
- package/dist/analysis.d.ts +472 -1
- package/dist/api.d.ts +5 -5
- package/dist/auth.d.ts +5 -5
- package/dist/booking-system.d.ts +111 -56
- package/dist/booking-system.js +25 -1
- package/dist/booking-system.js.map +1 -1
- package/dist/branding-roles.d.ts +65 -0
- package/dist/branding-roles.js +62 -0
- package/dist/branding-roles.js.map +1 -0
- package/dist/branding.d.ts +33 -1
- package/dist/branding.js +41 -38
- package/dist/branding.js.map +1 -1
- package/dist/branding.test.js +47 -0
- package/dist/branding.test.js.map +1 -1
- package/dist/client-notices.d.ts +101 -101
- package/dist/coach-activity-notifications.d.ts +2 -2
- package/dist/coach-activity-notifications.js +7 -12
- package/dist/coach-activity-notifications.js.map +1 -1
- package/dist/coach-activity-notifications.test.js +12 -0
- package/dist/coach-activity-notifications.test.js.map +1 -1
- package/dist/coach-family-chat-photos.d.ts +306 -0
- package/dist/coach-family-chat-photos.js +98 -0
- package/dist/coach-family-chat-photos.js.map +1 -0
- package/dist/coach-family-chat-voice-notes.d.ts +285 -0
- package/dist/coach-family-chat-voice-notes.js +106 -0
- package/dist/coach-family-chat-voice-notes.js.map +1 -0
- package/dist/coach-family-chat.d.ts +1409 -33
- package/dist/coach-family-chat.js +192 -6
- package/dist/coach-family-chat.js.map +1 -1
- package/dist/coach-family-chat.test.js +331 -2
- package/dist/coach-family-chat.test.js.map +1 -1
- package/dist/coach.d.ts +12347 -6932
- package/dist/coach.js +4 -1
- package/dist/coach.js.map +1 -1
- package/dist/enums.d.ts +1 -1
- package/dist/enums.js +11 -0
- package/dist/enums.js.map +1 -1
- package/dist/errors.d.ts +18 -4
- package/dist/errors.js +42 -0
- package/dist/errors.js.map +1 -1
- package/dist/family-acquisition.d.ts +85 -14
- package/dist/family-acquisition.js +40 -5
- package/dist/family-acquisition.js.map +1 -1
- package/dist/family-acquisition.test.js +39 -9
- package/dist/family-acquisition.test.js.map +1 -1
- package/dist/family-profile-artifacts.d.ts +49 -0
- package/dist/family-profile-artifacts.js +8 -0
- package/dist/family-profile-artifacts.js.map +1 -1
- package/dist/family-sleep-plan.test.d.ts +1 -0
- package/dist/family-sleep-plan.test.js +21 -0
- package/dist/family-sleep-plan.test.js.map +1 -0
- package/dist/family.d.ts +21616 -11746
- package/dist/family.js +105 -8
- package/dist/family.js.map +1 -1
- package/dist/family.test.js +66 -1
- package/dist/family.test.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/lead-insights.d.ts +8 -8
- package/dist/lead-management.d.ts +16 -16
- package/dist/life-tags.d.ts +427 -0
- package/dist/life-tags.js +58 -0
- package/dist/life-tags.js.map +1 -0
- package/dist/life-tags.test.d.ts +1 -0
- package/dist/life-tags.test.js +38 -0
- package/dist/life-tags.test.js.map +1 -0
- package/dist/milestones.d.ts +348 -0
- package/dist/milestones.js +48 -0
- package/dist/milestones.js.map +1 -0
- package/dist/milestones.test.d.ts +1 -0
- package/dist/milestones.test.js +29 -0
- package/dist/milestones.test.js.map +1 -0
- package/dist/product-analytics.d.ts +43 -43
- package/dist/product-analytics.js +1 -0
- package/dist/product-analytics.js.map +1 -1
- package/dist/questionnaire-photos.d.ts +14 -14
- package/dist/sleep-context.test.d.ts +1 -0
- package/dist/sleep-context.test.js +33 -0
- package/dist/sleep-context.test.js.map +1 -0
- package/dist/support-faqs.d.ts +6 -6
- package/dist/website-feedback.d.ts +595 -0
- package/dist/website-feedback.js +142 -0
- package/dist/website-feedback.js.map +1 -0
- package/dist/website-feedback.test.d.ts +1 -0
- package/dist/website-feedback.test.js +58 -0
- package/dist/website-feedback.test.js.map +1 -0
- package/package.json +1 -1
package/dist/admin.d.ts
CHANGED
|
@@ -12172,19 +12172,19 @@ export declare const adminBillingAcquisitionResponseSchema: z.ZodObject<{
|
|
|
12172
12172
|
periodStart: string;
|
|
12173
12173
|
}>, "many">;
|
|
12174
12174
|
familyAcquisitionSources: z.ZodArray<z.ZodDiscriminatedUnion<"suppressed", [z.ZodObject<{
|
|
12175
|
-
source: z.ZodUnion<[z.ZodEnum<["searchEngine", "socialMedia", "referral", "sleepCoach", "healthcareProfessional", "advertisement", "other", "preferNotToSay"]>, z.ZodLiteral<"unknown">]>;
|
|
12175
|
+
source: z.ZodUnion<[z.ZodEnum<["searchEngine", "socialMedia", "referral", "sleepCoach", "healthcareProfessional", "advertisement", "instagram", "facebook", "tikTok", "appStoreOrGooglePlay", "podcastOrBlog", "other", "preferNotToSay"]>, z.ZodLiteral<"unknown">]>;
|
|
12176
12176
|
label: z.ZodString;
|
|
12177
12177
|
families: z.ZodNumber;
|
|
12178
12178
|
shareOfRegistrations: z.ZodNumber;
|
|
12179
12179
|
suppressed: z.ZodLiteral<false>;
|
|
12180
12180
|
}, "strict", z.ZodTypeAny, {
|
|
12181
|
-
source: "other" | "unknown" | "searchEngine" | "socialMedia" | "referral" | "sleepCoach" | "healthcareProfessional" | "advertisement" | "preferNotToSay";
|
|
12181
|
+
source: "other" | "unknown" | "searchEngine" | "socialMedia" | "referral" | "sleepCoach" | "healthcareProfessional" | "advertisement" | "instagram" | "facebook" | "tikTok" | "appStoreOrGooglePlay" | "podcastOrBlog" | "preferNotToSay";
|
|
12182
12182
|
families: number;
|
|
12183
12183
|
suppressed: false;
|
|
12184
12184
|
label: string;
|
|
12185
12185
|
shareOfRegistrations: number;
|
|
12186
12186
|
}, {
|
|
12187
|
-
source: "other" | "unknown" | "searchEngine" | "socialMedia" | "referral" | "sleepCoach" | "healthcareProfessional" | "advertisement" | "preferNotToSay";
|
|
12187
|
+
source: "other" | "unknown" | "searchEngine" | "socialMedia" | "referral" | "sleepCoach" | "healthcareProfessional" | "advertisement" | "instagram" | "facebook" | "tikTok" | "appStoreOrGooglePlay" | "podcastOrBlog" | "preferNotToSay";
|
|
12188
12188
|
families: number;
|
|
12189
12189
|
suppressed: false;
|
|
12190
12190
|
label: string;
|
|
@@ -12246,7 +12246,7 @@ export declare const adminBillingAcquisitionResponseSchema: z.ZodObject<{
|
|
|
12246
12246
|
periodStart: string;
|
|
12247
12247
|
}[];
|
|
12248
12248
|
familyAcquisitionSources: ({
|
|
12249
|
-
source: "other" | "unknown" | "searchEngine" | "socialMedia" | "referral" | "sleepCoach" | "healthcareProfessional" | "advertisement" | "preferNotToSay";
|
|
12249
|
+
source: "other" | "unknown" | "searchEngine" | "socialMedia" | "referral" | "sleepCoach" | "healthcareProfessional" | "advertisement" | "instagram" | "facebook" | "tikTok" | "appStoreOrGooglePlay" | "podcastOrBlog" | "preferNotToSay";
|
|
12250
12250
|
families: number;
|
|
12251
12251
|
suppressed: false;
|
|
12252
12252
|
label: string;
|
|
@@ -12300,7 +12300,7 @@ export declare const adminBillingAcquisitionResponseSchema: z.ZodObject<{
|
|
|
12300
12300
|
periodStart: string;
|
|
12301
12301
|
}[];
|
|
12302
12302
|
familyAcquisitionSources: ({
|
|
12303
|
-
source: "other" | "unknown" | "searchEngine" | "socialMedia" | "referral" | "sleepCoach" | "healthcareProfessional" | "advertisement" | "preferNotToSay";
|
|
12303
|
+
source: "other" | "unknown" | "searchEngine" | "socialMedia" | "referral" | "sleepCoach" | "healthcareProfessional" | "advertisement" | "instagram" | "facebook" | "tikTok" | "appStoreOrGooglePlay" | "podcastOrBlog" | "preferNotToSay";
|
|
12304
12304
|
families: number;
|
|
12305
12305
|
suppressed: false;
|
|
12306
12306
|
label: string;
|
|
@@ -103,9 +103,9 @@ export declare const allergyLadderStageSchema: z.ZodObject<{
|
|
|
103
103
|
activeReminderCount: z.ZodOptional<z.ZodNumber>;
|
|
104
104
|
}, "strict", z.ZodTypeAny, {
|
|
105
105
|
status: "completed" | "upNext" | "inProgress";
|
|
106
|
+
title: string;
|
|
106
107
|
stageId: string;
|
|
107
108
|
order: number;
|
|
108
|
-
title: string;
|
|
109
109
|
linkedSolidsEntryIds: string[];
|
|
110
110
|
startedAt?: string | null | undefined;
|
|
111
111
|
completedAt?: string | null | undefined;
|
|
@@ -131,9 +131,9 @@ export declare const allergyLadderStageSchema: z.ZodObject<{
|
|
|
131
131
|
activeReminderCount?: number | undefined;
|
|
132
132
|
}, {
|
|
133
133
|
status: "completed" | "upNext" | "inProgress";
|
|
134
|
+
title: string;
|
|
134
135
|
stageId: string;
|
|
135
136
|
order: number;
|
|
136
|
-
title: string;
|
|
137
137
|
linkedSolidsEntryIds: string[];
|
|
138
138
|
startedAt?: string | null | undefined;
|
|
139
139
|
completedAt?: string | null | undefined;
|
|
@@ -229,9 +229,9 @@ export declare const allergyLadderSchema: z.ZodObject<{
|
|
|
229
229
|
activeReminderCount: z.ZodOptional<z.ZodNumber>;
|
|
230
230
|
}, "strict", z.ZodTypeAny, {
|
|
231
231
|
status: "completed" | "upNext" | "inProgress";
|
|
232
|
+
title: string;
|
|
232
233
|
stageId: string;
|
|
233
234
|
order: number;
|
|
234
|
-
title: string;
|
|
235
235
|
linkedSolidsEntryIds: string[];
|
|
236
236
|
startedAt?: string | null | undefined;
|
|
237
237
|
completedAt?: string | null | undefined;
|
|
@@ -257,9 +257,9 @@ export declare const allergyLadderSchema: z.ZodObject<{
|
|
|
257
257
|
activeReminderCount?: number | undefined;
|
|
258
258
|
}, {
|
|
259
259
|
status: "completed" | "upNext" | "inProgress";
|
|
260
|
+
title: string;
|
|
260
261
|
stageId: string;
|
|
261
262
|
order: number;
|
|
262
|
-
title: string;
|
|
263
263
|
linkedSolidsEntryIds: string[];
|
|
264
264
|
startedAt?: string | null | undefined;
|
|
265
265
|
completedAt?: string | null | undefined;
|
|
@@ -298,9 +298,9 @@ export declare const allergyLadderSchema: z.ZodObject<{
|
|
|
298
298
|
isArchived: boolean;
|
|
299
299
|
stages: {
|
|
300
300
|
status: "completed" | "upNext" | "inProgress";
|
|
301
|
+
title: string;
|
|
301
302
|
stageId: string;
|
|
302
303
|
order: number;
|
|
303
|
-
title: string;
|
|
304
304
|
linkedSolidsEntryIds: string[];
|
|
305
305
|
startedAt?: string | null | undefined;
|
|
306
306
|
completedAt?: string | null | undefined;
|
|
@@ -329,11 +329,11 @@ export declare const allergyLadderSchema: z.ZodObject<{
|
|
|
329
329
|
allergenId?: "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" | null | undefined;
|
|
330
330
|
description?: string | null | undefined;
|
|
331
331
|
icon?: string | null | undefined;
|
|
332
|
-
activeReminderCount?: number | undefined;
|
|
333
332
|
activeStageId?: string | null | undefined;
|
|
334
333
|
templateKey?: string | null | undefined;
|
|
335
334
|
templateVersion?: string | null | undefined;
|
|
336
335
|
clinicalContentVersion?: string | null | undefined;
|
|
336
|
+
activeReminderCount?: number | undefined;
|
|
337
337
|
}, {
|
|
338
338
|
id: string;
|
|
339
339
|
createdAt: string;
|
|
@@ -344,9 +344,9 @@ export declare const allergyLadderSchema: z.ZodObject<{
|
|
|
344
344
|
isArchived: boolean;
|
|
345
345
|
stages: {
|
|
346
346
|
status: "completed" | "upNext" | "inProgress";
|
|
347
|
+
title: string;
|
|
347
348
|
stageId: string;
|
|
348
349
|
order: number;
|
|
349
|
-
title: string;
|
|
350
350
|
linkedSolidsEntryIds: string[];
|
|
351
351
|
startedAt?: string | null | undefined;
|
|
352
352
|
completedAt?: string | null | undefined;
|
|
@@ -375,11 +375,11 @@ export declare const allergyLadderSchema: z.ZodObject<{
|
|
|
375
375
|
allergenId?: "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" | null | undefined;
|
|
376
376
|
description?: string | null | undefined;
|
|
377
377
|
icon?: string | null | undefined;
|
|
378
|
-
activeReminderCount?: number | undefined;
|
|
379
378
|
activeStageId?: string | null | undefined;
|
|
380
379
|
templateKey?: string | null | undefined;
|
|
381
380
|
templateVersion?: string | null | undefined;
|
|
382
381
|
clinicalContentVersion?: string | null | undefined;
|
|
382
|
+
activeReminderCount?: number | undefined;
|
|
383
383
|
}>;
|
|
384
384
|
export declare const allergyLadderStageWriteSchema: z.ZodObject<{
|
|
385
385
|
stageId: z.ZodOptional<z.ZodString>;
|
|
@@ -397,20 +397,20 @@ export declare const allergyLadderStageWriteSchema: z.ZodObject<{
|
|
|
397
397
|
}>>>;
|
|
398
398
|
}, "strict", z.ZodTypeAny, {
|
|
399
399
|
title: string;
|
|
400
|
-
stageId?: string | undefined;
|
|
401
400
|
description?: string | null | undefined;
|
|
402
401
|
icon?: {
|
|
403
402
|
value: string;
|
|
404
403
|
type: "preset" | "emoji" | "uri";
|
|
405
404
|
} | null | undefined;
|
|
405
|
+
stageId?: string | undefined;
|
|
406
406
|
}, {
|
|
407
407
|
title: string;
|
|
408
|
-
stageId?: string | undefined;
|
|
409
408
|
description?: string | null | undefined;
|
|
410
409
|
icon?: {
|
|
411
410
|
value: string;
|
|
412
411
|
type: "preset" | "emoji" | "uri";
|
|
413
412
|
} | null | undefined;
|
|
413
|
+
stageId?: string | undefined;
|
|
414
414
|
}>;
|
|
415
415
|
export declare const allergyLadderWriteRequestSchema: z.ZodObject<{
|
|
416
416
|
babyId: z.ZodOptional<z.ZodString>;
|
|
@@ -437,20 +437,20 @@ export declare const allergyLadderWriteRequestSchema: z.ZodObject<{
|
|
|
437
437
|
}>>>;
|
|
438
438
|
}, "strict", z.ZodTypeAny, {
|
|
439
439
|
title: string;
|
|
440
|
-
stageId?: string | undefined;
|
|
441
440
|
description?: string | null | undefined;
|
|
442
441
|
icon?: {
|
|
443
442
|
value: string;
|
|
444
443
|
type: "preset" | "emoji" | "uri";
|
|
445
444
|
} | null | undefined;
|
|
445
|
+
stageId?: string | undefined;
|
|
446
446
|
}, {
|
|
447
447
|
title: string;
|
|
448
|
-
stageId?: string | undefined;
|
|
449
448
|
description?: string | null | undefined;
|
|
450
449
|
icon?: {
|
|
451
450
|
value: string;
|
|
452
451
|
type: "preset" | "emoji" | "uri";
|
|
453
452
|
} | null | undefined;
|
|
453
|
+
stageId?: string | undefined;
|
|
454
454
|
}>, "many">>;
|
|
455
455
|
}, "strict", z.ZodTypeAny, {
|
|
456
456
|
familyUserId?: string | undefined;
|
|
@@ -463,12 +463,12 @@ export declare const allergyLadderWriteRequestSchema: z.ZodObject<{
|
|
|
463
463
|
isArchived?: boolean | undefined;
|
|
464
464
|
stages?: {
|
|
465
465
|
title: string;
|
|
466
|
-
stageId?: string | undefined;
|
|
467
466
|
description?: string | null | undefined;
|
|
468
467
|
icon?: {
|
|
469
468
|
value: string;
|
|
470
469
|
type: "preset" | "emoji" | "uri";
|
|
471
470
|
} | null | undefined;
|
|
471
|
+
stageId?: string | undefined;
|
|
472
472
|
}[] | undefined;
|
|
473
473
|
}, {
|
|
474
474
|
familyUserId?: string | undefined;
|
|
@@ -481,12 +481,12 @@ export declare const allergyLadderWriteRequestSchema: z.ZodObject<{
|
|
|
481
481
|
isArchived?: boolean | undefined;
|
|
482
482
|
stages?: {
|
|
483
483
|
title: string;
|
|
484
|
-
stageId?: string | undefined;
|
|
485
484
|
description?: string | null | undefined;
|
|
486
485
|
icon?: {
|
|
487
486
|
value: string;
|
|
488
487
|
type: "preset" | "emoji" | "uri";
|
|
489
488
|
} | null | undefined;
|
|
489
|
+
stageId?: string | undefined;
|
|
490
490
|
}[] | undefined;
|
|
491
491
|
}>;
|
|
492
492
|
export declare const allergyLadderCreateRequestSchema: z.ZodObject<{
|
|
@@ -515,32 +515,32 @@ export declare const allergyLadderCreateRequestSchema: z.ZodObject<{
|
|
|
515
515
|
}>>>;
|
|
516
516
|
}, "strict", z.ZodTypeAny, {
|
|
517
517
|
title: string;
|
|
518
|
-
stageId?: string | undefined;
|
|
519
518
|
description?: string | null | undefined;
|
|
520
519
|
icon?: {
|
|
521
520
|
value: string;
|
|
522
521
|
type: "preset" | "emoji" | "uri";
|
|
523
522
|
} | null | undefined;
|
|
523
|
+
stageId?: string | undefined;
|
|
524
524
|
}, {
|
|
525
525
|
title: string;
|
|
526
|
-
stageId?: string | undefined;
|
|
527
526
|
description?: string | null | undefined;
|
|
528
527
|
icon?: {
|
|
529
528
|
value: string;
|
|
530
529
|
type: "preset" | "emoji" | "uri";
|
|
531
530
|
} | null | undefined;
|
|
531
|
+
stageId?: string | undefined;
|
|
532
532
|
}>, "many">;
|
|
533
533
|
}, "strict", z.ZodTypeAny, {
|
|
534
534
|
babyId: string;
|
|
535
535
|
title: string;
|
|
536
536
|
stages: {
|
|
537
537
|
title: string;
|
|
538
|
-
stageId?: string | undefined;
|
|
539
538
|
description?: string | null | undefined;
|
|
540
539
|
icon?: {
|
|
541
540
|
value: string;
|
|
542
541
|
type: "preset" | "emoji" | "uri";
|
|
543
542
|
} | null | undefined;
|
|
543
|
+
stageId?: string | undefined;
|
|
544
544
|
}[];
|
|
545
545
|
familyUserId?: string | undefined;
|
|
546
546
|
notes?: string | null | undefined;
|
|
@@ -553,12 +553,12 @@ export declare const allergyLadderCreateRequestSchema: z.ZodObject<{
|
|
|
553
553
|
title: string;
|
|
554
554
|
stages: {
|
|
555
555
|
title: string;
|
|
556
|
-
stageId?: string | undefined;
|
|
557
556
|
description?: string | null | undefined;
|
|
558
557
|
icon?: {
|
|
559
558
|
value: string;
|
|
560
559
|
type: "preset" | "emoji" | "uri";
|
|
561
560
|
} | null | undefined;
|
|
561
|
+
stageId?: string | undefined;
|
|
562
562
|
}[];
|
|
563
563
|
familyUserId?: string | undefined;
|
|
564
564
|
notes?: string | null | undefined;
|
|
@@ -588,6 +588,23 @@ export declare const allergyLadderStageUpdateRequestSchema: z.ZodEffects<z.ZodOb
|
|
|
588
588
|
startedAt?: string | undefined;
|
|
589
589
|
completedAt?: string | undefined;
|
|
590
590
|
}>;
|
|
591
|
+
export declare const allergyLadderMoveUpRequestSchema: z.ZodObject<{
|
|
592
|
+
expectedStageId: z.ZodString;
|
|
593
|
+
occurredAt: z.ZodOptional<z.ZodString>;
|
|
594
|
+
}, "strict", z.ZodTypeAny, {
|
|
595
|
+
expectedStageId: string;
|
|
596
|
+
occurredAt?: string | undefined;
|
|
597
|
+
}, {
|
|
598
|
+
expectedStageId: string;
|
|
599
|
+
occurredAt?: string | undefined;
|
|
600
|
+
}>;
|
|
601
|
+
export declare const allergyLadderGoBackRequestSchema: z.ZodObject<{
|
|
602
|
+
expectedStageId: z.ZodString;
|
|
603
|
+
}, "strict", z.ZodTypeAny, {
|
|
604
|
+
expectedStageId: string;
|
|
605
|
+
}, {
|
|
606
|
+
expectedStageId: string;
|
|
607
|
+
}>;
|
|
591
608
|
export declare const allergyLadderStageStatusRequestSchema: z.ZodObject<{
|
|
592
609
|
status: z.ZodEnum<["upNext", "inProgress", "completed"]>;
|
|
593
610
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -737,9 +754,9 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
|
|
|
737
754
|
activeReminderCount: z.ZodOptional<z.ZodNumber>;
|
|
738
755
|
}, "strict", z.ZodTypeAny, {
|
|
739
756
|
status: "completed" | "upNext" | "inProgress";
|
|
757
|
+
title: string;
|
|
740
758
|
stageId: string;
|
|
741
759
|
order: number;
|
|
742
|
-
title: string;
|
|
743
760
|
linkedSolidsEntryIds: string[];
|
|
744
761
|
startedAt?: string | null | undefined;
|
|
745
762
|
completedAt?: string | null | undefined;
|
|
@@ -765,9 +782,9 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
|
|
|
765
782
|
activeReminderCount?: number | undefined;
|
|
766
783
|
}, {
|
|
767
784
|
status: "completed" | "upNext" | "inProgress";
|
|
785
|
+
title: string;
|
|
768
786
|
stageId: string;
|
|
769
787
|
order: number;
|
|
770
|
-
title: string;
|
|
771
788
|
linkedSolidsEntryIds: string[];
|
|
772
789
|
startedAt?: string | null | undefined;
|
|
773
790
|
completedAt?: string | null | undefined;
|
|
@@ -806,9 +823,9 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
|
|
|
806
823
|
isArchived: boolean;
|
|
807
824
|
stages: {
|
|
808
825
|
status: "completed" | "upNext" | "inProgress";
|
|
826
|
+
title: string;
|
|
809
827
|
stageId: string;
|
|
810
828
|
order: number;
|
|
811
|
-
title: string;
|
|
812
829
|
linkedSolidsEntryIds: string[];
|
|
813
830
|
startedAt?: string | null | undefined;
|
|
814
831
|
completedAt?: string | null | undefined;
|
|
@@ -837,11 +854,11 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
|
|
|
837
854
|
allergenId?: "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" | null | undefined;
|
|
838
855
|
description?: string | null | undefined;
|
|
839
856
|
icon?: string | null | undefined;
|
|
840
|
-
activeReminderCount?: number | undefined;
|
|
841
857
|
activeStageId?: string | null | undefined;
|
|
842
858
|
templateKey?: string | null | undefined;
|
|
843
859
|
templateVersion?: string | null | undefined;
|
|
844
860
|
clinicalContentVersion?: string | null | undefined;
|
|
861
|
+
activeReminderCount?: number | undefined;
|
|
845
862
|
}, {
|
|
846
863
|
id: string;
|
|
847
864
|
createdAt: string;
|
|
@@ -852,9 +869,9 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
|
|
|
852
869
|
isArchived: boolean;
|
|
853
870
|
stages: {
|
|
854
871
|
status: "completed" | "upNext" | "inProgress";
|
|
872
|
+
title: string;
|
|
855
873
|
stageId: string;
|
|
856
874
|
order: number;
|
|
857
|
-
title: string;
|
|
858
875
|
linkedSolidsEntryIds: string[];
|
|
859
876
|
startedAt?: string | null | undefined;
|
|
860
877
|
completedAt?: string | null | undefined;
|
|
@@ -883,11 +900,11 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
|
|
|
883
900
|
allergenId?: "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" | null | undefined;
|
|
884
901
|
description?: string | null | undefined;
|
|
885
902
|
icon?: string | null | undefined;
|
|
886
|
-
activeReminderCount?: number | undefined;
|
|
887
903
|
activeStageId?: string | null | undefined;
|
|
888
904
|
templateKey?: string | null | undefined;
|
|
889
905
|
templateVersion?: string | null | undefined;
|
|
890
906
|
clinicalContentVersion?: string | null | undefined;
|
|
907
|
+
activeReminderCount?: number | undefined;
|
|
891
908
|
}>, "many">;
|
|
892
909
|
}, "strip", z.ZodTypeAny, {
|
|
893
910
|
ladders: {
|
|
@@ -900,9 +917,9 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
|
|
|
900
917
|
isArchived: boolean;
|
|
901
918
|
stages: {
|
|
902
919
|
status: "completed" | "upNext" | "inProgress";
|
|
920
|
+
title: string;
|
|
903
921
|
stageId: string;
|
|
904
922
|
order: number;
|
|
905
|
-
title: string;
|
|
906
923
|
linkedSolidsEntryIds: string[];
|
|
907
924
|
startedAt?: string | null | undefined;
|
|
908
925
|
completedAt?: string | null | undefined;
|
|
@@ -931,11 +948,11 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
|
|
|
931
948
|
allergenId?: "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" | null | undefined;
|
|
932
949
|
description?: string | null | undefined;
|
|
933
950
|
icon?: string | null | undefined;
|
|
934
|
-
activeReminderCount?: number | undefined;
|
|
935
951
|
activeStageId?: string | null | undefined;
|
|
936
952
|
templateKey?: string | null | undefined;
|
|
937
953
|
templateVersion?: string | null | undefined;
|
|
938
954
|
clinicalContentVersion?: string | null | undefined;
|
|
955
|
+
activeReminderCount?: number | undefined;
|
|
939
956
|
}[];
|
|
940
957
|
}, {
|
|
941
958
|
ladders: {
|
|
@@ -948,9 +965,9 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
|
|
|
948
965
|
isArchived: boolean;
|
|
949
966
|
stages: {
|
|
950
967
|
status: "completed" | "upNext" | "inProgress";
|
|
968
|
+
title: string;
|
|
951
969
|
stageId: string;
|
|
952
970
|
order: number;
|
|
953
|
-
title: string;
|
|
954
971
|
linkedSolidsEntryIds: string[];
|
|
955
972
|
startedAt?: string | null | undefined;
|
|
956
973
|
completedAt?: string | null | undefined;
|
|
@@ -979,11 +996,11 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
|
|
|
979
996
|
allergenId?: "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" | null | undefined;
|
|
980
997
|
description?: string | null | undefined;
|
|
981
998
|
icon?: string | null | undefined;
|
|
982
|
-
activeReminderCount?: number | undefined;
|
|
983
999
|
activeStageId?: string | null | undefined;
|
|
984
1000
|
templateKey?: string | null | undefined;
|
|
985
1001
|
templateVersion?: string | null | undefined;
|
|
986
1002
|
clinicalContentVersion?: string | null | undefined;
|
|
1003
|
+
activeReminderCount?: number | undefined;
|
|
987
1004
|
}[];
|
|
988
1005
|
}>;
|
|
989
1006
|
export declare const allergyLadderResponseSchema: z.ZodObject<{
|
|
@@ -1058,9 +1075,9 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
|
|
|
1058
1075
|
activeReminderCount: z.ZodOptional<z.ZodNumber>;
|
|
1059
1076
|
}, "strict", z.ZodTypeAny, {
|
|
1060
1077
|
status: "completed" | "upNext" | "inProgress";
|
|
1078
|
+
title: string;
|
|
1061
1079
|
stageId: string;
|
|
1062
1080
|
order: number;
|
|
1063
|
-
title: string;
|
|
1064
1081
|
linkedSolidsEntryIds: string[];
|
|
1065
1082
|
startedAt?: string | null | undefined;
|
|
1066
1083
|
completedAt?: string | null | undefined;
|
|
@@ -1086,9 +1103,9 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
|
|
|
1086
1103
|
activeReminderCount?: number | undefined;
|
|
1087
1104
|
}, {
|
|
1088
1105
|
status: "completed" | "upNext" | "inProgress";
|
|
1106
|
+
title: string;
|
|
1089
1107
|
stageId: string;
|
|
1090
1108
|
order: number;
|
|
1091
|
-
title: string;
|
|
1092
1109
|
linkedSolidsEntryIds: string[];
|
|
1093
1110
|
startedAt?: string | null | undefined;
|
|
1094
1111
|
completedAt?: string | null | undefined;
|
|
@@ -1127,9 +1144,9 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
|
|
|
1127
1144
|
isArchived: boolean;
|
|
1128
1145
|
stages: {
|
|
1129
1146
|
status: "completed" | "upNext" | "inProgress";
|
|
1147
|
+
title: string;
|
|
1130
1148
|
stageId: string;
|
|
1131
1149
|
order: number;
|
|
1132
|
-
title: string;
|
|
1133
1150
|
linkedSolidsEntryIds: string[];
|
|
1134
1151
|
startedAt?: string | null | undefined;
|
|
1135
1152
|
completedAt?: string | null | undefined;
|
|
@@ -1158,11 +1175,11 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
|
|
|
1158
1175
|
allergenId?: "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" | null | undefined;
|
|
1159
1176
|
description?: string | null | undefined;
|
|
1160
1177
|
icon?: string | null | undefined;
|
|
1161
|
-
activeReminderCount?: number | undefined;
|
|
1162
1178
|
activeStageId?: string | null | undefined;
|
|
1163
1179
|
templateKey?: string | null | undefined;
|
|
1164
1180
|
templateVersion?: string | null | undefined;
|
|
1165
1181
|
clinicalContentVersion?: string | null | undefined;
|
|
1182
|
+
activeReminderCount?: number | undefined;
|
|
1166
1183
|
}, {
|
|
1167
1184
|
id: string;
|
|
1168
1185
|
createdAt: string;
|
|
@@ -1173,9 +1190,9 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
|
|
|
1173
1190
|
isArchived: boolean;
|
|
1174
1191
|
stages: {
|
|
1175
1192
|
status: "completed" | "upNext" | "inProgress";
|
|
1193
|
+
title: string;
|
|
1176
1194
|
stageId: string;
|
|
1177
1195
|
order: number;
|
|
1178
|
-
title: string;
|
|
1179
1196
|
linkedSolidsEntryIds: string[];
|
|
1180
1197
|
startedAt?: string | null | undefined;
|
|
1181
1198
|
completedAt?: string | null | undefined;
|
|
@@ -1204,11 +1221,11 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
|
|
|
1204
1221
|
allergenId?: "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" | null | undefined;
|
|
1205
1222
|
description?: string | null | undefined;
|
|
1206
1223
|
icon?: string | null | undefined;
|
|
1207
|
-
activeReminderCount?: number | undefined;
|
|
1208
1224
|
activeStageId?: string | null | undefined;
|
|
1209
1225
|
templateKey?: string | null | undefined;
|
|
1210
1226
|
templateVersion?: string | null | undefined;
|
|
1211
1227
|
clinicalContentVersion?: string | null | undefined;
|
|
1228
|
+
activeReminderCount?: number | undefined;
|
|
1212
1229
|
}>;
|
|
1213
1230
|
}, "strip", z.ZodTypeAny, {
|
|
1214
1231
|
ladder: {
|
|
@@ -1221,9 +1238,9 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
|
|
|
1221
1238
|
isArchived: boolean;
|
|
1222
1239
|
stages: {
|
|
1223
1240
|
status: "completed" | "upNext" | "inProgress";
|
|
1241
|
+
title: string;
|
|
1224
1242
|
stageId: string;
|
|
1225
1243
|
order: number;
|
|
1226
|
-
title: string;
|
|
1227
1244
|
linkedSolidsEntryIds: string[];
|
|
1228
1245
|
startedAt?: string | null | undefined;
|
|
1229
1246
|
completedAt?: string | null | undefined;
|
|
@@ -1252,11 +1269,11 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
|
|
|
1252
1269
|
allergenId?: "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" | null | undefined;
|
|
1253
1270
|
description?: string | null | undefined;
|
|
1254
1271
|
icon?: string | null | undefined;
|
|
1255
|
-
activeReminderCount?: number | undefined;
|
|
1256
1272
|
activeStageId?: string | null | undefined;
|
|
1257
1273
|
templateKey?: string | null | undefined;
|
|
1258
1274
|
templateVersion?: string | null | undefined;
|
|
1259
1275
|
clinicalContentVersion?: string | null | undefined;
|
|
1276
|
+
activeReminderCount?: number | undefined;
|
|
1260
1277
|
};
|
|
1261
1278
|
}, {
|
|
1262
1279
|
ladder: {
|
|
@@ -1269,9 +1286,9 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
|
|
|
1269
1286
|
isArchived: boolean;
|
|
1270
1287
|
stages: {
|
|
1271
1288
|
status: "completed" | "upNext" | "inProgress";
|
|
1289
|
+
title: string;
|
|
1272
1290
|
stageId: string;
|
|
1273
1291
|
order: number;
|
|
1274
|
-
title: string;
|
|
1275
1292
|
linkedSolidsEntryIds: string[];
|
|
1276
1293
|
startedAt?: string | null | undefined;
|
|
1277
1294
|
completedAt?: string | null | undefined;
|
|
@@ -1300,11 +1317,11 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
|
|
|
1300
1317
|
allergenId?: "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" | null | undefined;
|
|
1301
1318
|
description?: string | null | undefined;
|
|
1302
1319
|
icon?: string | null | undefined;
|
|
1303
|
-
activeReminderCount?: number | undefined;
|
|
1304
1320
|
activeStageId?: string | null | undefined;
|
|
1305
1321
|
templateKey?: string | null | undefined;
|
|
1306
1322
|
templateVersion?: string | null | undefined;
|
|
1307
1323
|
clinicalContentVersion?: string | null | undefined;
|
|
1324
|
+
activeReminderCount?: number | undefined;
|
|
1308
1325
|
};
|
|
1309
1326
|
}>;
|
|
1310
1327
|
export type AllergyLadderStageStatus = z.infer<typeof allergyLadderStageStatusSchema>;
|
|
@@ -1317,6 +1334,8 @@ export type AllergyLadderStageWrite = z.infer<typeof allergyLadderStageWriteSche
|
|
|
1317
1334
|
export type AllergyLadderWriteRequest = z.infer<typeof allergyLadderWriteRequestSchema>;
|
|
1318
1335
|
export type AllergyLadderCreateRequest = z.infer<typeof allergyLadderCreateRequestSchema>;
|
|
1319
1336
|
export type AllergyLadderStageUpdateRequest = z.infer<typeof allergyLadderStageUpdateRequestSchema>;
|
|
1337
|
+
export type AllergyLadderMoveUpRequest = z.infer<typeof allergyLadderMoveUpRequestSchema>;
|
|
1338
|
+
export type AllergyLadderGoBackRequest = z.infer<typeof allergyLadderGoBackRequestSchema>;
|
|
1320
1339
|
export type AllergyLadderStageStatusRequest = z.infer<typeof allergyLadderStageStatusRequestSchema>;
|
|
1321
1340
|
export type AllergyLadderStageReminderWriteRequest = z.infer<typeof allergyLadderStageReminderWriteRequestSchema>;
|
|
1322
1341
|
export type AllergyLadderStageReminderCreateRequest = z.infer<typeof allergyLadderStageReminderCreateRequestSchema>;
|
package/dist/allergy-ladders.js
CHANGED
|
@@ -85,7 +85,7 @@ export const allergyLadderWriteRequestSchema = z
|
|
|
85
85
|
export const allergyLadderCreateRequestSchema = allergyLadderWriteRequestSchema.extend({
|
|
86
86
|
babyId: idSchema,
|
|
87
87
|
title: z.string().min(1),
|
|
88
|
-
stages: z.array(allergyLadderStageWriteSchema).min(1)
|
|
88
|
+
stages: z.array(allergyLadderStageWriteSchema).min(1).max(8)
|
|
89
89
|
});
|
|
90
90
|
export const allergyLadderStageUpdateRequestSchema = z
|
|
91
91
|
.object({
|
|
@@ -95,6 +95,14 @@ export const allergyLadderStageUpdateRequestSchema = z
|
|
|
95
95
|
})
|
|
96
96
|
.strict()
|
|
97
97
|
.refine((input) => input.status !== undefined || input.startedAt !== undefined || input.completedAt !== undefined, { message: "Choose a status or timeline date to update." });
|
|
98
|
+
// Clients send the stage they displayed so retries cannot skip to another stage.
|
|
99
|
+
export const allergyLadderMoveUpRequestSchema = z.object({
|
|
100
|
+
expectedStageId: idSchema,
|
|
101
|
+
occurredAt: isoDateStringSchema.optional()
|
|
102
|
+
}).strict();
|
|
103
|
+
export const allergyLadderGoBackRequestSchema = z.object({
|
|
104
|
+
expectedStageId: idSchema
|
|
105
|
+
}).strict();
|
|
98
106
|
export const allergyLadderStageStatusRequestSchema = z
|
|
99
107
|
.object({
|
|
100
108
|
status: allergyLadderStageStatusSchema
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allergy-ladders.js","sourceRoot":"","sources":["../src/allergy-ladders.ts"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AAQ,EAAE;IACzD,WAAW,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IACnD,WAAW,EAAE,2BAA2B,CAAC,QAAQ,EAAE;CACpD,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,6CAA6C,GACxD,4CAA4C,CAAC,MAAM,CAAC;IAClD,WAAW,EAAE,mBAAmB;CACjC,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC;KACvC,MAAM,CAAC;IACN,YAAY,EAAE,QAAQ,CAAC,QAAQ,EAAE;IACjC,MAAM,EAAE,QAAQ;IAChB,eAAe,EAAE,CAAC;SACf,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;SAC3D,QAAQ,EAAE;SACV,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,MAAM,CAAC;CAC5D,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC;CACtC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,mBAAmB;CAC5B,CAAC,CAAC;AA4CH,6EAA6E;AAC7E,wEAAwE;AACxE,0EAA0E;AAC1E,MAAM,CAAC,MAAM,oBAAoB,GAA0B,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import { allergyLadderCreateRequestSchema, allergyLadderGoBackRequestSchema, allergyLadderMoveUpRequestSchema, allergyLadderSchema, allergyLadderStageStatusSchema, allergyLadderStageUpdateRequestSchema, allergyLadderWriteRequestSchema, allergyLadderPresets } from "./allergy-ladders.js";
|
|
3
|
+
const stages = (count) => Array.from({ length: count }, (_, i) => ({ stageId: `stage_${i}`, title: `Stage ${i + 1}` }));
|
|
4
|
+
describe("allergy ladder additive contracts", () => {
|
|
5
|
+
it("keeps the existing three statuses, strict date/status PATCH and no new presets", () => {
|
|
6
|
+
expect(allergyLadderStageStatusSchema.options).toEqual(["upNext", "inProgress", "completed"]);
|
|
7
|
+
for (const status of allergyLadderStageStatusSchema.options) {
|
|
8
|
+
expect(allergyLadderStageUpdateRequestSchema.parse({ status })).toEqual({ status });
|
|
9
|
+
}
|
|
10
|
+
expect(allergyLadderStageUpdateRequestSchema.safeParse({}).success).toBe(false);
|
|
11
|
+
expect(allergyLadderStageUpdateRequestSchema.parse({ startedAt: "2026-01-01T10:00:00.000Z", completedAt: "2026-01-02T10:00:00.000Z" })).toEqual({ startedAt: "2026-01-01T10:00:00.000Z", completedAt: "2026-01-02T10:00:00.000Z" });
|
|
12
|
+
expect(allergyLadderStageUpdateRequestSchema.safeParse({ status: "planned" }).success).toBe(false);
|
|
13
|
+
expect(allergyLadderPresets).toEqual([]);
|
|
14
|
+
});
|
|
15
|
+
it("caps new ladders at eight while leaving replacement requests and legacy reads uncapped", () => {
|
|
16
|
+
expect(allergyLadderCreateRequestSchema.parse({ babyId: "baby", title: "Custom", stages: stages(8) }).stages).toHaveLength(8);
|
|
17
|
+
expect(allergyLadderCreateRequestSchema.safeParse({ babyId: "baby", title: "Custom", stages: stages(9) }).success).toBe(false);
|
|
18
|
+
expect(allergyLadderWriteRequestSchema.parse({ stages: stages(10) }).stages).toHaveLength(10);
|
|
19
|
+
expect(allergyLadderSchema.parse({
|
|
20
|
+
id: "ladder", familyUserId: "family", babyId: "baby", title: "Saved custom ladder",
|
|
21
|
+
isArchived: false, activeStageId: null, createdAt: "2026-01-01T00:00:00.000Z", updatedAt: "2026-01-01T00:00:00.000Z",
|
|
22
|
+
stages: stages(10).map((s, order) => ({ ...s, order, status: "upNext", linkedSolidsEntryIds: [] }))
|
|
23
|
+
}).stages).toHaveLength(10);
|
|
24
|
+
});
|
|
25
|
+
it("requires the displayed stage and permits a timestamp only on Move up", () => {
|
|
26
|
+
expect(allergyLadderMoveUpRequestSchema.parse({ expectedStageId: "stage", occurredAt: "2026-01-01T00:00:00.000Z" })).toEqual({ expectedStageId: "stage", occurredAt: "2026-01-01T00:00:00.000Z" });
|
|
27
|
+
expect(allergyLadderGoBackRequestSchema.parse({ expectedStageId: "stage" })).toEqual({ expectedStageId: "stage" });
|
|
28
|
+
for (const schema of [allergyLadderMoveUpRequestSchema, allergyLadderGoBackRequestSchema]) {
|
|
29
|
+
expect(schema.safeParse({}).success).toBe(false);
|
|
30
|
+
expect(schema.safeParse({ expectedStageId: "stage", title: "private" }).success).toBe(false);
|
|
31
|
+
}
|
|
32
|
+
expect(allergyLadderMoveUpRequestSchema.safeParse({ expectedStageId: "stage", occurredAt: "tomorrow" }).success).toBe(false);
|
|
33
|
+
expect(allergyLadderGoBackRequestSchema.safeParse({ expectedStageId: "stage", occurredAt: "2026-01-01T00:00:00.000Z" }).success).toBe(false);
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=allergy-ladders.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allergy-ladders.test.js","sourceRoot":"","sources":["../src/allergy-ladders.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EACL,gCAAgC,EAAE,gCAAgC,EAClE,gCAAgC,EAAE,mBAAmB,EACrD,8BAA8B,EAAE,qCAAqC,EACrE,+BAA+B,EAAE,oBAAoB,EACtD,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,CAAC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