@kimdaegyu/babmukdang-shared 1.1.10 → 2.0.2

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.
Files changed (88) hide show
  1. package/dist/chunk-3BLXZW4U.js +338 -0
  2. package/dist/{chunk-AI2YMBJX.js → chunk-65DWKLP6.js} +18 -9
  3. package/dist/{chunk-H77ISYYC.js → chunk-6R5CCY5Q.js} +22 -8
  4. package/dist/{chunk-4E5E3PFW.js → chunk-DRCY5UNQ.js} +20 -7
  5. package/dist/chunk-EX7S5FI5.js +91 -0
  6. package/dist/{chunk-HRM3FQPL.js → chunk-EYZU5HPG.js} +4 -1
  7. package/dist/{chunk-OJVXYCSH.js → chunk-G7TITUHT.js} +1 -1
  8. package/dist/chunk-GESEM4IA.js +122 -0
  9. package/dist/chunk-IPANLE7B.js +632 -0
  10. package/dist/chunk-KREAZLLH.js +1062 -0
  11. package/dist/{chunk-K3CZKI2F.js → chunk-P3MYMK34.js} +24 -13
  12. package/dist/chunk-Q4BPFDVB.js +171 -0
  13. package/dist/{chunk-W4C7XHTX.js → chunk-QUAG5LF5.js} +13 -6
  14. package/dist/chunk-TIOX7OHA.js +863 -0
  15. package/dist/{chunk-GTVEQYJW.js → chunk-TOXRHSD6.js} +1 -1
  16. package/dist/chunk-YV734GYZ.js +165 -0
  17. package/dist/domain/article/index.cjs +107 -15
  18. package/dist/domain/article/index.d.cts +254 -0
  19. package/dist/domain/article/index.d.ts +254 -0
  20. package/dist/domain/article/index.js +5 -5
  21. package/dist/domain/auth/index.cjs +88 -9
  22. package/dist/domain/auth/index.d.cts +29 -0
  23. package/dist/domain/auth/index.d.ts +29 -0
  24. package/dist/domain/auth/index.js +3 -3
  25. package/dist/domain/common/index.cjs +2100 -395
  26. package/dist/domain/common/index.d.cts +328 -0
  27. package/dist/domain/common/index.d.ts +328 -0
  28. package/dist/domain/common/index.js +65 -31
  29. package/dist/domain/food/index.cjs +248 -0
  30. package/dist/domain/food/index.d.cts +321 -0
  31. package/dist/domain/food/index.d.ts +321 -0
  32. package/dist/domain/food/index.js +44 -0
  33. package/dist/domain/friend/index.cjs +108 -12
  34. package/dist/domain/friend/index.d.cts +72 -0
  35. package/dist/domain/friend/index.d.ts +72 -0
  36. package/dist/domain/friend/index.js +6 -4
  37. package/dist/domain/index.cjs +2736 -522
  38. package/dist/domain/index.d.cts +576 -0
  39. package/dist/domain/index.d.ts +576 -0
  40. package/dist/domain/index.js +429 -140
  41. package/dist/domain/live-activity/index.cjs +1061 -0
  42. package/dist/domain/live-activity/index.d.cts +177 -0
  43. package/dist/domain/live-activity/index.d.ts +177 -0
  44. package/dist/domain/live-activity/index.js +27 -0
  45. package/dist/domain/meal/index.cjs +101 -12
  46. package/dist/domain/meal/index.d.cts +47 -0
  47. package/dist/domain/meal/index.d.ts +47 -0
  48. package/dist/domain/meal/index.js +4 -4
  49. package/dist/domain/meal-plan/index.cjs +1504 -0
  50. package/dist/domain/meal-plan/index.d.cts +4424 -0
  51. package/dist/domain/meal-plan/index.d.ts +4424 -0
  52. package/dist/domain/meal-plan/index.js +256 -0
  53. package/dist/domain/member/index.cjs +114 -9
  54. package/dist/domain/member/index.d.cts +330 -0
  55. package/dist/domain/member/index.d.ts +330 -0
  56. package/dist/domain/member/index.js +26 -2
  57. package/dist/domain/promotion/index.cjs +26 -8
  58. package/dist/domain/promotion/index.d.cts +81 -0
  59. package/dist/domain/promotion/index.d.ts +81 -0
  60. package/dist/domain/promotion/index.js +3 -3
  61. package/dist/domain/push/index.cjs +1004 -0
  62. package/dist/domain/push/index.d.cts +169 -0
  63. package/dist/domain/push/index.d.ts +169 -0
  64. package/dist/domain/push/index.js +35 -0
  65. package/dist/domain/restaurant/index.cjs +10 -4
  66. package/dist/domain/restaurant/index.d.cts +34 -0
  67. package/dist/domain/restaurant/index.d.ts +34 -0
  68. package/dist/domain/restaurant/index.js +2 -2
  69. package/dist/index.cjs +2533 -640
  70. package/dist/index.d.cts +14 -0
  71. package/dist/index.d.ts +14 -0
  72. package/dist/index.js +16 -191
  73. package/package.json +52 -55
  74. package/dist/chunk-PFSZSKD5.js +0 -0
  75. package/dist/chunk-PQMEXOPZ.js +0 -232
  76. package/dist/chunk-W4TUW2GY.js +0 -40
  77. package/dist/chunk-WNYCCQM4.js +0 -342
  78. package/dist/chunk-YGFAVC5N.js +0 -34
  79. package/dist/chunk-YM7YU7IR.js +0 -319
  80. package/dist/chunk-ZH7D7B2Y.js +0 -78
  81. package/dist/domain/invitation/index.cjs +0 -82
  82. package/dist/domain/invitation/index.js +0 -13
  83. package/dist/domain/plan/index.cjs +0 -327
  84. package/dist/domain/plan/index.js +0 -18
  85. package/dist/domain/recruit/index.cjs +0 -189
  86. package/dist/domain/recruit/index.js +0 -30
  87. package/dist/domain/room/index.cjs +0 -401
  88. package/dist/domain/room/index.js +0 -82
@@ -1,401 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
-
30
- // src/domain/room/index.ts
31
- var room_exports = {};
32
- __export(room_exports, {
33
- AddLocationCandidateRequestSchema: () => AddLocationCandidateRequestSchema,
34
- ChatMessageRequestSchema: () => ChatMessageRequestSchema,
35
- ChatMessageResponseSchema: () => ChatMessageResponseSchema,
36
- DatePicksUpdateResponseSchema: () => DatePicksUpdateResponseSchema,
37
- ExcludeMenuRequestSchema: () => ExcludeMenuRequestSchema,
38
- ExcludeMenuUpdateResponseSchema: () => ExcludeMenuUpdateResponseSchema,
39
- FinalStateSchema: () => FinalStateSchema,
40
- InvitationRoomStageSchema: () => InvitationRoomStageSchema,
41
- LocationCandidateAddUpdateResponseSchema: () => LocationCandidateAddUpdateResponseSchema,
42
- LocationCandidateSchema: () => LocationCandidateSchema,
43
- LocationCandidateVoteUpdateResponseSchema: () => LocationCandidateVoteUpdateResponseSchema,
44
- LocationIdSchema: () => LocationIdSchema,
45
- MatchingNotificationKindSchema: () => MatchingNotificationKindSchema,
46
- MatchingNotificationSchema: () => MatchingNotificationSchema,
47
- MenuCodeSchema: () => MenuCodeSchema,
48
- MenuPickUpdateResponseSchema: () => MenuPickUpdateResponseSchema,
49
- MenuSchema: () => MenuSchema,
50
- ParticipantSchema: () => ParticipantSchema,
51
- PhaseDataBroadcastSchema: () => PhaseDataBroadcastSchema,
52
- PickDateRequestSchema: () => PickDateRequestSchema,
53
- PickMenuRequestSchema: () => PickMenuRequestSchema,
54
- PickRestaurantRequestSchema: () => PickRestaurantRequestSchema,
55
- PickTimesRequestSchema: () => PickTimesRequestSchema,
56
- ReadyStateChangedSchema: () => ReadyStateChangedSchema,
57
- ReadyStateRequestSchema: () => ReadyStateRequestSchema,
58
- RecruitRoomStageSchema: () => RecruitRoomStageSchema,
59
- RestaurantPickUpdateResponseSchema: () => RestaurantPickUpdateResponseSchema,
60
- RoomAccessResponseSchema: () => RoomAccessResponseSchema,
61
- RoomAssignedResponseSchema: () => RoomAssignedResponseSchema,
62
- RoomInitialStateSchema: () => RoomInitialStateSchema,
63
- RoomSocketClientEventSchemas: () => RoomSocketClientEventSchemas,
64
- RoomSocketErrorSchema: () => RoomSocketErrorSchema,
65
- RoomSocketServerEventSchemas: () => RoomSocketServerEventSchemas,
66
- RoomTypeSchema: () => RoomTypeSchema,
67
- TimePicksUpdateResponseSchema: () => TimePicksUpdateResponseSchema,
68
- VoteLocationRequestSchema: () => VoteLocationRequestSchema
69
- });
70
- module.exports = __toCommonJS(room_exports);
71
-
72
- // src/domain/room/schema/room.schema.ts
73
- var import_zod6 = require("zod");
74
-
75
- // src/domain/common/schema/date.schema.ts
76
- var import_zod = require("zod");
77
- var isoDateRegex = /^\d{4}-\d{2}-\d{2}$/;
78
- var ISODateStringSchema = import_zod.z.string().regex(isoDateRegex, "Expected ISO date string in YYYY-MM-DD format");
79
- var ISODateTimeStringSchema = import_zod.z.string().datetime({ offset: true, message: "Expected ISO datetime string" });
80
- var TimeHHmmStringSchema = import_zod.z.string().regex(/^\d{2}:\d{2}$/, "Expected time string in HH:mm format");
81
-
82
- // src/domain/common/schema/id.schema.ts
83
- var import_zod2 = require("zod");
84
- var PositiveIntIdSchema = import_zod2.z.number().int().positive();
85
- var NonEmptyStringIdSchema = import_zod2.z.string().min(1);
86
- var MemberIdSchema = PositiveIntIdSchema.brand();
87
- var ArticleIdSchema = PositiveIntIdSchema.brand();
88
- var CommentIdSchema = PositiveIntIdSchema.brand();
89
- var RecruitIdSchema = PositiveIntIdSchema.brand();
90
- var PlanIdSchema = PositiveIntIdSchema.brand();
91
- var InvitationIdSchema = PositiveIntIdSchema.brand();
92
- var RoomIdSchema = NonEmptyStringIdSchema.brand();
93
- var RestaurantIdSchema = NonEmptyStringIdSchema.brand();
94
- var CouponIdSchema = PositiveIntIdSchema.brand();
95
- var SubscriptionIdSchema = PositiveIntIdSchema.brand();
96
- var FriendRequestIdSchema = PositiveIntIdSchema.brand();
97
- var ReferralCodeSchema = import_zod2.z.string().min(4).max(64).brand();
98
- var FoodCodeSchema = NonEmptyStringIdSchema.brand();
99
- var FoodLabelSchema = NonEmptyStringIdSchema.brand();
100
- var FoodSchema = import_zod2.z.object({
101
- code: FoodCodeSchema,
102
- label: FoodLabelSchema
103
- });
104
-
105
- // src/domain/member/member.schema.ts
106
- var import_zod4 = require("zod");
107
-
108
- // src/domain/common/contracts/upload.ts
109
- var import_zod3 = __toESM(require("zod"), 1);
110
- var UploadPresignImageResponseSchema = import_zod3.default.object({
111
- key: import_zod3.default.string(),
112
- putUrl: import_zod3.default.string().url(),
113
- cdnUrl: import_zod3.default.string().url()
114
- });
115
- var UploadPresignImageRequestSchema = import_zod3.default.object({
116
- contentType: import_zod3.default.string()
117
- });
118
-
119
- // src/domain/member/member.schema.ts
120
- var MemberRoleSchema = import_zod4.z.enum(["USER", "ADMIN"]);
121
- var MemberCoreSchema = import_zod4.z.object({
122
- memberId: MemberIdSchema,
123
- username: import_zod4.z.string().min(1).max(50),
124
- profileImageUrl: import_zod4.z.string().url().nullable().optional()
125
- });
126
- var UploadProfileImageResponseSchema = UploadPresignImageResponseSchema.extend({});
127
- var UploadProfileImageRequestSchema = UploadPresignImageRequestSchema.extend({});
128
- var MemberResponseSchema = MemberCoreSchema.pick({
129
- memberId: true,
130
- username: true,
131
- profileImageUrl: true
132
- });
133
- var MemberSearchQuerySchema = import_zod4.z.object({
134
- email: import_zod4.z.string().email().optional(),
135
- username: import_zod4.z.string().optional()
136
- });
137
- var MemberSerachResponseSchema = import_zod4.z.array(MemberCoreSchema);
138
- var MemberDetailSchema = MemberCoreSchema.extend({
139
- bio: import_zod4.z.string().nullable(),
140
- friendConunt: import_zod4.z.number().int().min(0).default(0),
141
- completedPlans: import_zod4.z.number().int().min(0).default(0),
142
- uncompletedPlans: import_zod4.z.number().int().min(0).default(0)
143
- });
144
- var FoodPreferenceItemSchema = FoodSchema.extend({});
145
- var MemberFoodPreferenceSchema = import_zod4.z.object({
146
- liked: import_zod4.z.array(FoodPreferenceItemSchema).optional(),
147
- disliked: import_zod4.z.array(FoodPreferenceItemSchema).optional(),
148
- allergy: import_zod4.z.array(FoodPreferenceItemSchema).optional()
149
- });
150
- var UpdateProfileRequestSchema = import_zod4.z.object({
151
- username: import_zod4.z.string().min(1).max(50),
152
- profileImageUrl: import_zod4.z.string().url().nullable(),
153
- bio: import_zod4.z.string().max(500).nullable()
154
- });
155
- var UpdatePreferenceRequestSchema = MemberFoodPreferenceSchema;
156
- var CreateProfileRequestSchema = UpdateProfileRequestSchema.merge(
157
- UpdatePreferenceRequestSchema
158
- );
159
-
160
- // src/domain/restaurant/restaurant.schema.ts
161
- var import_zod5 = require("zod");
162
- var RestaurantSchema = import_zod5.z.object({
163
- restaurantId: RestaurantIdSchema,
164
- placeName: import_zod5.z.string(),
165
- categoryName: import_zod5.z.string(),
166
- categoryGroupName: import_zod5.z.string(),
167
- distance: import_zod5.z.string().optional(),
168
- roadAddressName: import_zod5.z.string(),
169
- addressName: import_zod5.z.string(),
170
- phone: import_zod5.z.string().nullable(),
171
- placeUrl: import_zod5.z.string().url().nullable(),
172
- lat: import_zod5.z.number(),
173
- lng: import_zod5.z.number()
174
- });
175
- var KakaoPlaceRawSchema = import_zod5.z.object({
176
- id: RestaurantIdSchema,
177
- place_name: import_zod5.z.string(),
178
- category_name: import_zod5.z.string(),
179
- category_group_name: import_zod5.z.string(),
180
- distance: import_zod5.z.string(),
181
- road_address_name: import_zod5.z.string(),
182
- address_name: import_zod5.z.string(),
183
- phone: import_zod5.z.string(),
184
- place_url: import_zod5.z.string().url().optional(),
185
- lat: import_zod5.z.number(),
186
- lng: import_zod5.z.number()
187
- });
188
-
189
- // src/domain/room/schema/room.schema.ts
190
- var MenuCodeSchema = FoodCodeSchema;
191
- var LocationIdSchema = import_zod6.z.string().min(1).brand();
192
- var MenuSchema = FoodSchema.extend({});
193
- var LocationCandidateSchema = import_zod6.z.object({
194
- locationId: LocationIdSchema,
195
- placeName: import_zod6.z.string(),
196
- lat: import_zod6.z.number(),
197
- lng: import_zod6.z.number(),
198
- address: import_zod6.z.string()
199
- });
200
- var ParticipantSchema = MemberCoreSchema.extend({
201
- ready: import_zod6.z.boolean()
202
- });
203
- var RecruitRoomStageSchema = import_zod6.z.enum([
204
- "waiting",
205
- "location",
206
- "location-vote",
207
- "exclude-menu",
208
- "menu",
209
- "restaurant",
210
- "finish"
211
- ]);
212
- var RoomTypeSchema = import_zod6.z.enum(["recruit", "invitation"]);
213
- var InvitationRoomStageSchema = import_zod6.z.enum([
214
- "waiting",
215
- "date",
216
- "time",
217
- "location",
218
- "location-vote",
219
- "exclude-menu",
220
- "menu",
221
- "restaurant",
222
- "finish"
223
- ]);
224
- var ReadyStateRequestSchema = import_zod6.z.object({
225
- isReady: import_zod6.z.boolean()
226
- });
227
- var ChatMessageRequestSchema = import_zod6.z.object({
228
- message: import_zod6.z.string().min(1).max(500)
229
- });
230
- var AddLocationCandidateRequestSchema = LocationCandidateSchema;
231
- var VoteLocationRequestSchema = import_zod6.z.object({ locationId: LocationIdSchema });
232
- var ExcludeMenuRequestSchema = import_zod6.z.object({ menu: MenuSchema });
233
- var PickMenuRequestSchema = import_zod6.z.object({ menuCode: MenuCodeSchema });
234
- var PickRestaurantRequestSchema = import_zod6.z.object({ restaurantId: RestaurantIdSchema });
235
- var PickTimesRequestSchema = import_zod6.z.object({ times: import_zod6.z.array(import_zod6.z.string().min(1)).min(1) });
236
- var PickDateRequestSchema = import_zod6.z.object({ dates: import_zod6.z.array(ISODateStringSchema).min(1) });
237
- var RoomAssignedResponseSchema = import_zod6.z.object({
238
- roomId: RoomIdSchema
239
- });
240
- var RoomAccessResponseSchema = import_zod6.z.object({
241
- roomId: RoomIdSchema,
242
- roomType: RoomTypeSchema,
243
- stage: import_zod6.z.union([RecruitRoomStageSchema, InvitationRoomStageSchema]),
244
- canJoin: import_zod6.z.boolean()
245
- });
246
- var MatchingNotificationKindSchema = import_zod6.z.enum(["recruit", "invitation"]);
247
- var MatchingNotificationSchema = import_zod6.z.object({
248
- notificationId: import_zod6.z.string().min(1),
249
- kind: MatchingNotificationKindSchema,
250
- roomId: RoomIdSchema,
251
- roomType: RoomTypeSchema,
252
- title: import_zod6.z.string().min(1),
253
- message: import_zod6.z.string().min(1),
254
- createdAt: ISODateTimeStringSchema,
255
- readAt: ISODateTimeStringSchema.nullable()
256
- });
257
- var RoomSocketErrorSchema = import_zod6.z.object({
258
- code: import_zod6.z.string(),
259
- message: import_zod6.z.string()
260
- });
261
- var ChatMessageResponseSchema = import_zod6.z.object({
262
- messageId: import_zod6.z.string(),
263
- user: MemberCoreSchema,
264
- message: import_zod6.z.string(),
265
- createdAt: ISODateTimeStringSchema
266
- });
267
- var ReadyStateChangedSchema = import_zod6.z.object({
268
- readyCount: import_zod6.z.number().int().min(0),
269
- participantCount: import_zod6.z.number().int().min(0)
270
- });
271
- var FinalStateSchema = import_zod6.z.object({
272
- location: LocationCandidateSchema.optional(),
273
- excludeMenu: import_zod6.z.array(MenuSchema).optional(),
274
- menu: MenuSchema.optional(),
275
- restaurant: RestaurantSchema.optional(),
276
- time: import_zod6.z.string().optional(),
277
- date: ISODateStringSchema.optional()
278
- });
279
- var RoomInitialStateSchema = import_zod6.z.object({
280
- participants: import_zod6.z.array(ParticipantSchema),
281
- chat: import_zod6.z.array(ChatMessageResponseSchema),
282
- final: FinalStateSchema
283
- });
284
- var TimePicksUpdateResponseSchema = import_zod6.z.array(
285
- import_zod6.z.object({ memberId: MemberIdSchema, times: import_zod6.z.array(import_zod6.z.string()) })
286
- );
287
- var DatePicksUpdateResponseSchema = import_zod6.z.array(
288
- import_zod6.z.object({ memberId: MemberIdSchema, dates: import_zod6.z.array(ISODateStringSchema) })
289
- );
290
- var LocationCandidateAddUpdateResponseSchema = import_zod6.z.array(
291
- LocationCandidateSchema.extend({ authorMemberId: MemberIdSchema })
292
- );
293
- var LocationCandidateVoteUpdateResponseSchema = import_zod6.z.array(
294
- import_zod6.z.object({ locationId: LocationIdSchema, votes: import_zod6.z.array(MemberIdSchema) })
295
- );
296
- var ExcludeMenuUpdateResponseSchema = import_zod6.z.array(
297
- import_zod6.z.object({ memberId: MemberIdSchema, exclusions: import_zod6.z.array(MenuSchema) })
298
- );
299
- var MenuPickUpdateResponseSchema = import_zod6.z.array(
300
- import_zod6.z.object({ menuCode: MenuCodeSchema, selectedMembers: import_zod6.z.array(MemberIdSchema) })
301
- );
302
- var RestaurantPickUpdateResponseSchema = import_zod6.z.array(
303
- import_zod6.z.object({ restaurantId: RestaurantIdSchema, selectedMembers: import_zod6.z.array(MemberIdSchema) })
304
- );
305
- var WaitingPhaseDataSchema = import_zod6.z.object({
306
- locationInitial: import_zod6.z.string().optional(),
307
- meetingAt: ISODateTimeStringSchema.optional()
308
- });
309
- var LocationVotePhaseDataSchema = import_zod6.z.object({
310
- locations: LocationCandidateAddUpdateResponseSchema,
311
- votes: LocationCandidateVoteUpdateResponseSchema
312
- });
313
- var ExcludeMenuPhaseDataSchema = import_zod6.z.object({
314
- recentMenus: import_zod6.z.array(import_zod6.z.object({ userId: import_zod6.z.string(), menuList: import_zod6.z.array(MenuSchema) })),
315
- excludedMenuList: ExcludeMenuUpdateResponseSchema
316
- });
317
- var MenuPhaseDataSchema = import_zod6.z.object({
318
- initialMenus: import_zod6.z.array(MenuSchema),
319
- menuPick: MenuPickUpdateResponseSchema
320
- });
321
- var RestaurantPhaseDataSchema = import_zod6.z.object({
322
- initialRestaurants: import_zod6.z.array(RestaurantSchema),
323
- restaurantUserList: RestaurantPickUpdateResponseSchema
324
- });
325
- var PhaseDataBroadcastSchema = import_zod6.z.discriminatedUnion("phase", [
326
- import_zod6.z.object({ phase: import_zod6.z.literal("waiting"), data: WaitingPhaseDataSchema }),
327
- import_zod6.z.object({ phase: import_zod6.z.literal("date"), data: DatePicksUpdateResponseSchema }),
328
- import_zod6.z.object({ phase: import_zod6.z.literal("time"), data: TimePicksUpdateResponseSchema }),
329
- import_zod6.z.object({ phase: import_zod6.z.literal("location"), data: WaitingPhaseDataSchema }),
330
- import_zod6.z.object({ phase: import_zod6.z.literal("location-vote"), data: LocationVotePhaseDataSchema }),
331
- import_zod6.z.object({ phase: import_zod6.z.literal("exclude-menu"), data: ExcludeMenuPhaseDataSchema }),
332
- import_zod6.z.object({ phase: import_zod6.z.literal("menu"), data: MenuPhaseDataSchema }),
333
- import_zod6.z.object({ phase: import_zod6.z.literal("restaurant"), data: RestaurantPhaseDataSchema }),
334
- import_zod6.z.object({ phase: import_zod6.z.literal("finish"), data: WaitingPhaseDataSchema })
335
- ]);
336
- var RoomSocketClientEventSchemas = {
337
- "ready-state": ReadyStateRequestSchema,
338
- "chat-message": ChatMessageRequestSchema,
339
- "add-location-candidate": AddLocationCandidateRequestSchema,
340
- "vote-location": VoteLocationRequestSchema,
341
- "exclude-menu": ExcludeMenuRequestSchema,
342
- "pick-menu": PickMenuRequestSchema,
343
- "pick-restaurant": PickRestaurantRequestSchema,
344
- "pick-times": PickTimesRequestSchema,
345
- "pick-date": PickDateRequestSchema
346
- };
347
- var RoomSocketServerEventSchemas = {
348
- "room-assigned": RoomAssignedResponseSchema,
349
- "stage-changed": PhaseDataBroadcastSchema,
350
- "chat-message": ChatMessageResponseSchema,
351
- "room-error": RoomSocketErrorSchema,
352
- "ready-state-changed": ReadyStateChangedSchema,
353
- "join-room": RoomInitialStateSchema,
354
- "time-updated": TimePicksUpdateResponseSchema,
355
- "date-updated": DatePicksUpdateResponseSchema,
356
- "location-add-updated": LocationCandidateAddUpdateResponseSchema,
357
- "location-vote-updated": LocationCandidateVoteUpdateResponseSchema,
358
- "exclude-menu-updated": ExcludeMenuUpdateResponseSchema,
359
- "menu-pick-updated": MenuPickUpdateResponseSchema,
360
- "restaurant-pick-updated": RestaurantPickUpdateResponseSchema,
361
- "final-state-response": FinalStateSchema
362
- };
363
- // Annotate the CommonJS export names for ESM import in node:
364
- 0 && (module.exports = {
365
- AddLocationCandidateRequestSchema,
366
- ChatMessageRequestSchema,
367
- ChatMessageResponseSchema,
368
- DatePicksUpdateResponseSchema,
369
- ExcludeMenuRequestSchema,
370
- ExcludeMenuUpdateResponseSchema,
371
- FinalStateSchema,
372
- InvitationRoomStageSchema,
373
- LocationCandidateAddUpdateResponseSchema,
374
- LocationCandidateSchema,
375
- LocationCandidateVoteUpdateResponseSchema,
376
- LocationIdSchema,
377
- MatchingNotificationKindSchema,
378
- MatchingNotificationSchema,
379
- MenuCodeSchema,
380
- MenuPickUpdateResponseSchema,
381
- MenuSchema,
382
- ParticipantSchema,
383
- PhaseDataBroadcastSchema,
384
- PickDateRequestSchema,
385
- PickMenuRequestSchema,
386
- PickRestaurantRequestSchema,
387
- PickTimesRequestSchema,
388
- ReadyStateChangedSchema,
389
- ReadyStateRequestSchema,
390
- RecruitRoomStageSchema,
391
- RestaurantPickUpdateResponseSchema,
392
- RoomAccessResponseSchema,
393
- RoomAssignedResponseSchema,
394
- RoomInitialStateSchema,
395
- RoomSocketClientEventSchemas,
396
- RoomSocketErrorSchema,
397
- RoomSocketServerEventSchemas,
398
- RoomTypeSchema,
399
- TimePicksUpdateResponseSchema,
400
- VoteLocationRequestSchema
401
- });
@@ -1,82 +0,0 @@
1
- import "../../chunk-PFSZSKD5.js";
2
- import {
3
- AddLocationCandidateRequestSchema,
4
- ChatMessageRequestSchema,
5
- ChatMessageResponseSchema,
6
- DatePicksUpdateResponseSchema,
7
- ExcludeMenuRequestSchema,
8
- ExcludeMenuUpdateResponseSchema,
9
- FinalStateSchema,
10
- InvitationRoomStageSchema,
11
- LocationCandidateAddUpdateResponseSchema,
12
- LocationCandidateSchema,
13
- LocationCandidateVoteUpdateResponseSchema,
14
- LocationIdSchema,
15
- MatchingNotificationKindSchema,
16
- MatchingNotificationSchema,
17
- MenuCodeSchema,
18
- MenuPickUpdateResponseSchema,
19
- MenuSchema,
20
- ParticipantSchema,
21
- PhaseDataBroadcastSchema,
22
- PickDateRequestSchema,
23
- PickMenuRequestSchema,
24
- PickRestaurantRequestSchema,
25
- PickTimesRequestSchema,
26
- ReadyStateChangedSchema,
27
- ReadyStateRequestSchema,
28
- RecruitRoomStageSchema,
29
- RestaurantPickUpdateResponseSchema,
30
- RoomAccessResponseSchema,
31
- RoomAssignedResponseSchema,
32
- RoomInitialStateSchema,
33
- RoomSocketClientEventSchemas,
34
- RoomSocketErrorSchema,
35
- RoomSocketServerEventSchemas,
36
- RoomTypeSchema,
37
- TimePicksUpdateResponseSchema,
38
- VoteLocationRequestSchema
39
- } from "../../chunk-PQMEXOPZ.js";
40
- import "../../chunk-GTVEQYJW.js";
41
- import "../../chunk-HRM3FQPL.js";
42
- import "../../chunk-NJTV6DRT.js";
43
- import "../../chunk-ZH7D7B2Y.js";
44
- import "../../chunk-H77ISYYC.js";
45
- export {
46
- AddLocationCandidateRequestSchema,
47
- ChatMessageRequestSchema,
48
- ChatMessageResponseSchema,
49
- DatePicksUpdateResponseSchema,
50
- ExcludeMenuRequestSchema,
51
- ExcludeMenuUpdateResponseSchema,
52
- FinalStateSchema,
53
- InvitationRoomStageSchema,
54
- LocationCandidateAddUpdateResponseSchema,
55
- LocationCandidateSchema,
56
- LocationCandidateVoteUpdateResponseSchema,
57
- LocationIdSchema,
58
- MatchingNotificationKindSchema,
59
- MatchingNotificationSchema,
60
- MenuCodeSchema,
61
- MenuPickUpdateResponseSchema,
62
- MenuSchema,
63
- ParticipantSchema,
64
- PhaseDataBroadcastSchema,
65
- PickDateRequestSchema,
66
- PickMenuRequestSchema,
67
- PickRestaurantRequestSchema,
68
- PickTimesRequestSchema,
69
- ReadyStateChangedSchema,
70
- ReadyStateRequestSchema,
71
- RecruitRoomStageSchema,
72
- RestaurantPickUpdateResponseSchema,
73
- RoomAccessResponseSchema,
74
- RoomAssignedResponseSchema,
75
- RoomInitialStateSchema,
76
- RoomSocketClientEventSchemas,
77
- RoomSocketErrorSchema,
78
- RoomSocketServerEventSchemas,
79
- RoomTypeSchema,
80
- TimePicksUpdateResponseSchema,
81
- VoteLocationRequestSchema
82
- };