@kimdaegyu/babmukdang-shared 1.0.7 → 1.1.0
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-2GRWCRTV.js +328 -0
- package/dist/chunk-2SJCUQNN.js +40 -0
- package/dist/chunk-34EKPNPX.js +0 -0
- package/dist/chunk-35QGRA2X.js +0 -0
- package/dist/chunk-3YMV26OY.js +0 -0
- package/dist/chunk-4DAOP35P.js +74 -0
- package/dist/chunk-6NZPEF4K.js +34 -0
- package/dist/chunk-7MGHUZXI.js +25 -0
- package/dist/chunk-BVTYAILQ.js +0 -0
- package/dist/chunk-EJKRR2MZ.js +184 -0
- package/dist/chunk-F24BT6H4.js +23 -0
- package/dist/chunk-FCE6KXNO.js +30 -0
- package/dist/chunk-HRM3FQPL.js +12 -0
- package/dist/chunk-IJMADVK5.js +27 -0
- package/dist/chunk-IYCA6KHR.js +0 -0
- package/dist/chunk-JCN37ARR.js +52 -0
- package/dist/chunk-JXYRJKRV.js +0 -0
- package/dist/chunk-LCMNVWSP.js +0 -0
- package/dist/chunk-MP7TEKEI.js +72 -0
- package/dist/chunk-NCVWB52E.js +0 -0
- package/dist/chunk-NW5O4R7M.js +37 -0
- package/dist/chunk-O6DYRCFN.js +0 -0
- package/dist/chunk-PDGMGLYH.js +0 -0
- package/dist/chunk-PFSZSKD5.js +0 -0
- package/dist/chunk-TA4BB3UC.js +0 -0
- package/dist/chunk-UFVPFUMI.js +35 -0
- package/dist/chunk-UN7KYFMV.js +0 -0
- package/dist/chunk-UXA4FHST.js +19 -0
- package/dist/chunk-WNY6POLW.js +0 -0
- package/dist/chunk-YVACD5IG.js +127 -0
- package/dist/chunk-Z2UFF3MA.js +212 -0
- package/dist/chunk-ZNAAA53X.js +45 -0
- package/dist/chunk-ZSZ3ETY7.js +32 -0
- package/dist/domain/article/index.cjs +250 -0
- package/dist/domain/article/index.d.cts +1026 -0
- package/dist/domain/article/index.d.ts +1026 -0
- package/dist/domain/article/index.js +32 -0
- package/dist/domain/auth/index.cjs +135 -0
- package/dist/domain/auth/index.d.cts +73 -0
- package/dist/domain/auth/index.d.ts +73 -0
- package/dist/domain/auth/index.js +17 -0
- package/dist/domain/challenge/index.cjs +65 -0
- package/dist/domain/challenge/index.d.cts +104 -0
- package/dist/domain/challenge/index.d.ts +104 -0
- package/dist/domain/challenge/index.js +18 -0
- package/dist/domain/common/index.cjs +769 -0
- package/dist/domain/common/index.d.cts +2576 -0
- package/dist/domain/common/index.d.ts +2576 -0
- package/dist/domain/common/index.js +107 -0
- package/dist/domain/coupon/index.cjs +74 -0
- package/dist/domain/coupon/index.d.cts +38 -0
- package/dist/domain/coupon/index.d.ts +38 -0
- package/dist/domain/coupon/index.js +14 -0
- package/dist/domain/friend/index.cjs +152 -0
- package/dist/domain/friend/index.d.cts +148 -0
- package/dist/domain/friend/index.d.ts +148 -0
- package/dist/domain/friend/index.js +25 -0
- package/dist/domain/index.cjs +997 -0
- package/dist/domain/index.d.cts +17 -0
- package/dist/domain/index.d.ts +17 -0
- package/dist/domain/index.js +334 -0
- package/dist/domain/invitation/index.cjs +104 -0
- package/dist/domain/invitation/index.d.cts +67 -0
- package/dist/domain/invitation/index.d.ts +67 -0
- package/dist/domain/invitation/index.js +17 -0
- package/dist/domain/meal/index.cjs +59 -0
- package/dist/domain/meal/index.d.cts +38 -0
- package/dist/domain/meal/index.d.ts +38 -0
- package/dist/domain/meal/index.js +15 -0
- package/dist/domain/member/index.cjs +127 -0
- package/dist/domain/member/index.d.cts +225 -0
- package/dist/domain/member/index.d.ts +225 -0
- package/dist/domain/member/index.js +30 -0
- package/dist/domain/plan/index.cjs +269 -0
- package/dist/domain/plan/index.d.cts +189 -0
- package/dist/domain/plan/index.d.ts +189 -0
- package/dist/domain/plan/index.js +19 -0
- package/dist/domain/preference/index.cjs +69 -0
- package/dist/domain/preference/index.d.cts +31 -0
- package/dist/domain/preference/index.d.ts +31 -0
- package/dist/domain/preference/index.js +12 -0
- package/dist/domain/recruit/index.cjs +138 -0
- package/dist/domain/recruit/index.d.cts +130 -0
- package/dist/domain/recruit/index.d.ts +130 -0
- package/dist/domain/recruit/index.js +19 -0
- package/dist/domain/referral/index.cjs +78 -0
- package/dist/domain/referral/index.d.cts +51 -0
- package/dist/domain/referral/index.d.ts +51 -0
- package/dist/domain/referral/index.js +14 -0
- package/dist/domain/restaurant/index.cjs +79 -0
- package/dist/domain/restaurant/index.d.cts +85 -0
- package/dist/domain/restaurant/index.d.ts +85 -0
- package/dist/domain/restaurant/index.js +11 -0
- package/dist/domain/room/index.cjs +332 -0
- package/dist/domain/room/index.d.cts +1482 -0
- package/dist/domain/room/index.d.ts +1482 -0
- package/dist/domain/room/index.js +74 -0
- package/dist/id-B-8M90Ef.d.cts +43 -0
- package/dist/id-B-8M90Ef.d.ts +43 -0
- package/dist/index-BuInbhtG.d.cts +305 -0
- package/dist/index-CKRUOupn.d.ts +305 -0
- package/dist/index.cjs +845 -21
- package/dist/index.d.cts +113 -569
- package/dist/index.d.ts +113 -569
- package/dist/index.js +50 -30
- package/package.json +50 -39
|
@@ -0,0 +1,997 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/domain/index.ts
|
|
21
|
+
var domain_exports = {};
|
|
22
|
+
__export(domain_exports, {
|
|
23
|
+
AcceptInvitationResponseSchema: () => AcceptInvitationResponseSchema,
|
|
24
|
+
AddLocationCandidateRequestSchema: () => AddLocationCandidateRequestSchema,
|
|
25
|
+
ApiFailureSchema: () => ApiFailureSchema,
|
|
26
|
+
ApiResponseSchema: () => ApiResponseSchema,
|
|
27
|
+
ApiSuccessSchema: () => ApiSuccessSchema,
|
|
28
|
+
ArticleCoreSchema: () => ArticleCoreSchema,
|
|
29
|
+
ArticleDetailResponseSchema: () => ArticleDetailResponseSchema,
|
|
30
|
+
ArticleIdSchema: () => ArticleIdSchema,
|
|
31
|
+
ArticlePostRequestSchema: () => ArticlePostRequestSchema,
|
|
32
|
+
ArticleSummaryResponseSchema: () => ArticleSummaryResponseSchema,
|
|
33
|
+
AuthPrincipalSchema: () => AuthPrincipalSchema,
|
|
34
|
+
ChallengeStatusResponseSchema: () => ChallengeStatusResponseSchema,
|
|
35
|
+
ChatMessageRequestSchema: () => ChatMessageRequestSchema,
|
|
36
|
+
ChatMessageResponseSchema: () => ChatMessageResponseSchema,
|
|
37
|
+
ClaimChallengeRewardRequestSchema: () => ClaimChallengeRewardRequestSchema,
|
|
38
|
+
ClaimChallengeRewardResponseSchema: () => ClaimChallengeRewardResponseSchema,
|
|
39
|
+
CommentIdSchema: () => CommentIdSchema,
|
|
40
|
+
CommentPostRequestSchema: () => CommentPostRequestSchema,
|
|
41
|
+
CommentResponseSchema: () => CommentResponseSchema,
|
|
42
|
+
CouponIdSchema: () => CouponIdSchema,
|
|
43
|
+
CouponResponseSchema: () => CouponResponseSchema,
|
|
44
|
+
CouponStatusSchema: () => CouponStatusSchema,
|
|
45
|
+
CouponTypeSchema: () => CouponTypeSchema,
|
|
46
|
+
CreateArticleResponseSchema: () => CreateArticleResponseSchema,
|
|
47
|
+
CreateCommentResponseSchema: () => CreateCommentResponseSchema,
|
|
48
|
+
CreatePlanRequestSchema: () => CreatePlanRequestSchema,
|
|
49
|
+
CreateRecruitResponseSchema: () => CreateRecruitResponseSchema,
|
|
50
|
+
CreatedEntityIdResponseSchema: () => CreatedEntityIdResponseSchema,
|
|
51
|
+
CreatedIdResponseSchema: () => CreatedIdResponseSchema,
|
|
52
|
+
DatePicksUpdateResponseSchema: () => DatePicksUpdateResponseSchema,
|
|
53
|
+
ExcludeMenuRequestSchema: () => ExcludeMenuRequestSchema,
|
|
54
|
+
ExcludeMenuUpdateResponseSchema: () => ExcludeMenuUpdateResponseSchema,
|
|
55
|
+
FinalStateSchema: () => FinalStateSchema,
|
|
56
|
+
FoodAnalysisResultSchema: () => FoodAnalysisResultSchema,
|
|
57
|
+
FoodPreferenceResponseSchema: () => FoodPreferenceResponseSchema,
|
|
58
|
+
FoodPreferenceTypeSchema: () => FoodPreferenceTypeSchema,
|
|
59
|
+
FriendActionRequestSchema: () => FriendActionRequestSchema,
|
|
60
|
+
FriendBlockItemResponseSchema: () => FriendBlockItemResponseSchema,
|
|
61
|
+
FriendListItemResponseSchema: () => FriendListItemResponseSchema,
|
|
62
|
+
FriendMealFilterSchema: () => FriendMealFilterSchema,
|
|
63
|
+
FriendMealItemResponseSchema: () => FriendMealItemResponseSchema,
|
|
64
|
+
FriendRequestIdSchema: () => FriendRequestIdSchema,
|
|
65
|
+
FriendRequestItemResponseSchema: () => FriendRequestItemResponseSchema,
|
|
66
|
+
FriendRequestMemberSchema: () => FriendRequestMemberSchema,
|
|
67
|
+
FriendRequestStatusSchema: () => FriendRequestStatusSchema,
|
|
68
|
+
ISODateStringSchema: () => ISODateStringSchema,
|
|
69
|
+
ISODateTimeStringSchema: () => ISODateTimeStringSchema,
|
|
70
|
+
InvitationIdSchema: () => InvitationIdSchema,
|
|
71
|
+
InvitationListItemResponseSchema: () => InvitationListItemResponseSchema,
|
|
72
|
+
InvitationPostRequestSchema: () => InvitationPostRequestSchema,
|
|
73
|
+
InvitationRoomStageSchema: () => InvitationRoomStageSchema,
|
|
74
|
+
KakaoPlaceRawSchema: () => KakaoPlaceRawSchema,
|
|
75
|
+
LocationCandidateAddUpdateResponseSchema: () => LocationCandidateAddUpdateResponseSchema,
|
|
76
|
+
LocationCandidateSchema: () => LocationCandidateSchema,
|
|
77
|
+
LocationCandidateVoteUpdateResponseSchema: () => LocationCandidateVoteUpdateResponseSchema,
|
|
78
|
+
LocationIdSchema: () => LocationIdSchema,
|
|
79
|
+
LoginRequestSchema: () => LoginRequestSchema,
|
|
80
|
+
MealStatusActionSchema: () => MealStatusActionSchema,
|
|
81
|
+
MealStatusResponseSchema: () => MealStatusResponseSchema,
|
|
82
|
+
MealStatusSchema: () => MealStatusSchema,
|
|
83
|
+
MemberCoreSchema: () => MemberCoreSchema,
|
|
84
|
+
MemberIdSchema: () => MemberIdSchema,
|
|
85
|
+
MemberResponseSchema: () => MemberResponseSchema,
|
|
86
|
+
MemberRoleSchema: () => MemberRoleSchema,
|
|
87
|
+
MemberSummaryResponseSchema: () => MemberSummaryResponseSchema,
|
|
88
|
+
MenuCodeSchema: () => MenuCodeSchema,
|
|
89
|
+
MenuPickUpdateResponseSchema: () => MenuPickUpdateResponseSchema,
|
|
90
|
+
MenuSchema: () => MenuSchema,
|
|
91
|
+
MonthProgressSchema: () => MonthProgressSchema,
|
|
92
|
+
NoBodySchema: () => NoBodySchema,
|
|
93
|
+
NoContentSchema: () => NoContentSchema,
|
|
94
|
+
NoParamsSchema: () => NoParamsSchema,
|
|
95
|
+
NoQuerySchema: () => NoQuerySchema,
|
|
96
|
+
NonEmptyStringIdSchema: () => NonEmptyStringIdSchema,
|
|
97
|
+
OnboardingPreferenceRequestSchema: () => OnboardingPreferenceRequestSchema,
|
|
98
|
+
OnboardingRequestSchema: () => OnboardingRequestSchema,
|
|
99
|
+
PageArticleSummaryResponseSchema: () => PageArticleSummaryResponseSchema,
|
|
100
|
+
PageRequestSchema: () => PageRequestSchema,
|
|
101
|
+
PageResponseSchema: () => PageResponseSchema,
|
|
102
|
+
PageableObjectSchema: () => PageableObjectSchema,
|
|
103
|
+
ParticipantSchema: () => ParticipantSchema,
|
|
104
|
+
PhaseDataBroadcastSchema: () => PhaseDataBroadcastSchema,
|
|
105
|
+
PickDateRequestSchema: () => PickDateRequestSchema,
|
|
106
|
+
PickMenuRequestSchema: () => PickMenuRequestSchema,
|
|
107
|
+
PickRestaurantRequestSchema: () => PickRestaurantRequestSchema,
|
|
108
|
+
PickTimesRequestSchema: () => PickTimesRequestSchema,
|
|
109
|
+
PlanIdSchema: () => PlanIdSchema,
|
|
110
|
+
PlanResponseSchema: () => PlanResponseSchema,
|
|
111
|
+
PlanStatusSchema: () => PlanStatusSchema,
|
|
112
|
+
PlanTypeSchema: () => PlanTypeSchema,
|
|
113
|
+
PositiveIntIdSchema: () => PositiveIntIdSchema,
|
|
114
|
+
PreferenceMetaResponseSchema: () => PreferenceMetaResponseSchema,
|
|
115
|
+
PresignUploadResponseSchema: () => PresignUploadResponseSchema,
|
|
116
|
+
ProfileDetailResponseSchema: () => ProfileDetailResponseSchema,
|
|
117
|
+
ProfilePreferenceItemSchema: () => ProfilePreferenceItemSchema,
|
|
118
|
+
ReadyStateChangedSchema: () => ReadyStateChangedSchema,
|
|
119
|
+
ReadyStateRequestSchema: () => ReadyStateRequestSchema,
|
|
120
|
+
RecruitIdSchema: () => RecruitIdSchema,
|
|
121
|
+
RecruitParticipantSchema: () => RecruitParticipantSchema,
|
|
122
|
+
RecruitRequestSchema: () => RecruitRequestSchema,
|
|
123
|
+
RecruitResponseSchema: () => RecruitResponseSchema,
|
|
124
|
+
RecruitRoomStageSchema: () => RecruitRoomStageSchema,
|
|
125
|
+
RecruitStatusSchema: () => RecruitStatusSchema,
|
|
126
|
+
RedeemReferralRequestSchema: () => RedeemReferralRequestSchema,
|
|
127
|
+
ReferralCodeSchema: () => ReferralCodeSchema,
|
|
128
|
+
ReferralCreateResponseSchema: () => ReferralCreateResponseSchema,
|
|
129
|
+
ReferralItemResponseSchema: () => ReferralItemResponseSchema,
|
|
130
|
+
RejectInvitationResponseSchema: () => RejectInvitationResponseSchema,
|
|
131
|
+
RestaurantIdSchema: () => RestaurantIdSchema,
|
|
132
|
+
RestaurantPickUpdateResponseSchema: () => RestaurantPickUpdateResponseSchema,
|
|
133
|
+
RestaurantSchema: () => RestaurantSchema,
|
|
134
|
+
RewardTypeSchema: () => RewardTypeSchema,
|
|
135
|
+
RoomAssignedResponseSchema: () => RoomAssignedResponseSchema,
|
|
136
|
+
RoomIdSchema: () => RoomIdSchema,
|
|
137
|
+
RoomInitialStateSchema: () => RoomInitialStateSchema,
|
|
138
|
+
RoomSocketClientEventSchemas: () => RoomSocketClientEventSchemas,
|
|
139
|
+
RoomSocketErrorSchema: () => RoomSocketErrorSchema,
|
|
140
|
+
RoomSocketServerEventSchemas: () => RoomSocketServerEventSchemas,
|
|
141
|
+
SendInvitationResponseSchema: () => SendInvitationResponseSchema,
|
|
142
|
+
SignupRequestSchema: () => SignupRequestSchema,
|
|
143
|
+
SignupResponseSchema: () => SignupResponseSchema,
|
|
144
|
+
SortObjectSchema: () => SortObjectSchema,
|
|
145
|
+
SubscriptionIdSchema: () => SubscriptionIdSchema,
|
|
146
|
+
TimeHHmmStringSchema: () => TimeHHmmStringSchema,
|
|
147
|
+
TimePicksUpdateResponseSchema: () => TimePicksUpdateResponseSchema,
|
|
148
|
+
TokenResponseSchema: () => TokenResponseSchema,
|
|
149
|
+
UpdateMealStatusRequestSchema: () => UpdateMealStatusRequestSchema,
|
|
150
|
+
UpdateProfileRequestSchema: () => UpdateProfileRequestSchema,
|
|
151
|
+
UserIdSchema: () => UserIdSchema,
|
|
152
|
+
VoteLocationRequestSchema: () => VoteLocationRequestSchema,
|
|
153
|
+
WeekProgressSchema: () => WeekProgressSchema,
|
|
154
|
+
apiContract: () => apiContract,
|
|
155
|
+
endpoint: () => endpoint,
|
|
156
|
+
makeApiResponseSchema: () => makeApiResponseSchema,
|
|
157
|
+
makeApiSuccessSchema: () => makeApiSuccessSchema,
|
|
158
|
+
toArticleId: () => toArticleId,
|
|
159
|
+
toInvitationId: () => toInvitationId,
|
|
160
|
+
toMemberId: () => toMemberId,
|
|
161
|
+
toRecruitId: () => toRecruitId,
|
|
162
|
+
toRestaurantId: () => toRestaurantId,
|
|
163
|
+
toRoomId: () => toRoomId
|
|
164
|
+
});
|
|
165
|
+
module.exports = __toCommonJS(domain_exports);
|
|
166
|
+
|
|
167
|
+
// src/domain/article/schema/article.schema.ts
|
|
168
|
+
var import_zod6 = require("zod");
|
|
169
|
+
|
|
170
|
+
// src/domain/common/schema/date.schema.ts
|
|
171
|
+
var import_zod = require("zod");
|
|
172
|
+
var isoDateRegex = /^\d{4}-\d{2}-\d{2}$/;
|
|
173
|
+
var ISODateStringSchema = import_zod.z.string().regex(isoDateRegex, "Expected ISO date string in YYYY-MM-DD format");
|
|
174
|
+
var ISODateTimeStringSchema = import_zod.z.string().datetime({ offset: true, message: "Expected ISO datetime string" });
|
|
175
|
+
var TimeHHmmStringSchema = import_zod.z.string().regex(/^\d{2}:\d{2}$/, "Expected time string in HH:mm format");
|
|
176
|
+
|
|
177
|
+
// src/domain/common/schema/id.schema.ts
|
|
178
|
+
var import_zod2 = require("zod");
|
|
179
|
+
var PositiveIntIdSchema = import_zod2.z.number().int().positive();
|
|
180
|
+
var NonEmptyStringIdSchema = import_zod2.z.string().min(1);
|
|
181
|
+
var MemberIdSchema = PositiveIntIdSchema.brand();
|
|
182
|
+
var UserIdSchema = MemberIdSchema;
|
|
183
|
+
var ArticleIdSchema = PositiveIntIdSchema.brand();
|
|
184
|
+
var CommentIdSchema = PositiveIntIdSchema.brand();
|
|
185
|
+
var RecruitIdSchema = PositiveIntIdSchema.brand();
|
|
186
|
+
var PlanIdSchema = PositiveIntIdSchema.brand();
|
|
187
|
+
var InvitationIdSchema = PositiveIntIdSchema.brand();
|
|
188
|
+
var RoomIdSchema = NonEmptyStringIdSchema.brand();
|
|
189
|
+
var RestaurantIdSchema = NonEmptyStringIdSchema.brand();
|
|
190
|
+
var CouponIdSchema = PositiveIntIdSchema.brand();
|
|
191
|
+
var SubscriptionIdSchema = PositiveIntIdSchema.brand();
|
|
192
|
+
var FriendRequestIdSchema = PositiveIntIdSchema.brand();
|
|
193
|
+
var ReferralCodeSchema = import_zod2.z.string().min(4).max(64).brand();
|
|
194
|
+
|
|
195
|
+
// src/domain/common/schema/pagination.schema.ts
|
|
196
|
+
var import_zod3 = require("zod");
|
|
197
|
+
var PageRequestSchema = import_zod3.z.object({
|
|
198
|
+
page: import_zod3.z.number().int().min(0).default(0),
|
|
199
|
+
size: import_zod3.z.number().int().min(1).max(100).default(20)
|
|
200
|
+
});
|
|
201
|
+
var SortObjectSchema = import_zod3.z.object({
|
|
202
|
+
empty: import_zod3.z.boolean(),
|
|
203
|
+
sorted: import_zod3.z.boolean(),
|
|
204
|
+
unsorted: import_zod3.z.boolean()
|
|
205
|
+
});
|
|
206
|
+
var PageableObjectSchema = import_zod3.z.object({
|
|
207
|
+
offset: import_zod3.z.number().int().min(0),
|
|
208
|
+
sort: SortObjectSchema,
|
|
209
|
+
paged: import_zod3.z.boolean(),
|
|
210
|
+
pageNumber: import_zod3.z.number().int().min(0),
|
|
211
|
+
pageSize: import_zod3.z.number().int().min(1),
|
|
212
|
+
unpaged: import_zod3.z.boolean()
|
|
213
|
+
});
|
|
214
|
+
var PageResponseSchema = (item) => import_zod3.z.object({
|
|
215
|
+
totalElements: import_zod3.z.number().int().min(0),
|
|
216
|
+
totalPages: import_zod3.z.number().int().min(0),
|
|
217
|
+
first: import_zod3.z.boolean(),
|
|
218
|
+
size: import_zod3.z.number().int().min(0),
|
|
219
|
+
content: import_zod3.z.array(item),
|
|
220
|
+
number: import_zod3.z.number().int().min(0),
|
|
221
|
+
sort: SortObjectSchema,
|
|
222
|
+
numberOfElements: import_zod3.z.number().int().min(0),
|
|
223
|
+
pageable: PageableObjectSchema,
|
|
224
|
+
last: import_zod3.z.boolean(),
|
|
225
|
+
empty: import_zod3.z.boolean()
|
|
226
|
+
});
|
|
227
|
+
|
|
228
|
+
// src/domain/member/schema/member.schema.ts
|
|
229
|
+
var import_zod4 = require("zod");
|
|
230
|
+
var MemberRoleSchema = import_zod4.z.enum(["USER", "ADMIN"]);
|
|
231
|
+
var MemberCoreSchema = import_zod4.z.object({
|
|
232
|
+
memberId: MemberIdSchema,
|
|
233
|
+
username: import_zod4.z.string().min(1).max(50),
|
|
234
|
+
profileImageUrl: import_zod4.z.string().url().nullable()
|
|
235
|
+
});
|
|
236
|
+
var MemberResponseSchema = MemberCoreSchema.pick({
|
|
237
|
+
memberId: true,
|
|
238
|
+
username: true,
|
|
239
|
+
profileImageUrl: true
|
|
240
|
+
});
|
|
241
|
+
var MemberSummaryResponseSchema = MemberCoreSchema.extend({
|
|
242
|
+
friends: import_zod4.z.number().int().min(0).default(0),
|
|
243
|
+
completedPlans: import_zod4.z.number().int().min(0).default(0),
|
|
244
|
+
uncompletedPlans: import_zod4.z.number().int().min(0).default(0)
|
|
245
|
+
});
|
|
246
|
+
var AuthPrincipalSchema = import_zod4.z.object({
|
|
247
|
+
memberId: MemberIdSchema,
|
|
248
|
+
role: MemberRoleSchema
|
|
249
|
+
});
|
|
250
|
+
var ProfilePreferenceItemSchema = import_zod4.z.object({
|
|
251
|
+
code: import_zod4.z.string(),
|
|
252
|
+
label: import_zod4.z.string()
|
|
253
|
+
});
|
|
254
|
+
var ProfileDetailResponseSchema = MemberCoreSchema.extend({
|
|
255
|
+
bio: import_zod4.z.string().nullable(),
|
|
256
|
+
planCount: import_zod4.z.number().int().min(0),
|
|
257
|
+
likes: import_zod4.z.array(ProfilePreferenceItemSchema),
|
|
258
|
+
dislikes: import_zod4.z.array(ProfilePreferenceItemSchema),
|
|
259
|
+
allergies: import_zod4.z.array(ProfilePreferenceItemSchema)
|
|
260
|
+
});
|
|
261
|
+
var UpdateProfileRequestSchema = import_zod4.z.object({
|
|
262
|
+
username: import_zod4.z.string().min(1).max(50),
|
|
263
|
+
profileImageUrl: import_zod4.z.string().url().nullable(),
|
|
264
|
+
bio: import_zod4.z.string().max(500).nullable()
|
|
265
|
+
});
|
|
266
|
+
var OnboardingPreferenceRequestSchema = import_zod4.z.object({
|
|
267
|
+
likedCodes: import_zod4.z.array(import_zod4.z.string()),
|
|
268
|
+
dislikedCodes: import_zod4.z.array(import_zod4.z.string()),
|
|
269
|
+
allergyCodes: import_zod4.z.array(import_zod4.z.string())
|
|
270
|
+
});
|
|
271
|
+
var OnboardingRequestSchema = UpdateProfileRequestSchema.merge(
|
|
272
|
+
OnboardingPreferenceRequestSchema
|
|
273
|
+
);
|
|
274
|
+
var PreferenceMetaResponseSchema = import_zod4.z.object({
|
|
275
|
+
onboardedAt: ISODateTimeStringSchema.nullable(),
|
|
276
|
+
lastUpdatedAt: ISODateTimeStringSchema.nullable(),
|
|
277
|
+
revision: import_zod4.z.number().int().min(0)
|
|
278
|
+
});
|
|
279
|
+
|
|
280
|
+
// src/domain/restaurant/schema/restaurant.schema.ts
|
|
281
|
+
var import_zod5 = require("zod");
|
|
282
|
+
var RestaurantSchema = import_zod5.z.object({
|
|
283
|
+
restaurantId: RestaurantIdSchema,
|
|
284
|
+
placeName: import_zod5.z.string(),
|
|
285
|
+
categoryName: import_zod5.z.string(),
|
|
286
|
+
categoryGroupName: import_zod5.z.string(),
|
|
287
|
+
distance: import_zod5.z.string().optional(),
|
|
288
|
+
roadAddressName: import_zod5.z.string(),
|
|
289
|
+
addressName: import_zod5.z.string(),
|
|
290
|
+
phone: import_zod5.z.string().nullable(),
|
|
291
|
+
placeUrl: import_zod5.z.string().url().nullable(),
|
|
292
|
+
lat: import_zod5.z.number(),
|
|
293
|
+
lng: import_zod5.z.number()
|
|
294
|
+
});
|
|
295
|
+
var KakaoPlaceRawSchema = import_zod5.z.object({
|
|
296
|
+
id: RestaurantIdSchema,
|
|
297
|
+
place_name: import_zod5.z.string(),
|
|
298
|
+
category_name: import_zod5.z.string(),
|
|
299
|
+
category_group_name: import_zod5.z.string(),
|
|
300
|
+
distance: import_zod5.z.string(),
|
|
301
|
+
road_address_name: import_zod5.z.string(),
|
|
302
|
+
address_name: import_zod5.z.string(),
|
|
303
|
+
phone: import_zod5.z.string(),
|
|
304
|
+
place_url: import_zod5.z.string().url().optional(),
|
|
305
|
+
lat: import_zod5.z.number(),
|
|
306
|
+
lng: import_zod5.z.number()
|
|
307
|
+
});
|
|
308
|
+
|
|
309
|
+
// src/domain/article/schema/article.schema.ts
|
|
310
|
+
var FoodAnalysisResultSchema = import_zod6.z.object({
|
|
311
|
+
code: import_zod6.z.string(),
|
|
312
|
+
label: import_zod6.z.string(),
|
|
313
|
+
confidence: import_zod6.z.number().min(0).max(1),
|
|
314
|
+
tsUtc: ISODateTimeStringSchema.optional()
|
|
315
|
+
});
|
|
316
|
+
var ArticlePostRequestSchema = import_zod6.z.object({
|
|
317
|
+
imageUrl: import_zod6.z.string().url(),
|
|
318
|
+
mealDate: ISODateStringSchema,
|
|
319
|
+
restaurant: RestaurantSchema,
|
|
320
|
+
taggedMemberIds: import_zod6.z.array(MemberIdSchema).default([]),
|
|
321
|
+
foodAnalysis: FoodAnalysisResultSchema.optional()
|
|
322
|
+
});
|
|
323
|
+
var CreateArticleResponseSchema = import_zod6.z.object({
|
|
324
|
+
articleId: ArticleIdSchema
|
|
325
|
+
});
|
|
326
|
+
var CommentPostRequestSchema = import_zod6.z.object({
|
|
327
|
+
content: import_zod6.z.string().min(1).max(500),
|
|
328
|
+
parentCommentId: CommentIdSchema.nullish()
|
|
329
|
+
});
|
|
330
|
+
var CreateCommentResponseSchema = import_zod6.z.object({
|
|
331
|
+
commentId: CommentIdSchema
|
|
332
|
+
});
|
|
333
|
+
var CommentResponseSchema = import_zod6.z.object({
|
|
334
|
+
commentId: CommentIdSchema,
|
|
335
|
+
author: MemberResponseSchema,
|
|
336
|
+
parentCommentId: CommentIdSchema.nullable(),
|
|
337
|
+
content: import_zod6.z.string(),
|
|
338
|
+
createdAt: ISODateTimeStringSchema,
|
|
339
|
+
updatedAt: ISODateTimeStringSchema
|
|
340
|
+
});
|
|
341
|
+
var ArticleCoreSchema = import_zod6.z.object({
|
|
342
|
+
articleId: ArticleIdSchema,
|
|
343
|
+
author: MemberResponseSchema,
|
|
344
|
+
imageUrl: import_zod6.z.string().url(),
|
|
345
|
+
mealDate: ISODateStringSchema,
|
|
346
|
+
restaurant: RestaurantSchema,
|
|
347
|
+
createdAt: ISODateTimeStringSchema,
|
|
348
|
+
updatedAt: ISODateTimeStringSchema,
|
|
349
|
+
expiresAt: ISODateTimeStringSchema,
|
|
350
|
+
taggedMembers: import_zod6.z.array(MemberResponseSchema)
|
|
351
|
+
});
|
|
352
|
+
var ArticleSummaryResponseSchema = ArticleCoreSchema.extend({
|
|
353
|
+
likeCount: import_zod6.z.number().int().min(0),
|
|
354
|
+
commentCount: import_zod6.z.number().int().min(0),
|
|
355
|
+
likedByMe: import_zod6.z.boolean()
|
|
356
|
+
});
|
|
357
|
+
var ArticleDetailResponseSchema = ArticleSummaryResponseSchema.extend({
|
|
358
|
+
comments: import_zod6.z.array(CommentResponseSchema).optional()
|
|
359
|
+
});
|
|
360
|
+
var PageArticleSummaryResponseSchema = PageResponseSchema(
|
|
361
|
+
ArticleSummaryResponseSchema
|
|
362
|
+
);
|
|
363
|
+
var PresignUploadResponseSchema = import_zod6.z.object({
|
|
364
|
+
key: import_zod6.z.string(),
|
|
365
|
+
putUrl: import_zod6.z.string().url(),
|
|
366
|
+
cdnUrl: import_zod6.z.string().url()
|
|
367
|
+
});
|
|
368
|
+
|
|
369
|
+
// src/domain/auth/schema/auth.schema.ts
|
|
370
|
+
var import_zod7 = require("zod");
|
|
371
|
+
var TokenResponseSchema = import_zod7.z.object({
|
|
372
|
+
accessToken: import_zod7.z.string().min(1),
|
|
373
|
+
accessTokenMaxAge: import_zod7.z.number().int().positive()
|
|
374
|
+
});
|
|
375
|
+
var LoginRequestSchema = import_zod7.z.object({
|
|
376
|
+
email: import_zod7.z.string().email(),
|
|
377
|
+
password: import_zod7.z.string().min(1)
|
|
378
|
+
});
|
|
379
|
+
var SignupRequestSchema = import_zod7.z.object({
|
|
380
|
+
email: import_zod7.z.string().email(),
|
|
381
|
+
password: import_zod7.z.string().min(8),
|
|
382
|
+
username: import_zod7.z.string().min(1).max(50),
|
|
383
|
+
profileImageUrl: import_zod7.z.string().url().nullable().optional()
|
|
384
|
+
});
|
|
385
|
+
var SignupResponseSchema = import_zod7.z.object({
|
|
386
|
+
member: MemberResponseSchema
|
|
387
|
+
});
|
|
388
|
+
|
|
389
|
+
// src/domain/challenge/schema/challenge.schema.ts
|
|
390
|
+
var import_zod8 = require("zod");
|
|
391
|
+
var RewardTypeSchema = import_zod8.z.enum(["WEEK", "MONTH"]);
|
|
392
|
+
var WeekProgressSchema = import_zod8.z.object({
|
|
393
|
+
days: import_zod8.z.array(import_zod8.z.boolean()),
|
|
394
|
+
completed: import_zod8.z.number().int().min(0),
|
|
395
|
+
goal: import_zod8.z.number().int().positive()
|
|
396
|
+
});
|
|
397
|
+
var MonthProgressSchema = import_zod8.z.object({
|
|
398
|
+
count: import_zod8.z.number().int().min(0),
|
|
399
|
+
goal: import_zod8.z.number().int().positive()
|
|
400
|
+
});
|
|
401
|
+
var ChallengeStatusResponseSchema = import_zod8.z.object({
|
|
402
|
+
week: WeekProgressSchema,
|
|
403
|
+
month: MonthProgressSchema,
|
|
404
|
+
weekRewardAvailable: import_zod8.z.boolean(),
|
|
405
|
+
monthRewardAvailable: import_zod8.z.boolean()
|
|
406
|
+
});
|
|
407
|
+
var ClaimChallengeRewardRequestSchema = import_zod8.z.object({
|
|
408
|
+
type: RewardTypeSchema
|
|
409
|
+
});
|
|
410
|
+
var ClaimChallengeRewardResponseSchema = import_zod8.z.object({
|
|
411
|
+
rewardType: RewardTypeSchema,
|
|
412
|
+
claimed: import_zod8.z.boolean()
|
|
413
|
+
});
|
|
414
|
+
|
|
415
|
+
// src/domain/common/contracts/api.ts
|
|
416
|
+
var import_zod20 = require("zod");
|
|
417
|
+
|
|
418
|
+
// src/domain/coupon/schema/coupon.schema.ts
|
|
419
|
+
var import_zod9 = require("zod");
|
|
420
|
+
var CouponTypeSchema = import_zod9.z.enum(["DISCOUNT", "SERVICE"]);
|
|
421
|
+
var CouponStatusSchema = import_zod9.z.enum(["UNUSED", "USED"]);
|
|
422
|
+
var CouponResponseSchema = import_zod9.z.object({
|
|
423
|
+
couponId: CouponIdSchema,
|
|
424
|
+
title: import_zod9.z.string(),
|
|
425
|
+
shopName: import_zod9.z.string(),
|
|
426
|
+
type: CouponTypeSchema,
|
|
427
|
+
condition: import_zod9.z.string(),
|
|
428
|
+
expiresAt: ISODateStringSchema,
|
|
429
|
+
used: import_zod9.z.boolean(),
|
|
430
|
+
thumbnailUrl: import_zod9.z.string().url()
|
|
431
|
+
});
|
|
432
|
+
|
|
433
|
+
// src/domain/common/schema/envelope.schema.ts
|
|
434
|
+
var import_zod10 = require("zod");
|
|
435
|
+
var NoContentSchema = import_zod10.z.null();
|
|
436
|
+
var ApiSuccessSchema = (data) => import_zod10.z.object({
|
|
437
|
+
success: import_zod10.z.literal(true),
|
|
438
|
+
code: import_zod10.z.number().int(),
|
|
439
|
+
message: import_zod10.z.string(),
|
|
440
|
+
data
|
|
441
|
+
});
|
|
442
|
+
var ApiFailureSchema = import_zod10.z.object({
|
|
443
|
+
success: import_zod10.z.literal(false),
|
|
444
|
+
status: import_zod10.z.number().int(),
|
|
445
|
+
code: import_zod10.z.string(),
|
|
446
|
+
message: import_zod10.z.string()
|
|
447
|
+
});
|
|
448
|
+
var ApiResponseSchema = (data) => import_zod10.z.union([ApiSuccessSchema(data), ApiFailureSchema]);
|
|
449
|
+
var CreatedIdResponseSchema = import_zod10.z.object({
|
|
450
|
+
id: import_zod10.z.number().int().positive()
|
|
451
|
+
});
|
|
452
|
+
var CreatedEntityIdResponseSchema = import_zod10.z.object({
|
|
453
|
+
entity: import_zod10.z.enum([
|
|
454
|
+
"article",
|
|
455
|
+
"comment",
|
|
456
|
+
"recruit",
|
|
457
|
+
"invitation",
|
|
458
|
+
"subscription",
|
|
459
|
+
"coupon",
|
|
460
|
+
"plan"
|
|
461
|
+
]),
|
|
462
|
+
id: import_zod10.z.number().int().positive()
|
|
463
|
+
});
|
|
464
|
+
|
|
465
|
+
// src/domain/friend/schema/friend.schema.ts
|
|
466
|
+
var import_zod11 = require("zod");
|
|
467
|
+
var FriendMealFilterSchema = import_zod11.z.enum(["ALL", "HUNGRY", "NOT_HUNGRY"]);
|
|
468
|
+
var FriendRequestStatusSchema = import_zod11.z.enum([
|
|
469
|
+
"PENDING",
|
|
470
|
+
"ACCEPTED",
|
|
471
|
+
"REJECTED",
|
|
472
|
+
"CANCELED"
|
|
473
|
+
]);
|
|
474
|
+
var FriendMealItemResponseSchema = MemberResponseSchema.extend({
|
|
475
|
+
hungry: import_zod11.z.boolean(),
|
|
476
|
+
label: import_zod11.z.string()
|
|
477
|
+
});
|
|
478
|
+
var FriendListItemResponseSchema = MemberResponseSchema.extend({
|
|
479
|
+
friendSince: ISODateTimeStringSchema
|
|
480
|
+
});
|
|
481
|
+
var FriendBlockItemResponseSchema = MemberResponseSchema.extend({
|
|
482
|
+
blockedAt: ISODateTimeStringSchema
|
|
483
|
+
});
|
|
484
|
+
var FriendRequestMemberSchema = MemberResponseSchema;
|
|
485
|
+
var FriendRequestItemResponseSchema = import_zod11.z.object({
|
|
486
|
+
requestId: FriendRequestIdSchema,
|
|
487
|
+
requester: FriendRequestMemberSchema,
|
|
488
|
+
recipient: FriendRequestMemberSchema,
|
|
489
|
+
status: FriendRequestStatusSchema,
|
|
490
|
+
requestedAt: ISODateTimeStringSchema
|
|
491
|
+
});
|
|
492
|
+
var FriendActionRequestSchema = import_zod11.z.object({
|
|
493
|
+
memberId: MemberIdSchema
|
|
494
|
+
});
|
|
495
|
+
|
|
496
|
+
// src/domain/invitation/schema/invitation.schema.ts
|
|
497
|
+
var import_zod12 = require("zod");
|
|
498
|
+
var InvitationPostRequestSchema = import_zod12.z.object({
|
|
499
|
+
inviteeId: MemberIdSchema,
|
|
500
|
+
message: import_zod12.z.string().min(1).max(500)
|
|
501
|
+
});
|
|
502
|
+
var InvitationListItemResponseSchema = import_zod12.z.object({
|
|
503
|
+
invitationId: InvitationIdSchema,
|
|
504
|
+
inviterName: import_zod12.z.string(),
|
|
505
|
+
inviterProfileImageUrl: import_zod12.z.string().url().nullable().optional()
|
|
506
|
+
});
|
|
507
|
+
var SendInvitationResponseSchema = import_zod12.z.object({
|
|
508
|
+
invitationId: InvitationIdSchema
|
|
509
|
+
});
|
|
510
|
+
var AcceptInvitationResponseSchema = import_zod12.z.object({
|
|
511
|
+
invitationId: InvitationIdSchema,
|
|
512
|
+
room: import_zod12.z.object({
|
|
513
|
+
type: import_zod12.z.literal("invitation"),
|
|
514
|
+
roomId: RoomIdSchema
|
|
515
|
+
})
|
|
516
|
+
});
|
|
517
|
+
var RejectInvitationResponseSchema = NoContentSchema;
|
|
518
|
+
|
|
519
|
+
// src/domain/meal/schema/meal.schema.ts
|
|
520
|
+
var import_zod13 = require("zod");
|
|
521
|
+
var MealStatusSchema = import_zod13.z.enum(["FED", "FASTING"]);
|
|
522
|
+
var MealStatusActionSchema = import_zod13.z.enum(["ATE_NOW", "SET_OFF"]);
|
|
523
|
+
var UpdateMealStatusRequestSchema = import_zod13.z.object({
|
|
524
|
+
action: MealStatusActionSchema
|
|
525
|
+
});
|
|
526
|
+
var MealStatusResponseSchema = import_zod13.z.object({
|
|
527
|
+
status: MealStatusSchema,
|
|
528
|
+
lastMealAt: ISODateTimeStringSchema.nullable(),
|
|
529
|
+
fastingMinutes: import_zod13.z.number().int().min(0),
|
|
530
|
+
fastingHours: import_zod13.z.number().min(0),
|
|
531
|
+
secondsToAutoOff: import_zod13.z.number().int().min(0)
|
|
532
|
+
});
|
|
533
|
+
|
|
534
|
+
// src/domain/plan/schema/plan.schema.ts
|
|
535
|
+
var import_zod15 = require("zod");
|
|
536
|
+
|
|
537
|
+
// src/domain/room/schema/room.schema.ts
|
|
538
|
+
var import_zod14 = require("zod");
|
|
539
|
+
var MenuCodeSchema = import_zod14.z.string().min(1).brand();
|
|
540
|
+
var LocationIdSchema = import_zod14.z.string().min(1).brand();
|
|
541
|
+
var MenuSchema = import_zod14.z.object({
|
|
542
|
+
code: MenuCodeSchema,
|
|
543
|
+
label: import_zod14.z.string()
|
|
544
|
+
});
|
|
545
|
+
var LocationCandidateSchema = import_zod14.z.object({
|
|
546
|
+
locationId: LocationIdSchema,
|
|
547
|
+
placeName: import_zod14.z.string(),
|
|
548
|
+
lat: import_zod14.z.number(),
|
|
549
|
+
lng: import_zod14.z.number(),
|
|
550
|
+
address: import_zod14.z.string()
|
|
551
|
+
});
|
|
552
|
+
var ParticipantSchema = MemberResponseSchema.extend({
|
|
553
|
+
ready: import_zod14.z.boolean()
|
|
554
|
+
});
|
|
555
|
+
var RecruitRoomStageSchema = import_zod14.z.enum([
|
|
556
|
+
"waiting",
|
|
557
|
+
"location",
|
|
558
|
+
"location-vote",
|
|
559
|
+
"exclude-menu",
|
|
560
|
+
"menu",
|
|
561
|
+
"restaurant",
|
|
562
|
+
"finish"
|
|
563
|
+
]);
|
|
564
|
+
var InvitationRoomStageSchema = import_zod14.z.enum([
|
|
565
|
+
"waiting",
|
|
566
|
+
"date",
|
|
567
|
+
"time",
|
|
568
|
+
"location",
|
|
569
|
+
"location-vote",
|
|
570
|
+
"exclude-menu",
|
|
571
|
+
"menu",
|
|
572
|
+
"restaurant",
|
|
573
|
+
"finish"
|
|
574
|
+
]);
|
|
575
|
+
var ReadyStateRequestSchema = import_zod14.z.object({
|
|
576
|
+
isReady: import_zod14.z.boolean()
|
|
577
|
+
});
|
|
578
|
+
var ChatMessageRequestSchema = import_zod14.z.object({
|
|
579
|
+
message: import_zod14.z.string().min(1).max(500)
|
|
580
|
+
});
|
|
581
|
+
var AddLocationCandidateRequestSchema = LocationCandidateSchema;
|
|
582
|
+
var VoteLocationRequestSchema = import_zod14.z.object({ locationId: LocationIdSchema });
|
|
583
|
+
var ExcludeMenuRequestSchema = import_zod14.z.object({ menu: MenuSchema });
|
|
584
|
+
var PickMenuRequestSchema = import_zod14.z.object({ menuCode: MenuCodeSchema });
|
|
585
|
+
var PickRestaurantRequestSchema = import_zod14.z.object({ restaurantId: RestaurantIdSchema });
|
|
586
|
+
var PickTimesRequestSchema = import_zod14.z.object({ times: import_zod14.z.array(import_zod14.z.string().min(1)).min(1) });
|
|
587
|
+
var PickDateRequestSchema = import_zod14.z.object({ dates: import_zod14.z.array(ISODateStringSchema).min(1) });
|
|
588
|
+
var RoomAssignedResponseSchema = import_zod14.z.object({
|
|
589
|
+
roomId: RoomIdSchema
|
|
590
|
+
});
|
|
591
|
+
var RoomSocketErrorSchema = import_zod14.z.object({
|
|
592
|
+
code: import_zod14.z.string(),
|
|
593
|
+
message: import_zod14.z.string()
|
|
594
|
+
});
|
|
595
|
+
var ChatMessageResponseSchema = import_zod14.z.object({
|
|
596
|
+
messageId: import_zod14.z.string(),
|
|
597
|
+
user: MemberResponseSchema,
|
|
598
|
+
message: import_zod14.z.string(),
|
|
599
|
+
createdAt: ISODateTimeStringSchema
|
|
600
|
+
});
|
|
601
|
+
var ReadyStateChangedSchema = import_zod14.z.object({
|
|
602
|
+
readyCount: import_zod14.z.number().int().min(0),
|
|
603
|
+
participantCount: import_zod14.z.number().int().min(0)
|
|
604
|
+
});
|
|
605
|
+
var FinalStateSchema = import_zod14.z.object({
|
|
606
|
+
location: LocationCandidateSchema.optional(),
|
|
607
|
+
excludeMenu: import_zod14.z.array(MenuSchema).optional(),
|
|
608
|
+
menu: MenuSchema.optional(),
|
|
609
|
+
restaurant: RestaurantSchema.optional(),
|
|
610
|
+
time: import_zod14.z.string().optional(),
|
|
611
|
+
date: ISODateStringSchema.optional()
|
|
612
|
+
});
|
|
613
|
+
var RoomInitialStateSchema = import_zod14.z.object({
|
|
614
|
+
participants: import_zod14.z.array(ParticipantSchema),
|
|
615
|
+
chat: import_zod14.z.array(ChatMessageResponseSchema),
|
|
616
|
+
final: FinalStateSchema
|
|
617
|
+
});
|
|
618
|
+
var PhaseDataBroadcastSchema = import_zod14.z.object({
|
|
619
|
+
phase: import_zod14.z.union([RecruitRoomStageSchema, InvitationRoomStageSchema]),
|
|
620
|
+
data: import_zod14.z.unknown()
|
|
621
|
+
});
|
|
622
|
+
var TimePicksUpdateResponseSchema = import_zod14.z.array(
|
|
623
|
+
import_zod14.z.object({ memberId: MemberIdSchema, times: import_zod14.z.array(import_zod14.z.string()) })
|
|
624
|
+
);
|
|
625
|
+
var DatePicksUpdateResponseSchema = import_zod14.z.array(
|
|
626
|
+
import_zod14.z.object({ memberId: MemberIdSchema, dates: import_zod14.z.array(ISODateStringSchema) })
|
|
627
|
+
);
|
|
628
|
+
var LocationCandidateAddUpdateResponseSchema = import_zod14.z.array(
|
|
629
|
+
LocationCandidateSchema.extend({ authorMemberId: MemberIdSchema })
|
|
630
|
+
);
|
|
631
|
+
var LocationCandidateVoteUpdateResponseSchema = import_zod14.z.array(
|
|
632
|
+
import_zod14.z.object({ locationId: LocationIdSchema, votes: import_zod14.z.array(MemberIdSchema) })
|
|
633
|
+
);
|
|
634
|
+
var ExcludeMenuUpdateResponseSchema = import_zod14.z.array(
|
|
635
|
+
import_zod14.z.object({ memberId: MemberIdSchema, exclusions: import_zod14.z.array(MenuSchema) })
|
|
636
|
+
);
|
|
637
|
+
var MenuPickUpdateResponseSchema = import_zod14.z.array(
|
|
638
|
+
import_zod14.z.object({ menuCode: MenuCodeSchema, selectedMembers: import_zod14.z.array(MemberIdSchema) })
|
|
639
|
+
);
|
|
640
|
+
var RestaurantPickUpdateResponseSchema = import_zod14.z.array(
|
|
641
|
+
import_zod14.z.object({ restaurantId: RestaurantIdSchema, selectedMembers: import_zod14.z.array(MemberIdSchema) })
|
|
642
|
+
);
|
|
643
|
+
var RoomSocketClientEventSchemas = {
|
|
644
|
+
"ready-state": ReadyStateRequestSchema,
|
|
645
|
+
"chat-message": ChatMessageRequestSchema,
|
|
646
|
+
"add-location-candidate": AddLocationCandidateRequestSchema,
|
|
647
|
+
"vote-location": VoteLocationRequestSchema,
|
|
648
|
+
"exclude-menu": ExcludeMenuRequestSchema,
|
|
649
|
+
"pick-menu": PickMenuRequestSchema,
|
|
650
|
+
"pick-restaurant": PickRestaurantRequestSchema,
|
|
651
|
+
"pick-times": PickTimesRequestSchema,
|
|
652
|
+
"pick-date": PickDateRequestSchema
|
|
653
|
+
};
|
|
654
|
+
var RoomSocketServerEventSchemas = {
|
|
655
|
+
"room-assigned": RoomAssignedResponseSchema,
|
|
656
|
+
"stage-changed": PhaseDataBroadcastSchema,
|
|
657
|
+
"chat-message": ChatMessageResponseSchema,
|
|
658
|
+
"room-error": RoomSocketErrorSchema,
|
|
659
|
+
"ready-state-changed": ReadyStateChangedSchema,
|
|
660
|
+
"join-room": RoomInitialStateSchema,
|
|
661
|
+
"time-updated": TimePicksUpdateResponseSchema,
|
|
662
|
+
"date-updated": DatePicksUpdateResponseSchema,
|
|
663
|
+
"location-add-updated": LocationCandidateAddUpdateResponseSchema,
|
|
664
|
+
"location-vote-updated": LocationCandidateVoteUpdateResponseSchema,
|
|
665
|
+
"exclude-menu-updated": ExcludeMenuUpdateResponseSchema,
|
|
666
|
+
"menu-pick-updated": MenuPickUpdateResponseSchema,
|
|
667
|
+
"restaurant-pick-updated": RestaurantPickUpdateResponseSchema,
|
|
668
|
+
"final-state-response": FinalStateSchema
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
// src/domain/plan/schema/plan.schema.ts
|
|
672
|
+
var PlanStatusSchema = import_zod15.z.enum(["PLANNING", "COMPLETED"]);
|
|
673
|
+
var PlanTypeSchema = import_zod15.z.enum(["RECRUIT", "INVITATION"]);
|
|
674
|
+
var CreatePlanRequestSchema = import_zod15.z.object({
|
|
675
|
+
meetingDate: ISODateStringSchema,
|
|
676
|
+
meetingTime: TimeHHmmStringSchema
|
|
677
|
+
});
|
|
678
|
+
var PlanResponseSchema = import_zod15.z.object({
|
|
679
|
+
planId: PlanIdSchema,
|
|
680
|
+
meetingAt: ISODateTimeStringSchema,
|
|
681
|
+
location: LocationCandidateSchema.nullable(),
|
|
682
|
+
restaurant: RestaurantSchema.nullable(),
|
|
683
|
+
author: MemberResponseSchema.nullable(),
|
|
684
|
+
participants: import_zod15.z.array(MemberResponseSchema),
|
|
685
|
+
status: PlanStatusSchema,
|
|
686
|
+
type: PlanTypeSchema,
|
|
687
|
+
createdAt: ISODateTimeStringSchema,
|
|
688
|
+
updatedAt: ISODateTimeStringSchema
|
|
689
|
+
});
|
|
690
|
+
|
|
691
|
+
// src/domain/preference/schema/preference.schema.ts
|
|
692
|
+
var import_zod16 = require("zod");
|
|
693
|
+
var FoodPreferenceTypeSchema = import_zod16.z.enum(["LIKE", "DISLIKE", "ALLERGY"]);
|
|
694
|
+
var FoodPreferenceResponseSchema = import_zod16.z.object({
|
|
695
|
+
id: import_zod16.z.number().int().positive(),
|
|
696
|
+
memberId: MemberIdSchema,
|
|
697
|
+
foodCode: import_zod16.z.string(),
|
|
698
|
+
type: FoodPreferenceTypeSchema,
|
|
699
|
+
createdAt: ISODateTimeStringSchema,
|
|
700
|
+
updatedAt: ISODateTimeStringSchema
|
|
701
|
+
});
|
|
702
|
+
|
|
703
|
+
// src/domain/recruit/schema/recruit.schema.ts
|
|
704
|
+
var import_zod17 = require("zod");
|
|
705
|
+
var RecruitStatusSchema = import_zod17.z.enum(["OPEN", "CLOSED", "EXPIRED"]);
|
|
706
|
+
var RecruitRequestSchema = import_zod17.z.object({
|
|
707
|
+
targetCount: import_zod17.z.number().int().min(2),
|
|
708
|
+
meetingAt: ISODateTimeStringSchema,
|
|
709
|
+
location: import_zod17.z.string().min(1),
|
|
710
|
+
message: import_zod17.z.string().max(500)
|
|
711
|
+
});
|
|
712
|
+
var RecruitParticipantSchema = MemberResponseSchema.extend({});
|
|
713
|
+
var RecruitResponseSchema = RecruitRequestSchema.extend({
|
|
714
|
+
recruitId: RecruitIdSchema,
|
|
715
|
+
status: RecruitStatusSchema,
|
|
716
|
+
createdAt: ISODateTimeStringSchema,
|
|
717
|
+
expiredAt: ISODateTimeStringSchema,
|
|
718
|
+
updatedAt: ISODateTimeStringSchema,
|
|
719
|
+
author: MemberResponseSchema,
|
|
720
|
+
participants: import_zod17.z.array(RecruitParticipantSchema)
|
|
721
|
+
});
|
|
722
|
+
var CreateRecruitResponseSchema = import_zod17.z.object({
|
|
723
|
+
recruitId: RecruitIdSchema
|
|
724
|
+
});
|
|
725
|
+
|
|
726
|
+
// src/domain/referral/schema/referral.schema.ts
|
|
727
|
+
var import_zod18 = require("zod");
|
|
728
|
+
var ReferralCreateResponseSchema = import_zod18.z.object({
|
|
729
|
+
code: ReferralCodeSchema,
|
|
730
|
+
link: import_zod18.z.string().url(),
|
|
731
|
+
expiresAt: ISODateTimeStringSchema
|
|
732
|
+
});
|
|
733
|
+
var ReferralItemResponseSchema = import_zod18.z.object({
|
|
734
|
+
code: ReferralCodeSchema,
|
|
735
|
+
createdAt: ISODateTimeStringSchema,
|
|
736
|
+
expiresAt: ISODateTimeStringSchema,
|
|
737
|
+
used: import_zod18.z.boolean(),
|
|
738
|
+
usedByMemberId: MemberIdSchema.nullable(),
|
|
739
|
+
usedByUsername: import_zod18.z.string().nullable()
|
|
740
|
+
});
|
|
741
|
+
var RedeemReferralRequestSchema = import_zod18.z.object({
|
|
742
|
+
code: ReferralCodeSchema
|
|
743
|
+
});
|
|
744
|
+
|
|
745
|
+
// src/domain/common/contracts/endpoint.ts
|
|
746
|
+
var import_zod19 = require("zod");
|
|
747
|
+
var NoBodySchema = import_zod19.z.undefined();
|
|
748
|
+
var NoQuerySchema = import_zod19.z.undefined();
|
|
749
|
+
var NoParamsSchema = import_zod19.z.undefined();
|
|
750
|
+
var endpoint = (contract) => ({
|
|
751
|
+
method: contract.method,
|
|
752
|
+
path: contract.path,
|
|
753
|
+
pathParams: contract.pathParams ?? NoParamsSchema,
|
|
754
|
+
query: contract.query ?? NoQuerySchema,
|
|
755
|
+
body: contract.body ?? NoBodySchema,
|
|
756
|
+
response: contract.response
|
|
757
|
+
});
|
|
758
|
+
|
|
759
|
+
// src/domain/common/contracts/api.ts
|
|
760
|
+
var memberIdParam = import_zod20.z.object({ memberId: MemberIdSchema });
|
|
761
|
+
var articleIdParam = import_zod20.z.object({ articleId: ArticleIdSchema });
|
|
762
|
+
var commentIdParam = import_zod20.z.object({ commentId: CommentIdSchema });
|
|
763
|
+
var recruitIdParam = import_zod20.z.object({ recruitId: RecruitIdSchema });
|
|
764
|
+
var invitationIdParam = import_zod20.z.object({ invitationId: InvitationIdSchema });
|
|
765
|
+
var planIdParam = import_zod20.z.object({ planId: PlanIdSchema });
|
|
766
|
+
var couponIdParam = import_zod20.z.object({ couponId: CouponIdSchema });
|
|
767
|
+
var friendRequestIdParam = import_zod20.z.object({ requestId: FriendRequestIdSchema });
|
|
768
|
+
var apiContract = {
|
|
769
|
+
auth: {
|
|
770
|
+
signup: endpoint({ method: "POST", path: "/auth/signup", body: SignupRequestSchema, response: SignupResponseSchema }),
|
|
771
|
+
login: endpoint({ method: "POST", path: "/auth/login", body: LoginRequestSchema, response: TokenResponseSchema }),
|
|
772
|
+
refresh: endpoint({ method: "POST", path: "/auth/refresh", response: TokenResponseSchema }),
|
|
773
|
+
logout: endpoint({ method: "POST", path: "/auth/logout", response: NoContentSchema })
|
|
774
|
+
},
|
|
775
|
+
members: {
|
|
776
|
+
me: endpoint({ method: "GET", path: "/members/me", response: MemberResponseSchema }),
|
|
777
|
+
summary: endpoint({ method: "GET", path: "/members/me/summary", response: MemberSummaryResponseSchema }),
|
|
778
|
+
detail: endpoint({ method: "GET", path: "/members/:memberId", pathParams: memberIdParam, response: ProfileDetailResponseSchema }),
|
|
779
|
+
updateProfile: endpoint({ method: "PATCH", path: "/members/me/profile", body: UpdateProfileRequestSchema, response: ProfileDetailResponseSchema }),
|
|
780
|
+
onboarding: endpoint({ method: "POST", path: "/members/me/onboarding", body: OnboardingRequestSchema, response: PreferenceMetaResponseSchema }),
|
|
781
|
+
updateOnboardingPreferences: endpoint({ method: "PATCH", path: "/members/me/preferences", body: OnboardingPreferenceRequestSchema, response: PreferenceMetaResponseSchema })
|
|
782
|
+
},
|
|
783
|
+
articles: {
|
|
784
|
+
list: endpoint({ method: "GET", path: "/articles", response: PageArticleSummaryResponseSchema }),
|
|
785
|
+
detail: endpoint({ method: "GET", path: "/articles/:articleId", pathParams: articleIdParam, response: ArticleDetailResponseSchema }),
|
|
786
|
+
create: endpoint({ method: "POST", path: "/articles", body: ArticlePostRequestSchema, response: CreateArticleResponseSchema }),
|
|
787
|
+
delete: endpoint({ method: "DELETE", path: "/articles/:articleId", pathParams: articleIdParam, response: NoContentSchema }),
|
|
788
|
+
createComment: endpoint({ method: "POST", path: "/articles/:articleId/comments", pathParams: articleIdParam, body: CommentPostRequestSchema, response: CreateCommentResponseSchema }),
|
|
789
|
+
deleteComment: endpoint({ method: "DELETE", path: "/articles/:articleId/comments/:commentId", pathParams: articleIdParam.merge(commentIdParam), response: NoContentSchema }),
|
|
790
|
+
presignArticleImage: endpoint({ method: "POST", path: "/uploads/articles/presign", response: PresignUploadResponseSchema }),
|
|
791
|
+
presignProfileImage: endpoint({ method: "POST", path: "/uploads/profiles/presign", response: PresignUploadResponseSchema })
|
|
792
|
+
},
|
|
793
|
+
recruits: {
|
|
794
|
+
list: endpoint({ method: "GET", path: "/recruits", response: import_zod20.z.array(RecruitResponseSchema) }),
|
|
795
|
+
detail: endpoint({ method: "GET", path: "/recruits/:recruitId", pathParams: recruitIdParam, response: RecruitResponseSchema }),
|
|
796
|
+
create: endpoint({ method: "POST", path: "/recruits", body: RecruitRequestSchema, response: CreateRecruitResponseSchema }),
|
|
797
|
+
close: endpoint({ method: "PATCH", path: "/recruits/:recruitId/close", pathParams: recruitIdParam, response: NoContentSchema }),
|
|
798
|
+
join: endpoint({ method: "POST", path: "/recruits/:recruitId/join", pathParams: recruitIdParam, response: NoContentSchema })
|
|
799
|
+
},
|
|
800
|
+
invitations: {
|
|
801
|
+
list: endpoint({ method: "GET", path: "/invitations", response: import_zod20.z.array(InvitationListItemResponseSchema) }),
|
|
802
|
+
send: endpoint({ method: "POST", path: "/invitations", body: InvitationPostRequestSchema, response: SendInvitationResponseSchema }),
|
|
803
|
+
accept: endpoint({ method: "POST", path: "/invitations/:invitationId/accept", pathParams: invitationIdParam, response: AcceptInvitationResponseSchema }),
|
|
804
|
+
reject: endpoint({ method: "POST", path: "/invitations/:invitationId/reject", pathParams: invitationIdParam, response: RejectInvitationResponseSchema })
|
|
805
|
+
},
|
|
806
|
+
plans: {
|
|
807
|
+
list: endpoint({ method: "GET", path: "/plans", response: import_zod20.z.array(PlanResponseSchema) }),
|
|
808
|
+
detail: endpoint({ method: "GET", path: "/plans/:planId", pathParams: planIdParam, response: PlanResponseSchema }),
|
|
809
|
+
create: endpoint({ method: "POST", path: "/plans", body: CreatePlanRequestSchema, response: PlanResponseSchema })
|
|
810
|
+
},
|
|
811
|
+
mealStatus: {
|
|
812
|
+
get: endpoint({ method: "GET", path: "/members/me/meal-status", response: MealStatusResponseSchema }),
|
|
813
|
+
update: endpoint({ method: "PATCH", path: "/members/me/meal-status", body: UpdateMealStatusRequestSchema, response: NoContentSchema })
|
|
814
|
+
},
|
|
815
|
+
friends: {
|
|
816
|
+
list: endpoint({ method: "GET", path: "/friends", response: import_zod20.z.array(FriendListItemResponseSchema) }),
|
|
817
|
+
meals: endpoint({ method: "GET", path: "/friends/meals", query: import_zod20.z.object({ filter: FriendMealFilterSchema.optional() }), response: import_zod20.z.array(FriendMealItemResponseSchema) }),
|
|
818
|
+
blocks: endpoint({ method: "GET", path: "/friends/blocks", response: import_zod20.z.array(FriendBlockItemResponseSchema) }),
|
|
819
|
+
request: endpoint({ method: "POST", path: "/friends/requests", body: FriendActionRequestSchema, response: FriendRequestItemResponseSchema }),
|
|
820
|
+
acceptRequest: endpoint({ method: "POST", path: "/friends/requests/:requestId/accept", pathParams: friendRequestIdParam, response: NoContentSchema }),
|
|
821
|
+
rejectRequest: endpoint({ method: "POST", path: "/friends/requests/:requestId/reject", pathParams: friendRequestIdParam, response: NoContentSchema }),
|
|
822
|
+
block: endpoint({ method: "POST", path: "/friends/blocks", body: FriendActionRequestSchema, response: NoContentSchema }),
|
|
823
|
+
unblock: endpoint({ method: "DELETE", path: "/friends/blocks/:memberId", pathParams: memberIdParam, response: NoContentSchema })
|
|
824
|
+
},
|
|
825
|
+
preferences: {
|
|
826
|
+
list: endpoint({ method: "GET", path: "/preferences", response: import_zod20.z.array(FoodPreferenceResponseSchema) })
|
|
827
|
+
},
|
|
828
|
+
coupons: {
|
|
829
|
+
list: endpoint({ method: "GET", path: "/coupons", response: import_zod20.z.array(CouponResponseSchema) }),
|
|
830
|
+
use: endpoint({ method: "PATCH", path: "/coupons/:couponId/use", pathParams: couponIdParam, response: NoContentSchema })
|
|
831
|
+
},
|
|
832
|
+
challenges: {
|
|
833
|
+
status: endpoint({ method: "GET", path: "/challenges/status", response: ChallengeStatusResponseSchema }),
|
|
834
|
+
claimReward: endpoint({ method: "POST", path: "/challenges/rewards", body: ClaimChallengeRewardRequestSchema, response: ClaimChallengeRewardResponseSchema })
|
|
835
|
+
},
|
|
836
|
+
referrals: {
|
|
837
|
+
create: endpoint({ method: "POST", path: "/referrals", response: ReferralCreateResponseSchema }),
|
|
838
|
+
list: endpoint({ method: "GET", path: "/referrals", response: import_zod20.z.array(ReferralItemResponseSchema) }),
|
|
839
|
+
redeem: endpoint({ method: "POST", path: "/referrals/redeem", body: RedeemReferralRequestSchema, response: NoContentSchema })
|
|
840
|
+
}
|
|
841
|
+
};
|
|
842
|
+
|
|
843
|
+
// src/domain/common/contracts/envelope.ts
|
|
844
|
+
var makeApiResponseSchema = ApiResponseSchema;
|
|
845
|
+
var makeApiSuccessSchema = ApiSuccessSchema;
|
|
846
|
+
|
|
847
|
+
// src/domain/common/contracts/id.ts
|
|
848
|
+
var toMemberId = (value) => MemberIdSchema.parse(value);
|
|
849
|
+
var toArticleId = (value) => ArticleIdSchema.parse(value);
|
|
850
|
+
var toRecruitId = (value) => RecruitIdSchema.parse(value);
|
|
851
|
+
var toInvitationId = (value) => InvitationIdSchema.parse(value);
|
|
852
|
+
var toRoomId = (value) => RoomIdSchema.parse(value);
|
|
853
|
+
var toRestaurantId = (value) => RestaurantIdSchema.parse(value);
|
|
854
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
855
|
+
0 && (module.exports = {
|
|
856
|
+
AcceptInvitationResponseSchema,
|
|
857
|
+
AddLocationCandidateRequestSchema,
|
|
858
|
+
ApiFailureSchema,
|
|
859
|
+
ApiResponseSchema,
|
|
860
|
+
ApiSuccessSchema,
|
|
861
|
+
ArticleCoreSchema,
|
|
862
|
+
ArticleDetailResponseSchema,
|
|
863
|
+
ArticleIdSchema,
|
|
864
|
+
ArticlePostRequestSchema,
|
|
865
|
+
ArticleSummaryResponseSchema,
|
|
866
|
+
AuthPrincipalSchema,
|
|
867
|
+
ChallengeStatusResponseSchema,
|
|
868
|
+
ChatMessageRequestSchema,
|
|
869
|
+
ChatMessageResponseSchema,
|
|
870
|
+
ClaimChallengeRewardRequestSchema,
|
|
871
|
+
ClaimChallengeRewardResponseSchema,
|
|
872
|
+
CommentIdSchema,
|
|
873
|
+
CommentPostRequestSchema,
|
|
874
|
+
CommentResponseSchema,
|
|
875
|
+
CouponIdSchema,
|
|
876
|
+
CouponResponseSchema,
|
|
877
|
+
CouponStatusSchema,
|
|
878
|
+
CouponTypeSchema,
|
|
879
|
+
CreateArticleResponseSchema,
|
|
880
|
+
CreateCommentResponseSchema,
|
|
881
|
+
CreatePlanRequestSchema,
|
|
882
|
+
CreateRecruitResponseSchema,
|
|
883
|
+
CreatedEntityIdResponseSchema,
|
|
884
|
+
CreatedIdResponseSchema,
|
|
885
|
+
DatePicksUpdateResponseSchema,
|
|
886
|
+
ExcludeMenuRequestSchema,
|
|
887
|
+
ExcludeMenuUpdateResponseSchema,
|
|
888
|
+
FinalStateSchema,
|
|
889
|
+
FoodAnalysisResultSchema,
|
|
890
|
+
FoodPreferenceResponseSchema,
|
|
891
|
+
FoodPreferenceTypeSchema,
|
|
892
|
+
FriendActionRequestSchema,
|
|
893
|
+
FriendBlockItemResponseSchema,
|
|
894
|
+
FriendListItemResponseSchema,
|
|
895
|
+
FriendMealFilterSchema,
|
|
896
|
+
FriendMealItemResponseSchema,
|
|
897
|
+
FriendRequestIdSchema,
|
|
898
|
+
FriendRequestItemResponseSchema,
|
|
899
|
+
FriendRequestMemberSchema,
|
|
900
|
+
FriendRequestStatusSchema,
|
|
901
|
+
ISODateStringSchema,
|
|
902
|
+
ISODateTimeStringSchema,
|
|
903
|
+
InvitationIdSchema,
|
|
904
|
+
InvitationListItemResponseSchema,
|
|
905
|
+
InvitationPostRequestSchema,
|
|
906
|
+
InvitationRoomStageSchema,
|
|
907
|
+
KakaoPlaceRawSchema,
|
|
908
|
+
LocationCandidateAddUpdateResponseSchema,
|
|
909
|
+
LocationCandidateSchema,
|
|
910
|
+
LocationCandidateVoteUpdateResponseSchema,
|
|
911
|
+
LocationIdSchema,
|
|
912
|
+
LoginRequestSchema,
|
|
913
|
+
MealStatusActionSchema,
|
|
914
|
+
MealStatusResponseSchema,
|
|
915
|
+
MealStatusSchema,
|
|
916
|
+
MemberCoreSchema,
|
|
917
|
+
MemberIdSchema,
|
|
918
|
+
MemberResponseSchema,
|
|
919
|
+
MemberRoleSchema,
|
|
920
|
+
MemberSummaryResponseSchema,
|
|
921
|
+
MenuCodeSchema,
|
|
922
|
+
MenuPickUpdateResponseSchema,
|
|
923
|
+
MenuSchema,
|
|
924
|
+
MonthProgressSchema,
|
|
925
|
+
NoBodySchema,
|
|
926
|
+
NoContentSchema,
|
|
927
|
+
NoParamsSchema,
|
|
928
|
+
NoQuerySchema,
|
|
929
|
+
NonEmptyStringIdSchema,
|
|
930
|
+
OnboardingPreferenceRequestSchema,
|
|
931
|
+
OnboardingRequestSchema,
|
|
932
|
+
PageArticleSummaryResponseSchema,
|
|
933
|
+
PageRequestSchema,
|
|
934
|
+
PageResponseSchema,
|
|
935
|
+
PageableObjectSchema,
|
|
936
|
+
ParticipantSchema,
|
|
937
|
+
PhaseDataBroadcastSchema,
|
|
938
|
+
PickDateRequestSchema,
|
|
939
|
+
PickMenuRequestSchema,
|
|
940
|
+
PickRestaurantRequestSchema,
|
|
941
|
+
PickTimesRequestSchema,
|
|
942
|
+
PlanIdSchema,
|
|
943
|
+
PlanResponseSchema,
|
|
944
|
+
PlanStatusSchema,
|
|
945
|
+
PlanTypeSchema,
|
|
946
|
+
PositiveIntIdSchema,
|
|
947
|
+
PreferenceMetaResponseSchema,
|
|
948
|
+
PresignUploadResponseSchema,
|
|
949
|
+
ProfileDetailResponseSchema,
|
|
950
|
+
ProfilePreferenceItemSchema,
|
|
951
|
+
ReadyStateChangedSchema,
|
|
952
|
+
ReadyStateRequestSchema,
|
|
953
|
+
RecruitIdSchema,
|
|
954
|
+
RecruitParticipantSchema,
|
|
955
|
+
RecruitRequestSchema,
|
|
956
|
+
RecruitResponseSchema,
|
|
957
|
+
RecruitRoomStageSchema,
|
|
958
|
+
RecruitStatusSchema,
|
|
959
|
+
RedeemReferralRequestSchema,
|
|
960
|
+
ReferralCodeSchema,
|
|
961
|
+
ReferralCreateResponseSchema,
|
|
962
|
+
ReferralItemResponseSchema,
|
|
963
|
+
RejectInvitationResponseSchema,
|
|
964
|
+
RestaurantIdSchema,
|
|
965
|
+
RestaurantPickUpdateResponseSchema,
|
|
966
|
+
RestaurantSchema,
|
|
967
|
+
RewardTypeSchema,
|
|
968
|
+
RoomAssignedResponseSchema,
|
|
969
|
+
RoomIdSchema,
|
|
970
|
+
RoomInitialStateSchema,
|
|
971
|
+
RoomSocketClientEventSchemas,
|
|
972
|
+
RoomSocketErrorSchema,
|
|
973
|
+
RoomSocketServerEventSchemas,
|
|
974
|
+
SendInvitationResponseSchema,
|
|
975
|
+
SignupRequestSchema,
|
|
976
|
+
SignupResponseSchema,
|
|
977
|
+
SortObjectSchema,
|
|
978
|
+
SubscriptionIdSchema,
|
|
979
|
+
TimeHHmmStringSchema,
|
|
980
|
+
TimePicksUpdateResponseSchema,
|
|
981
|
+
TokenResponseSchema,
|
|
982
|
+
UpdateMealStatusRequestSchema,
|
|
983
|
+
UpdateProfileRequestSchema,
|
|
984
|
+
UserIdSchema,
|
|
985
|
+
VoteLocationRequestSchema,
|
|
986
|
+
WeekProgressSchema,
|
|
987
|
+
apiContract,
|
|
988
|
+
endpoint,
|
|
989
|
+
makeApiResponseSchema,
|
|
990
|
+
makeApiSuccessSchema,
|
|
991
|
+
toArticleId,
|
|
992
|
+
toInvitationId,
|
|
993
|
+
toMemberId,
|
|
994
|
+
toRecruitId,
|
|
995
|
+
toRestaurantId,
|
|
996
|
+
toRoomId
|
|
997
|
+
});
|