@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.
@@ -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().default(null),
676
- image: FoodCodeManifestImageSchema.nullable().default(null),
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-ITXM3XFJ.js";
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-3TY6OPD3.js";
50
- import "../../chunk-7FNZBMB2.js";
51
- import "../../chunk-WYBFBLQC.js";
52
- import "../../chunk-GOOH2LGN.js";
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";