@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
|
@@ -643,9 +643,7 @@ var MealPlanDecisionStageIdSchema = import_zod14.z.string().uuid().brand();
|
|
|
643
643
|
var MealPlanVoteIdSchema = import_zod14.z.string().uuid().brand();
|
|
644
644
|
var MealPlanLocationCandidateSourceSchema = import_zod14.z.enum([
|
|
645
645
|
"manual",
|
|
646
|
-
"map-marker",
|
|
647
646
|
"midpoint",
|
|
648
|
-
"user-location",
|
|
649
647
|
"search",
|
|
650
648
|
"recent-place",
|
|
651
649
|
"fallback"
|
|
@@ -672,8 +670,8 @@ var MealPlanMenuCandidateSchema = import_zod14.z.object({
|
|
|
672
670
|
menu: FoodSchema,
|
|
673
671
|
source: MealPlanMenuCandidateSourceSchema,
|
|
674
672
|
score: import_zod14.z.number().default(0),
|
|
675
|
-
imageUrl: import_zod14.z.string().min(1).nullable().
|
|
676
|
-
image: FoodCodeManifestImageSchema.nullable().
|
|
673
|
+
imageUrl: import_zod14.z.string().min(1).nullable().optional(),
|
|
674
|
+
image: FoodCodeManifestImageSchema.nullable().optional(),
|
|
677
675
|
createdAt: ISODateTimeStringSchema
|
|
678
676
|
});
|
|
679
677
|
var MealPlanRestaurantCandidateSchema = RestaurantSchema.extend({
|
|
@@ -710,8 +708,15 @@ var MealPlanRestaurantSearchStateSchema = import_zod14.z.object({
|
|
|
710
708
|
candidateCount: import_zod14.z.number().int().min(0),
|
|
711
709
|
errorMessage: import_zod14.z.string().nullable().default(null)
|
|
712
710
|
});
|
|
711
|
+
var MealPlanMenuRecommendationStateSchema = import_zod14.z.object({
|
|
712
|
+
preferenceKey: import_zod14.z.string().min(1),
|
|
713
|
+
generatedFromHash: import_zod14.z.string().min(1),
|
|
714
|
+
generatedAt: ISODateTimeStringSchema,
|
|
715
|
+
candidateCount: import_zod14.z.number().int().min(0)
|
|
716
|
+
});
|
|
713
717
|
var MealPlanDecisionStageMetadataSchema = import_zod14.z.object({
|
|
714
|
-
restaurantSearch: MealPlanRestaurantSearchStateSchema.optional()
|
|
718
|
+
restaurantSearch: MealPlanRestaurantSearchStateSchema.optional(),
|
|
719
|
+
menuRecommendation: MealPlanMenuRecommendationStateSchema.optional()
|
|
715
720
|
}).catchall(import_zod14.z.unknown());
|
|
716
721
|
var MealPlanVoteTypeSchema = import_zod14.z.enum([
|
|
717
722
|
"PICK",
|
|
@@ -787,6 +792,7 @@ var MealPlanDecisionTaskKeySchema = import_zod14.z.enum([
|
|
|
787
792
|
var MealPlanDecisionTaskStatusSchema = import_zod14.z.enum([
|
|
788
793
|
"LOCKED",
|
|
789
794
|
"OPEN",
|
|
795
|
+
"READY",
|
|
790
796
|
"RESOLVED",
|
|
791
797
|
"STALE"
|
|
792
798
|
]);
|
|
@@ -810,6 +816,7 @@ var MealPlanDecisionReasonSchema = import_zod14.z.enum([
|
|
|
810
816
|
"TOP_PICKED_MENU",
|
|
811
817
|
"TOP_PICKED_RESTAURANT",
|
|
812
818
|
"OWNER_CONFIRMED",
|
|
819
|
+
"TASK_ALL_READY",
|
|
813
820
|
"MANUAL_SELECTION"
|
|
814
821
|
]);
|
|
815
822
|
var MealPlanDecisionActorTypeSchema = import_zod14.z.enum(["MEMBER", "GUEST", "SYSTEM"]);
|
|
@@ -835,6 +842,8 @@ var MealPlanDecisionSnapshotSchema = import_zod14.z.object({
|
|
|
835
842
|
var MealPlanDecisionTaskProgressSchema = import_zod14.z.object({
|
|
836
843
|
taskKey: MealPlanDecisionTaskKeySchema,
|
|
837
844
|
status: MealPlanDecisionTaskStatusSchema,
|
|
845
|
+
readyCount: import_zod14.z.number().int().min(0),
|
|
846
|
+
participantCount: import_zod14.z.number().int().min(0),
|
|
838
847
|
blockers: import_zod14.z.array(import_zod14.z.string()).default([]),
|
|
839
848
|
updatedAt: ISODateTimeStringSchema
|
|
840
849
|
});
|
|
@@ -848,6 +857,9 @@ var MealPlanDecisionProgressSchema = import_zod14.z.object({
|
|
|
848
857
|
version: import_zod14.z.number().int().min(0),
|
|
849
858
|
updatedAt: ISODateTimeStringSchema
|
|
850
859
|
});
|
|
860
|
+
var MealPlanDecisionTaskReadyRequestSchema = import_zod14.z.object({
|
|
861
|
+
isReady: import_zod14.z.boolean()
|
|
862
|
+
});
|
|
851
863
|
var ReopenMealPlanDecisionTaskRequestSchema = import_zod14.z.object({
|
|
852
864
|
reason: import_zod14.z.string().max(500).optional()
|
|
853
865
|
});
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
toReferralCode,
|
|
35
35
|
toRestaurantId,
|
|
36
36
|
toSubscriptionId
|
|
37
|
-
} from "../../chunk-
|
|
37
|
+
} from "../../chunk-C7JONACW.js";
|
|
38
38
|
import "../../chunk-6O2YTBVC.js";
|
|
39
39
|
import "../../chunk-NJTV6DRT.js";
|
|
40
40
|
import "../../chunk-RZPNVRRS.js";
|
|
@@ -46,10 +46,10 @@ import {
|
|
|
46
46
|
} from "../../chunk-NENVUHL5.js";
|
|
47
47
|
import "../../chunk-QFPVAJ2U.js";
|
|
48
48
|
import "../../chunk-VD3VGLBQ.js";
|
|
49
|
-
import "../../chunk-
|
|
50
|
-
import "../../chunk-
|
|
51
|
-
import "../../chunk-
|
|
52
|
-
import "../../chunk-
|
|
49
|
+
import "../../chunk-5FPYU6NF.js";
|
|
50
|
+
import "../../chunk-TWX7TUMW.js";
|
|
51
|
+
import "../../chunk-KWJE3RYS.js";
|
|
52
|
+
import "../../chunk-LXRTJPS5.js";
|
|
53
53
|
import "../../chunk-7JYVBXKQ.js";
|
|
54
54
|
import "../../chunk-CGFW5LYV.js";
|
|
55
55
|
import "../../chunk-C63TN7L3.js";
|