@kimdaegyu/babmukdang-shared 2.0.5 → 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.
- package/dist/{chunk-3TY6OPD3.js → chunk-5FPYU6NF.js} +2 -2
- package/dist/{chunk-ITXM3XFJ.js → chunk-C7JONACW.js} +4 -4
- package/dist/{chunk-WYBFBLQC.js → chunk-KWJE3RYS.js} +1 -1
- package/dist/{chunk-GOOH2LGN.js → chunk-LXRTJPS5.js} +19 -5
- package/dist/{chunk-S2Q64AFI.js → chunk-OLQ2HIKV.js} +11 -17
- package/dist/{chunk-7FNZBMB2.js → chunk-TWX7TUMW.js} +118 -145
- package/dist/domain/common/index.cjs +17 -5
- package/dist/domain/common/index.js +5 -5
- package/dist/domain/index.cjs +275 -290
- package/dist/domain/index.d.cts +7 -9
- package/dist/domain/index.d.ts +7 -9
- package/dist/domain/index.js +12 -18
- package/dist/domain/live-activity/index.cjs +17 -5
- package/dist/domain/live-activity/index.js +4 -4
- package/dist/domain/meal-plan/index.cjs +140 -155
- package/dist/domain/meal-plan/index.d.cts +132 -112
- package/dist/domain/meal-plan/index.d.ts +132 -112
- package/dist/domain/meal-plan/index.js +8 -14
- package/dist/domain/push/index.cjs +17 -5
- package/dist/domain/push/index.js +2 -2
- package/dist/index.cjs +272 -284
- package/dist/index.js +6 -6
- package/package.json +1 -1
|
@@ -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,
|
|
@@ -39,8 +33,9 @@ import {
|
|
|
39
33
|
getMealPlanLiveActivityBehavior,
|
|
40
34
|
getMealPlanNotificationPriority,
|
|
41
35
|
getMealPlanNotificationPriorityPolicy,
|
|
36
|
+
getMealPlanRestaurantProvisionCacheKey,
|
|
42
37
|
shouldShowForegroundToast
|
|
43
|
-
} from "../../chunk-
|
|
38
|
+
} from "../../chunk-TWX7TUMW.js";
|
|
44
39
|
import {
|
|
45
40
|
CompleteMealPlanDecisionStageRequestSchema,
|
|
46
41
|
ConfirmMealPlanDecisionSnapshotRequestSchema,
|
|
@@ -76,6 +71,7 @@ import {
|
|
|
76
71
|
MealPlanDecisionStageTypeSchema,
|
|
77
72
|
MealPlanDecisionTaskKeySchema,
|
|
78
73
|
MealPlanDecisionTaskProgressSchema,
|
|
74
|
+
MealPlanDecisionTaskReadyRequestSchema,
|
|
79
75
|
MealPlanDecisionTaskStatusSchema,
|
|
80
76
|
MealPlanGuestParticipantSchema,
|
|
81
77
|
MealPlanInviteListResponseSchema,
|
|
@@ -93,6 +89,7 @@ import {
|
|
|
93
89
|
MealPlanMenuCandidateIdSchema,
|
|
94
90
|
MealPlanMenuCandidateSchema,
|
|
95
91
|
MealPlanMenuCandidateSourceSchema,
|
|
92
|
+
MealPlanMenuRecommendationStateSchema,
|
|
96
93
|
MealPlanNearbyFriendExposureBatchSummarySchema,
|
|
97
94
|
MealPlanNearbyFriendExposureIdSchema,
|
|
98
95
|
MealPlanNearbyFriendExposureNotificationStatusSchema,
|
|
@@ -130,7 +127,7 @@ import {
|
|
|
130
127
|
SendMealPlanChatMessageRequestSchema,
|
|
131
128
|
SendMealPlanInviteResponseSchema,
|
|
132
129
|
UpdateMealPlanContextRequestSchema
|
|
133
|
-
} from "../../chunk-
|
|
130
|
+
} from "../../chunk-LXRTJPS5.js";
|
|
134
131
|
import "../../chunk-7JYVBXKQ.js";
|
|
135
132
|
import "../../chunk-CGFW5LYV.js";
|
|
136
133
|
import "../../chunk-C63TN7L3.js";
|
|
@@ -194,13 +191,8 @@ export {
|
|
|
194
191
|
MealPlanDecisionStageTypeSchema,
|
|
195
192
|
MealPlanDecisionTaskKeySchema,
|
|
196
193
|
MealPlanDecisionTaskProgressSchema,
|
|
194
|
+
MealPlanDecisionTaskReadyRequestSchema,
|
|
197
195
|
MealPlanDecisionTaskStatusSchema,
|
|
198
|
-
MealPlanDecisionVoteSocketAckSchema,
|
|
199
|
-
MealPlanDecisionVoteSocketErrorSchema,
|
|
200
|
-
MealPlanDecisionVoteSocketEvent,
|
|
201
|
-
MealPlanDecisionVoteSocketFailureAckSchema,
|
|
202
|
-
MealPlanDecisionVoteSocketPayloadSchema,
|
|
203
|
-
MealPlanDecisionVoteSocketSuccessAckSchema,
|
|
204
196
|
MealPlanGuestParticipantSchema,
|
|
205
197
|
MealPlanGuestSessionQuerySchema,
|
|
206
198
|
MealPlanGuestSessionResponseSchema,
|
|
@@ -219,6 +211,7 @@ export {
|
|
|
219
211
|
MealPlanMenuCandidateIdSchema,
|
|
220
212
|
MealPlanMenuCandidateSchema,
|
|
221
213
|
MealPlanMenuCandidateSourceSchema,
|
|
214
|
+
MealPlanMenuRecommendationStateSchema,
|
|
222
215
|
MealPlanNearbyFriendExposureBatchSummarySchema,
|
|
223
216
|
MealPlanNearbyFriendExposureIdSchema,
|
|
224
217
|
MealPlanNearbyFriendExposureNotificationStatusSchema,
|
|
@@ -265,5 +258,6 @@ export {
|
|
|
265
258
|
getMealPlanLiveActivityBehavior,
|
|
266
259
|
getMealPlanNotificationPriority,
|
|
267
260
|
getMealPlanNotificationPriorityPolicy,
|
|
261
|
+
getMealPlanRestaurantProvisionCacheKey,
|
|
268
262
|
shouldShowForegroundToast
|
|
269
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().
|
|
389
|
-
image: FoodCodeManifestImageSchema.nullable().
|
|
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,8 +12,8 @@ import {
|
|
|
12
12
|
PushTokenStatusSchema,
|
|
13
13
|
RegisterPushTokenRequestSchema,
|
|
14
14
|
RevokePushTokenRequestSchema
|
|
15
|
-
} from "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
15
|
+
} from "../../chunk-KWJE3RYS.js";
|
|
16
|
+
import "../../chunk-LXRTJPS5.js";
|
|
17
17
|
import "../../chunk-7JYVBXKQ.js";
|
|
18
18
|
import "../../chunk-CGFW5LYV.js";
|
|
19
19
|
import "../../chunk-C63TN7L3.js";
|