@kimdaegyu/babmukdang-shared 2.0.4 → 2.0.5
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-CUOJE3ER.js → chunk-3TY6OPD3.js} +2 -2
- package/dist/{chunk-FODWQLEY.js → chunk-7FNZBMB2.js} +22 -4
- package/dist/{chunk-IW342TDD.js → chunk-ITXM3XFJ.js} +21 -21
- package/dist/{chunk-2W4HVSYK.js → chunk-S2Q64AFI.js} +54 -52
- package/dist/{chunk-HHU5TRDP.js → chunk-WYBFBLQC.js} +1 -1
- package/dist/domain/article/index.js +2 -2
- package/dist/domain/common/index.js +11 -11
- package/dist/domain/friend/index.js +2 -2
- package/dist/domain/index.cjs +19 -0
- package/dist/domain/index.d.cts +4 -3
- package/dist/domain/index.d.ts +4 -3
- package/dist/domain/index.js +56 -54
- package/dist/domain/live-activity/index.js +6 -6
- package/dist/domain/meal/index.js +2 -2
- package/dist/domain/meal-plan/index.cjs +19 -0
- package/dist/domain/meal-plan/index.d.cts +11 -1
- package/dist/domain/meal-plan/index.d.ts +11 -1
- package/dist/domain/meal-plan/index.js +6 -4
- package/dist/domain/push/index.js +4 -4
- package/dist/index.cjs +18 -0
- package/dist/index.js +13 -13
- package/package.json +1 -1
- package/dist/{chunk-EQLAVUHF.js → chunk-6O2YTBVC.js} +3 -3
- package/dist/{chunk-QPTK7F7Y.js → chunk-GOOH2LGN.js} +6 -6
- package/dist/{chunk-IRAFNZDL.js → chunk-NENVUHL5.js} +4 -4
- package/dist/{chunk-Q6Y2NBB6.js → chunk-VD3VGLBQ.js} +3 -3
package/dist/domain/index.js
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-S2Q64AFI.js";
|
|
2
2
|
import "../chunk-NCVWB52E.js";
|
|
3
|
-
import {
|
|
4
|
-
AI_CLASS_TO_FOOD_CODE_MAP_PATH,
|
|
5
|
-
FOOD_CODE_MANIFEST_PATH,
|
|
6
|
-
FOOD_IMAGE_INDEX_PATH
|
|
7
|
-
} from "../chunk-BSJC7OVV.js";
|
|
8
3
|
import {
|
|
9
4
|
ApiFailureSchema,
|
|
10
5
|
ApiResponseSchema,
|
|
@@ -41,7 +36,16 @@ import {
|
|
|
41
36
|
toReferralCode,
|
|
42
37
|
toRestaurantId,
|
|
43
38
|
toSubscriptionId
|
|
44
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-ITXM3XFJ.js";
|
|
40
|
+
import {
|
|
41
|
+
FriendMealItemResponseSchema,
|
|
42
|
+
FriendMealQuerySchema,
|
|
43
|
+
MealStatusActionSchema,
|
|
44
|
+
MealStatusResponseSchema,
|
|
45
|
+
MealStatusSchema,
|
|
46
|
+
UpdateMealStatusRequestSchema
|
|
47
|
+
} from "../chunk-6O2YTBVC.js";
|
|
48
|
+
import "../chunk-NJTV6DRT.js";
|
|
45
49
|
import {
|
|
46
50
|
ChallengeStatusResponseSchema,
|
|
47
51
|
ClaimChallengeRewardRequestSchema,
|
|
@@ -53,40 +57,6 @@ import {
|
|
|
53
57
|
ReferralCreateResponseSchema,
|
|
54
58
|
ReferralItemResponseSchema
|
|
55
59
|
} from "../chunk-RZPNVRRS.js";
|
|
56
|
-
import {
|
|
57
|
-
EndMealPlanLiveActivitySessionRequestSchema,
|
|
58
|
-
MealPlanLiveActivityPlatformSchema,
|
|
59
|
-
MealPlanLiveActivitySessionListResponseSchema,
|
|
60
|
-
MealPlanLiveActivitySessionResponseSchema,
|
|
61
|
-
MealPlanLiveActivitySessionStatusSchema,
|
|
62
|
-
MealPlanLiveActivityStateSchema,
|
|
63
|
-
MealPlanLiveActivityUpdateStatusSchema,
|
|
64
|
-
RegisterMealPlanLiveActivitySessionRequestSchema
|
|
65
|
-
} from "../chunk-CUOJE3ER.js";
|
|
66
|
-
import {
|
|
67
|
-
MealPlanPushPayloadDataSchema,
|
|
68
|
-
PushDeliveryAttemptResultSchema,
|
|
69
|
-
PushDeliveryAttemptSummarySchema,
|
|
70
|
-
PushDeliveryOutboxSummarySchema,
|
|
71
|
-
PushDeliveryStatusSchema,
|
|
72
|
-
PushPayloadSchemaVersionSchema,
|
|
73
|
-
PushPermissionStatusSchema,
|
|
74
|
-
PushPlatformSchema,
|
|
75
|
-
PushProviderSchema,
|
|
76
|
-
PushTokenResponseSchema,
|
|
77
|
-
PushTokenStatusSchema,
|
|
78
|
-
RegisterPushTokenRequestSchema,
|
|
79
|
-
RevokePushTokenRequestSchema
|
|
80
|
-
} from "../chunk-HHU5TRDP.js";
|
|
81
|
-
import {
|
|
82
|
-
FriendMealItemResponseSchema,
|
|
83
|
-
FriendMealQuerySchema,
|
|
84
|
-
MealStatusActionSchema,
|
|
85
|
-
MealStatusResponseSchema,
|
|
86
|
-
MealStatusSchema,
|
|
87
|
-
UpdateMealStatusRequestSchema
|
|
88
|
-
} from "../chunk-EQLAVUHF.js";
|
|
89
|
-
import "../chunk-NJTV6DRT.js";
|
|
90
60
|
import {
|
|
91
61
|
ArticleCommentSchema,
|
|
92
62
|
ArticleCoreSchema,
|
|
@@ -105,13 +75,18 @@ import {
|
|
|
105
75
|
SortDirectionSchema,
|
|
106
76
|
UploadArticleImageRequestSchema,
|
|
107
77
|
UploadArticleImageResponseSchema
|
|
108
|
-
} from "../chunk-
|
|
78
|
+
} from "../chunk-NENVUHL5.js";
|
|
109
79
|
import {
|
|
110
80
|
LoginRequestSchema,
|
|
111
81
|
SignupRequestSchema,
|
|
112
82
|
SignupResponseSchema,
|
|
113
83
|
TokenResponseSchema
|
|
114
84
|
} from "../chunk-QFPVAJ2U.js";
|
|
85
|
+
import {
|
|
86
|
+
AI_CLASS_TO_FOOD_CODE_MAP_PATH,
|
|
87
|
+
FOOD_CODE_MANIFEST_PATH,
|
|
88
|
+
FOOD_IMAGE_INDEX_PATH
|
|
89
|
+
} from "../chunk-BSJC7OVV.js";
|
|
115
90
|
import {
|
|
116
91
|
FriendBlockItemResponseSchema,
|
|
117
92
|
FriendListItemResponseSchema,
|
|
@@ -121,7 +96,17 @@ import {
|
|
|
121
96
|
FriendRequestStatusSchema,
|
|
122
97
|
FriendSearchQuerySchema,
|
|
123
98
|
FriendSearchResponseSchema
|
|
124
|
-
} from "../chunk-
|
|
99
|
+
} from "../chunk-VD3VGLBQ.js";
|
|
100
|
+
import {
|
|
101
|
+
EndMealPlanLiveActivitySessionRequestSchema,
|
|
102
|
+
MealPlanLiveActivityPlatformSchema,
|
|
103
|
+
MealPlanLiveActivitySessionListResponseSchema,
|
|
104
|
+
MealPlanLiveActivitySessionResponseSchema,
|
|
105
|
+
MealPlanLiveActivitySessionStatusSchema,
|
|
106
|
+
MealPlanLiveActivityStateSchema,
|
|
107
|
+
MealPlanLiveActivityUpdateStatusSchema,
|
|
108
|
+
RegisterMealPlanLiveActivitySessionRequestSchema
|
|
109
|
+
} from "../chunk-3TY6OPD3.js";
|
|
125
110
|
import {
|
|
126
111
|
AddMealGroupMemberRequestSchema,
|
|
127
112
|
CreateMealGroupRequestSchema,
|
|
@@ -159,11 +144,27 @@ import {
|
|
|
159
144
|
StartMealPlanFromGroupRequestSchema,
|
|
160
145
|
UpdateMealGroupMemberRoleRequestSchema,
|
|
161
146
|
compareMealPlanNotificationsByPriority,
|
|
147
|
+
getMealPlanDecisionCandidateKey,
|
|
162
148
|
getMealPlanLiveActivityBehavior,
|
|
163
149
|
getMealPlanNotificationPriority,
|
|
164
150
|
getMealPlanNotificationPriorityPolicy,
|
|
165
151
|
shouldShowForegroundToast
|
|
166
|
-
} from "../chunk-
|
|
152
|
+
} from "../chunk-7FNZBMB2.js";
|
|
153
|
+
import {
|
|
154
|
+
MealPlanPushPayloadDataSchema,
|
|
155
|
+
PushDeliveryAttemptResultSchema,
|
|
156
|
+
PushDeliveryAttemptSummarySchema,
|
|
157
|
+
PushDeliveryOutboxSummarySchema,
|
|
158
|
+
PushDeliveryStatusSchema,
|
|
159
|
+
PushPayloadSchemaVersionSchema,
|
|
160
|
+
PushPermissionStatusSchema,
|
|
161
|
+
PushPlatformSchema,
|
|
162
|
+
PushProviderSchema,
|
|
163
|
+
PushTokenResponseSchema,
|
|
164
|
+
PushTokenStatusSchema,
|
|
165
|
+
RegisterPushTokenRequestSchema,
|
|
166
|
+
RevokePushTokenRequestSchema
|
|
167
|
+
} from "../chunk-WYBFBLQC.js";
|
|
167
168
|
import {
|
|
168
169
|
CompleteMealPlanDecisionStageRequestSchema,
|
|
169
170
|
ConfirmMealPlanDecisionSnapshotRequestSchema,
|
|
@@ -253,7 +254,11 @@ import {
|
|
|
253
254
|
SendMealPlanChatMessageRequestSchema,
|
|
254
255
|
SendMealPlanInviteResponseSchema,
|
|
255
256
|
UpdateMealPlanContextRequestSchema
|
|
256
|
-
} from "../chunk-
|
|
257
|
+
} from "../chunk-GOOH2LGN.js";
|
|
258
|
+
import {
|
|
259
|
+
KakaoPlaceRawSchema,
|
|
260
|
+
RestaurantSchema
|
|
261
|
+
} from "../chunk-7JYVBXKQ.js";
|
|
257
262
|
import {
|
|
258
263
|
AiClassFoodCodeMappingSchema,
|
|
259
264
|
AiClassToFoodCodeMapManifestSchema,
|
|
@@ -272,15 +277,6 @@ import {
|
|
|
272
277
|
FoodSearchResponseSchema,
|
|
273
278
|
ResolvedFoodCodeSchema
|
|
274
279
|
} from "../chunk-CGFW5LYV.js";
|
|
275
|
-
import {
|
|
276
|
-
KakaoPlaceRawSchema,
|
|
277
|
-
RestaurantSchema
|
|
278
|
-
} from "../chunk-7JYVBXKQ.js";
|
|
279
|
-
import {
|
|
280
|
-
ISODateStringSchema,
|
|
281
|
-
ISODateTimeStringSchema,
|
|
282
|
-
TimeHHmmStringSchema
|
|
283
|
-
} from "../chunk-HRM3FQPL.js";
|
|
284
280
|
import {
|
|
285
281
|
CompleteOnboardingRequestSchema,
|
|
286
282
|
CreateProfileRequestSchema,
|
|
@@ -308,6 +304,11 @@ import {
|
|
|
308
304
|
UploadProfileImageRequestSchema,
|
|
309
305
|
UploadProfileImageResponseSchema
|
|
310
306
|
} from "../chunk-C63TN7L3.js";
|
|
307
|
+
import {
|
|
308
|
+
ISODateStringSchema,
|
|
309
|
+
ISODateTimeStringSchema,
|
|
310
|
+
TimeHHmmStringSchema
|
|
311
|
+
} from "../chunk-HRM3FQPL.js";
|
|
311
312
|
import {
|
|
312
313
|
ArticleIdSchema,
|
|
313
314
|
CommentIdSchema,
|
|
@@ -612,6 +613,7 @@ export {
|
|
|
612
613
|
apiContract,
|
|
613
614
|
compareMealPlanNotificationsByPriority,
|
|
614
615
|
endpoint,
|
|
616
|
+
getMealPlanDecisionCandidateKey,
|
|
615
617
|
getMealPlanLiveActivityBehavior,
|
|
616
618
|
getMealPlanNotificationPriority,
|
|
617
619
|
getMealPlanNotificationPriorityPolicy,
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
MealPlanLiveActivityStateSchema,
|
|
8
8
|
MealPlanLiveActivityUpdateStatusSchema,
|
|
9
9
|
RegisterMealPlanLiveActivitySessionRequestSchema
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-CGFW5LYV.js";
|
|
10
|
+
} from "../../chunk-3TY6OPD3.js";
|
|
11
|
+
import "../../chunk-7FNZBMB2.js";
|
|
12
|
+
import "../../chunk-WYBFBLQC.js";
|
|
13
|
+
import "../../chunk-GOOH2LGN.js";
|
|
15
14
|
import "../../chunk-7JYVBXKQ.js";
|
|
16
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-CGFW5LYV.js";
|
|
17
16
|
import "../../chunk-C63TN7L3.js";
|
|
17
|
+
import "../../chunk-HRM3FQPL.js";
|
|
18
18
|
import "../../chunk-XMRYAG3V.js";
|
|
19
19
|
export {
|
|
20
20
|
EndMealPlanLiveActivitySessionRequestSchema,
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
MealStatusResponseSchema,
|
|
6
6
|
MealStatusSchema,
|
|
7
7
|
UpdateMealStatusRequestSchema
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-6O2YTBVC.js";
|
|
9
9
|
import "../../chunk-NJTV6DRT.js";
|
|
10
|
-
import "../../chunk-HRM3FQPL.js";
|
|
11
10
|
import "../../chunk-C63TN7L3.js";
|
|
11
|
+
import "../../chunk-HRM3FQPL.js";
|
|
12
12
|
import "../../chunk-XMRYAG3V.js";
|
|
13
13
|
export {
|
|
14
14
|
FriendMealItemResponseSchema,
|
|
@@ -154,6 +154,7 @@ __export(meal_plan_exports, {
|
|
|
154
154
|
UpdateMealGroupMemberRoleRequestSchema: () => UpdateMealGroupMemberRoleRequestSchema,
|
|
155
155
|
UpdateMealPlanContextRequestSchema: () => UpdateMealPlanContextRequestSchema,
|
|
156
156
|
compareMealPlanNotificationsByPriority: () => compareMealPlanNotificationsByPriority,
|
|
157
|
+
getMealPlanDecisionCandidateKey: () => getMealPlanDecisionCandidateKey,
|
|
157
158
|
getMealPlanLiveActivityBehavior: () => getMealPlanLiveActivityBehavior,
|
|
158
159
|
getMealPlanNotificationPriority: () => getMealPlanNotificationPriority,
|
|
159
160
|
getMealPlanNotificationPriorityPolicy: () => getMealPlanNotificationPriorityPolicy,
|
|
@@ -1168,6 +1169,23 @@ var MealPlanNotificationSchema = import_zod12.z.object({
|
|
|
1168
1169
|
readAt: ISODateTimeStringSchema.nullable()
|
|
1169
1170
|
});
|
|
1170
1171
|
|
|
1172
|
+
// src/domain/meal-plan/meal-plan-decision.candidate-key.ts
|
|
1173
|
+
function getMealPlanDecisionCandidateKey(candidate) {
|
|
1174
|
+
switch (candidate.stageType) {
|
|
1175
|
+
case "DATE":
|
|
1176
|
+
case "TIME":
|
|
1177
|
+
return `${candidate.stageType}:${candidate.value}`;
|
|
1178
|
+
case "AREA":
|
|
1179
|
+
return `AREA:${candidate.value.locationId}`;
|
|
1180
|
+
case "MENU":
|
|
1181
|
+
return `MENU:${candidate.value.menuCandidateId}`;
|
|
1182
|
+
case "RESTAURANT":
|
|
1183
|
+
return `RESTAURANT:${candidate.value.candidateId ?? candidate.value.restaurantId}`;
|
|
1184
|
+
case "FINAL_CONFIRMATION":
|
|
1185
|
+
return "FINAL_CONFIRMATION:READY";
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1171
1189
|
// src/domain/meal-plan/meal-plan.socket.ts
|
|
1172
1190
|
var import_zod13 = require("zod");
|
|
1173
1191
|
var MealPlanDecisionVoteSocketEvent = "mealPlan:decision:vote";
|
|
@@ -1570,6 +1588,7 @@ function compareMealPlanNotificationsByPriority(channel) {
|
|
|
1570
1588
|
UpdateMealGroupMemberRoleRequestSchema,
|
|
1571
1589
|
UpdateMealPlanContextRequestSchema,
|
|
1572
1590
|
compareMealPlanNotificationsByPriority,
|
|
1591
|
+
getMealPlanDecisionCandidateKey,
|
|
1573
1592
|
getMealPlanLiveActivityBehavior,
|
|
1574
1593
|
getMealPlanNotificationPriority,
|
|
1575
1594
|
getMealPlanNotificationPriorityPolicy,
|
|
@@ -5716,6 +5716,16 @@ type MealGroupHistoryItem = z.infer<typeof MealGroupHistoryItemSchema>;
|
|
|
5716
5716
|
type MealGroupHistoryResponse = z.infer<typeof MealGroupHistoryResponseSchema>;
|
|
5717
5717
|
type MealGroupPreferenceSummary = z.infer<typeof MealGroupPreferenceSummarySchema>;
|
|
5718
5718
|
|
|
5719
|
+
/**
|
|
5720
|
+
* Stable identity for a decision candidate.
|
|
5721
|
+
*
|
|
5722
|
+
* Candidate objects are persisted in JSON columns, so object-property order and
|
|
5723
|
+
* volatile display metadata such as `createdAt` must never participate in
|
|
5724
|
+
* equality checks. Client rendering, vote grouping, and server-side
|
|
5725
|
+
* materialization all use this semantic key.
|
|
5726
|
+
*/
|
|
5727
|
+
declare function getMealPlanDecisionCandidateKey(candidate: MealPlanDecisionCandidate): string;
|
|
5728
|
+
|
|
5719
5729
|
type MealPlanNotificationPriorityChannel = "HOME" | "NOTIFICATION_INBOX" | "FCM_PUSH" | "LIVE_ACTIVITY";
|
|
5720
5730
|
type MealPlanNotificationKind = keyof typeof MEAL_PLAN_NOTIFICATION_PRIORITY_POLICIES;
|
|
5721
5731
|
type MealPlanNotification = z.infer<typeof MealPlanNotificationSchema>;
|
|
@@ -5726,4 +5736,4 @@ declare function getMealPlanLiveActivityBehavior(kind: string): "NONE" | "START_
|
|
|
5726
5736
|
declare function shouldShowForegroundToast(kind: string): boolean;
|
|
5727
5737
|
declare function compareMealPlanNotificationsByPriority(channel: MealPlanNotificationPriorityChannel): (a: Pick<MealPlanNotification, "kind" | "createdAt" | "readAt">, b: Pick<MealPlanNotification, "kind" | "createdAt" | "readAt">) => number;
|
|
5728
5738
|
|
|
5729
|
-
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 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, getMealPlanLiveActivityBehavior, getMealPlanNotificationPriority, getMealPlanNotificationPriorityPolicy, shouldShowForegroundToast };
|
|
5739
|
+
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 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, shouldShowForegroundToast };
|
|
@@ -5716,6 +5716,16 @@ type MealGroupHistoryItem = z.infer<typeof MealGroupHistoryItemSchema>;
|
|
|
5716
5716
|
type MealGroupHistoryResponse = z.infer<typeof MealGroupHistoryResponseSchema>;
|
|
5717
5717
|
type MealGroupPreferenceSummary = z.infer<typeof MealGroupPreferenceSummarySchema>;
|
|
5718
5718
|
|
|
5719
|
+
/**
|
|
5720
|
+
* Stable identity for a decision candidate.
|
|
5721
|
+
*
|
|
5722
|
+
* Candidate objects are persisted in JSON columns, so object-property order and
|
|
5723
|
+
* volatile display metadata such as `createdAt` must never participate in
|
|
5724
|
+
* equality checks. Client rendering, vote grouping, and server-side
|
|
5725
|
+
* materialization all use this semantic key.
|
|
5726
|
+
*/
|
|
5727
|
+
declare function getMealPlanDecisionCandidateKey(candidate: MealPlanDecisionCandidate): string;
|
|
5728
|
+
|
|
5719
5729
|
type MealPlanNotificationPriorityChannel = "HOME" | "NOTIFICATION_INBOX" | "FCM_PUSH" | "LIVE_ACTIVITY";
|
|
5720
5730
|
type MealPlanNotificationKind = keyof typeof MEAL_PLAN_NOTIFICATION_PRIORITY_POLICIES;
|
|
5721
5731
|
type MealPlanNotification = z.infer<typeof MealPlanNotificationSchema>;
|
|
@@ -5726,4 +5736,4 @@ declare function getMealPlanLiveActivityBehavior(kind: string): "NONE" | "START_
|
|
|
5726
5736
|
declare function shouldShowForegroundToast(kind: string): boolean;
|
|
5727
5737
|
declare function compareMealPlanNotificationsByPriority(channel: MealPlanNotificationPriorityChannel): (a: Pick<MealPlanNotification, "kind" | "createdAt" | "readAt">, b: Pick<MealPlanNotification, "kind" | "createdAt" | "readAt">) => number;
|
|
5728
5738
|
|
|
5729
|
-
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 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, getMealPlanLiveActivityBehavior, getMealPlanNotificationPriority, getMealPlanNotificationPriorityPolicy, shouldShowForegroundToast };
|
|
5739
|
+
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 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, shouldShowForegroundToast };
|
|
@@ -35,11 +35,12 @@ import {
|
|
|
35
35
|
StartMealPlanFromGroupRequestSchema,
|
|
36
36
|
UpdateMealGroupMemberRoleRequestSchema,
|
|
37
37
|
compareMealPlanNotificationsByPriority,
|
|
38
|
+
getMealPlanDecisionCandidateKey,
|
|
38
39
|
getMealPlanLiveActivityBehavior,
|
|
39
40
|
getMealPlanNotificationPriority,
|
|
40
41
|
getMealPlanNotificationPriorityPolicy,
|
|
41
42
|
shouldShowForegroundToast
|
|
42
|
-
} from "../../chunk-
|
|
43
|
+
} from "../../chunk-7FNZBMB2.js";
|
|
43
44
|
import {
|
|
44
45
|
CompleteMealPlanDecisionStageRequestSchema,
|
|
45
46
|
ConfirmMealPlanDecisionSnapshotRequestSchema,
|
|
@@ -129,11 +130,11 @@ import {
|
|
|
129
130
|
SendMealPlanChatMessageRequestSchema,
|
|
130
131
|
SendMealPlanInviteResponseSchema,
|
|
131
132
|
UpdateMealPlanContextRequestSchema
|
|
132
|
-
} from "../../chunk-
|
|
133
|
-
import "../../chunk-CGFW5LYV.js";
|
|
133
|
+
} from "../../chunk-GOOH2LGN.js";
|
|
134
134
|
import "../../chunk-7JYVBXKQ.js";
|
|
135
|
-
import "../../chunk-
|
|
135
|
+
import "../../chunk-CGFW5LYV.js";
|
|
136
136
|
import "../../chunk-C63TN7L3.js";
|
|
137
|
+
import "../../chunk-HRM3FQPL.js";
|
|
137
138
|
import "../../chunk-XMRYAG3V.js";
|
|
138
139
|
export {
|
|
139
140
|
AddMealGroupMemberRequestSchema,
|
|
@@ -260,6 +261,7 @@ export {
|
|
|
260
261
|
UpdateMealGroupMemberRoleRequestSchema,
|
|
261
262
|
UpdateMealPlanContextRequestSchema,
|
|
262
263
|
compareMealPlanNotificationsByPriority,
|
|
264
|
+
getMealPlanDecisionCandidateKey,
|
|
263
265
|
getMealPlanLiveActivityBehavior,
|
|
264
266
|
getMealPlanNotificationPriority,
|
|
265
267
|
getMealPlanNotificationPriorityPolicy,
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
PushTokenStatusSchema,
|
|
13
13
|
RegisterPushTokenRequestSchema,
|
|
14
14
|
RevokePushTokenRequestSchema
|
|
15
|
-
} from "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-CGFW5LYV.js";
|
|
15
|
+
} from "../../chunk-WYBFBLQC.js";
|
|
16
|
+
import "../../chunk-GOOH2LGN.js";
|
|
18
17
|
import "../../chunk-7JYVBXKQ.js";
|
|
19
|
-
import "../../chunk-
|
|
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,
|
package/dist/index.cjs
CHANGED
|
@@ -314,6 +314,7 @@ __export(domain_exports, {
|
|
|
314
314
|
apiContract: () => apiContract,
|
|
315
315
|
compareMealPlanNotificationsByPriority: () => compareMealPlanNotificationsByPriority,
|
|
316
316
|
endpoint: () => endpoint,
|
|
317
|
+
getMealPlanDecisionCandidateKey: () => getMealPlanDecisionCandidateKey,
|
|
317
318
|
getMealPlanLiveActivityBehavior: () => getMealPlanLiveActivityBehavior,
|
|
318
319
|
getMealPlanNotificationPriority: () => getMealPlanNotificationPriority,
|
|
319
320
|
getMealPlanNotificationPriorityPolicy: () => getMealPlanNotificationPriorityPolicy,
|
|
@@ -1585,6 +1586,23 @@ var MealPlanNotificationSchema = import_zod19.z.object({
|
|
|
1585
1586
|
readAt: ISODateTimeStringSchema.nullable()
|
|
1586
1587
|
});
|
|
1587
1588
|
|
|
1589
|
+
// src/domain/meal-plan/meal-plan-decision.candidate-key.ts
|
|
1590
|
+
function getMealPlanDecisionCandidateKey(candidate) {
|
|
1591
|
+
switch (candidate.stageType) {
|
|
1592
|
+
case "DATE":
|
|
1593
|
+
case "TIME":
|
|
1594
|
+
return `${candidate.stageType}:${candidate.value}`;
|
|
1595
|
+
case "AREA":
|
|
1596
|
+
return `AREA:${candidate.value.locationId}`;
|
|
1597
|
+
case "MENU":
|
|
1598
|
+
return `MENU:${candidate.value.menuCandidateId}`;
|
|
1599
|
+
case "RESTAURANT":
|
|
1600
|
+
return `RESTAURANT:${candidate.value.candidateId ?? candidate.value.restaurantId}`;
|
|
1601
|
+
case "FINAL_CONFIRMATION":
|
|
1602
|
+
return "FINAL_CONFIRMATION:READY";
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1588
1606
|
// src/domain/meal-plan/meal-plan.socket.ts
|
|
1589
1607
|
var import_zod20 = require("zod");
|
|
1590
1608
|
var MealPlanDecisionVoteSocketEvent = "mealPlan:decision:vote";
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
domain_exports
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S2Q64AFI.js";
|
|
4
4
|
import "./chunk-NCVWB52E.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-RZPNVRRS.js";
|
|
8
|
-
import "./chunk-CUOJE3ER.js";
|
|
9
|
-
import "./chunk-HHU5TRDP.js";
|
|
10
|
-
import "./chunk-EQLAVUHF.js";
|
|
5
|
+
import "./chunk-ITXM3XFJ.js";
|
|
6
|
+
import "./chunk-6O2YTBVC.js";
|
|
11
7
|
import "./chunk-NJTV6DRT.js";
|
|
12
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-RZPNVRRS.js";
|
|
9
|
+
import "./chunk-NENVUHL5.js";
|
|
13
10
|
import "./chunk-QFPVAJ2U.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-BSJC7OVV.js";
|
|
12
|
+
import "./chunk-VD3VGLBQ.js";
|
|
13
|
+
import "./chunk-3TY6OPD3.js";
|
|
14
|
+
import "./chunk-7FNZBMB2.js";
|
|
15
|
+
import "./chunk-WYBFBLQC.js";
|
|
16
|
+
import "./chunk-GOOH2LGN.js";
|
|
18
17
|
import "./chunk-7JYVBXKQ.js";
|
|
19
|
-
import "./chunk-
|
|
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
|
domain_exports as domain
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RestaurantSchema
|
|
3
|
+
} from "./chunk-7JYVBXKQ.js";
|
|
1
4
|
import {
|
|
2
5
|
FoodCodeManifestImageSchema
|
|
3
6
|
} from "./chunk-CGFW5LYV.js";
|
|
4
7
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
8
|
+
LocationConsentStatusSchema,
|
|
9
|
+
MemberCoreSchema
|
|
10
|
+
} from "./chunk-C63TN7L3.js";
|
|
7
11
|
import {
|
|
8
12
|
ISODateStringSchema,
|
|
9
13
|
ISODateTimeStringSchema,
|
|
10
14
|
TimeHHmmStringSchema
|
|
11
15
|
} from "./chunk-HRM3FQPL.js";
|
|
12
|
-
import {
|
|
13
|
-
LocationConsentStatusSchema,
|
|
14
|
-
MemberCoreSchema
|
|
15
|
-
} from "./chunk-C63TN7L3.js";
|
|
16
16
|
import {
|
|
17
17
|
FoodSchema,
|
|
18
18
|
MealPlanChangeRequestIdSchema,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RestaurantSchema
|
|
3
3
|
} from "./chunk-7JYVBXKQ.js";
|
|
4
|
-
import {
|
|
5
|
-
ISODateStringSchema,
|
|
6
|
-
ISODateTimeStringSchema
|
|
7
|
-
} from "./chunk-HRM3FQPL.js";
|
|
8
4
|
import {
|
|
9
5
|
MemberCoreSchema,
|
|
10
6
|
UploadPresignImageRequestSchema,
|
|
11
7
|
UploadPresignImageResponseSchema
|
|
12
8
|
} from "./chunk-C63TN7L3.js";
|
|
9
|
+
import {
|
|
10
|
+
ISODateStringSchema,
|
|
11
|
+
ISODateTimeStringSchema
|
|
12
|
+
} from "./chunk-HRM3FQPL.js";
|
|
13
13
|
import {
|
|
14
14
|
ArticleIdSchema,
|
|
15
15
|
CommentIdSchema,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ISODateTimeStringSchema
|
|
3
|
-
} from "./chunk-HRM3FQPL.js";
|
|
4
1
|
import {
|
|
5
2
|
MemberCoreSchema
|
|
6
3
|
} from "./chunk-C63TN7L3.js";
|
|
4
|
+
import {
|
|
5
|
+
ISODateTimeStringSchema
|
|
6
|
+
} from "./chunk-HRM3FQPL.js";
|
|
7
7
|
import {
|
|
8
8
|
FriendRequestIdSchema
|
|
9
9
|
} from "./chunk-XMRYAG3V.js";
|