@nikthegeek/dreamsforlittles-shared 0.1.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.
@@ -0,0 +1,798 @@
1
+ import { z } from "zod";
2
+ export declare const allergyLadderStageStatusSchema: z.ZodEnum<["upNext", "inProgress", "completed"]>;
3
+ export declare const allergyLadderStageIconSchema: z.ZodObject<{
4
+ type: z.ZodEnum<["preset", "emoji", "uri"]>;
5
+ value: z.ZodString;
6
+ }, "strict", z.ZodTypeAny, {
7
+ value: string;
8
+ type: "preset" | "emoji" | "uri";
9
+ }, {
10
+ value: string;
11
+ type: "preset" | "emoji" | "uri";
12
+ }>;
13
+ export declare const allergyLadderStageSchema: z.ZodObject<{
14
+ stageId: z.ZodString;
15
+ order: z.ZodNumber;
16
+ title: z.ZodString;
17
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ icon: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
+ type: z.ZodEnum<["preset", "emoji", "uri"]>;
20
+ value: z.ZodString;
21
+ }, "strict", z.ZodTypeAny, {
22
+ value: string;
23
+ type: "preset" | "emoji" | "uri";
24
+ }, {
25
+ value: string;
26
+ type: "preset" | "emoji" | "uri";
27
+ }>>>;
28
+ status: z.ZodEnum<["upNext", "inProgress", "completed"]>;
29
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ linkedSolidsEntryIds: z.ZodArray<z.ZodString, "many">;
32
+ lastUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ reactionSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ activeReminderCount: z.ZodOptional<z.ZodNumber>;
35
+ }, "strict", z.ZodTypeAny, {
36
+ status: "upNext" | "inProgress" | "completed";
37
+ stageId: string;
38
+ order: number;
39
+ title: string;
40
+ linkedSolidsEntryIds: string[];
41
+ description?: string | null | undefined;
42
+ icon?: {
43
+ value: string;
44
+ type: "preset" | "emoji" | "uri";
45
+ } | null | undefined;
46
+ startedAt?: string | null | undefined;
47
+ completedAt?: string | null | undefined;
48
+ lastUpdatedAt?: string | null | undefined;
49
+ reactionSummary?: string | null | undefined;
50
+ activeReminderCount?: number | undefined;
51
+ }, {
52
+ status: "upNext" | "inProgress" | "completed";
53
+ stageId: string;
54
+ order: number;
55
+ title: string;
56
+ linkedSolidsEntryIds: string[];
57
+ description?: string | null | undefined;
58
+ icon?: {
59
+ value: string;
60
+ type: "preset" | "emoji" | "uri";
61
+ } | null | undefined;
62
+ startedAt?: string | null | undefined;
63
+ completedAt?: string | null | undefined;
64
+ lastUpdatedAt?: string | null | undefined;
65
+ reactionSummary?: string | null | undefined;
66
+ activeReminderCount?: number | undefined;
67
+ }>;
68
+ export declare const allergyLadderSchema: z.ZodObject<{
69
+ id: z.ZodString;
70
+ familyUserId: z.ZodString;
71
+ babyId: z.ZodString;
72
+ title: z.ZodString;
73
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ isArchived: z.ZodBoolean;
76
+ activeStageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
+ stages: z.ZodArray<z.ZodObject<{
78
+ stageId: z.ZodString;
79
+ order: z.ZodNumber;
80
+ title: z.ZodString;
81
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
+ icon: z.ZodOptional<z.ZodNullable<z.ZodObject<{
83
+ type: z.ZodEnum<["preset", "emoji", "uri"]>;
84
+ value: z.ZodString;
85
+ }, "strict", z.ZodTypeAny, {
86
+ value: string;
87
+ type: "preset" | "emoji" | "uri";
88
+ }, {
89
+ value: string;
90
+ type: "preset" | "emoji" | "uri";
91
+ }>>>;
92
+ status: z.ZodEnum<["upNext", "inProgress", "completed"]>;
93
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
+ linkedSolidsEntryIds: z.ZodArray<z.ZodString, "many">;
96
+ lastUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
+ reactionSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
+ activeReminderCount: z.ZodOptional<z.ZodNumber>;
99
+ }, "strict", z.ZodTypeAny, {
100
+ status: "upNext" | "inProgress" | "completed";
101
+ stageId: string;
102
+ order: number;
103
+ title: string;
104
+ linkedSolidsEntryIds: string[];
105
+ description?: string | null | undefined;
106
+ icon?: {
107
+ value: string;
108
+ type: "preset" | "emoji" | "uri";
109
+ } | null | undefined;
110
+ startedAt?: string | null | undefined;
111
+ completedAt?: string | null | undefined;
112
+ lastUpdatedAt?: string | null | undefined;
113
+ reactionSummary?: string | null | undefined;
114
+ activeReminderCount?: number | undefined;
115
+ }, {
116
+ status: "upNext" | "inProgress" | "completed";
117
+ stageId: string;
118
+ order: number;
119
+ title: string;
120
+ linkedSolidsEntryIds: string[];
121
+ description?: string | null | undefined;
122
+ icon?: {
123
+ value: string;
124
+ type: "preset" | "emoji" | "uri";
125
+ } | null | undefined;
126
+ startedAt?: string | null | undefined;
127
+ completedAt?: string | null | undefined;
128
+ lastUpdatedAt?: string | null | undefined;
129
+ reactionSummary?: string | null | undefined;
130
+ activeReminderCount?: number | undefined;
131
+ }>, "many">;
132
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
+ createdAt: z.ZodString;
134
+ updatedAt: z.ZodString;
135
+ }, "strict", z.ZodTypeAny, {
136
+ id: string;
137
+ familyUserId: string;
138
+ createdAt: string;
139
+ updatedAt: string;
140
+ title: string;
141
+ babyId: string;
142
+ isArchived: boolean;
143
+ stages: {
144
+ status: "upNext" | "inProgress" | "completed";
145
+ stageId: string;
146
+ order: number;
147
+ title: string;
148
+ linkedSolidsEntryIds: string[];
149
+ description?: string | null | undefined;
150
+ icon?: {
151
+ value: string;
152
+ type: "preset" | "emoji" | "uri";
153
+ } | null | undefined;
154
+ startedAt?: string | null | undefined;
155
+ completedAt?: string | null | undefined;
156
+ lastUpdatedAt?: string | null | undefined;
157
+ reactionSummary?: string | null | undefined;
158
+ activeReminderCount?: number | undefined;
159
+ }[];
160
+ description?: string | null | undefined;
161
+ icon?: string | null | undefined;
162
+ activeStageId?: string | null | undefined;
163
+ notes?: string | null | undefined;
164
+ }, {
165
+ id: string;
166
+ familyUserId: string;
167
+ createdAt: string;
168
+ updatedAt: string;
169
+ title: string;
170
+ babyId: string;
171
+ isArchived: boolean;
172
+ stages: {
173
+ status: "upNext" | "inProgress" | "completed";
174
+ stageId: string;
175
+ order: number;
176
+ title: string;
177
+ linkedSolidsEntryIds: string[];
178
+ description?: string | null | undefined;
179
+ icon?: {
180
+ value: string;
181
+ type: "preset" | "emoji" | "uri";
182
+ } | null | undefined;
183
+ startedAt?: string | null | undefined;
184
+ completedAt?: string | null | undefined;
185
+ lastUpdatedAt?: string | null | undefined;
186
+ reactionSummary?: string | null | undefined;
187
+ activeReminderCount?: number | undefined;
188
+ }[];
189
+ description?: string | null | undefined;
190
+ icon?: string | null | undefined;
191
+ activeStageId?: string | null | undefined;
192
+ notes?: string | null | undefined;
193
+ }>;
194
+ export declare const allergyLadderStageWriteSchema: z.ZodObject<{
195
+ stageId: z.ZodOptional<z.ZodString>;
196
+ title: z.ZodString;
197
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
+ icon: z.ZodOptional<z.ZodNullable<z.ZodObject<{
199
+ type: z.ZodEnum<["preset", "emoji", "uri"]>;
200
+ value: z.ZodString;
201
+ }, "strict", z.ZodTypeAny, {
202
+ value: string;
203
+ type: "preset" | "emoji" | "uri";
204
+ }, {
205
+ value: string;
206
+ type: "preset" | "emoji" | "uri";
207
+ }>>>;
208
+ }, "strict", z.ZodTypeAny, {
209
+ title: string;
210
+ stageId?: string | undefined;
211
+ description?: string | null | undefined;
212
+ icon?: {
213
+ value: string;
214
+ type: "preset" | "emoji" | "uri";
215
+ } | null | undefined;
216
+ }, {
217
+ title: string;
218
+ stageId?: string | undefined;
219
+ description?: string | null | undefined;
220
+ icon?: {
221
+ value: string;
222
+ type: "preset" | "emoji" | "uri";
223
+ } | null | undefined;
224
+ }>;
225
+ export declare const allergyLadderWriteRequestSchema: z.ZodObject<{
226
+ babyId: z.ZodOptional<z.ZodString>;
227
+ familyUserId: z.ZodOptional<z.ZodString>;
228
+ title: z.ZodOptional<z.ZodString>;
229
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
231
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
+ isArchived: z.ZodOptional<z.ZodBoolean>;
233
+ stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
234
+ stageId: z.ZodOptional<z.ZodString>;
235
+ title: z.ZodString;
236
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
+ icon: z.ZodOptional<z.ZodNullable<z.ZodObject<{
238
+ type: z.ZodEnum<["preset", "emoji", "uri"]>;
239
+ value: z.ZodString;
240
+ }, "strict", z.ZodTypeAny, {
241
+ value: string;
242
+ type: "preset" | "emoji" | "uri";
243
+ }, {
244
+ value: string;
245
+ type: "preset" | "emoji" | "uri";
246
+ }>>>;
247
+ }, "strict", z.ZodTypeAny, {
248
+ title: string;
249
+ stageId?: string | undefined;
250
+ description?: string | null | undefined;
251
+ icon?: {
252
+ value: string;
253
+ type: "preset" | "emoji" | "uri";
254
+ } | null | undefined;
255
+ }, {
256
+ title: string;
257
+ stageId?: string | undefined;
258
+ description?: string | null | undefined;
259
+ icon?: {
260
+ value: string;
261
+ type: "preset" | "emoji" | "uri";
262
+ } | null | undefined;
263
+ }>, "many">>;
264
+ }, "strict", z.ZodTypeAny, {
265
+ familyUserId?: string | undefined;
266
+ title?: string | undefined;
267
+ description?: string | null | undefined;
268
+ icon?: string | null | undefined;
269
+ babyId?: string | undefined;
270
+ isArchived?: boolean | undefined;
271
+ stages?: {
272
+ title: string;
273
+ stageId?: string | undefined;
274
+ description?: string | null | undefined;
275
+ icon?: {
276
+ value: string;
277
+ type: "preset" | "emoji" | "uri";
278
+ } | null | undefined;
279
+ }[] | undefined;
280
+ notes?: string | null | undefined;
281
+ }, {
282
+ familyUserId?: string | undefined;
283
+ title?: string | undefined;
284
+ description?: string | null | undefined;
285
+ icon?: string | null | undefined;
286
+ babyId?: string | undefined;
287
+ isArchived?: boolean | undefined;
288
+ stages?: {
289
+ title: string;
290
+ stageId?: string | undefined;
291
+ description?: string | null | undefined;
292
+ icon?: {
293
+ value: string;
294
+ type: "preset" | "emoji" | "uri";
295
+ } | null | undefined;
296
+ }[] | undefined;
297
+ notes?: string | null | undefined;
298
+ }>;
299
+ export declare const allergyLadderCreateRequestSchema: z.ZodObject<{
300
+ familyUserId: z.ZodOptional<z.ZodString>;
301
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
302
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
303
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
304
+ isArchived: z.ZodOptional<z.ZodBoolean>;
305
+ } & {
306
+ babyId: z.ZodString;
307
+ title: z.ZodString;
308
+ stages: z.ZodArray<z.ZodObject<{
309
+ stageId: z.ZodOptional<z.ZodString>;
310
+ title: z.ZodString;
311
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
312
+ icon: z.ZodOptional<z.ZodNullable<z.ZodObject<{
313
+ type: z.ZodEnum<["preset", "emoji", "uri"]>;
314
+ value: z.ZodString;
315
+ }, "strict", z.ZodTypeAny, {
316
+ value: string;
317
+ type: "preset" | "emoji" | "uri";
318
+ }, {
319
+ value: string;
320
+ type: "preset" | "emoji" | "uri";
321
+ }>>>;
322
+ }, "strict", z.ZodTypeAny, {
323
+ title: string;
324
+ stageId?: string | undefined;
325
+ description?: string | null | undefined;
326
+ icon?: {
327
+ value: string;
328
+ type: "preset" | "emoji" | "uri";
329
+ } | null | undefined;
330
+ }, {
331
+ title: string;
332
+ stageId?: string | undefined;
333
+ description?: string | null | undefined;
334
+ icon?: {
335
+ value: string;
336
+ type: "preset" | "emoji" | "uri";
337
+ } | null | undefined;
338
+ }>, "many">;
339
+ }, "strict", z.ZodTypeAny, {
340
+ title: string;
341
+ babyId: string;
342
+ stages: {
343
+ title: string;
344
+ stageId?: string | undefined;
345
+ description?: string | null | undefined;
346
+ icon?: {
347
+ value: string;
348
+ type: "preset" | "emoji" | "uri";
349
+ } | null | undefined;
350
+ }[];
351
+ familyUserId?: string | undefined;
352
+ description?: string | null | undefined;
353
+ icon?: string | null | undefined;
354
+ isArchived?: boolean | undefined;
355
+ notes?: string | null | undefined;
356
+ }, {
357
+ title: string;
358
+ babyId: string;
359
+ stages: {
360
+ title: string;
361
+ stageId?: string | undefined;
362
+ description?: string | null | undefined;
363
+ icon?: {
364
+ value: string;
365
+ type: "preset" | "emoji" | "uri";
366
+ } | null | undefined;
367
+ }[];
368
+ familyUserId?: string | undefined;
369
+ description?: string | null | undefined;
370
+ icon?: string | null | undefined;
371
+ isArchived?: boolean | undefined;
372
+ notes?: string | null | undefined;
373
+ }>;
374
+ export declare const allergyLadderStageStatusRequestSchema: z.ZodObject<{
375
+ status: z.ZodEnum<["upNext", "inProgress", "completed"]>;
376
+ }, "strict", z.ZodTypeAny, {
377
+ status: "upNext" | "inProgress" | "completed";
378
+ }, {
379
+ status: "upNext" | "inProgress" | "completed";
380
+ }>;
381
+ export declare const allergyLaddersQuerySchema: z.ZodObject<{
382
+ familyUserId: z.ZodOptional<z.ZodString>;
383
+ babyId: z.ZodString;
384
+ includeArchived: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">, z.ZodBoolean]>>, boolean, boolean | "true" | "false" | undefined>;
385
+ }, "strict", z.ZodTypeAny, {
386
+ babyId: string;
387
+ includeArchived: boolean;
388
+ familyUserId?: string | undefined;
389
+ }, {
390
+ babyId: string;
391
+ familyUserId?: string | undefined;
392
+ includeArchived?: boolean | "true" | "false" | undefined;
393
+ }>;
394
+ export declare const allergyLaddersResponseSchema: z.ZodObject<{
395
+ ladders: z.ZodArray<z.ZodObject<{
396
+ id: z.ZodString;
397
+ familyUserId: z.ZodString;
398
+ babyId: z.ZodString;
399
+ title: z.ZodString;
400
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
401
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
402
+ isArchived: z.ZodBoolean;
403
+ activeStageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
404
+ stages: z.ZodArray<z.ZodObject<{
405
+ stageId: z.ZodString;
406
+ order: z.ZodNumber;
407
+ title: z.ZodString;
408
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
409
+ icon: z.ZodOptional<z.ZodNullable<z.ZodObject<{
410
+ type: z.ZodEnum<["preset", "emoji", "uri"]>;
411
+ value: z.ZodString;
412
+ }, "strict", z.ZodTypeAny, {
413
+ value: string;
414
+ type: "preset" | "emoji" | "uri";
415
+ }, {
416
+ value: string;
417
+ type: "preset" | "emoji" | "uri";
418
+ }>>>;
419
+ status: z.ZodEnum<["upNext", "inProgress", "completed"]>;
420
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
+ linkedSolidsEntryIds: z.ZodArray<z.ZodString, "many">;
423
+ lastUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
424
+ reactionSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
425
+ activeReminderCount: z.ZodOptional<z.ZodNumber>;
426
+ }, "strict", z.ZodTypeAny, {
427
+ status: "upNext" | "inProgress" | "completed";
428
+ stageId: string;
429
+ order: number;
430
+ title: string;
431
+ linkedSolidsEntryIds: string[];
432
+ description?: string | null | undefined;
433
+ icon?: {
434
+ value: string;
435
+ type: "preset" | "emoji" | "uri";
436
+ } | null | undefined;
437
+ startedAt?: string | null | undefined;
438
+ completedAt?: string | null | undefined;
439
+ lastUpdatedAt?: string | null | undefined;
440
+ reactionSummary?: string | null | undefined;
441
+ activeReminderCount?: number | undefined;
442
+ }, {
443
+ status: "upNext" | "inProgress" | "completed";
444
+ stageId: string;
445
+ order: number;
446
+ title: string;
447
+ linkedSolidsEntryIds: string[];
448
+ description?: string | null | undefined;
449
+ icon?: {
450
+ value: string;
451
+ type: "preset" | "emoji" | "uri";
452
+ } | null | undefined;
453
+ startedAt?: string | null | undefined;
454
+ completedAt?: string | null | undefined;
455
+ lastUpdatedAt?: string | null | undefined;
456
+ reactionSummary?: string | null | undefined;
457
+ activeReminderCount?: number | undefined;
458
+ }>, "many">;
459
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
460
+ createdAt: z.ZodString;
461
+ updatedAt: z.ZodString;
462
+ }, "strict", z.ZodTypeAny, {
463
+ id: string;
464
+ familyUserId: string;
465
+ createdAt: string;
466
+ updatedAt: string;
467
+ title: string;
468
+ babyId: string;
469
+ isArchived: boolean;
470
+ stages: {
471
+ status: "upNext" | "inProgress" | "completed";
472
+ stageId: string;
473
+ order: number;
474
+ title: string;
475
+ linkedSolidsEntryIds: string[];
476
+ description?: string | null | undefined;
477
+ icon?: {
478
+ value: string;
479
+ type: "preset" | "emoji" | "uri";
480
+ } | null | undefined;
481
+ startedAt?: string | null | undefined;
482
+ completedAt?: string | null | undefined;
483
+ lastUpdatedAt?: string | null | undefined;
484
+ reactionSummary?: string | null | undefined;
485
+ activeReminderCount?: number | undefined;
486
+ }[];
487
+ description?: string | null | undefined;
488
+ icon?: string | null | undefined;
489
+ activeStageId?: string | null | undefined;
490
+ notes?: string | null | undefined;
491
+ }, {
492
+ id: string;
493
+ familyUserId: string;
494
+ createdAt: string;
495
+ updatedAt: string;
496
+ title: string;
497
+ babyId: string;
498
+ isArchived: boolean;
499
+ stages: {
500
+ status: "upNext" | "inProgress" | "completed";
501
+ stageId: string;
502
+ order: number;
503
+ title: string;
504
+ linkedSolidsEntryIds: string[];
505
+ description?: string | null | undefined;
506
+ icon?: {
507
+ value: string;
508
+ type: "preset" | "emoji" | "uri";
509
+ } | null | undefined;
510
+ startedAt?: string | null | undefined;
511
+ completedAt?: string | null | undefined;
512
+ lastUpdatedAt?: string | null | undefined;
513
+ reactionSummary?: string | null | undefined;
514
+ activeReminderCount?: number | undefined;
515
+ }[];
516
+ description?: string | null | undefined;
517
+ icon?: string | null | undefined;
518
+ activeStageId?: string | null | undefined;
519
+ notes?: string | null | undefined;
520
+ }>, "many">;
521
+ }, "strip", z.ZodTypeAny, {
522
+ ladders: {
523
+ id: string;
524
+ familyUserId: string;
525
+ createdAt: string;
526
+ updatedAt: string;
527
+ title: string;
528
+ babyId: string;
529
+ isArchived: boolean;
530
+ stages: {
531
+ status: "upNext" | "inProgress" | "completed";
532
+ stageId: string;
533
+ order: number;
534
+ title: string;
535
+ linkedSolidsEntryIds: string[];
536
+ description?: string | null | undefined;
537
+ icon?: {
538
+ value: string;
539
+ type: "preset" | "emoji" | "uri";
540
+ } | null | undefined;
541
+ startedAt?: string | null | undefined;
542
+ completedAt?: string | null | undefined;
543
+ lastUpdatedAt?: string | null | undefined;
544
+ reactionSummary?: string | null | undefined;
545
+ activeReminderCount?: number | undefined;
546
+ }[];
547
+ description?: string | null | undefined;
548
+ icon?: string | null | undefined;
549
+ activeStageId?: string | null | undefined;
550
+ notes?: string | null | undefined;
551
+ }[];
552
+ }, {
553
+ ladders: {
554
+ id: string;
555
+ familyUserId: string;
556
+ createdAt: string;
557
+ updatedAt: string;
558
+ title: string;
559
+ babyId: string;
560
+ isArchived: boolean;
561
+ stages: {
562
+ status: "upNext" | "inProgress" | "completed";
563
+ stageId: string;
564
+ order: number;
565
+ title: string;
566
+ linkedSolidsEntryIds: string[];
567
+ description?: string | null | undefined;
568
+ icon?: {
569
+ value: string;
570
+ type: "preset" | "emoji" | "uri";
571
+ } | null | undefined;
572
+ startedAt?: string | null | undefined;
573
+ completedAt?: string | null | undefined;
574
+ lastUpdatedAt?: string | null | undefined;
575
+ reactionSummary?: string | null | undefined;
576
+ activeReminderCount?: number | undefined;
577
+ }[];
578
+ description?: string | null | undefined;
579
+ icon?: string | null | undefined;
580
+ activeStageId?: string | null | undefined;
581
+ notes?: string | null | undefined;
582
+ }[];
583
+ }>;
584
+ export declare const allergyLadderResponseSchema: z.ZodObject<{
585
+ ladder: z.ZodObject<{
586
+ id: z.ZodString;
587
+ familyUserId: z.ZodString;
588
+ babyId: z.ZodString;
589
+ title: z.ZodString;
590
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
591
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
592
+ isArchived: z.ZodBoolean;
593
+ activeStageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
594
+ stages: z.ZodArray<z.ZodObject<{
595
+ stageId: z.ZodString;
596
+ order: z.ZodNumber;
597
+ title: z.ZodString;
598
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
599
+ icon: z.ZodOptional<z.ZodNullable<z.ZodObject<{
600
+ type: z.ZodEnum<["preset", "emoji", "uri"]>;
601
+ value: z.ZodString;
602
+ }, "strict", z.ZodTypeAny, {
603
+ value: string;
604
+ type: "preset" | "emoji" | "uri";
605
+ }, {
606
+ value: string;
607
+ type: "preset" | "emoji" | "uri";
608
+ }>>>;
609
+ status: z.ZodEnum<["upNext", "inProgress", "completed"]>;
610
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
611
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
612
+ linkedSolidsEntryIds: z.ZodArray<z.ZodString, "many">;
613
+ lastUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
614
+ reactionSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
615
+ activeReminderCount: z.ZodOptional<z.ZodNumber>;
616
+ }, "strict", z.ZodTypeAny, {
617
+ status: "upNext" | "inProgress" | "completed";
618
+ stageId: string;
619
+ order: number;
620
+ title: string;
621
+ linkedSolidsEntryIds: string[];
622
+ description?: string | null | undefined;
623
+ icon?: {
624
+ value: string;
625
+ type: "preset" | "emoji" | "uri";
626
+ } | null | undefined;
627
+ startedAt?: string | null | undefined;
628
+ completedAt?: string | null | undefined;
629
+ lastUpdatedAt?: string | null | undefined;
630
+ reactionSummary?: string | null | undefined;
631
+ activeReminderCount?: number | undefined;
632
+ }, {
633
+ status: "upNext" | "inProgress" | "completed";
634
+ stageId: string;
635
+ order: number;
636
+ title: string;
637
+ linkedSolidsEntryIds: string[];
638
+ description?: string | null | undefined;
639
+ icon?: {
640
+ value: string;
641
+ type: "preset" | "emoji" | "uri";
642
+ } | null | undefined;
643
+ startedAt?: string | null | undefined;
644
+ completedAt?: string | null | undefined;
645
+ lastUpdatedAt?: string | null | undefined;
646
+ reactionSummary?: string | null | undefined;
647
+ activeReminderCount?: number | undefined;
648
+ }>, "many">;
649
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
650
+ createdAt: z.ZodString;
651
+ updatedAt: z.ZodString;
652
+ }, "strict", z.ZodTypeAny, {
653
+ id: string;
654
+ familyUserId: string;
655
+ createdAt: string;
656
+ updatedAt: string;
657
+ title: string;
658
+ babyId: string;
659
+ isArchived: boolean;
660
+ stages: {
661
+ status: "upNext" | "inProgress" | "completed";
662
+ stageId: string;
663
+ order: number;
664
+ title: string;
665
+ linkedSolidsEntryIds: string[];
666
+ description?: string | null | undefined;
667
+ icon?: {
668
+ value: string;
669
+ type: "preset" | "emoji" | "uri";
670
+ } | null | undefined;
671
+ startedAt?: string | null | undefined;
672
+ completedAt?: string | null | undefined;
673
+ lastUpdatedAt?: string | null | undefined;
674
+ reactionSummary?: string | null | undefined;
675
+ activeReminderCount?: number | undefined;
676
+ }[];
677
+ description?: string | null | undefined;
678
+ icon?: string | null | undefined;
679
+ activeStageId?: string | null | undefined;
680
+ notes?: string | null | undefined;
681
+ }, {
682
+ id: string;
683
+ familyUserId: string;
684
+ createdAt: string;
685
+ updatedAt: string;
686
+ title: string;
687
+ babyId: string;
688
+ isArchived: boolean;
689
+ stages: {
690
+ status: "upNext" | "inProgress" | "completed";
691
+ stageId: string;
692
+ order: number;
693
+ title: string;
694
+ linkedSolidsEntryIds: string[];
695
+ description?: string | null | undefined;
696
+ icon?: {
697
+ value: string;
698
+ type: "preset" | "emoji" | "uri";
699
+ } | null | undefined;
700
+ startedAt?: string | null | undefined;
701
+ completedAt?: string | null | undefined;
702
+ lastUpdatedAt?: string | null | undefined;
703
+ reactionSummary?: string | null | undefined;
704
+ activeReminderCount?: number | undefined;
705
+ }[];
706
+ description?: string | null | undefined;
707
+ icon?: string | null | undefined;
708
+ activeStageId?: string | null | undefined;
709
+ notes?: string | null | undefined;
710
+ }>;
711
+ }, "strip", z.ZodTypeAny, {
712
+ ladder: {
713
+ id: string;
714
+ familyUserId: string;
715
+ createdAt: string;
716
+ updatedAt: string;
717
+ title: string;
718
+ babyId: string;
719
+ isArchived: boolean;
720
+ stages: {
721
+ status: "upNext" | "inProgress" | "completed";
722
+ stageId: string;
723
+ order: number;
724
+ title: string;
725
+ linkedSolidsEntryIds: string[];
726
+ description?: string | null | undefined;
727
+ icon?: {
728
+ value: string;
729
+ type: "preset" | "emoji" | "uri";
730
+ } | null | undefined;
731
+ startedAt?: string | null | undefined;
732
+ completedAt?: string | null | undefined;
733
+ lastUpdatedAt?: string | null | undefined;
734
+ reactionSummary?: string | null | undefined;
735
+ activeReminderCount?: number | undefined;
736
+ }[];
737
+ description?: string | null | undefined;
738
+ icon?: string | null | undefined;
739
+ activeStageId?: string | null | undefined;
740
+ notes?: string | null | undefined;
741
+ };
742
+ }, {
743
+ ladder: {
744
+ id: string;
745
+ familyUserId: string;
746
+ createdAt: string;
747
+ updatedAt: string;
748
+ title: string;
749
+ babyId: string;
750
+ isArchived: boolean;
751
+ stages: {
752
+ status: "upNext" | "inProgress" | "completed";
753
+ stageId: string;
754
+ order: number;
755
+ title: string;
756
+ linkedSolidsEntryIds: string[];
757
+ description?: string | null | undefined;
758
+ icon?: {
759
+ value: string;
760
+ type: "preset" | "emoji" | "uri";
761
+ } | null | undefined;
762
+ startedAt?: string | null | undefined;
763
+ completedAt?: string | null | undefined;
764
+ lastUpdatedAt?: string | null | undefined;
765
+ reactionSummary?: string | null | undefined;
766
+ activeReminderCount?: number | undefined;
767
+ }[];
768
+ description?: string | null | undefined;
769
+ icon?: string | null | undefined;
770
+ activeStageId?: string | null | undefined;
771
+ notes?: string | null | undefined;
772
+ };
773
+ }>;
774
+ export type AllergyLadderStageStatus = z.infer<typeof allergyLadderStageStatusSchema>;
775
+ export type AllergyLadderStageIcon = z.infer<typeof allergyLadderStageIconSchema>;
776
+ export type AllergyLadderStage = z.infer<typeof allergyLadderStageSchema>;
777
+ export type AllergyLadder = z.infer<typeof allergyLadderSchema>;
778
+ export type AllergyLadderStageWrite = z.infer<typeof allergyLadderStageWriteSchema>;
779
+ export type AllergyLadderWriteRequest = z.infer<typeof allergyLadderWriteRequestSchema>;
780
+ export type AllergyLadderCreateRequest = z.infer<typeof allergyLadderCreateRequestSchema>;
781
+ export type AllergyLadderStageStatusRequest = z.infer<typeof allergyLadderStageStatusRequestSchema>;
782
+ export type AllergyLaddersQuery = z.infer<typeof allergyLaddersQuerySchema>;
783
+ export type AllergyLaddersResponse = z.infer<typeof allergyLaddersResponseSchema>;
784
+ export type AllergyLadderResponse = z.infer<typeof allergyLadderResponseSchema>;
785
+ export type AllergyLadderPresetStage = {
786
+ title: string;
787
+ description: string;
788
+ icon: string;
789
+ };
790
+ export type AllergyLadderPreset = {
791
+ id: string;
792
+ title: string;
793
+ summary: string;
794
+ description: string;
795
+ icon: string;
796
+ stages: AllergyLadderPresetStage[];
797
+ };
798
+ export declare const allergyLadderPresets: AllergyLadderPreset[];