@kimdaegyu/babmukdang-shared 1.1.11 → 2.0.3

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 (100) hide show
  1. package/dist/chunk-3TY6OPD3.js +91 -0
  2. package/dist/{chunk-W4C7XHTX.js → chunk-6O2YTBVC.js} +3 -3
  3. package/dist/{chunk-GTVEQYJW.js → chunk-7JYVBXKQ.js} +1 -1
  4. package/dist/chunk-7UZD4LBQ.js +459 -0
  5. package/dist/chunk-BSJC7OVV.js +10 -0
  6. package/dist/chunk-C63TN7L3.js +148 -0
  7. package/dist/chunk-CGFW5LYV.js +143 -0
  8. package/dist/chunk-GOOH2LGN.js +829 -0
  9. package/dist/chunk-LEH6UFL7.js +314 -0
  10. package/dist/{chunk-K3CZKI2F.js → chunk-NENVUHL5.js} +11 -8
  11. package/dist/chunk-OPMBGBYS.js +632 -0
  12. package/dist/{chunk-OJVXYCSH.js → chunk-QFPVAJ2U.js} +1 -1
  13. package/dist/{chunk-AI2YMBJX.js → chunk-RZPNVRRS.js} +5 -5
  14. package/dist/{chunk-4E5E3PFW.js → chunk-VD3VGLBQ.js} +13 -5
  15. package/dist/chunk-WYBFBLQC.js +111 -0
  16. package/dist/{chunk-H77ISYYC.js → chunk-XMRYAG3V.js} +20 -8
  17. package/dist/domain/article/index.cjs +71 -7
  18. package/dist/domain/article/index.d.cts +79 -796
  19. package/dist/domain/article/index.d.ts +79 -796
  20. package/dist/domain/article/index.js +4 -4
  21. package/dist/domain/auth/index.cjs +68 -6
  22. package/dist/domain/auth/index.d.cts +6 -46
  23. package/dist/domain/auth/index.d.ts +6 -46
  24. package/dist/domain/auth/index.js +3 -3
  25. package/dist/domain/common/index.cjs +1438 -330
  26. package/dist/domain/common/index.d.cts +212 -3037
  27. package/dist/domain/common/index.d.ts +212 -3037
  28. package/dist/domain/common/index.js +65 -30
  29. package/dist/domain/food/index.cjs +225 -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 +46 -0
  33. package/dist/domain/friend/index.cjs +78 -7
  34. package/dist/domain/friend/index.d.cts +39 -98
  35. package/dist/domain/friend/index.d.ts +39 -98
  36. package/dist/domain/friend/index.js +5 -3
  37. package/dist/domain/index.cjs +1930 -456
  38. package/dist/domain/index.d.cts +382 -123
  39. package/dist/domain/index.d.ts +382 -123
  40. package/dist/domain/index.js +429 -140
  41. package/dist/domain/live-activity/index.cjs +1112 -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 +28 -0
  45. package/dist/domain/meal/index.cjs +68 -6
  46. package/dist/domain/meal/index.d.cts +21 -40
  47. package/dist/domain/meal/index.d.ts +21 -40
  48. package/dist/domain/meal/index.js +4 -4
  49. package/dist/domain/meal-plan/index.cjs +1540 -0
  50. package/dist/domain/meal-plan/index.d.cts +4523 -0
  51. package/dist/domain/meal-plan/index.d.ts +4523 -0
  52. package/dist/domain/meal-plan/index.js +255 -0
  53. package/dist/domain/member/index.cjs +94 -6
  54. package/dist/domain/member/index.d.cts +263 -273
  55. package/dist/domain/member/index.d.ts +263 -273
  56. package/dist/domain/member/index.js +26 -2
  57. package/dist/domain/promotion/index.cjs +10 -4
  58. package/dist/domain/promotion/index.d.cts +35 -112
  59. package/dist/domain/promotion/index.d.ts +35 -112
  60. package/dist/domain/promotion/index.js +2 -2
  61. package/dist/domain/push/index.cjs +1055 -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 +36 -0
  65. package/dist/domain/restaurant/index.cjs +10 -4
  66. package/dist/domain/restaurant/index.d.cts +27 -1
  67. package/dist/domain/restaurant/index.d.ts +27 -1
  68. package/dist/domain/restaurant/index.js +2 -2
  69. package/dist/index.cjs +1731 -399
  70. package/dist/index.d.cts +5 -7
  71. package/dist/index.d.ts +5 -7
  72. package/dist/index.js +17 -15
  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.d.cts +0 -64
  83. package/dist/domain/invitation/index.d.ts +0 -64
  84. package/dist/domain/invitation/index.js +0 -13
  85. package/dist/domain/plan/index.cjs +0 -327
  86. package/dist/domain/plan/index.d.cts +0 -178
  87. package/dist/domain/plan/index.d.ts +0 -178
  88. package/dist/domain/plan/index.js +0 -18
  89. package/dist/domain/recruit/index.cjs +0 -189
  90. package/dist/domain/recruit/index.d.cts +0 -214
  91. package/dist/domain/recruit/index.d.ts +0 -214
  92. package/dist/domain/recruit/index.js +0 -30
  93. package/dist/domain/room/index.cjs +0 -401
  94. package/dist/domain/room/index.d.cts +0 -2643
  95. package/dist/domain/room/index.d.ts +0 -2643
  96. package/dist/domain/room/index.js +0 -82
  97. package/dist/id-dAYxfjZn.d.cts +0 -64
  98. package/dist/id-dAYxfjZn.d.ts +0 -64
  99. package/dist/restaurant.schema-CuEcX3S3.d.cts +0 -78
  100. package/dist/restaurant.schema-CuEcX3S3.d.ts +0 -78
@@ -1,342 +0,0 @@
1
- import {
2
- ApiFailureSchema,
3
- ApiResponseSchema,
4
- ApiSuccessSchema,
5
- CreateRecruitRequestSchema,
6
- CreateRecruitResponseSchema,
7
- CreatedEntityIdResponseSchema,
8
- NoBodySchema,
9
- NoContentSchema,
10
- NoParamsSchema,
11
- NoQuerySchema,
12
- RecruitListQuerySchema,
13
- RecruitListResponseSchema,
14
- RecruitSortBySchema,
15
- RecruitStatusSchema,
16
- apiContract,
17
- endpoint,
18
- makeApiResponseSchema,
19
- makeApiSuccessSchema,
20
- toArticleId,
21
- toCommentId,
22
- toCouponId,
23
- toFriendRequestId,
24
- toInvitationId,
25
- toMemberId,
26
- toPlanId,
27
- toRecruitId,
28
- toReferralCode,
29
- toRestaurantId,
30
- toRoomId,
31
- toSubscriptionId
32
- } from "./chunk-YM7YU7IR.js";
33
- import {
34
- PlanListQuerySchema,
35
- PlanResponseSchema,
36
- PlanStatusSchema,
37
- PlanTypeSchema
38
- } from "./chunk-W4TUW2GY.js";
39
- import {
40
- FriendMealItemResponseSchema,
41
- FriendMealQuerySchema,
42
- MealStatusActionSchema,
43
- MealStatusResponseSchema,
44
- MealStatusSchema,
45
- UpdateMealStatusRequestSchema
46
- } from "./chunk-W4C7XHTX.js";
47
- import {
48
- ChallengeStatusResponseSchema,
49
- ClaimChallengeRewardRequestSchema,
50
- ClaimChallengeRewardResponseSchema,
51
- CouponResponseSchema,
52
- CouponStatusSchema,
53
- CouponTypeSchema,
54
- RedeemReferralRequestSchema,
55
- ReferralCreateResponseSchema,
56
- ReferralItemResponseSchema
57
- } from "./chunk-AI2YMBJX.js";
58
- import {
59
- AddLocationCandidateRequestSchema,
60
- ChatMessageRequestSchema,
61
- ChatMessageResponseSchema,
62
- DatePicksUpdateResponseSchema,
63
- ExcludeMenuRequestSchema,
64
- ExcludeMenuUpdateResponseSchema,
65
- FinalStateSchema,
66
- InvitationRoomStageSchema,
67
- LocationCandidateAddUpdateResponseSchema,
68
- LocationCandidateSchema,
69
- LocationCandidateVoteUpdateResponseSchema,
70
- LocationIdSchema,
71
- MatchingNotificationKindSchema,
72
- MatchingNotificationSchema,
73
- MenuCodeSchema,
74
- MenuPickUpdateResponseSchema,
75
- MenuSchema,
76
- ParticipantSchema,
77
- PhaseDataBroadcastSchema,
78
- PickDateRequestSchema,
79
- PickMenuRequestSchema,
80
- PickRestaurantRequestSchema,
81
- PickTimesRequestSchema,
82
- ReadyStateChangedSchema,
83
- ReadyStateRequestSchema,
84
- RecruitRoomStageSchema,
85
- RestaurantPickUpdateResponseSchema,
86
- RoomAccessResponseSchema,
87
- RoomAssignedResponseSchema,
88
- RoomInitialStateSchema,
89
- RoomSocketClientEventSchemas,
90
- RoomSocketErrorSchema,
91
- RoomSocketServerEventSchemas,
92
- RoomTypeSchema,
93
- TimePicksUpdateResponseSchema,
94
- VoteLocationRequestSchema
95
- } from "./chunk-PQMEXOPZ.js";
96
- import {
97
- ArticleCommentSchema,
98
- ArticleCoreSchema,
99
- ArticleDetailResponseSchema,
100
- ArticleLikeResponseSchema,
101
- ArticleListQuerySchema,
102
- ArticleSortBySchema,
103
- ArticleSummaryResponseSchema,
104
- CreateArticleRequestSchema,
105
- CreateCommentRequestSchema,
106
- FoodAnalysisResultSchema,
107
- PageArticleSummaryResponseSchema,
108
- PageMetaSchema,
109
- PageQuerySchema,
110
- PageResponseSchema,
111
- SortDirectionSchema,
112
- UploadArticleImageRequestSchema,
113
- UploadArticleImageResponseSchema
114
- } from "./chunk-K3CZKI2F.js";
115
- import {
116
- KakaoPlaceRawSchema,
117
- RestaurantSchema
118
- } from "./chunk-GTVEQYJW.js";
119
- import {
120
- LoginRequestSchema,
121
- SignupRequestSchema,
122
- SignupResponseSchema,
123
- TokenResponseSchema
124
- } from "./chunk-OJVXYCSH.js";
125
- import {
126
- FriendBlockItemResponseSchema,
127
- FriendListItemResponseSchema,
128
- FriendRequestItemResponseSchema,
129
- FriendRequestMemberSchema,
130
- FriendRequestStatusSchema,
131
- FriendSearchQuerySchema,
132
- FriendSearchResponseSchema
133
- } from "./chunk-4E5E3PFW.js";
134
- import {
135
- ISODateStringSchema,
136
- ISODateTimeStringSchema,
137
- TimeHHmmStringSchema
138
- } from "./chunk-HRM3FQPL.js";
139
- import {
140
- AcceptInvitationResponseSchema,
141
- CreateInvitationRequestSchema,
142
- InvitationListItemResponseSchema,
143
- SendInvitationResponseSchema
144
- } from "./chunk-YGFAVC5N.js";
145
- import {
146
- CreateProfileRequestSchema,
147
- MemberCoreSchema,
148
- MemberDetailSchema,
149
- MemberFoodPreferenceSchema,
150
- MemberResponseSchema,
151
- MemberRoleSchema,
152
- MemberSearchQuerySchema,
153
- MemberSerachResponseSchema,
154
- ProfileDetailResponseSchema,
155
- UpdatePreferenceRequestSchema,
156
- UpdateProfileRequestSchema,
157
- UploadProfileImageRequestSchema,
158
- UploadProfileImageResponseSchema
159
- } from "./chunk-ZH7D7B2Y.js";
160
- import {
161
- ArticleIdSchema,
162
- CommentIdSchema,
163
- CouponIdSchema,
164
- FoodCodeSchema,
165
- FoodLabelSchema,
166
- FoodSchema,
167
- FriendRequestIdSchema,
168
- InvitationIdSchema,
169
- MemberIdSchema,
170
- NonEmptyStringIdSchema,
171
- PlanIdSchema,
172
- PositiveIntIdSchema,
173
- RecruitIdSchema,
174
- ReferralCodeSchema,
175
- RestaurantIdSchema,
176
- RoomIdSchema,
177
- SubscriptionIdSchema,
178
- UserIdSchema,
179
- __export
180
- } from "./chunk-H77ISYYC.js";
181
-
182
- // src/domain/index.ts
183
- var domain_exports = {};
184
- __export(domain_exports, {
185
- AcceptInvitationResponseSchema: () => AcceptInvitationResponseSchema,
186
- AddLocationCandidateRequestSchema: () => AddLocationCandidateRequestSchema,
187
- ApiFailureSchema: () => ApiFailureSchema,
188
- ApiResponseSchema: () => ApiResponseSchema,
189
- ApiSuccessSchema: () => ApiSuccessSchema,
190
- ArticleCommentSchema: () => ArticleCommentSchema,
191
- ArticleCoreSchema: () => ArticleCoreSchema,
192
- ArticleDetailResponseSchema: () => ArticleDetailResponseSchema,
193
- ArticleIdSchema: () => ArticleIdSchema,
194
- ArticleLikeResponseSchema: () => ArticleLikeResponseSchema,
195
- ArticleListQuerySchema: () => ArticleListQuerySchema,
196
- ArticleSortBySchema: () => ArticleSortBySchema,
197
- ArticleSummaryResponseSchema: () => ArticleSummaryResponseSchema,
198
- ChallengeStatusResponseSchema: () => ChallengeStatusResponseSchema,
199
- ChatMessageRequestSchema: () => ChatMessageRequestSchema,
200
- ChatMessageResponseSchema: () => ChatMessageResponseSchema,
201
- ClaimChallengeRewardRequestSchema: () => ClaimChallengeRewardRequestSchema,
202
- ClaimChallengeRewardResponseSchema: () => ClaimChallengeRewardResponseSchema,
203
- CommentIdSchema: () => CommentIdSchema,
204
- CouponIdSchema: () => CouponIdSchema,
205
- CouponResponseSchema: () => CouponResponseSchema,
206
- CouponStatusSchema: () => CouponStatusSchema,
207
- CouponTypeSchema: () => CouponTypeSchema,
208
- CreateArticleRequestSchema: () => CreateArticleRequestSchema,
209
- CreateCommentRequestSchema: () => CreateCommentRequestSchema,
210
- CreateInvitationRequestSchema: () => CreateInvitationRequestSchema,
211
- CreateProfileRequestSchema: () => CreateProfileRequestSchema,
212
- CreateRecruitRequestSchema: () => CreateRecruitRequestSchema,
213
- CreateRecruitResponseSchema: () => CreateRecruitResponseSchema,
214
- CreatedEntityIdResponseSchema: () => CreatedEntityIdResponseSchema,
215
- DatePicksUpdateResponseSchema: () => DatePicksUpdateResponseSchema,
216
- ExcludeMenuRequestSchema: () => ExcludeMenuRequestSchema,
217
- ExcludeMenuUpdateResponseSchema: () => ExcludeMenuUpdateResponseSchema,
218
- FinalStateSchema: () => FinalStateSchema,
219
- FoodAnalysisResultSchema: () => FoodAnalysisResultSchema,
220
- FoodCodeSchema: () => FoodCodeSchema,
221
- FoodLabelSchema: () => FoodLabelSchema,
222
- FoodSchema: () => FoodSchema,
223
- FriendBlockItemResponseSchema: () => FriendBlockItemResponseSchema,
224
- FriendListItemResponseSchema: () => FriendListItemResponseSchema,
225
- FriendMealItemResponseSchema: () => FriendMealItemResponseSchema,
226
- FriendMealQuerySchema: () => FriendMealQuerySchema,
227
- FriendRequestIdSchema: () => FriendRequestIdSchema,
228
- FriendRequestItemResponseSchema: () => FriendRequestItemResponseSchema,
229
- FriendRequestMemberSchema: () => FriendRequestMemberSchema,
230
- FriendRequestStatusSchema: () => FriendRequestStatusSchema,
231
- FriendSearchQuerySchema: () => FriendSearchQuerySchema,
232
- FriendSearchResponseSchema: () => FriendSearchResponseSchema,
233
- ISODateStringSchema: () => ISODateStringSchema,
234
- ISODateTimeStringSchema: () => ISODateTimeStringSchema,
235
- InvitationIdSchema: () => InvitationIdSchema,
236
- InvitationListItemResponseSchema: () => InvitationListItemResponseSchema,
237
- InvitationRoomStageSchema: () => InvitationRoomStageSchema,
238
- KakaoPlaceRawSchema: () => KakaoPlaceRawSchema,
239
- LocationCandidateAddUpdateResponseSchema: () => LocationCandidateAddUpdateResponseSchema,
240
- LocationCandidateSchema: () => LocationCandidateSchema,
241
- LocationCandidateVoteUpdateResponseSchema: () => LocationCandidateVoteUpdateResponseSchema,
242
- LocationIdSchema: () => LocationIdSchema,
243
- LoginRequestSchema: () => LoginRequestSchema,
244
- MatchingNotificationKindSchema: () => MatchingNotificationKindSchema,
245
- MatchingNotificationSchema: () => MatchingNotificationSchema,
246
- MealStatusActionSchema: () => MealStatusActionSchema,
247
- MealStatusResponseSchema: () => MealStatusResponseSchema,
248
- MealStatusSchema: () => MealStatusSchema,
249
- MemberCoreSchema: () => MemberCoreSchema,
250
- MemberDetailSchema: () => MemberDetailSchema,
251
- MemberFoodPreferenceSchema: () => MemberFoodPreferenceSchema,
252
- MemberIdSchema: () => MemberIdSchema,
253
- MemberResponseSchema: () => MemberResponseSchema,
254
- MemberRoleSchema: () => MemberRoleSchema,
255
- MemberSearchQuerySchema: () => MemberSearchQuerySchema,
256
- MemberSerachResponseSchema: () => MemberSerachResponseSchema,
257
- MenuCodeSchema: () => MenuCodeSchema,
258
- MenuPickUpdateResponseSchema: () => MenuPickUpdateResponseSchema,
259
- MenuSchema: () => MenuSchema,
260
- NoBodySchema: () => NoBodySchema,
261
- NoContentSchema: () => NoContentSchema,
262
- NoParamsSchema: () => NoParamsSchema,
263
- NoQuerySchema: () => NoQuerySchema,
264
- NonEmptyStringIdSchema: () => NonEmptyStringIdSchema,
265
- PageArticleSummaryResponseSchema: () => PageArticleSummaryResponseSchema,
266
- PageMetaSchema: () => PageMetaSchema,
267
- PageQuerySchema: () => PageQuerySchema,
268
- PageResponseSchema: () => PageResponseSchema,
269
- ParticipantSchema: () => ParticipantSchema,
270
- PhaseDataBroadcastSchema: () => PhaseDataBroadcastSchema,
271
- PickDateRequestSchema: () => PickDateRequestSchema,
272
- PickMenuRequestSchema: () => PickMenuRequestSchema,
273
- PickRestaurantRequestSchema: () => PickRestaurantRequestSchema,
274
- PickTimesRequestSchema: () => PickTimesRequestSchema,
275
- PlanIdSchema: () => PlanIdSchema,
276
- PlanListQuerySchema: () => PlanListQuerySchema,
277
- PlanResponseSchema: () => PlanResponseSchema,
278
- PlanStatusSchema: () => PlanStatusSchema,
279
- PlanTypeSchema: () => PlanTypeSchema,
280
- PositiveIntIdSchema: () => PositiveIntIdSchema,
281
- ProfileDetailResponseSchema: () => ProfileDetailResponseSchema,
282
- ReadyStateChangedSchema: () => ReadyStateChangedSchema,
283
- ReadyStateRequestSchema: () => ReadyStateRequestSchema,
284
- RecruitIdSchema: () => RecruitIdSchema,
285
- RecruitListQuerySchema: () => RecruitListQuerySchema,
286
- RecruitListResponseSchema: () => RecruitListResponseSchema,
287
- RecruitRoomStageSchema: () => RecruitRoomStageSchema,
288
- RecruitSortBySchema: () => RecruitSortBySchema,
289
- RecruitStatusSchema: () => RecruitStatusSchema,
290
- RedeemReferralRequestSchema: () => RedeemReferralRequestSchema,
291
- ReferralCodeSchema: () => ReferralCodeSchema,
292
- ReferralCreateResponseSchema: () => ReferralCreateResponseSchema,
293
- ReferralItemResponseSchema: () => ReferralItemResponseSchema,
294
- RestaurantIdSchema: () => RestaurantIdSchema,
295
- RestaurantPickUpdateResponseSchema: () => RestaurantPickUpdateResponseSchema,
296
- RestaurantSchema: () => RestaurantSchema,
297
- RoomAccessResponseSchema: () => RoomAccessResponseSchema,
298
- RoomAssignedResponseSchema: () => RoomAssignedResponseSchema,
299
- RoomIdSchema: () => RoomIdSchema,
300
- RoomInitialStateSchema: () => RoomInitialStateSchema,
301
- RoomSocketClientEventSchemas: () => RoomSocketClientEventSchemas,
302
- RoomSocketErrorSchema: () => RoomSocketErrorSchema,
303
- RoomSocketServerEventSchemas: () => RoomSocketServerEventSchemas,
304
- RoomTypeSchema: () => RoomTypeSchema,
305
- SendInvitationResponseSchema: () => SendInvitationResponseSchema,
306
- SignupRequestSchema: () => SignupRequestSchema,
307
- SignupResponseSchema: () => SignupResponseSchema,
308
- SortDirectionSchema: () => SortDirectionSchema,
309
- SubscriptionIdSchema: () => SubscriptionIdSchema,
310
- TimeHHmmStringSchema: () => TimeHHmmStringSchema,
311
- TimePicksUpdateResponseSchema: () => TimePicksUpdateResponseSchema,
312
- TokenResponseSchema: () => TokenResponseSchema,
313
- UpdateMealStatusRequestSchema: () => UpdateMealStatusRequestSchema,
314
- UpdatePreferenceRequestSchema: () => UpdatePreferenceRequestSchema,
315
- UpdateProfileRequestSchema: () => UpdateProfileRequestSchema,
316
- UploadArticleImageRequestSchema: () => UploadArticleImageRequestSchema,
317
- UploadArticleImageResponseSchema: () => UploadArticleImageResponseSchema,
318
- UploadProfileImageRequestSchema: () => UploadProfileImageRequestSchema,
319
- UploadProfileImageResponseSchema: () => UploadProfileImageResponseSchema,
320
- UserIdSchema: () => UserIdSchema,
321
- VoteLocationRequestSchema: () => VoteLocationRequestSchema,
322
- apiContract: () => apiContract,
323
- endpoint: () => endpoint,
324
- makeApiResponseSchema: () => makeApiResponseSchema,
325
- makeApiSuccessSchema: () => makeApiSuccessSchema,
326
- toArticleId: () => toArticleId,
327
- toCommentId: () => toCommentId,
328
- toCouponId: () => toCouponId,
329
- toFriendRequestId: () => toFriendRequestId,
330
- toInvitationId: () => toInvitationId,
331
- toMemberId: () => toMemberId,
332
- toPlanId: () => toPlanId,
333
- toRecruitId: () => toRecruitId,
334
- toReferralCode: () => toReferralCode,
335
- toRestaurantId: () => toRestaurantId,
336
- toRoomId: () => toRoomId,
337
- toSubscriptionId: () => toSubscriptionId
338
- });
339
-
340
- export {
341
- domain_exports
342
- };
@@ -1,34 +0,0 @@
1
- import {
2
- InvitationIdSchema,
3
- MemberIdSchema,
4
- RoomIdSchema
5
- } from "./chunk-H77ISYYC.js";
6
-
7
- // src/domain/invitation/invitation.schema.ts
8
- import { z } from "zod";
9
- var CreateInvitationRequestSchema = z.object({
10
- inviteeId: MemberIdSchema,
11
- message: z.string().min(1).max(500)
12
- });
13
- var InvitationListItemResponseSchema = z.object({
14
- invitationId: InvitationIdSchema,
15
- inviterName: z.string(),
16
- inviterProfileImageUrl: z.string().url().nullable().optional()
17
- });
18
- var SendInvitationResponseSchema = z.object({
19
- invitationId: InvitationIdSchema
20
- });
21
- var AcceptInvitationResponseSchema = z.object({
22
- invitationId: InvitationIdSchema,
23
- room: z.object({
24
- type: z.literal("invitation"),
25
- roomId: RoomIdSchema
26
- })
27
- });
28
-
29
- export {
30
- CreateInvitationRequestSchema,
31
- InvitationListItemResponseSchema,
32
- SendInvitationResponseSchema,
33
- AcceptInvitationResponseSchema
34
- };