@kimdaegyu/babmukdang-shared 1.1.0 → 1.1.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.
- package/dist/{chunk-NW5O4R7M.js → chunk-GTVEQYJW.js} +2 -2
- package/dist/{chunk-UFVPFUMI.js → chunk-H77ISYYC.js} +17 -1
- package/dist/{chunk-FCE6KXNO.js → chunk-J76VB5SE.js} +4 -4
- package/dist/chunk-JEUH3JDZ.js +299 -0
- package/dist/chunk-KRVEQVRC.js +72 -0
- package/dist/{chunk-EJKRR2MZ.js → chunk-M5OSCHMV.js} +14 -15
- package/dist/chunk-TY4WZEIZ.js +109 -0
- package/dist/chunk-U6OQQOPN.js +35 -0
- package/dist/chunk-UJJMW7II.js +37 -0
- package/dist/chunk-VAWYU5JG.js +78 -0
- package/dist/{chunk-2GRWCRTV.js → chunk-VWPUBTMV.js} +102 -106
- package/dist/{chunk-ZNAAA53X.js → chunk-W3YQYI4R.js} +14 -19
- package/dist/chunk-YGFAVC5N.js +34 -0
- package/dist/domain/article/index.cjs +137 -144
- package/dist/domain/article/index.d.cts +208 -282
- package/dist/domain/article/index.d.ts +208 -282
- package/dist/domain/article/index.js +16 -18
- package/dist/domain/auth/index.cjs +51 -45
- package/dist/domain/auth/index.d.cts +7 -8
- package/dist/domain/auth/index.d.ts +7 -8
- package/dist/domain/auth/index.js +3 -6
- package/dist/domain/common/index.cjs +430 -425
- package/dist/domain/common/index.d.cts +1224 -1111
- package/dist/domain/common/index.d.ts +1224 -1111
- package/dist/domain/common/index.js +49 -38
- package/dist/domain/friend/index.cjs +66 -70
- package/dist/domain/friend/index.d.cts +32 -63
- package/dist/domain/friend/index.d.ts +32 -63
- package/dist/domain/friend/index.js +3 -11
- package/dist/domain/index.cjs +469 -474
- package/dist/domain/index.d.cts +11 -14
- package/dist/domain/index.d.ts +11 -14
- package/dist/domain/index.js +103 -117
- package/dist/domain/invitation/index.cjs +19 -41
- package/dist/domain/invitation/index.d.cts +3 -6
- package/dist/domain/invitation/index.d.ts +3 -6
- package/dist/domain/invitation/index.js +4 -8
- package/dist/domain/meal/index.cjs +108 -13
- package/dist/domain/meal/index.d.cts +51 -23
- package/dist/domain/meal/index.d.ts +51 -23
- package/dist/domain/meal/index.js +8 -3
- package/dist/domain/member/index.cjs +63 -54
- package/dist/domain/member/index.d.cts +233 -126
- package/dist/domain/member/index.d.ts +233 -126
- package/dist/domain/member/index.js +17 -17
- package/dist/domain/plan/index.cjs +145 -136
- package/dist/domain/plan/index.d.cts +22 -33
- package/dist/domain/plan/index.d.ts +22 -33
- package/dist/domain/plan/index.js +8 -9
- package/dist/domain/{referral → promotion}/index.cjs +62 -6
- package/dist/domain/promotion/index.d.cts +114 -0
- package/dist/domain/promotion/index.d.ts +114 -0
- package/dist/domain/promotion/index.js +24 -0
- package/dist/domain/recruit/index.cjs +104 -61
- package/dist/domain/recruit/index.d.cts +56 -56
- package/dist/domain/recruit/index.d.ts +56 -56
- package/dist/domain/recruit/index.js +21 -11
- package/dist/domain/restaurant/index.cjs +8 -2
- package/dist/domain/restaurant/index.d.cts +1 -4
- package/dist/domain/restaurant/index.d.ts +1 -4
- package/dist/domain/restaurant/index.js +2 -3
- package/dist/domain/room/index.cjs +134 -122
- package/dist/domain/room/index.d.cts +144 -144
- package/dist/domain/room/index.d.ts +144 -144
- package/dist/domain/room/index.js +5 -5
- package/dist/{id-B-8M90Ef.d.cts → id-dAYxfjZn.d.cts} +22 -1
- package/dist/{id-B-8M90Ef.d.ts → id-dAYxfjZn.d.ts} +22 -1
- package/dist/index-DAcw_a8p.d.ts +292 -0
- package/dist/index-DJJo4ejN.d.cts +292 -0
- package/dist/index.cjs +436 -630
- package/dist/index.d.cts +27 -142
- package/dist/index.d.ts +27 -142
- package/dist/index.js +14 -204
- package/package.json +55 -50
- package/dist/chunk-2SJCUQNN.js +0 -40
- package/dist/chunk-35QGRA2X.js +0 -0
- package/dist/chunk-3YMV26OY.js +0 -0
- package/dist/chunk-4DAOP35P.js +0 -74
- package/dist/chunk-6NZPEF4K.js +0 -34
- package/dist/chunk-7MGHUZXI.js +0 -25
- package/dist/chunk-BVTYAILQ.js +0 -0
- package/dist/chunk-F24BT6H4.js +0 -23
- package/dist/chunk-IJMADVK5.js +0 -27
- package/dist/chunk-IYCA6KHR.js +0 -0
- package/dist/chunk-JCN37ARR.js +0 -52
- package/dist/chunk-JXYRJKRV.js +0 -0
- package/dist/chunk-LCMNVWSP.js +0 -0
- package/dist/chunk-MP7TEKEI.js +0 -72
- package/dist/chunk-O6DYRCFN.js +0 -0
- package/dist/chunk-PDGMGLYH.js +0 -0
- package/dist/chunk-TA4BB3UC.js +0 -0
- package/dist/chunk-UN7KYFMV.js +0 -0
- package/dist/chunk-UXA4FHST.js +0 -19
- package/dist/chunk-WNY6POLW.js +0 -0
- package/dist/chunk-YVACD5IG.js +0 -127
- package/dist/chunk-Z2UFF3MA.js +0 -212
- package/dist/chunk-ZSZ3ETY7.js +0 -32
- package/dist/domain/challenge/index.cjs +0 -65
- package/dist/domain/challenge/index.d.cts +0 -104
- package/dist/domain/challenge/index.d.ts +0 -104
- package/dist/domain/challenge/index.js +0 -18
- package/dist/domain/coupon/index.cjs +0 -74
- package/dist/domain/coupon/index.d.cts +0 -38
- package/dist/domain/coupon/index.d.ts +0 -38
- package/dist/domain/coupon/index.js +0 -14
- package/dist/domain/preference/index.cjs +0 -69
- package/dist/domain/preference/index.d.cts +0 -31
- package/dist/domain/preference/index.d.ts +0 -31
- package/dist/domain/preference/index.js +0 -12
- package/dist/domain/referral/index.d.cts +0 -51
- package/dist/domain/referral/index.d.ts +0 -51
- package/dist/domain/referral/index.js +0 -14
- package/dist/index-BuInbhtG.d.cts +0 -305
- package/dist/index-CKRUOupn.d.ts +0 -305
- /package/dist/{chunk-34EKPNPX.js → chunk-NJTV6DRT.js} +0 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ISODateStringSchema,
|
|
3
|
+
ISODateTimeStringSchema
|
|
4
|
+
} from "./chunk-HRM3FQPL.js";
|
|
5
|
+
import {
|
|
6
|
+
CouponIdSchema,
|
|
7
|
+
MemberIdSchema,
|
|
8
|
+
ReferralCodeSchema
|
|
9
|
+
} from "./chunk-H77ISYYC.js";
|
|
10
|
+
|
|
11
|
+
// src/domain/promotion/referral.schema.ts
|
|
12
|
+
import { z } from "zod";
|
|
13
|
+
var ReferralCreateResponseSchema = z.object({
|
|
14
|
+
code: ReferralCodeSchema,
|
|
15
|
+
link: z.string().url(),
|
|
16
|
+
expiresAt: ISODateTimeStringSchema
|
|
17
|
+
});
|
|
18
|
+
var ReferralItemResponseSchema = z.object({
|
|
19
|
+
code: ReferralCodeSchema,
|
|
20
|
+
createdAt: ISODateTimeStringSchema,
|
|
21
|
+
expiresAt: ISODateTimeStringSchema,
|
|
22
|
+
used: z.boolean(),
|
|
23
|
+
usedByMemberId: MemberIdSchema.nullable(),
|
|
24
|
+
usedByUsername: z.string().nullable()
|
|
25
|
+
});
|
|
26
|
+
var RedeemReferralRequestSchema = z.object({
|
|
27
|
+
code: ReferralCodeSchema
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
// src/domain/promotion/coupon.schema.ts
|
|
31
|
+
import { z as z2 } from "zod";
|
|
32
|
+
var CouponTypeSchema = z2.enum(["DISCOUNT", "SERVICE"]);
|
|
33
|
+
var CouponStatusSchema = z2.enum(["UNUSED", "USED"]);
|
|
34
|
+
var CouponResponseSchema = z2.object({
|
|
35
|
+
couponId: CouponIdSchema,
|
|
36
|
+
title: z2.string(),
|
|
37
|
+
shopName: z2.string(),
|
|
38
|
+
type: CouponTypeSchema,
|
|
39
|
+
condition: z2.string(),
|
|
40
|
+
expiresAt: ISODateStringSchema,
|
|
41
|
+
used: z2.boolean(),
|
|
42
|
+
thumbnailUrl: z2.string().url()
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
// src/domain/promotion/challenge.schema.ts
|
|
46
|
+
import { z as z3 } from "zod";
|
|
47
|
+
var RewardTypeSchema = z3.enum(["WEEK", "MONTH"]);
|
|
48
|
+
var WeekProgressSchema = z3.object({
|
|
49
|
+
days: z3.array(z3.boolean()),
|
|
50
|
+
completed: z3.number().int().min(0),
|
|
51
|
+
goal: z3.number().int().positive()
|
|
52
|
+
});
|
|
53
|
+
var MonthProgressSchema = z3.object({
|
|
54
|
+
count: z3.number().int().min(0),
|
|
55
|
+
goal: z3.number().int().positive()
|
|
56
|
+
});
|
|
57
|
+
var ChallengeStatusResponseSchema = z3.object({
|
|
58
|
+
count: z3.number().int().min(0)
|
|
59
|
+
});
|
|
60
|
+
var ClaimChallengeRewardRequestSchema = z3.object({
|
|
61
|
+
type: RewardTypeSchema
|
|
62
|
+
});
|
|
63
|
+
var ClaimChallengeRewardResponseSchema = z3.object({
|
|
64
|
+
rewardType: RewardTypeSchema,
|
|
65
|
+
claimed: z3.boolean()
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
export {
|
|
69
|
+
ChallengeStatusResponseSchema,
|
|
70
|
+
ClaimChallengeRewardRequestSchema,
|
|
71
|
+
ClaimChallengeRewardResponseSchema,
|
|
72
|
+
ReferralCreateResponseSchema,
|
|
73
|
+
ReferralItemResponseSchema,
|
|
74
|
+
RedeemReferralRequestSchema,
|
|
75
|
+
CouponTypeSchema,
|
|
76
|
+
CouponStatusSchema,
|
|
77
|
+
CouponResponseSchema
|
|
78
|
+
};
|
|
@@ -1,59 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ApiFailureSchema,
|
|
3
|
+
ApiResponseSchema,
|
|
4
|
+
ApiSuccessSchema,
|
|
5
|
+
CreateRecruitRequestSchema,
|
|
6
|
+
CreateRecruitResponseSchema,
|
|
7
|
+
CreatedEntityIdResponseSchema,
|
|
2
8
|
NoBodySchema,
|
|
9
|
+
NoContentSchema,
|
|
3
10
|
NoParamsSchema,
|
|
4
11
|
NoQuerySchema,
|
|
12
|
+
RecruitListQuerySchema,
|
|
13
|
+
RecruitListResponseSchema,
|
|
14
|
+
RecruitSortBySchema,
|
|
15
|
+
RecruitStatusSchema,
|
|
5
16
|
apiContract,
|
|
6
17
|
endpoint,
|
|
7
18
|
makeApiResponseSchema,
|
|
8
19
|
makeApiSuccessSchema,
|
|
9
20
|
toArticleId,
|
|
21
|
+
toCommentId,
|
|
22
|
+
toCouponId,
|
|
23
|
+
toFriendRequestId,
|
|
10
24
|
toInvitationId,
|
|
11
25
|
toMemberId,
|
|
26
|
+
toPlanId,
|
|
12
27
|
toRecruitId,
|
|
28
|
+
toReferralCode,
|
|
13
29
|
toRestaurantId,
|
|
14
|
-
toRoomId
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
AcceptInvitationResponseSchema,
|
|
18
|
-
ApiFailureSchema,
|
|
19
|
-
ApiResponseSchema,
|
|
20
|
-
ApiSuccessSchema,
|
|
21
|
-
CreatedEntityIdResponseSchema,
|
|
22
|
-
CreatedIdResponseSchema,
|
|
23
|
-
InvitationListItemResponseSchema,
|
|
24
|
-
InvitationPostRequestSchema,
|
|
25
|
-
NoContentSchema,
|
|
26
|
-
RejectInvitationResponseSchema,
|
|
27
|
-
SendInvitationResponseSchema
|
|
28
|
-
} from "./chunk-4DAOP35P.js";
|
|
30
|
+
toRoomId,
|
|
31
|
+
toSubscriptionId
|
|
32
|
+
} from "./chunk-JEUH3JDZ.js";
|
|
29
33
|
import {
|
|
34
|
+
FriendMealItemResponseSchema,
|
|
35
|
+
FriendMealQuerySchema,
|
|
30
36
|
MealStatusActionSchema,
|
|
31
37
|
MealStatusResponseSchema,
|
|
32
38
|
MealStatusSchema,
|
|
33
39
|
UpdateMealStatusRequestSchema
|
|
34
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-UJJMW7II.js";
|
|
35
41
|
import {
|
|
36
|
-
|
|
42
|
+
PlanListQuerySchema,
|
|
37
43
|
PlanResponseSchema,
|
|
38
44
|
PlanStatusSchema,
|
|
39
45
|
PlanTypeSchema
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import {
|
|
42
|
-
FoodPreferenceResponseSchema,
|
|
43
|
-
FoodPreferenceTypeSchema
|
|
44
|
-
} from "./chunk-F24BT6H4.js";
|
|
45
|
-
import {
|
|
46
|
-
CreateRecruitResponseSchema,
|
|
47
|
-
RecruitParticipantSchema,
|
|
48
|
-
RecruitRequestSchema,
|
|
49
|
-
RecruitResponseSchema,
|
|
50
|
-
RecruitStatusSchema
|
|
51
|
-
} from "./chunk-2SJCUQNN.js";
|
|
46
|
+
} from "./chunk-W3YQYI4R.js";
|
|
52
47
|
import {
|
|
48
|
+
ChallengeStatusResponseSchema,
|
|
49
|
+
ClaimChallengeRewardRequestSchema,
|
|
50
|
+
ClaimChallengeRewardResponseSchema,
|
|
51
|
+
CouponResponseSchema,
|
|
52
|
+
CouponStatusSchema,
|
|
53
|
+
CouponTypeSchema,
|
|
53
54
|
RedeemReferralRequestSchema,
|
|
54
55
|
ReferralCreateResponseSchema,
|
|
55
56
|
ReferralItemResponseSchema
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-VAWYU5JG.js";
|
|
57
58
|
import {
|
|
58
59
|
AddLocationCandidateRequestSchema,
|
|
59
60
|
ChatMessageRequestSchema,
|
|
@@ -87,74 +88,73 @@ import {
|
|
|
87
88
|
RoomSocketServerEventSchemas,
|
|
88
89
|
TimePicksUpdateResponseSchema,
|
|
89
90
|
VoteLocationRequestSchema
|
|
90
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-M5OSCHMV.js";
|
|
91
92
|
import {
|
|
93
|
+
ArticleCommentSchema,
|
|
92
94
|
ArticleCoreSchema,
|
|
93
95
|
ArticleDetailResponseSchema,
|
|
94
|
-
|
|
96
|
+
ArticleListQuerySchema,
|
|
97
|
+
ArticleSortBySchema,
|
|
95
98
|
ArticleSummaryResponseSchema,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
CreateArticleResponseSchema,
|
|
99
|
-
CreateCommentResponseSchema,
|
|
99
|
+
CreateArticleRequestSchema,
|
|
100
|
+
CreateCommentRequestSchema,
|
|
100
101
|
FoodAnalysisResultSchema,
|
|
101
102
|
PageArticleSummaryResponseSchema,
|
|
102
|
-
|
|
103
|
+
PageMetaSchema,
|
|
104
|
+
PageQuerySchema,
|
|
103
105
|
PageResponseSchema,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
} from "./chunk-YVACD5IG.js";
|
|
106
|
+
PresignArticleResponseSchema,
|
|
107
|
+
SortDirectionSchema
|
|
108
|
+
} from "./chunk-TY4WZEIZ.js";
|
|
108
109
|
import {
|
|
109
110
|
KakaoPlaceRawSchema,
|
|
110
111
|
RestaurantSchema
|
|
111
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-GTVEQYJW.js";
|
|
112
113
|
import {
|
|
113
114
|
LoginRequestSchema,
|
|
114
115
|
SignupRequestSchema,
|
|
115
116
|
SignupResponseSchema,
|
|
116
117
|
TokenResponseSchema
|
|
117
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-J76VB5SE.js";
|
|
118
119
|
import {
|
|
119
|
-
ChallengeStatusResponseSchema,
|
|
120
|
-
ClaimChallengeRewardRequestSchema,
|
|
121
|
-
ClaimChallengeRewardResponseSchema,
|
|
122
|
-
MonthProgressSchema,
|
|
123
|
-
RewardTypeSchema,
|
|
124
|
-
WeekProgressSchema
|
|
125
|
-
} from "./chunk-6NZPEF4K.js";
|
|
126
|
-
import {
|
|
127
|
-
FriendActionRequestSchema,
|
|
128
120
|
FriendBlockItemResponseSchema,
|
|
129
121
|
FriendListItemResponseSchema,
|
|
130
|
-
FriendMealFilterSchema,
|
|
131
|
-
FriendMealItemResponseSchema,
|
|
132
122
|
FriendRequestItemResponseSchema,
|
|
133
123
|
FriendRequestMemberSchema,
|
|
134
124
|
FriendRequestStatusSchema
|
|
135
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-U6OQQOPN.js";
|
|
126
|
+
import {
|
|
127
|
+
ISODateStringSchema,
|
|
128
|
+
ISODateTimeStringSchema,
|
|
129
|
+
TimeHHmmStringSchema
|
|
130
|
+
} from "./chunk-HRM3FQPL.js";
|
|
136
131
|
import {
|
|
137
|
-
|
|
132
|
+
AcceptInvitationResponseSchema,
|
|
133
|
+
CreateInvitationRequestSchema,
|
|
134
|
+
InvitationListItemResponseSchema,
|
|
135
|
+
SendInvitationResponseSchema
|
|
136
|
+
} from "./chunk-YGFAVC5N.js";
|
|
137
|
+
import {
|
|
138
|
+
CreateProfileRequestSchema,
|
|
138
139
|
MemberCoreSchema,
|
|
140
|
+
MemberDetailSchema,
|
|
141
|
+
MemberFoodPreferenceSchema,
|
|
139
142
|
MemberResponseSchema,
|
|
140
143
|
MemberRoleSchema,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
PreferenceMetaResponseSchema,
|
|
144
|
+
MemberSearchQuerySchema,
|
|
145
|
+
MemberSerachResponseSchema,
|
|
146
|
+
PresignProfileResponseSchema,
|
|
145
147
|
ProfileDetailResponseSchema,
|
|
146
|
-
|
|
148
|
+
UpdatePreferenceRequestSchema,
|
|
147
149
|
UpdateProfileRequestSchema
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import {
|
|
150
|
-
CouponResponseSchema,
|
|
151
|
-
CouponStatusSchema,
|
|
152
|
-
CouponTypeSchema
|
|
153
|
-
} from "./chunk-IJMADVK5.js";
|
|
150
|
+
} from "./chunk-KRVEQVRC.js";
|
|
154
151
|
import {
|
|
155
152
|
ArticleIdSchema,
|
|
156
153
|
CommentIdSchema,
|
|
157
154
|
CouponIdSchema,
|
|
155
|
+
FoodCodeSchema,
|
|
156
|
+
FoodLabelSchema,
|
|
157
|
+
FoodSchema,
|
|
158
158
|
FriendRequestIdSchema,
|
|
159
159
|
InvitationIdSchema,
|
|
160
160
|
MemberIdSchema,
|
|
@@ -166,16 +166,9 @@ import {
|
|
|
166
166
|
RestaurantIdSchema,
|
|
167
167
|
RoomIdSchema,
|
|
168
168
|
SubscriptionIdSchema,
|
|
169
|
-
UserIdSchema
|
|
170
|
-
} from "./chunk-UFVPFUMI.js";
|
|
171
|
-
import {
|
|
172
|
-
ISODateStringSchema,
|
|
173
|
-
ISODateTimeStringSchema,
|
|
174
|
-
TimeHHmmStringSchema
|
|
175
|
-
} from "./chunk-HRM3FQPL.js";
|
|
176
|
-
import {
|
|
169
|
+
UserIdSchema,
|
|
177
170
|
__export
|
|
178
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-H77ISYYC.js";
|
|
179
172
|
|
|
180
173
|
// src/domain/index.ts
|
|
181
174
|
var domain_exports = {};
|
|
@@ -185,42 +178,42 @@ __export(domain_exports, {
|
|
|
185
178
|
ApiFailureSchema: () => ApiFailureSchema,
|
|
186
179
|
ApiResponseSchema: () => ApiResponseSchema,
|
|
187
180
|
ApiSuccessSchema: () => ApiSuccessSchema,
|
|
181
|
+
ArticleCommentSchema: () => ArticleCommentSchema,
|
|
188
182
|
ArticleCoreSchema: () => ArticleCoreSchema,
|
|
189
183
|
ArticleDetailResponseSchema: () => ArticleDetailResponseSchema,
|
|
190
184
|
ArticleIdSchema: () => ArticleIdSchema,
|
|
191
|
-
|
|
185
|
+
ArticleListQuerySchema: () => ArticleListQuerySchema,
|
|
186
|
+
ArticleSortBySchema: () => ArticleSortBySchema,
|
|
192
187
|
ArticleSummaryResponseSchema: () => ArticleSummaryResponseSchema,
|
|
193
|
-
AuthPrincipalSchema: () => AuthPrincipalSchema,
|
|
194
188
|
ChallengeStatusResponseSchema: () => ChallengeStatusResponseSchema,
|
|
195
189
|
ChatMessageRequestSchema: () => ChatMessageRequestSchema,
|
|
196
190
|
ChatMessageResponseSchema: () => ChatMessageResponseSchema,
|
|
197
191
|
ClaimChallengeRewardRequestSchema: () => ClaimChallengeRewardRequestSchema,
|
|
198
192
|
ClaimChallengeRewardResponseSchema: () => ClaimChallengeRewardResponseSchema,
|
|
199
193
|
CommentIdSchema: () => CommentIdSchema,
|
|
200
|
-
CommentPostRequestSchema: () => CommentPostRequestSchema,
|
|
201
|
-
CommentResponseSchema: () => CommentResponseSchema,
|
|
202
194
|
CouponIdSchema: () => CouponIdSchema,
|
|
203
195
|
CouponResponseSchema: () => CouponResponseSchema,
|
|
204
196
|
CouponStatusSchema: () => CouponStatusSchema,
|
|
205
197
|
CouponTypeSchema: () => CouponTypeSchema,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
198
|
+
CreateArticleRequestSchema: () => CreateArticleRequestSchema,
|
|
199
|
+
CreateCommentRequestSchema: () => CreateCommentRequestSchema,
|
|
200
|
+
CreateInvitationRequestSchema: () => CreateInvitationRequestSchema,
|
|
201
|
+
CreateProfileRequestSchema: () => CreateProfileRequestSchema,
|
|
202
|
+
CreateRecruitRequestSchema: () => CreateRecruitRequestSchema,
|
|
209
203
|
CreateRecruitResponseSchema: () => CreateRecruitResponseSchema,
|
|
210
204
|
CreatedEntityIdResponseSchema: () => CreatedEntityIdResponseSchema,
|
|
211
|
-
CreatedIdResponseSchema: () => CreatedIdResponseSchema,
|
|
212
205
|
DatePicksUpdateResponseSchema: () => DatePicksUpdateResponseSchema,
|
|
213
206
|
ExcludeMenuRequestSchema: () => ExcludeMenuRequestSchema,
|
|
214
207
|
ExcludeMenuUpdateResponseSchema: () => ExcludeMenuUpdateResponseSchema,
|
|
215
208
|
FinalStateSchema: () => FinalStateSchema,
|
|
216
209
|
FoodAnalysisResultSchema: () => FoodAnalysisResultSchema,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
210
|
+
FoodCodeSchema: () => FoodCodeSchema,
|
|
211
|
+
FoodLabelSchema: () => FoodLabelSchema,
|
|
212
|
+
FoodSchema: () => FoodSchema,
|
|
220
213
|
FriendBlockItemResponseSchema: () => FriendBlockItemResponseSchema,
|
|
221
214
|
FriendListItemResponseSchema: () => FriendListItemResponseSchema,
|
|
222
|
-
FriendMealFilterSchema: () => FriendMealFilterSchema,
|
|
223
215
|
FriendMealItemResponseSchema: () => FriendMealItemResponseSchema,
|
|
216
|
+
FriendMealQuerySchema: () => FriendMealQuerySchema,
|
|
224
217
|
FriendRequestIdSchema: () => FriendRequestIdSchema,
|
|
225
218
|
FriendRequestItemResponseSchema: () => FriendRequestItemResponseSchema,
|
|
226
219
|
FriendRequestMemberSchema: () => FriendRequestMemberSchema,
|
|
@@ -229,7 +222,6 @@ __export(domain_exports, {
|
|
|
229
222
|
ISODateTimeStringSchema: () => ISODateTimeStringSchema,
|
|
230
223
|
InvitationIdSchema: () => InvitationIdSchema,
|
|
231
224
|
InvitationListItemResponseSchema: () => InvitationListItemResponseSchema,
|
|
232
|
-
InvitationPostRequestSchema: () => InvitationPostRequestSchema,
|
|
233
225
|
InvitationRoomStageSchema: () => InvitationRoomStageSchema,
|
|
234
226
|
KakaoPlaceRawSchema: () => KakaoPlaceRawSchema,
|
|
235
227
|
LocationCandidateAddUpdateResponseSchema: () => LocationCandidateAddUpdateResponseSchema,
|
|
@@ -241,25 +233,25 @@ __export(domain_exports, {
|
|
|
241
233
|
MealStatusResponseSchema: () => MealStatusResponseSchema,
|
|
242
234
|
MealStatusSchema: () => MealStatusSchema,
|
|
243
235
|
MemberCoreSchema: () => MemberCoreSchema,
|
|
236
|
+
MemberDetailSchema: () => MemberDetailSchema,
|
|
237
|
+
MemberFoodPreferenceSchema: () => MemberFoodPreferenceSchema,
|
|
244
238
|
MemberIdSchema: () => MemberIdSchema,
|
|
245
239
|
MemberResponseSchema: () => MemberResponseSchema,
|
|
246
240
|
MemberRoleSchema: () => MemberRoleSchema,
|
|
247
|
-
|
|
241
|
+
MemberSearchQuerySchema: () => MemberSearchQuerySchema,
|
|
242
|
+
MemberSerachResponseSchema: () => MemberSerachResponseSchema,
|
|
248
243
|
MenuCodeSchema: () => MenuCodeSchema,
|
|
249
244
|
MenuPickUpdateResponseSchema: () => MenuPickUpdateResponseSchema,
|
|
250
245
|
MenuSchema: () => MenuSchema,
|
|
251
|
-
MonthProgressSchema: () => MonthProgressSchema,
|
|
252
246
|
NoBodySchema: () => NoBodySchema,
|
|
253
247
|
NoContentSchema: () => NoContentSchema,
|
|
254
248
|
NoParamsSchema: () => NoParamsSchema,
|
|
255
249
|
NoQuerySchema: () => NoQuerySchema,
|
|
256
250
|
NonEmptyStringIdSchema: () => NonEmptyStringIdSchema,
|
|
257
|
-
OnboardingPreferenceRequestSchema: () => OnboardingPreferenceRequestSchema,
|
|
258
|
-
OnboardingRequestSchema: () => OnboardingRequestSchema,
|
|
259
251
|
PageArticleSummaryResponseSchema: () => PageArticleSummaryResponseSchema,
|
|
260
|
-
|
|
252
|
+
PageMetaSchema: () => PageMetaSchema,
|
|
253
|
+
PageQuerySchema: () => PageQuerySchema,
|
|
261
254
|
PageResponseSchema: () => PageResponseSchema,
|
|
262
|
-
PageableObjectSchema: () => PageableObjectSchema,
|
|
263
255
|
ParticipantSchema: () => ParticipantSchema,
|
|
264
256
|
PhaseDataBroadcastSchema: () => PhaseDataBroadcastSchema,
|
|
265
257
|
PickDateRequestSchema: () => PickDateRequestSchema,
|
|
@@ -267,31 +259,29 @@ __export(domain_exports, {
|
|
|
267
259
|
PickRestaurantRequestSchema: () => PickRestaurantRequestSchema,
|
|
268
260
|
PickTimesRequestSchema: () => PickTimesRequestSchema,
|
|
269
261
|
PlanIdSchema: () => PlanIdSchema,
|
|
262
|
+
PlanListQuerySchema: () => PlanListQuerySchema,
|
|
270
263
|
PlanResponseSchema: () => PlanResponseSchema,
|
|
271
264
|
PlanStatusSchema: () => PlanStatusSchema,
|
|
272
265
|
PlanTypeSchema: () => PlanTypeSchema,
|
|
273
266
|
PositiveIntIdSchema: () => PositiveIntIdSchema,
|
|
274
|
-
|
|
275
|
-
|
|
267
|
+
PresignArticleResponseSchema: () => PresignArticleResponseSchema,
|
|
268
|
+
PresignProfileResponseSchema: () => PresignProfileResponseSchema,
|
|
276
269
|
ProfileDetailResponseSchema: () => ProfileDetailResponseSchema,
|
|
277
|
-
ProfilePreferenceItemSchema: () => ProfilePreferenceItemSchema,
|
|
278
270
|
ReadyStateChangedSchema: () => ReadyStateChangedSchema,
|
|
279
271
|
ReadyStateRequestSchema: () => ReadyStateRequestSchema,
|
|
280
272
|
RecruitIdSchema: () => RecruitIdSchema,
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
RecruitResponseSchema: () => RecruitResponseSchema,
|
|
273
|
+
RecruitListQuerySchema: () => RecruitListQuerySchema,
|
|
274
|
+
RecruitListResponseSchema: () => RecruitListResponseSchema,
|
|
284
275
|
RecruitRoomStageSchema: () => RecruitRoomStageSchema,
|
|
276
|
+
RecruitSortBySchema: () => RecruitSortBySchema,
|
|
285
277
|
RecruitStatusSchema: () => RecruitStatusSchema,
|
|
286
278
|
RedeemReferralRequestSchema: () => RedeemReferralRequestSchema,
|
|
287
279
|
ReferralCodeSchema: () => ReferralCodeSchema,
|
|
288
280
|
ReferralCreateResponseSchema: () => ReferralCreateResponseSchema,
|
|
289
281
|
ReferralItemResponseSchema: () => ReferralItemResponseSchema,
|
|
290
|
-
RejectInvitationResponseSchema: () => RejectInvitationResponseSchema,
|
|
291
282
|
RestaurantIdSchema: () => RestaurantIdSchema,
|
|
292
283
|
RestaurantPickUpdateResponseSchema: () => RestaurantPickUpdateResponseSchema,
|
|
293
284
|
RestaurantSchema: () => RestaurantSchema,
|
|
294
|
-
RewardTypeSchema: () => RewardTypeSchema,
|
|
295
285
|
RoomAssignedResponseSchema: () => RoomAssignedResponseSchema,
|
|
296
286
|
RoomIdSchema: () => RoomIdSchema,
|
|
297
287
|
RoomInitialStateSchema: () => RoomInitialStateSchema,
|
|
@@ -301,26 +291,32 @@ __export(domain_exports, {
|
|
|
301
291
|
SendInvitationResponseSchema: () => SendInvitationResponseSchema,
|
|
302
292
|
SignupRequestSchema: () => SignupRequestSchema,
|
|
303
293
|
SignupResponseSchema: () => SignupResponseSchema,
|
|
304
|
-
|
|
294
|
+
SortDirectionSchema: () => SortDirectionSchema,
|
|
305
295
|
SubscriptionIdSchema: () => SubscriptionIdSchema,
|
|
306
296
|
TimeHHmmStringSchema: () => TimeHHmmStringSchema,
|
|
307
297
|
TimePicksUpdateResponseSchema: () => TimePicksUpdateResponseSchema,
|
|
308
298
|
TokenResponseSchema: () => TokenResponseSchema,
|
|
309
299
|
UpdateMealStatusRequestSchema: () => UpdateMealStatusRequestSchema,
|
|
300
|
+
UpdatePreferenceRequestSchema: () => UpdatePreferenceRequestSchema,
|
|
310
301
|
UpdateProfileRequestSchema: () => UpdateProfileRequestSchema,
|
|
311
302
|
UserIdSchema: () => UserIdSchema,
|
|
312
303
|
VoteLocationRequestSchema: () => VoteLocationRequestSchema,
|
|
313
|
-
WeekProgressSchema: () => WeekProgressSchema,
|
|
314
304
|
apiContract: () => apiContract,
|
|
315
305
|
endpoint: () => endpoint,
|
|
316
306
|
makeApiResponseSchema: () => makeApiResponseSchema,
|
|
317
307
|
makeApiSuccessSchema: () => makeApiSuccessSchema,
|
|
318
308
|
toArticleId: () => toArticleId,
|
|
309
|
+
toCommentId: () => toCommentId,
|
|
310
|
+
toCouponId: () => toCouponId,
|
|
311
|
+
toFriendRequestId: () => toFriendRequestId,
|
|
319
312
|
toInvitationId: () => toInvitationId,
|
|
320
313
|
toMemberId: () => toMemberId,
|
|
314
|
+
toPlanId: () => toPlanId,
|
|
321
315
|
toRecruitId: () => toRecruitId,
|
|
316
|
+
toReferralCode: () => toReferralCode,
|
|
322
317
|
toRestaurantId: () => toRestaurantId,
|
|
323
|
-
toRoomId: () => toRoomId
|
|
318
|
+
toRoomId: () => toRoomId,
|
|
319
|
+
toSubscriptionId: () => toSubscriptionId
|
|
324
320
|
});
|
|
325
321
|
|
|
326
322
|
export {
|
|
@@ -1,45 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationCandidateSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M5OSCHMV.js";
|
|
4
4
|
import {
|
|
5
5
|
RestaurantSchema
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GTVEQYJW.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
ISODateTimeStringSchema
|
|
9
|
+
} from "./chunk-HRM3FQPL.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./chunk-
|
|
11
|
+
MemberCoreSchema
|
|
12
|
+
} from "./chunk-KRVEQVRC.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
TimeHHmmStringSchema
|
|
17
|
-
} from "./chunk-HRM3FQPL.js";
|
|
14
|
+
PlanIdSchema
|
|
15
|
+
} from "./chunk-H77ISYYC.js";
|
|
18
16
|
|
|
19
|
-
// src/domain/plan/
|
|
17
|
+
// src/domain/plan/plan.schema.ts
|
|
20
18
|
import { z } from "zod";
|
|
21
19
|
var PlanStatusSchema = z.enum(["PLANNING", "COMPLETED"]);
|
|
22
20
|
var PlanTypeSchema = z.enum(["RECRUIT", "INVITATION"]);
|
|
23
|
-
var CreatePlanRequestSchema = z.object({
|
|
24
|
-
meetingDate: ISODateStringSchema,
|
|
25
|
-
meetingTime: TimeHHmmStringSchema
|
|
26
|
-
});
|
|
27
21
|
var PlanResponseSchema = z.object({
|
|
28
22
|
planId: PlanIdSchema,
|
|
29
23
|
meetingAt: ISODateTimeStringSchema,
|
|
30
24
|
location: LocationCandidateSchema.nullable(),
|
|
31
25
|
restaurant: RestaurantSchema.nullable(),
|
|
32
|
-
author:
|
|
33
|
-
participants: z.array(
|
|
26
|
+
author: MemberCoreSchema,
|
|
27
|
+
participants: z.array(MemberCoreSchema),
|
|
34
28
|
status: PlanStatusSchema,
|
|
35
29
|
type: PlanTypeSchema,
|
|
36
30
|
createdAt: ISODateTimeStringSchema,
|
|
37
31
|
updatedAt: ISODateTimeStringSchema
|
|
38
32
|
});
|
|
33
|
+
var PlanListQuerySchema = z.object({});
|
|
39
34
|
|
|
40
35
|
export {
|
|
41
36
|
PlanStatusSchema,
|
|
42
37
|
PlanTypeSchema,
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
PlanResponseSchema,
|
|
39
|
+
PlanListQuerySchema
|
|
45
40
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
};
|