@kimdaegyu/babmukdang-shared 2.0.4 → 2.0.6

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.
@@ -22,12 +22,6 @@ import {
22
22
  MealMapResponseSchema,
23
23
  MealMapRestaurantCandidateCompletionBlockedReasonSchema,
24
24
  MealMapRestaurantCandidateMetadataSchema,
25
- MealPlanDecisionVoteSocketAckSchema,
26
- MealPlanDecisionVoteSocketErrorSchema,
27
- MealPlanDecisionVoteSocketEvent,
28
- MealPlanDecisionVoteSocketFailureAckSchema,
29
- MealPlanDecisionVoteSocketPayloadSchema,
30
- MealPlanDecisionVoteSocketSuccessAckSchema,
31
25
  MealPlanGuestSessionQuerySchema,
32
26
  MealPlanGuestSessionResponseSchema,
33
27
  MealPlanShareLinkSummarySchema,
@@ -35,11 +29,13 @@ import {
35
29
  StartMealPlanFromGroupRequestSchema,
36
30
  UpdateMealGroupMemberRoleRequestSchema,
37
31
  compareMealPlanNotificationsByPriority,
32
+ getMealPlanDecisionCandidateKey,
38
33
  getMealPlanLiveActivityBehavior,
39
34
  getMealPlanNotificationPriority,
40
35
  getMealPlanNotificationPriorityPolicy,
36
+ getMealPlanRestaurantProvisionCacheKey,
41
37
  shouldShowForegroundToast
42
- } from "../../chunk-FODWQLEY.js";
38
+ } from "../../chunk-TWX7TUMW.js";
43
39
  import {
44
40
  CompleteMealPlanDecisionStageRequestSchema,
45
41
  ConfirmMealPlanDecisionSnapshotRequestSchema,
@@ -75,6 +71,7 @@ import {
75
71
  MealPlanDecisionStageTypeSchema,
76
72
  MealPlanDecisionTaskKeySchema,
77
73
  MealPlanDecisionTaskProgressSchema,
74
+ MealPlanDecisionTaskReadyRequestSchema,
78
75
  MealPlanDecisionTaskStatusSchema,
79
76
  MealPlanGuestParticipantSchema,
80
77
  MealPlanInviteListResponseSchema,
@@ -92,6 +89,7 @@ import {
92
89
  MealPlanMenuCandidateIdSchema,
93
90
  MealPlanMenuCandidateSchema,
94
91
  MealPlanMenuCandidateSourceSchema,
92
+ MealPlanMenuRecommendationStateSchema,
95
93
  MealPlanNearbyFriendExposureBatchSummarySchema,
96
94
  MealPlanNearbyFriendExposureIdSchema,
97
95
  MealPlanNearbyFriendExposureNotificationStatusSchema,
@@ -129,11 +127,11 @@ import {
129
127
  SendMealPlanChatMessageRequestSchema,
130
128
  SendMealPlanInviteResponseSchema,
131
129
  UpdateMealPlanContextRequestSchema
132
- } from "../../chunk-QPTK7F7Y.js";
133
- import "../../chunk-CGFW5LYV.js";
130
+ } from "../../chunk-LXRTJPS5.js";
134
131
  import "../../chunk-7JYVBXKQ.js";
135
- import "../../chunk-HRM3FQPL.js";
132
+ import "../../chunk-CGFW5LYV.js";
136
133
  import "../../chunk-C63TN7L3.js";
134
+ import "../../chunk-HRM3FQPL.js";
137
135
  import "../../chunk-XMRYAG3V.js";
138
136
  export {
139
137
  AddMealGroupMemberRequestSchema,
@@ -193,13 +191,8 @@ export {
193
191
  MealPlanDecisionStageTypeSchema,
194
192
  MealPlanDecisionTaskKeySchema,
195
193
  MealPlanDecisionTaskProgressSchema,
194
+ MealPlanDecisionTaskReadyRequestSchema,
196
195
  MealPlanDecisionTaskStatusSchema,
197
- MealPlanDecisionVoteSocketAckSchema,
198
- MealPlanDecisionVoteSocketErrorSchema,
199
- MealPlanDecisionVoteSocketEvent,
200
- MealPlanDecisionVoteSocketFailureAckSchema,
201
- MealPlanDecisionVoteSocketPayloadSchema,
202
- MealPlanDecisionVoteSocketSuccessAckSchema,
203
196
  MealPlanGuestParticipantSchema,
204
197
  MealPlanGuestSessionQuerySchema,
205
198
  MealPlanGuestSessionResponseSchema,
@@ -218,6 +211,7 @@ export {
218
211
  MealPlanMenuCandidateIdSchema,
219
212
  MealPlanMenuCandidateSchema,
220
213
  MealPlanMenuCandidateSourceSchema,
214
+ MealPlanMenuRecommendationStateSchema,
221
215
  MealPlanNearbyFriendExposureBatchSummarySchema,
222
216
  MealPlanNearbyFriendExposureIdSchema,
223
217
  MealPlanNearbyFriendExposureNotificationStatusSchema,
@@ -260,8 +254,10 @@ export {
260
254
  UpdateMealGroupMemberRoleRequestSchema,
261
255
  UpdateMealPlanContextRequestSchema,
262
256
  compareMealPlanNotificationsByPriority,
257
+ getMealPlanDecisionCandidateKey,
263
258
  getMealPlanLiveActivityBehavior,
264
259
  getMealPlanNotificationPriority,
265
260
  getMealPlanNotificationPriorityPolicy,
261
+ getMealPlanRestaurantProvisionCacheKey,
266
262
  shouldShowForegroundToast
267
263
  };
@@ -356,9 +356,7 @@ var MealPlanDecisionStageIdSchema = import_zod7.z.string().uuid().brand();
356
356
  var MealPlanVoteIdSchema = import_zod7.z.string().uuid().brand();
357
357
  var MealPlanLocationCandidateSourceSchema = import_zod7.z.enum([
358
358
  "manual",
359
- "map-marker",
360
359
  "midpoint",
361
- "user-location",
362
360
  "search",
363
361
  "recent-place",
364
362
  "fallback"
@@ -385,8 +383,8 @@ var MealPlanMenuCandidateSchema = import_zod7.z.object({
385
383
  menu: FoodSchema,
386
384
  source: MealPlanMenuCandidateSourceSchema,
387
385
  score: import_zod7.z.number().default(0),
388
- imageUrl: import_zod7.z.string().min(1).nullable().default(null),
389
- image: FoodCodeManifestImageSchema.nullable().default(null),
386
+ imageUrl: import_zod7.z.string().min(1).nullable().optional(),
387
+ image: FoodCodeManifestImageSchema.nullable().optional(),
390
388
  createdAt: ISODateTimeStringSchema
391
389
  });
392
390
  var MealPlanRestaurantCandidateSchema = RestaurantSchema.extend({
@@ -423,8 +421,15 @@ var MealPlanRestaurantSearchStateSchema = import_zod7.z.object({
423
421
  candidateCount: import_zod7.z.number().int().min(0),
424
422
  errorMessage: import_zod7.z.string().nullable().default(null)
425
423
  });
424
+ var MealPlanMenuRecommendationStateSchema = import_zod7.z.object({
425
+ preferenceKey: import_zod7.z.string().min(1),
426
+ generatedFromHash: import_zod7.z.string().min(1),
427
+ generatedAt: ISODateTimeStringSchema,
428
+ candidateCount: import_zod7.z.number().int().min(0)
429
+ });
426
430
  var MealPlanDecisionStageMetadataSchema = import_zod7.z.object({
427
- restaurantSearch: MealPlanRestaurantSearchStateSchema.optional()
431
+ restaurantSearch: MealPlanRestaurantSearchStateSchema.optional(),
432
+ menuRecommendation: MealPlanMenuRecommendationStateSchema.optional()
428
433
  }).catchall(import_zod7.z.unknown());
429
434
  var MealPlanVoteTypeSchema = import_zod7.z.enum([
430
435
  "PICK",
@@ -500,6 +505,7 @@ var MealPlanDecisionTaskKeySchema = import_zod7.z.enum([
500
505
  var MealPlanDecisionTaskStatusSchema = import_zod7.z.enum([
501
506
  "LOCKED",
502
507
  "OPEN",
508
+ "READY",
503
509
  "RESOLVED",
504
510
  "STALE"
505
511
  ]);
@@ -523,6 +529,7 @@ var MealPlanDecisionReasonSchema = import_zod7.z.enum([
523
529
  "TOP_PICKED_MENU",
524
530
  "TOP_PICKED_RESTAURANT",
525
531
  "OWNER_CONFIRMED",
532
+ "TASK_ALL_READY",
526
533
  "MANUAL_SELECTION"
527
534
  ]);
528
535
  var MealPlanDecisionActorTypeSchema = import_zod7.z.enum(["MEMBER", "GUEST", "SYSTEM"]);
@@ -548,6 +555,8 @@ var MealPlanDecisionSnapshotSchema = import_zod7.z.object({
548
555
  var MealPlanDecisionTaskProgressSchema = import_zod7.z.object({
549
556
  taskKey: MealPlanDecisionTaskKeySchema,
550
557
  status: MealPlanDecisionTaskStatusSchema,
558
+ readyCount: import_zod7.z.number().int().min(0),
559
+ participantCount: import_zod7.z.number().int().min(0),
551
560
  blockers: import_zod7.z.array(import_zod7.z.string()).default([]),
552
561
  updatedAt: ISODateTimeStringSchema
553
562
  });
@@ -561,6 +570,9 @@ var MealPlanDecisionProgressSchema = import_zod7.z.object({
561
570
  version: import_zod7.z.number().int().min(0),
562
571
  updatedAt: ISODateTimeStringSchema
563
572
  });
573
+ var MealPlanDecisionTaskReadyRequestSchema = import_zod7.z.object({
574
+ isReady: import_zod7.z.boolean()
575
+ });
564
576
  var ReopenMealPlanDecisionTaskRequestSchema = import_zod7.z.object({
565
577
  reason: import_zod7.z.string().max(500).optional()
566
578
  });
@@ -12,12 +12,12 @@ import {
12
12
  PushTokenStatusSchema,
13
13
  RegisterPushTokenRequestSchema,
14
14
  RevokePushTokenRequestSchema
15
- } from "../../chunk-HHU5TRDP.js";
16
- import "../../chunk-QPTK7F7Y.js";
17
- import "../../chunk-CGFW5LYV.js";
15
+ } from "../../chunk-KWJE3RYS.js";
16
+ import "../../chunk-LXRTJPS5.js";
18
17
  import "../../chunk-7JYVBXKQ.js";
19
- import "../../chunk-HRM3FQPL.js";
18
+ import "../../chunk-CGFW5LYV.js";
20
19
  import "../../chunk-C63TN7L3.js";
20
+ import "../../chunk-HRM3FQPL.js";
21
21
  import "../../chunk-XMRYAG3V.js";
22
22
  export {
23
23
  MealPlanPushPayloadDataSchema,