@kimdaegyu/babmukdang-shared 2.0.6 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-KWJE3RYS.js → chunk-4BRNX2WR.js} +1 -1
- package/dist/{chunk-5FPYU6NF.js → chunk-IJZ3AK5W.js} +2 -2
- package/dist/{chunk-LXRTJPS5.js → chunk-RFVMRQTS.js} +4 -10
- package/dist/{chunk-TWX7TUMW.js → chunk-SZRLUQ3F.js} +144 -112
- package/dist/{chunk-OLQ2HIKV.js → chunk-YPVUWQ5V.js} +25 -15
- package/dist/{chunk-C7JONACW.js → chunk-YQF3EA7E.js} +10 -10
- package/dist/domain/common/index.cjs +4 -9
- package/dist/domain/common/index.js +7 -7
- package/dist/domain/index.cjs +288 -258
- package/dist/domain/index.d.cts +9 -4
- package/dist/domain/index.d.ts +9 -4
- package/dist/domain/index.js +28 -18
- package/dist/domain/live-activity/index.cjs +4 -9
- package/dist/domain/live-activity/index.js +4 -4
- package/dist/domain/meal-plan/index.cjs +153 -123
- package/dist/domain/meal-plan/index.d.cts +113 -84
- package/dist/domain/meal-plan/index.d.ts +113 -84
- package/dist/domain/meal-plan/index.js +14 -4
- package/dist/domain/push/index.cjs +4 -9
- package/dist/domain/push/index.js +2 -2
- package/dist/index.cjs +282 -257
- package/dist/index.js +9 -9
- package/package.json +1 -1
|
@@ -29,7 +29,9 @@ declare const MealPlanRecommendationContextSchema: z.ZodObject<{
|
|
|
29
29
|
address: z.ZodDefault<z.ZodString>;
|
|
30
30
|
source: z.ZodDefault<z.ZodEnum<{
|
|
31
31
|
manual: "manual";
|
|
32
|
+
"map-marker": "map-marker";
|
|
32
33
|
midpoint: "midpoint";
|
|
34
|
+
"user-location": "user-location";
|
|
33
35
|
search: "search";
|
|
34
36
|
"recent-place": "recent-place";
|
|
35
37
|
fallback: "fallback";
|
|
@@ -63,7 +65,9 @@ declare const CreateMealPlanRequestSchema: z.ZodObject<{
|
|
|
63
65
|
address: z.ZodDefault<z.ZodString>;
|
|
64
66
|
source: z.ZodDefault<z.ZodEnum<{
|
|
65
67
|
manual: "manual";
|
|
68
|
+
"map-marker": "map-marker";
|
|
66
69
|
midpoint: "midpoint";
|
|
70
|
+
"user-location": "user-location";
|
|
67
71
|
search: "search";
|
|
68
72
|
"recent-place": "recent-place";
|
|
69
73
|
fallback: "fallback";
|
|
@@ -93,7 +97,9 @@ declare const UpdateMealPlanContextRequestSchema: z.ZodObject<{
|
|
|
93
97
|
address: z.ZodDefault<z.ZodString>;
|
|
94
98
|
source: z.ZodDefault<z.ZodEnum<{
|
|
95
99
|
manual: "manual";
|
|
100
|
+
"map-marker": "map-marker";
|
|
96
101
|
midpoint: "midpoint";
|
|
102
|
+
"user-location": "user-location";
|
|
97
103
|
search: "search";
|
|
98
104
|
"recent-place": "recent-place";
|
|
99
105
|
fallback: "fallback";
|
|
@@ -265,7 +271,9 @@ declare const MealPlanResponseSchema: z.ZodObject<{
|
|
|
265
271
|
address: z.ZodDefault<z.ZodString>;
|
|
266
272
|
source: z.ZodDefault<z.ZodEnum<{
|
|
267
273
|
manual: "manual";
|
|
274
|
+
"map-marker": "map-marker";
|
|
268
275
|
midpoint: "midpoint";
|
|
276
|
+
"user-location": "user-location";
|
|
269
277
|
search: "search";
|
|
270
278
|
"recent-place": "recent-place";
|
|
271
279
|
fallback: "fallback";
|
|
@@ -289,8 +297,8 @@ declare const MealPlanResponseSchema: z.ZodObject<{
|
|
|
289
297
|
"manual-search": "manual-search";
|
|
290
298
|
}>;
|
|
291
299
|
score: z.ZodDefault<z.ZodNumber>;
|
|
292
|
-
imageUrl: z.
|
|
293
|
-
image: z.
|
|
300
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
301
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
294
302
|
src: z.ZodString;
|
|
295
303
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
296
304
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -350,7 +358,9 @@ declare const MealPlanResponseSchema: z.ZodObject<{
|
|
|
350
358
|
address: z.ZodDefault<z.ZodString>;
|
|
351
359
|
source: z.ZodDefault<z.ZodEnum<{
|
|
352
360
|
manual: "manual";
|
|
361
|
+
"map-marker": "map-marker";
|
|
353
362
|
midpoint: "midpoint";
|
|
363
|
+
"user-location": "user-location";
|
|
354
364
|
search: "search";
|
|
355
365
|
"recent-place": "recent-place";
|
|
356
366
|
fallback: "fallback";
|
|
@@ -374,8 +384,8 @@ declare const MealPlanResponseSchema: z.ZodObject<{
|
|
|
374
384
|
"manual-search": "manual-search";
|
|
375
385
|
}>;
|
|
376
386
|
score: z.ZodDefault<z.ZodNumber>;
|
|
377
|
-
imageUrl: z.
|
|
378
|
-
image: z.
|
|
387
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
388
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
379
389
|
src: z.ZodString;
|
|
380
390
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
381
391
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -427,7 +437,9 @@ declare const MealPlanResponseSchema: z.ZodObject<{
|
|
|
427
437
|
address: z.ZodDefault<z.ZodString>;
|
|
428
438
|
source: z.ZodDefault<z.ZodEnum<{
|
|
429
439
|
manual: "manual";
|
|
440
|
+
"map-marker": "map-marker";
|
|
430
441
|
midpoint: "midpoint";
|
|
442
|
+
"user-location": "user-location";
|
|
431
443
|
search: "search";
|
|
432
444
|
"recent-place": "recent-place";
|
|
433
445
|
fallback: "fallback";
|
|
@@ -451,8 +463,8 @@ declare const MealPlanResponseSchema: z.ZodObject<{
|
|
|
451
463
|
"manual-search": "manual-search";
|
|
452
464
|
}>;
|
|
453
465
|
score: z.ZodDefault<z.ZodNumber>;
|
|
454
|
-
imageUrl: z.
|
|
455
|
-
image: z.
|
|
466
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
467
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
456
468
|
src: z.ZodString;
|
|
457
469
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
458
470
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -531,13 +543,10 @@ declare const MealPlanResponseSchema: z.ZodObject<{
|
|
|
531
543
|
}>;
|
|
532
544
|
status: z.ZodEnum<{
|
|
533
545
|
OPEN: "OPEN";
|
|
534
|
-
READY: "READY";
|
|
535
546
|
STALE: "STALE";
|
|
536
547
|
LOCKED: "LOCKED";
|
|
537
548
|
RESOLVED: "RESOLVED";
|
|
538
549
|
}>;
|
|
539
|
-
readyCount: z.ZodNumber;
|
|
540
|
-
participantCount: z.ZodNumber;
|
|
541
550
|
blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
542
551
|
updatedAt: z.ZodString;
|
|
543
552
|
}, z.core.$strip>>;
|
|
@@ -567,7 +576,6 @@ declare const MealPlanResponseSchema: z.ZodObject<{
|
|
|
567
576
|
TOP_PICKED_MENU: "TOP_PICKED_MENU";
|
|
568
577
|
TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
|
|
569
578
|
OWNER_CONFIRMED: "OWNER_CONFIRMED";
|
|
570
|
-
TASK_ALL_READY: "TASK_ALL_READY";
|
|
571
579
|
MANUAL_SELECTION: "MANUAL_SELECTION";
|
|
572
580
|
}>;
|
|
573
581
|
score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -638,7 +646,9 @@ declare const MealPlanResponseSchema: z.ZodObject<{
|
|
|
638
646
|
address: z.ZodDefault<z.ZodString>;
|
|
639
647
|
source: z.ZodDefault<z.ZodEnum<{
|
|
640
648
|
manual: "manual";
|
|
649
|
+
"map-marker": "map-marker";
|
|
641
650
|
midpoint: "midpoint";
|
|
651
|
+
"user-location": "user-location";
|
|
642
652
|
search: "search";
|
|
643
653
|
"recent-place": "recent-place";
|
|
644
654
|
fallback: "fallback";
|
|
@@ -1349,7 +1359,9 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
|
|
|
1349
1359
|
address: z.ZodDefault<z.ZodString>;
|
|
1350
1360
|
source: z.ZodDefault<z.ZodEnum<{
|
|
1351
1361
|
manual: "manual";
|
|
1362
|
+
"map-marker": "map-marker";
|
|
1352
1363
|
midpoint: "midpoint";
|
|
1364
|
+
"user-location": "user-location";
|
|
1353
1365
|
search: "search";
|
|
1354
1366
|
"recent-place": "recent-place";
|
|
1355
1367
|
fallback: "fallback";
|
|
@@ -1373,8 +1385,8 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
|
|
|
1373
1385
|
"manual-search": "manual-search";
|
|
1374
1386
|
}>;
|
|
1375
1387
|
score: z.ZodDefault<z.ZodNumber>;
|
|
1376
|
-
imageUrl: z.
|
|
1377
|
-
image: z.
|
|
1388
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1389
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1378
1390
|
src: z.ZodString;
|
|
1379
1391
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
1380
1392
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -1434,7 +1446,9 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
|
|
|
1434
1446
|
address: z.ZodDefault<z.ZodString>;
|
|
1435
1447
|
source: z.ZodDefault<z.ZodEnum<{
|
|
1436
1448
|
manual: "manual";
|
|
1449
|
+
"map-marker": "map-marker";
|
|
1437
1450
|
midpoint: "midpoint";
|
|
1451
|
+
"user-location": "user-location";
|
|
1438
1452
|
search: "search";
|
|
1439
1453
|
"recent-place": "recent-place";
|
|
1440
1454
|
fallback: "fallback";
|
|
@@ -1458,8 +1472,8 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
|
|
|
1458
1472
|
"manual-search": "manual-search";
|
|
1459
1473
|
}>;
|
|
1460
1474
|
score: z.ZodDefault<z.ZodNumber>;
|
|
1461
|
-
imageUrl: z.
|
|
1462
|
-
image: z.
|
|
1475
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1476
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1463
1477
|
src: z.ZodString;
|
|
1464
1478
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
1465
1479
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -1511,7 +1525,9 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
|
|
|
1511
1525
|
address: z.ZodDefault<z.ZodString>;
|
|
1512
1526
|
source: z.ZodDefault<z.ZodEnum<{
|
|
1513
1527
|
manual: "manual";
|
|
1528
|
+
"map-marker": "map-marker";
|
|
1514
1529
|
midpoint: "midpoint";
|
|
1530
|
+
"user-location": "user-location";
|
|
1515
1531
|
search: "search";
|
|
1516
1532
|
"recent-place": "recent-place";
|
|
1517
1533
|
fallback: "fallback";
|
|
@@ -1535,8 +1551,8 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
|
|
|
1535
1551
|
"manual-search": "manual-search";
|
|
1536
1552
|
}>;
|
|
1537
1553
|
score: z.ZodDefault<z.ZodNumber>;
|
|
1538
|
-
imageUrl: z.
|
|
1539
|
-
image: z.
|
|
1554
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1555
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1540
1556
|
src: z.ZodString;
|
|
1541
1557
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
1542
1558
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -1615,13 +1631,10 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
|
|
|
1615
1631
|
}>;
|
|
1616
1632
|
status: z.ZodEnum<{
|
|
1617
1633
|
OPEN: "OPEN";
|
|
1618
|
-
READY: "READY";
|
|
1619
1634
|
STALE: "STALE";
|
|
1620
1635
|
LOCKED: "LOCKED";
|
|
1621
1636
|
RESOLVED: "RESOLVED";
|
|
1622
1637
|
}>;
|
|
1623
|
-
readyCount: z.ZodNumber;
|
|
1624
|
-
participantCount: z.ZodNumber;
|
|
1625
1638
|
blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1626
1639
|
updatedAt: z.ZodString;
|
|
1627
1640
|
}, z.core.$strip>>;
|
|
@@ -1651,7 +1664,6 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
|
|
|
1651
1664
|
TOP_PICKED_MENU: "TOP_PICKED_MENU";
|
|
1652
1665
|
TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
|
|
1653
1666
|
OWNER_CONFIRMED: "OWNER_CONFIRMED";
|
|
1654
|
-
TASK_ALL_READY: "TASK_ALL_READY";
|
|
1655
1667
|
MANUAL_SELECTION: "MANUAL_SELECTION";
|
|
1656
1668
|
}>;
|
|
1657
1669
|
score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1722,7 +1734,9 @@ declare const MealPlanGuestSessionResponseSchema: z.ZodObject<{
|
|
|
1722
1734
|
address: z.ZodDefault<z.ZodString>;
|
|
1723
1735
|
source: z.ZodDefault<z.ZodEnum<{
|
|
1724
1736
|
manual: "manual";
|
|
1737
|
+
"map-marker": "map-marker";
|
|
1725
1738
|
midpoint: "midpoint";
|
|
1739
|
+
"user-location": "user-location";
|
|
1726
1740
|
search: "search";
|
|
1727
1741
|
"recent-place": "recent-place";
|
|
1728
1742
|
fallback: "fallback";
|
|
@@ -3081,7 +3095,9 @@ declare const MealPlanDecisionStageIdSchema: z.core.$ZodBranded<z.ZodString, "Me
|
|
|
3081
3095
|
declare const MealPlanVoteIdSchema: z.core.$ZodBranded<z.ZodString, "MealPlanVoteId", "out">;
|
|
3082
3096
|
declare const MealPlanLocationCandidateSourceSchema: z.ZodEnum<{
|
|
3083
3097
|
manual: "manual";
|
|
3098
|
+
"map-marker": "map-marker";
|
|
3084
3099
|
midpoint: "midpoint";
|
|
3100
|
+
"user-location": "user-location";
|
|
3085
3101
|
search: "search";
|
|
3086
3102
|
"recent-place": "recent-place";
|
|
3087
3103
|
fallback: "fallback";
|
|
@@ -3094,7 +3110,9 @@ declare const MealPlanLocationCandidateSchema: z.ZodObject<{
|
|
|
3094
3110
|
address: z.ZodDefault<z.ZodString>;
|
|
3095
3111
|
source: z.ZodDefault<z.ZodEnum<{
|
|
3096
3112
|
manual: "manual";
|
|
3113
|
+
"map-marker": "map-marker";
|
|
3097
3114
|
midpoint: "midpoint";
|
|
3115
|
+
"user-location": "user-location";
|
|
3098
3116
|
search: "search";
|
|
3099
3117
|
"recent-place": "recent-place";
|
|
3100
3118
|
fallback: "fallback";
|
|
@@ -3123,8 +3141,8 @@ declare const MealPlanMenuCandidateSchema: z.ZodObject<{
|
|
|
3123
3141
|
"manual-search": "manual-search";
|
|
3124
3142
|
}>;
|
|
3125
3143
|
score: z.ZodDefault<z.ZodNumber>;
|
|
3126
|
-
imageUrl: z.
|
|
3127
|
-
image: z.
|
|
3144
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3145
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3128
3146
|
src: z.ZodString;
|
|
3129
3147
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
3130
3148
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -3238,7 +3256,9 @@ declare const MealPlanDecisionCandidateSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
3238
3256
|
address: z.ZodDefault<z.ZodString>;
|
|
3239
3257
|
source: z.ZodDefault<z.ZodEnum<{
|
|
3240
3258
|
manual: "manual";
|
|
3259
|
+
"map-marker": "map-marker";
|
|
3241
3260
|
midpoint: "midpoint";
|
|
3261
|
+
"user-location": "user-location";
|
|
3242
3262
|
search: "search";
|
|
3243
3263
|
"recent-place": "recent-place";
|
|
3244
3264
|
fallback: "fallback";
|
|
@@ -3262,8 +3282,8 @@ declare const MealPlanDecisionCandidateSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
3262
3282
|
"manual-search": "manual-search";
|
|
3263
3283
|
}>;
|
|
3264
3284
|
score: z.ZodDefault<z.ZodNumber>;
|
|
3265
|
-
imageUrl: z.
|
|
3266
|
-
image: z.
|
|
3285
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3286
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3267
3287
|
src: z.ZodString;
|
|
3268
3288
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
3269
3289
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -3323,7 +3343,9 @@ declare const MealPlanVoteSchema: z.ZodObject<{
|
|
|
3323
3343
|
address: z.ZodDefault<z.ZodString>;
|
|
3324
3344
|
source: z.ZodDefault<z.ZodEnum<{
|
|
3325
3345
|
manual: "manual";
|
|
3346
|
+
"map-marker": "map-marker";
|
|
3326
3347
|
midpoint: "midpoint";
|
|
3348
|
+
"user-location": "user-location";
|
|
3327
3349
|
search: "search";
|
|
3328
3350
|
"recent-place": "recent-place";
|
|
3329
3351
|
fallback: "fallback";
|
|
@@ -3347,8 +3369,8 @@ declare const MealPlanVoteSchema: z.ZodObject<{
|
|
|
3347
3369
|
"manual-search": "manual-search";
|
|
3348
3370
|
}>;
|
|
3349
3371
|
score: z.ZodDefault<z.ZodNumber>;
|
|
3350
|
-
imageUrl: z.
|
|
3351
|
-
image: z.
|
|
3372
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3373
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3352
3374
|
src: z.ZodString;
|
|
3353
3375
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
3354
3376
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -3415,7 +3437,9 @@ declare const MealPlanDecisionStageResponseSchema: z.ZodObject<{
|
|
|
3415
3437
|
address: z.ZodDefault<z.ZodString>;
|
|
3416
3438
|
source: z.ZodDefault<z.ZodEnum<{
|
|
3417
3439
|
manual: "manual";
|
|
3440
|
+
"map-marker": "map-marker";
|
|
3418
3441
|
midpoint: "midpoint";
|
|
3442
|
+
"user-location": "user-location";
|
|
3419
3443
|
search: "search";
|
|
3420
3444
|
"recent-place": "recent-place";
|
|
3421
3445
|
fallback: "fallback";
|
|
@@ -3439,8 +3463,8 @@ declare const MealPlanDecisionStageResponseSchema: z.ZodObject<{
|
|
|
3439
3463
|
"manual-search": "manual-search";
|
|
3440
3464
|
}>;
|
|
3441
3465
|
score: z.ZodDefault<z.ZodNumber>;
|
|
3442
|
-
imageUrl: z.
|
|
3443
|
-
image: z.
|
|
3466
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3467
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3444
3468
|
src: z.ZodString;
|
|
3445
3469
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
3446
3470
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -3500,7 +3524,9 @@ declare const MealPlanDecisionStageResponseSchema: z.ZodObject<{
|
|
|
3500
3524
|
address: z.ZodDefault<z.ZodString>;
|
|
3501
3525
|
source: z.ZodDefault<z.ZodEnum<{
|
|
3502
3526
|
manual: "manual";
|
|
3527
|
+
"map-marker": "map-marker";
|
|
3503
3528
|
midpoint: "midpoint";
|
|
3529
|
+
"user-location": "user-location";
|
|
3504
3530
|
search: "search";
|
|
3505
3531
|
"recent-place": "recent-place";
|
|
3506
3532
|
fallback: "fallback";
|
|
@@ -3524,8 +3550,8 @@ declare const MealPlanDecisionStageResponseSchema: z.ZodObject<{
|
|
|
3524
3550
|
"manual-search": "manual-search";
|
|
3525
3551
|
}>;
|
|
3526
3552
|
score: z.ZodDefault<z.ZodNumber>;
|
|
3527
|
-
imageUrl: z.
|
|
3528
|
-
image: z.
|
|
3553
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3554
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3529
3555
|
src: z.ZodString;
|
|
3530
3556
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
3531
3557
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -3577,7 +3603,9 @@ declare const MealPlanDecisionStageResponseSchema: z.ZodObject<{
|
|
|
3577
3603
|
address: z.ZodDefault<z.ZodString>;
|
|
3578
3604
|
source: z.ZodDefault<z.ZodEnum<{
|
|
3579
3605
|
manual: "manual";
|
|
3606
|
+
"map-marker": "map-marker";
|
|
3580
3607
|
midpoint: "midpoint";
|
|
3608
|
+
"user-location": "user-location";
|
|
3581
3609
|
search: "search";
|
|
3582
3610
|
"recent-place": "recent-place";
|
|
3583
3611
|
fallback: "fallback";
|
|
@@ -3601,8 +3629,8 @@ declare const MealPlanDecisionStageResponseSchema: z.ZodObject<{
|
|
|
3601
3629
|
"manual-search": "manual-search";
|
|
3602
3630
|
}>;
|
|
3603
3631
|
score: z.ZodDefault<z.ZodNumber>;
|
|
3604
|
-
imageUrl: z.
|
|
3605
|
-
image: z.
|
|
3632
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3633
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3606
3634
|
src: z.ZodString;
|
|
3607
3635
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
3608
3636
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -3686,7 +3714,9 @@ declare const CreateMealPlanVoteRequestSchema: z.ZodObject<{
|
|
|
3686
3714
|
address: z.ZodDefault<z.ZodString>;
|
|
3687
3715
|
source: z.ZodDefault<z.ZodEnum<{
|
|
3688
3716
|
manual: "manual";
|
|
3717
|
+
"map-marker": "map-marker";
|
|
3689
3718
|
midpoint: "midpoint";
|
|
3719
|
+
"user-location": "user-location";
|
|
3690
3720
|
search: "search";
|
|
3691
3721
|
"recent-place": "recent-place";
|
|
3692
3722
|
fallback: "fallback";
|
|
@@ -3710,8 +3740,8 @@ declare const CreateMealPlanVoteRequestSchema: z.ZodObject<{
|
|
|
3710
3740
|
"manual-search": "manual-search";
|
|
3711
3741
|
}>;
|
|
3712
3742
|
score: z.ZodDefault<z.ZodNumber>;
|
|
3713
|
-
imageUrl: z.
|
|
3714
|
-
image: z.
|
|
3743
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3744
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3715
3745
|
src: z.ZodString;
|
|
3716
3746
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
3717
3747
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -3763,7 +3793,9 @@ declare const CompleteMealPlanDecisionStageRequestSchema: z.ZodObject<{
|
|
|
3763
3793
|
address: z.ZodDefault<z.ZodString>;
|
|
3764
3794
|
source: z.ZodDefault<z.ZodEnum<{
|
|
3765
3795
|
manual: "manual";
|
|
3796
|
+
"map-marker": "map-marker";
|
|
3766
3797
|
midpoint: "midpoint";
|
|
3798
|
+
"user-location": "user-location";
|
|
3767
3799
|
search: "search";
|
|
3768
3800
|
"recent-place": "recent-place";
|
|
3769
3801
|
fallback: "fallback";
|
|
@@ -3787,8 +3819,8 @@ declare const CompleteMealPlanDecisionStageRequestSchema: z.ZodObject<{
|
|
|
3787
3819
|
"manual-search": "manual-search";
|
|
3788
3820
|
}>;
|
|
3789
3821
|
score: z.ZodDefault<z.ZodNumber>;
|
|
3790
|
-
imageUrl: z.
|
|
3791
|
-
image: z.
|
|
3822
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3823
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3792
3824
|
src: z.ZodString;
|
|
3793
3825
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
3794
3826
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -3855,7 +3887,9 @@ declare const CreateMealPlanChangeRequestSchema: z.ZodObject<{
|
|
|
3855
3887
|
address: z.ZodDefault<z.ZodString>;
|
|
3856
3888
|
source: z.ZodDefault<z.ZodEnum<{
|
|
3857
3889
|
manual: "manual";
|
|
3890
|
+
"map-marker": "map-marker";
|
|
3858
3891
|
midpoint: "midpoint";
|
|
3892
|
+
"user-location": "user-location";
|
|
3859
3893
|
search: "search";
|
|
3860
3894
|
"recent-place": "recent-place";
|
|
3861
3895
|
fallback: "fallback";
|
|
@@ -3879,8 +3913,8 @@ declare const CreateMealPlanChangeRequestSchema: z.ZodObject<{
|
|
|
3879
3913
|
"manual-search": "manual-search";
|
|
3880
3914
|
}>;
|
|
3881
3915
|
score: z.ZodDefault<z.ZodNumber>;
|
|
3882
|
-
imageUrl: z.
|
|
3883
|
-
image: z.
|
|
3916
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3917
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3884
3918
|
src: z.ZodString;
|
|
3885
3919
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
3886
3920
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -3948,7 +3982,6 @@ declare const MealPlanDecisionTaskKeySchema: z.ZodEnum<{
|
|
|
3948
3982
|
}>;
|
|
3949
3983
|
declare const MealPlanDecisionTaskStatusSchema: z.ZodEnum<{
|
|
3950
3984
|
OPEN: "OPEN";
|
|
3951
|
-
READY: "READY";
|
|
3952
3985
|
STALE: "STALE";
|
|
3953
3986
|
LOCKED: "LOCKED";
|
|
3954
3987
|
RESOLVED: "RESOLVED";
|
|
@@ -3973,7 +4006,6 @@ declare const MealPlanDecisionReasonSchema: z.ZodEnum<{
|
|
|
3973
4006
|
TOP_PICKED_MENU: "TOP_PICKED_MENU";
|
|
3974
4007
|
TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
|
|
3975
4008
|
OWNER_CONFIRMED: "OWNER_CONFIRMED";
|
|
3976
|
-
TASK_ALL_READY: "TASK_ALL_READY";
|
|
3977
4009
|
MANUAL_SELECTION: "MANUAL_SELECTION";
|
|
3978
4010
|
}>;
|
|
3979
4011
|
declare const MealPlanDecisionActorTypeSchema: z.ZodEnum<{
|
|
@@ -4005,7 +4037,6 @@ declare const MealPlanDecisionSnapshotSchema: z.ZodObject<{
|
|
|
4005
4037
|
TOP_PICKED_MENU: "TOP_PICKED_MENU";
|
|
4006
4038
|
TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
|
|
4007
4039
|
OWNER_CONFIRMED: "OWNER_CONFIRMED";
|
|
4008
|
-
TASK_ALL_READY: "TASK_ALL_READY";
|
|
4009
4040
|
MANUAL_SELECTION: "MANUAL_SELECTION";
|
|
4010
4041
|
}>;
|
|
4011
4042
|
score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -4046,13 +4077,10 @@ declare const MealPlanDecisionTaskProgressSchema: z.ZodObject<{
|
|
|
4046
4077
|
}>;
|
|
4047
4078
|
status: z.ZodEnum<{
|
|
4048
4079
|
OPEN: "OPEN";
|
|
4049
|
-
READY: "READY";
|
|
4050
4080
|
STALE: "STALE";
|
|
4051
4081
|
LOCKED: "LOCKED";
|
|
4052
4082
|
RESOLVED: "RESOLVED";
|
|
4053
4083
|
}>;
|
|
4054
|
-
readyCount: z.ZodNumber;
|
|
4055
|
-
participantCount: z.ZodNumber;
|
|
4056
4084
|
blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4057
4085
|
updatedAt: z.ZodString;
|
|
4058
4086
|
}, z.core.$strip>;
|
|
@@ -4074,13 +4102,10 @@ declare const MealPlanDecisionProgressSchema: z.ZodObject<{
|
|
|
4074
4102
|
}>;
|
|
4075
4103
|
status: z.ZodEnum<{
|
|
4076
4104
|
OPEN: "OPEN";
|
|
4077
|
-
READY: "READY";
|
|
4078
4105
|
STALE: "STALE";
|
|
4079
4106
|
LOCKED: "LOCKED";
|
|
4080
4107
|
RESOLVED: "RESOLVED";
|
|
4081
4108
|
}>;
|
|
4082
|
-
readyCount: z.ZodNumber;
|
|
4083
|
-
participantCount: z.ZodNumber;
|
|
4084
4109
|
blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4085
4110
|
updatedAt: z.ZodString;
|
|
4086
4111
|
}, z.core.$strip>>;
|
|
@@ -4110,7 +4135,6 @@ declare const MealPlanDecisionProgressSchema: z.ZodObject<{
|
|
|
4110
4135
|
TOP_PICKED_MENU: "TOP_PICKED_MENU";
|
|
4111
4136
|
TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
|
|
4112
4137
|
OWNER_CONFIRMED: "OWNER_CONFIRMED";
|
|
4113
|
-
TASK_ALL_READY: "TASK_ALL_READY";
|
|
4114
4138
|
MANUAL_SELECTION: "MANUAL_SELECTION";
|
|
4115
4139
|
}>;
|
|
4116
4140
|
score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -4139,9 +4163,6 @@ declare const MealPlanDecisionProgressSchema: z.ZodObject<{
|
|
|
4139
4163
|
version: z.ZodNumber;
|
|
4140
4164
|
updatedAt: z.ZodString;
|
|
4141
4165
|
}, z.core.$strip>;
|
|
4142
|
-
declare const MealPlanDecisionTaskReadyRequestSchema: z.ZodObject<{
|
|
4143
|
-
isReady: z.ZodBoolean;
|
|
4144
|
-
}, z.core.$strip>;
|
|
4145
4166
|
declare const ReopenMealPlanDecisionTaskRequestSchema: z.ZodObject<{
|
|
4146
4167
|
reason: z.ZodOptional<z.ZodString>;
|
|
4147
4168
|
}, z.core.$strip>;
|
|
@@ -4153,6 +4174,8 @@ type MealPlanRestaurantSearchState = z.infer<typeof MealPlanRestaurantSearchStat
|
|
|
4153
4174
|
type MealPlanMenuRecommendationState = z.infer<typeof MealPlanMenuRecommendationStateSchema>;
|
|
4154
4175
|
type MealPlanDecisionStageMetadata = z.infer<typeof MealPlanDecisionStageMetadataSchema>;
|
|
4155
4176
|
|
|
4177
|
+
/** Socket.IO command name for creating a decision vote and materializing its candidate. */
|
|
4178
|
+
declare const MealPlanDecisionVoteSocketEvent: "mealPlan:decision:vote";
|
|
4156
4179
|
/**
|
|
4157
4180
|
* Canonical real-time write payload for a decision vote.
|
|
4158
4181
|
* Candidate materialization and vote handling are owned by the decision service.
|
|
@@ -4180,7 +4203,9 @@ declare const MealPlanDecisionVoteSocketPayloadSchema: z.ZodObject<{
|
|
|
4180
4203
|
address: z.ZodDefault<z.ZodString>;
|
|
4181
4204
|
source: z.ZodDefault<z.ZodEnum<{
|
|
4182
4205
|
manual: "manual";
|
|
4206
|
+
"map-marker": "map-marker";
|
|
4183
4207
|
midpoint: "midpoint";
|
|
4208
|
+
"user-location": "user-location";
|
|
4184
4209
|
search: "search";
|
|
4185
4210
|
"recent-place": "recent-place";
|
|
4186
4211
|
fallback: "fallback";
|
|
@@ -4204,8 +4229,8 @@ declare const MealPlanDecisionVoteSocketPayloadSchema: z.ZodObject<{
|
|
|
4204
4229
|
"manual-search": "manual-search";
|
|
4205
4230
|
}>;
|
|
4206
4231
|
score: z.ZodDefault<z.ZodNumber>;
|
|
4207
|
-
imageUrl: z.
|
|
4208
|
-
image: z.
|
|
4232
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4233
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4209
4234
|
src: z.ZodString;
|
|
4210
4235
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
4211
4236
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -4383,7 +4408,9 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
|
|
|
4383
4408
|
address: z.ZodDefault<z.ZodString>;
|
|
4384
4409
|
source: z.ZodDefault<z.ZodEnum<{
|
|
4385
4410
|
manual: "manual";
|
|
4411
|
+
"map-marker": "map-marker";
|
|
4386
4412
|
midpoint: "midpoint";
|
|
4413
|
+
"user-location": "user-location";
|
|
4387
4414
|
search: "search";
|
|
4388
4415
|
"recent-place": "recent-place";
|
|
4389
4416
|
fallback: "fallback";
|
|
@@ -4407,8 +4434,8 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
|
|
|
4407
4434
|
"manual-search": "manual-search";
|
|
4408
4435
|
}>;
|
|
4409
4436
|
score: z.ZodDefault<z.ZodNumber>;
|
|
4410
|
-
imageUrl: z.
|
|
4411
|
-
image: z.
|
|
4437
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4438
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4412
4439
|
src: z.ZodString;
|
|
4413
4440
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
4414
4441
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -4468,7 +4495,9 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
|
|
|
4468
4495
|
address: z.ZodDefault<z.ZodString>;
|
|
4469
4496
|
source: z.ZodDefault<z.ZodEnum<{
|
|
4470
4497
|
manual: "manual";
|
|
4498
|
+
"map-marker": "map-marker";
|
|
4471
4499
|
midpoint: "midpoint";
|
|
4500
|
+
"user-location": "user-location";
|
|
4472
4501
|
search: "search";
|
|
4473
4502
|
"recent-place": "recent-place";
|
|
4474
4503
|
fallback: "fallback";
|
|
@@ -4492,8 +4521,8 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
|
|
|
4492
4521
|
"manual-search": "manual-search";
|
|
4493
4522
|
}>;
|
|
4494
4523
|
score: z.ZodDefault<z.ZodNumber>;
|
|
4495
|
-
imageUrl: z.
|
|
4496
|
-
image: z.
|
|
4524
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4525
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4497
4526
|
src: z.ZodString;
|
|
4498
4527
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
4499
4528
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -4545,7 +4574,9 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
|
|
|
4545
4574
|
address: z.ZodDefault<z.ZodString>;
|
|
4546
4575
|
source: z.ZodDefault<z.ZodEnum<{
|
|
4547
4576
|
manual: "manual";
|
|
4577
|
+
"map-marker": "map-marker";
|
|
4548
4578
|
midpoint: "midpoint";
|
|
4579
|
+
"user-location": "user-location";
|
|
4549
4580
|
search: "search";
|
|
4550
4581
|
"recent-place": "recent-place";
|
|
4551
4582
|
fallback: "fallback";
|
|
@@ -4569,8 +4600,8 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
|
|
|
4569
4600
|
"manual-search": "manual-search";
|
|
4570
4601
|
}>;
|
|
4571
4602
|
score: z.ZodDefault<z.ZodNumber>;
|
|
4572
|
-
imageUrl: z.
|
|
4573
|
-
image: z.
|
|
4603
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4604
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4574
4605
|
src: z.ZodString;
|
|
4575
4606
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
4576
4607
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -4649,13 +4680,10 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
|
|
|
4649
4680
|
}>;
|
|
4650
4681
|
status: z.ZodEnum<{
|
|
4651
4682
|
OPEN: "OPEN";
|
|
4652
|
-
READY: "READY";
|
|
4653
4683
|
STALE: "STALE";
|
|
4654
4684
|
LOCKED: "LOCKED";
|
|
4655
4685
|
RESOLVED: "RESOLVED";
|
|
4656
4686
|
}>;
|
|
4657
|
-
readyCount: z.ZodNumber;
|
|
4658
|
-
participantCount: z.ZodNumber;
|
|
4659
4687
|
blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4660
4688
|
updatedAt: z.ZodString;
|
|
4661
4689
|
}, z.core.$strip>>;
|
|
@@ -4685,7 +4713,6 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
|
|
|
4685
4713
|
TOP_PICKED_MENU: "TOP_PICKED_MENU";
|
|
4686
4714
|
TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
|
|
4687
4715
|
OWNER_CONFIRMED: "OWNER_CONFIRMED";
|
|
4688
|
-
TASK_ALL_READY: "TASK_ALL_READY";
|
|
4689
4716
|
MANUAL_SELECTION: "MANUAL_SELECTION";
|
|
4690
4717
|
}>;
|
|
4691
4718
|
score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -4756,7 +4783,9 @@ declare const MealPlanDecisionVoteSocketSuccessAckSchema: z.ZodObject<{
|
|
|
4756
4783
|
address: z.ZodDefault<z.ZodString>;
|
|
4757
4784
|
source: z.ZodDefault<z.ZodEnum<{
|
|
4758
4785
|
manual: "manual";
|
|
4786
|
+
"map-marker": "map-marker";
|
|
4759
4787
|
midpoint: "midpoint";
|
|
4788
|
+
"user-location": "user-location";
|
|
4760
4789
|
search: "search";
|
|
4761
4790
|
"recent-place": "recent-place";
|
|
4762
4791
|
fallback: "fallback";
|
|
@@ -4937,7 +4966,9 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
4937
4966
|
address: z.ZodDefault<z.ZodString>;
|
|
4938
4967
|
source: z.ZodDefault<z.ZodEnum<{
|
|
4939
4968
|
manual: "manual";
|
|
4969
|
+
"map-marker": "map-marker";
|
|
4940
4970
|
midpoint: "midpoint";
|
|
4971
|
+
"user-location": "user-location";
|
|
4941
4972
|
search: "search";
|
|
4942
4973
|
"recent-place": "recent-place";
|
|
4943
4974
|
fallback: "fallback";
|
|
@@ -4961,8 +4992,8 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
4961
4992
|
"manual-search": "manual-search";
|
|
4962
4993
|
}>;
|
|
4963
4994
|
score: z.ZodDefault<z.ZodNumber>;
|
|
4964
|
-
imageUrl: z.
|
|
4965
|
-
image: z.
|
|
4995
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4996
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4966
4997
|
src: z.ZodString;
|
|
4967
4998
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
4968
4999
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -5022,7 +5053,9 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
5022
5053
|
address: z.ZodDefault<z.ZodString>;
|
|
5023
5054
|
source: z.ZodDefault<z.ZodEnum<{
|
|
5024
5055
|
manual: "manual";
|
|
5056
|
+
"map-marker": "map-marker";
|
|
5025
5057
|
midpoint: "midpoint";
|
|
5058
|
+
"user-location": "user-location";
|
|
5026
5059
|
search: "search";
|
|
5027
5060
|
"recent-place": "recent-place";
|
|
5028
5061
|
fallback: "fallback";
|
|
@@ -5046,8 +5079,8 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
5046
5079
|
"manual-search": "manual-search";
|
|
5047
5080
|
}>;
|
|
5048
5081
|
score: z.ZodDefault<z.ZodNumber>;
|
|
5049
|
-
imageUrl: z.
|
|
5050
|
-
image: z.
|
|
5082
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
5083
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
5051
5084
|
src: z.ZodString;
|
|
5052
5085
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
5053
5086
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -5099,7 +5132,9 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
5099
5132
|
address: z.ZodDefault<z.ZodString>;
|
|
5100
5133
|
source: z.ZodDefault<z.ZodEnum<{
|
|
5101
5134
|
manual: "manual";
|
|
5135
|
+
"map-marker": "map-marker";
|
|
5102
5136
|
midpoint: "midpoint";
|
|
5137
|
+
"user-location": "user-location";
|
|
5103
5138
|
search: "search";
|
|
5104
5139
|
"recent-place": "recent-place";
|
|
5105
5140
|
fallback: "fallback";
|
|
@@ -5123,8 +5158,8 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
5123
5158
|
"manual-search": "manual-search";
|
|
5124
5159
|
}>;
|
|
5125
5160
|
score: z.ZodDefault<z.ZodNumber>;
|
|
5126
|
-
imageUrl: z.
|
|
5127
|
-
image: z.
|
|
5161
|
+
imageUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
5162
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
5128
5163
|
src: z.ZodString;
|
|
5129
5164
|
avifSrcset: z.ZodOptional<z.ZodString>;
|
|
5130
5165
|
thumbhashDataURL: z.ZodOptional<z.ZodString>;
|
|
@@ -5203,13 +5238,10 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
5203
5238
|
}>;
|
|
5204
5239
|
status: z.ZodEnum<{
|
|
5205
5240
|
OPEN: "OPEN";
|
|
5206
|
-
READY: "READY";
|
|
5207
5241
|
STALE: "STALE";
|
|
5208
5242
|
LOCKED: "LOCKED";
|
|
5209
5243
|
RESOLVED: "RESOLVED";
|
|
5210
5244
|
}>;
|
|
5211
|
-
readyCount: z.ZodNumber;
|
|
5212
|
-
participantCount: z.ZodNumber;
|
|
5213
5245
|
blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5214
5246
|
updatedAt: z.ZodString;
|
|
5215
5247
|
}, z.core.$strip>>;
|
|
@@ -5239,7 +5271,6 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
5239
5271
|
TOP_PICKED_MENU: "TOP_PICKED_MENU";
|
|
5240
5272
|
TOP_PICKED_RESTAURANT: "TOP_PICKED_RESTAURANT";
|
|
5241
5273
|
OWNER_CONFIRMED: "OWNER_CONFIRMED";
|
|
5242
|
-
TASK_ALL_READY: "TASK_ALL_READY";
|
|
5243
5274
|
MANUAL_SELECTION: "MANUAL_SELECTION";
|
|
5244
5275
|
}>;
|
|
5245
5276
|
score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -5310,7 +5341,9 @@ declare const MealPlanDecisionVoteSocketAckSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
5310
5341
|
address: z.ZodDefault<z.ZodString>;
|
|
5311
5342
|
source: z.ZodDefault<z.ZodEnum<{
|
|
5312
5343
|
manual: "manual";
|
|
5344
|
+
"map-marker": "map-marker";
|
|
5313
5345
|
midpoint: "midpoint";
|
|
5346
|
+
"user-location": "user-location";
|
|
5314
5347
|
search: "search";
|
|
5315
5348
|
"recent-place": "recent-place";
|
|
5316
5349
|
fallback: "fallback";
|
|
@@ -5727,19 +5760,15 @@ type MealGroupHistoryResponse = z.infer<typeof MealGroupHistoryResponseSchema>;
|
|
|
5727
5760
|
type MealGroupPreferenceSummary = z.infer<typeof MealGroupPreferenceSummarySchema>;
|
|
5728
5761
|
|
|
5729
5762
|
/**
|
|
5730
|
-
* Stable
|
|
5763
|
+
* Stable identity for a decision candidate.
|
|
5731
5764
|
*
|
|
5732
|
-
* Candidate
|
|
5733
|
-
*
|
|
5734
|
-
*
|
|
5735
|
-
*
|
|
5765
|
+
* Candidate objects are persisted in JSON columns, so object-property order and
|
|
5766
|
+
* volatile display metadata such as `createdAt` must never participate in
|
|
5767
|
+
* equality checks. Client rendering, vote grouping, and server-side
|
|
5768
|
+
* materialization all use this semantic key.
|
|
5736
5769
|
*/
|
|
5737
5770
|
declare function getMealPlanDecisionCandidateKey(candidate: MealPlanDecisionCandidate): string;
|
|
5738
|
-
/**
|
|
5739
|
-
* Search cache identity intentionally contains only the provisional area/menu
|
|
5740
|
-
* candidate identities. It changes exactly when the winning provisional pair
|
|
5741
|
-
* changes, not when response display metadata changes.
|
|
5742
|
-
*/
|
|
5771
|
+
/** Cache identity for the provisional AREA/MENU pair driving restaurant search. */
|
|
5743
5772
|
declare function getMealPlanRestaurantProvisionCacheKey(area: Extract<MealPlanDecisionCandidate, {
|
|
5744
5773
|
stageType: "AREA";
|
|
5745
5774
|
}>, menu: Extract<MealPlanDecisionCandidate, {
|
|
@@ -5756,4 +5785,4 @@ declare function getMealPlanLiveActivityBehavior(kind: string): "NONE" | "START_
|
|
|
5756
5785
|
declare function shouldShowForegroundToast(kind: string): boolean;
|
|
5757
5786
|
declare function compareMealPlanNotificationsByPriority(channel: MealPlanNotificationPriorityChannel): (a: Pick<MealPlanNotification, "kind" | "createdAt" | "readAt">, b: Pick<MealPlanNotification, "kind" | "createdAt" | "readAt">) => number;
|
|
5758
5787
|
|
|
5759
|
-
export { type AddMealGroupMemberRequest, AddMealGroupMemberRequestSchema, type CompleteMealPlanDecisionStageRequest, CompleteMealPlanDecisionStageRequestSchema, type ConfirmMealPlanDecisionSnapshotRequest, ConfirmMealPlanDecisionSnapshotRequestSchema, type CreateMealGroupRequest, CreateMealGroupRequestSchema, type CreateMealPlanChangeRequest, CreateMealPlanChangeRequestSchema, type CreateMealPlanInviteRequest, CreateMealPlanInviteRequestSchema, type CreateMealPlanJoinRequest, CreateMealPlanJoinRequestSchema, type CreateMealPlanParticipantRequest, CreateMealPlanParticipantRequestSchema, type CreateMealPlanRequest, CreateMealPlanRequestSchema, type CreateMealPlanResponse, CreateMealPlanResponseSchema, type CreateMealPlanShareLinkRequest, CreateMealPlanShareLinkRequestSchema, type CreateMealPlanVoteRequest, CreateMealPlanVoteRequestSchema, type ExposeMealPlanToNearbyFriendsRequest, ExposeMealPlanToNearbyFriendsRequestSchema, type ExposeMealPlanToNearbyFriendsResponse, ExposeMealPlanToNearbyFriendsResponseSchema, type HomeMealPlanActionCard, HomeMealPlanActionCardSchema, type HomeMealPlanActionKind, HomeMealPlanActionKindSchema, type HomeMealPlanDashboardResponse, HomeMealPlanDashboardResponseSchema, type JoinMealPlanGuestRequest, JoinMealPlanGuestRequestSchema, type JoinMealPlanGuestResponse, JoinMealPlanGuestResponseSchema, MEAL_PLAN_NOTIFICATION_PRIORITY_POLICIES, type MealGroupHistoryItem, MealGroupHistoryItemSchema, type MealGroupHistoryResponse, MealGroupHistoryResponseSchema, type MealGroupMember, type MealGroupMemberRole, MealGroupMemberRoleSchema, MealGroupMemberSchema, type MealGroupPreferenceSummary, MealGroupPreferenceSummarySchema, type MealGroupResponse, MealGroupResponseSchema, type MealMapFriendRecordLocationMetadata, MealMapFriendRecordLocationMetadataSchema, type MealMapLayer, MealMapLayerSchema, type MealMapMarker, MealMapMarkerSchema, type MealMapMyMealPlanPlaceMetadata, MealMapMyMealPlanPlaceMetadataSchema, type MealMapNearbyFriendMealPlanMetadata, MealMapNearbyFriendMealPlanMetadataSchema, type MealMapQuery, MealMapQuerySchema, type MealMapResponse, MealMapResponseSchema, type MealMapRestaurantCandidateCompletionBlockedReason, MealMapRestaurantCandidateCompletionBlockedReasonSchema, type MealMapRestaurantCandidateMetadata, MealMapRestaurantCandidateMetadataSchema, type MealPlanChangeRequestStatus, MealPlanChangeRequestStatusSchema, type MealPlanChangeRequestSummary, MealPlanChangeRequestSummarySchema, type MealPlanChannel, MealPlanChannelSchema, type MealPlanChatMessageKind, MealPlanChatMessageKindSchema, type MealPlanChatMessageListResponse, MealPlanChatMessageListResponseSchema, type MealPlanChatMessageResponse, MealPlanChatMessageResponseSchema, type MealPlanChatRoomSummary, MealPlanChatRoomSummarySchema, type MealPlanChatSystemPayload, MealPlanChatSystemPayloadSchema, type MealPlanDecisionActorType, MealPlanDecisionActorTypeSchema, type MealPlanDecisionCandidate, MealPlanDecisionCandidateSchema, type MealPlanDecisionFinalField, MealPlanDecisionFinalFieldSchema, type MealPlanDecisionProgress, MealPlanDecisionProgressSchema, type MealPlanDecisionReason, MealPlanDecisionReasonSchema, type MealPlanDecisionSnapshot, MealPlanDecisionSnapshotSchema, type MealPlanDecisionSnapshotStatus, MealPlanDecisionSnapshotStatusSchema, MealPlanDecisionStageIdSchema, type MealPlanDecisionStageMetadata, MealPlanDecisionStageMetadataSchema, type MealPlanDecisionStageResponse, MealPlanDecisionStageResponseSchema, type MealPlanDecisionStageStatus, MealPlanDecisionStageStatusSchema, type MealPlanDecisionStageType, MealPlanDecisionStageTypeSchema, type MealPlanDecisionTaskKey, MealPlanDecisionTaskKeySchema, type MealPlanDecisionTaskProgress, MealPlanDecisionTaskProgressSchema,
|
|
5788
|
+
export { type AddMealGroupMemberRequest, AddMealGroupMemberRequestSchema, type CompleteMealPlanDecisionStageRequest, CompleteMealPlanDecisionStageRequestSchema, type ConfirmMealPlanDecisionSnapshotRequest, ConfirmMealPlanDecisionSnapshotRequestSchema, type CreateMealGroupRequest, CreateMealGroupRequestSchema, type CreateMealPlanChangeRequest, CreateMealPlanChangeRequestSchema, type CreateMealPlanInviteRequest, CreateMealPlanInviteRequestSchema, type CreateMealPlanJoinRequest, CreateMealPlanJoinRequestSchema, type CreateMealPlanParticipantRequest, CreateMealPlanParticipantRequestSchema, type CreateMealPlanRequest, CreateMealPlanRequestSchema, type CreateMealPlanResponse, CreateMealPlanResponseSchema, type CreateMealPlanShareLinkRequest, CreateMealPlanShareLinkRequestSchema, type CreateMealPlanVoteRequest, CreateMealPlanVoteRequestSchema, type ExposeMealPlanToNearbyFriendsRequest, ExposeMealPlanToNearbyFriendsRequestSchema, type ExposeMealPlanToNearbyFriendsResponse, ExposeMealPlanToNearbyFriendsResponseSchema, type HomeMealPlanActionCard, HomeMealPlanActionCardSchema, type HomeMealPlanActionKind, HomeMealPlanActionKindSchema, type HomeMealPlanDashboardResponse, HomeMealPlanDashboardResponseSchema, type JoinMealPlanGuestRequest, JoinMealPlanGuestRequestSchema, type JoinMealPlanGuestResponse, JoinMealPlanGuestResponseSchema, MEAL_PLAN_NOTIFICATION_PRIORITY_POLICIES, type MealGroupHistoryItem, MealGroupHistoryItemSchema, type MealGroupHistoryResponse, MealGroupHistoryResponseSchema, type MealGroupMember, type MealGroupMemberRole, MealGroupMemberRoleSchema, MealGroupMemberSchema, type MealGroupPreferenceSummary, MealGroupPreferenceSummarySchema, type MealGroupResponse, MealGroupResponseSchema, type MealMapFriendRecordLocationMetadata, MealMapFriendRecordLocationMetadataSchema, type MealMapLayer, MealMapLayerSchema, type MealMapMarker, MealMapMarkerSchema, type MealMapMyMealPlanPlaceMetadata, MealMapMyMealPlanPlaceMetadataSchema, type MealMapNearbyFriendMealPlanMetadata, MealMapNearbyFriendMealPlanMetadataSchema, type MealMapQuery, MealMapQuerySchema, type MealMapResponse, MealMapResponseSchema, type MealMapRestaurantCandidateCompletionBlockedReason, MealMapRestaurantCandidateCompletionBlockedReasonSchema, type MealMapRestaurantCandidateMetadata, MealMapRestaurantCandidateMetadataSchema, type MealPlanChangeRequestStatus, MealPlanChangeRequestStatusSchema, type MealPlanChangeRequestSummary, MealPlanChangeRequestSummarySchema, type MealPlanChannel, MealPlanChannelSchema, type MealPlanChatMessageKind, MealPlanChatMessageKindSchema, type MealPlanChatMessageListResponse, MealPlanChatMessageListResponseSchema, type MealPlanChatMessageResponse, MealPlanChatMessageResponseSchema, type MealPlanChatRoomSummary, MealPlanChatRoomSummarySchema, type MealPlanChatSystemPayload, MealPlanChatSystemPayloadSchema, type MealPlanDecisionActorType, MealPlanDecisionActorTypeSchema, type MealPlanDecisionCandidate, MealPlanDecisionCandidateSchema, type MealPlanDecisionFinalField, MealPlanDecisionFinalFieldSchema, type MealPlanDecisionProgress, MealPlanDecisionProgressSchema, type MealPlanDecisionReason, MealPlanDecisionReasonSchema, type MealPlanDecisionSnapshot, MealPlanDecisionSnapshotSchema, type MealPlanDecisionSnapshotStatus, MealPlanDecisionSnapshotStatusSchema, MealPlanDecisionStageIdSchema, type MealPlanDecisionStageMetadata, MealPlanDecisionStageMetadataSchema, type MealPlanDecisionStageResponse, MealPlanDecisionStageResponseSchema, type MealPlanDecisionStageStatus, MealPlanDecisionStageStatusSchema, type MealPlanDecisionStageType, MealPlanDecisionStageTypeSchema, type MealPlanDecisionTaskKey, MealPlanDecisionTaskKeySchema, type MealPlanDecisionTaskProgress, MealPlanDecisionTaskProgressSchema, type MealPlanDecisionTaskStatus, MealPlanDecisionTaskStatusSchema, type MealPlanDecisionVoteSocketAck, MealPlanDecisionVoteSocketAckSchema, type MealPlanDecisionVoteSocketError, MealPlanDecisionVoteSocketErrorSchema, MealPlanDecisionVoteSocketEvent, type MealPlanDecisionVoteSocketFailureAck, MealPlanDecisionVoteSocketFailureAckSchema, type MealPlanDecisionVoteSocketPayload, MealPlanDecisionVoteSocketPayloadSchema, type MealPlanDecisionVoteSocketSuccessAck, MealPlanDecisionVoteSocketSuccessAckSchema, type MealPlanGuestParticipant, MealPlanGuestParticipantSchema, type MealPlanGuestSessionQuery, MealPlanGuestSessionQuerySchema, type MealPlanGuestSessionResponse, MealPlanGuestSessionResponseSchema, type MealPlanInviteListResponse, MealPlanInviteListResponseSchema, type MealPlanInviteStatus, MealPlanInviteStatusSchema, type MealPlanInviteSummary, MealPlanInviteSummarySchema, type MealPlanJoinRequestStatus, MealPlanJoinRequestStatusSchema, type MealPlanJoinRequestSummary, MealPlanJoinRequestSummarySchema, type MealPlanJoinSource, MealPlanJoinSourceSchema, MealPlanLatitudeSchema, type MealPlanLiveActivityBehavior, MealPlanLiveActivityBehaviorSchema, type MealPlanLocationCandidate, MealPlanLocationCandidateIdSchema, MealPlanLocationCandidateSchema, type MealPlanLocationCandidateSource, MealPlanLocationCandidateSourceSchema, MealPlanLongitudeSchema, type MealPlanMenuCandidate, MealPlanMenuCandidateIdSchema, MealPlanMenuCandidateSchema, type MealPlanMenuCandidateSource, MealPlanMenuCandidateSourceSchema, type MealPlanMenuRecommendationState, MealPlanMenuRecommendationStateSchema, type MealPlanNearbyFriendExposureBatchSummary, MealPlanNearbyFriendExposureBatchSummarySchema, MealPlanNearbyFriendExposureIdSchema, type MealPlanNearbyFriendExposureNotificationStatus, MealPlanNearbyFriendExposureNotificationStatusSchema, type MealPlanNearbyFriendExposureStatus, MealPlanNearbyFriendExposureStatusSchema, type MealPlanNearbyFriendExposureSummary, MealPlanNearbyFriendExposureSummarySchema, type MealPlanNearbyFriendRejectionReason, MealPlanNearbyFriendRejectionReasonSchema, type MealPlanNearbyFriendRejectionSummary, MealPlanNearbyFriendRejectionSummarySchema, type MealPlanNotification$1 as MealPlanNotification, type MealPlanNotificationKind$1 as MealPlanNotificationKind, MealPlanNotificationKindSchema, type MealPlanNotificationPriorityChannel$1 as MealPlanNotificationPriorityChannel, MealPlanNotificationPriorityChannelSchema, type MealPlanNotificationPriorityPolicy, type MealPlanNotificationPriorityPolicyItem, MealPlanNotificationPriorityPolicyItemSchema, MealPlanNotificationSchema, MealPlanParticipantIdSchema, type MealPlanParticipantResponse, MealPlanParticipantResponseSchema, type MealPlanParticipantRole, MealPlanParticipantRoleSchema, type MealPlanParticipantStatus, MealPlanParticipantStatusSchema, type MealPlanRecommendationContext, MealPlanRecommendationContextSchema, type MealPlanResponse, MealPlanResponseSchema, type MealPlanRestaurantCandidate, MealPlanRestaurantCandidateSchema, type MealPlanRestaurantSearchState, MealPlanRestaurantSearchStateSchema, type MealPlanRestaurantSearchStatus, MealPlanRestaurantSearchStatusSchema, type MealPlanShareLinkSummary, MealPlanShareLinkSummarySchema, type MealPlanSharePreviewResponse, MealPlanSharePreviewResponseSchema, type MealPlanStatus, MealPlanStatusSchema, type MealPlanSystemMessage, type MealPlanSystemMessageKind, MealPlanSystemMessageKindSchema, MealPlanSystemMessageSchema, type MealPlanViewerPermissions, MealPlanViewerPermissionsSchema, type MealPlanViewerRole, MealPlanViewerRoleSchema, type MealPlanVote, MealPlanVoteIdSchema, MealPlanVoteSchema, type MealPlanVoteType, MealPlanVoteTypeSchema, type MyMealPlanGroup, MyMealPlanGroupSchema, type MyMealPlanListItem, MyMealPlanListItemSchema, type MyMealPlanListResponse, MyMealPlanListResponseSchema, type NearbyFriendExposureEligibility, NearbyFriendExposureEligibilitySchema, type NearbyFriendMealPlanSummary, NearbyFriendMealPlanSummarySchema, type ReopenMealPlanDecisionTaskRequest, ReopenMealPlanDecisionTaskRequestSchema, type SendMealPlanChatMessageRequest, SendMealPlanChatMessageRequestSchema, type SendMealPlanInviteResponse, SendMealPlanInviteResponseSchema, type StartMealPlanFromGroupRequest, StartMealPlanFromGroupRequestSchema, type UpdateMealGroupMemberRoleRequest, UpdateMealGroupMemberRoleRequestSchema, type UpdateMealPlanContextRequest, UpdateMealPlanContextRequestSchema, compareMealPlanNotificationsByPriority, getMealPlanDecisionCandidateKey, getMealPlanLiveActivityBehavior, getMealPlanNotificationPriority, getMealPlanNotificationPriorityPolicy, getMealPlanRestaurantProvisionCacheKey, shouldShowForegroundToast };
|