@kimdaegyu/babmukdang-shared 1.1.1 → 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-ET2Z5ZYA.js → chunk-GTVEQYJW.js} +1 -1
- package/dist/{chunk-4XAGRJUM.js → chunk-H77ISYYC.js} +0 -10
- package/dist/{chunk-JNJRBUKR.js → chunk-J76VB5SE.js} +1 -1
- package/dist/{chunk-XTBVYY5B.js → chunk-JEUH3JDZ.js} +31 -18
- package/dist/{chunk-ADIREWTX.js → chunk-KRVEQVRC.js} +1 -1
- package/dist/{chunk-NAPCX4Q6.js → chunk-M5OSCHMV.js} +3 -3
- package/dist/{chunk-XWTMYXPO.js → chunk-TY4WZEIZ.js} +3 -3
- package/dist/{chunk-YJ7RUOEJ.js → chunk-U6OQQOPN.js} +2 -2
- package/dist/{chunk-O56CI56W.js → chunk-UJJMW7II.js} +1 -1
- package/dist/{chunk-RHQHBUO4.js → chunk-VAWYU5JG.js} +1 -1
- package/dist/{chunk-AATETFLU.js → chunk-VWPUBTMV.js} +38 -26
- package/dist/{chunk-M7HH7FMO.js → chunk-W3YQYI4R.js} +4 -4
- package/dist/{chunk-5QLCZOPJ.js → chunk-YGFAVC5N.js} +1 -1
- package/dist/domain/article/index.js +4 -4
- package/dist/domain/auth/index.js +3 -3
- package/dist/domain/common/index.cjs +20 -2
- package/dist/domain/common/index.d.cts +1 -1
- package/dist/domain/common/index.d.ts +1 -1
- package/dist/domain/common/index.js +27 -15
- package/dist/domain/friend/index.js +3 -3
- package/dist/domain/index.cjs +20 -2
- package/dist/domain/index.d.cts +1 -1
- package/dist/domain/index.d.ts +1 -1
- package/dist/domain/index.js +39 -27
- package/dist/domain/invitation/index.js +2 -2
- package/dist/domain/meal/index.js +4 -4
- package/dist/domain/member/index.d.cts +1 -1
- package/dist/domain/member/index.d.ts +1 -1
- package/dist/domain/member/index.js +2 -2
- package/dist/domain/plan/index.js +6 -6
- package/dist/domain/promotion/index.js +2 -2
- package/dist/domain/recruit/index.js +13 -13
- package/dist/domain/restaurant/index.js +2 -2
- package/dist/domain/room/index.js +5 -5
- package/dist/{id-_a-oManb.d.cts → id-dAYxfjZn.d.cts} +7 -1
- package/dist/{id-_a-oManb.d.ts → id-dAYxfjZn.d.ts} +7 -1
- package/dist/{index-CqcSqpDV.d.ts → index-DAcw_a8p.d.ts} +8 -2
- package/dist/{index-HEHaDbrV.d.cts → index-DJJo4ejN.d.cts} +8 -2
- package/dist/index.cjs +13 -187
- package/dist/index.d.cts +9 -72
- package/dist/index.d.ts +9 -72
- package/dist/index.js +14 -181
- package/package.json +55 -55
package/dist/index.cjs
CHANGED
|
@@ -26,36 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var __decorateClass = (decorators, target, key, kind) => {
|
|
30
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
31
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
32
|
-
if (decorator = decorators[i])
|
|
33
|
-
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
34
|
-
if (kind && result) __defProp(target, key, result);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
29
|
|
|
38
30
|
// src/index.ts
|
|
39
31
|
var index_exports = {};
|
|
40
32
|
__export(index_exports, {
|
|
41
|
-
AnnouncementRequestDto: () => AnnouncementRequestDto,
|
|
42
|
-
AnnouncementResultRequestDto: () => AnnouncementResultRequestDto,
|
|
43
33
|
AnnouncementStageMap: () => AnnouncementStageMap,
|
|
44
|
-
ChatMessageRequestDtoServer: () => ChatMessageRequestDtoServer,
|
|
45
|
-
DatePicksRequestDtoServer: () => DatePicksRequestDtoServer,
|
|
46
|
-
ExcludeMenuRequestDtoServer: () => ExcludeMenuRequestDtoServer,
|
|
47
|
-
InvitationRequestDto: () => InvitationRequestDto,
|
|
48
|
-
InvitationResultRequestDto: () => InvitationResultRequestDto,
|
|
49
34
|
InvitationStageMap: () => InvitationStageMap,
|
|
50
|
-
LocationCandidateAddRequestDtoServer: () => LocationCandidateAddRequestDtoServer,
|
|
51
|
-
LocationCandidateVoteRequestDtoServer: () => LocationCandidateVoteRequestDtoServer,
|
|
52
|
-
MenuPickRequestDtoServer: () => MenuPickRequestDtoServer,
|
|
53
35
|
MenuRecommendationAIResponseDto: () => MenuRecommendationAIResponseDto,
|
|
54
|
-
ReadyStateRequestDtoServer: () => ReadyStateRequestDtoServer,
|
|
55
|
-
RestaurantPickRequestDtoServer: () => RestaurantPickRequestDtoServer,
|
|
56
36
|
RoomSocketClientEventSchemas: () => RoomSocketClientEventSchemas,
|
|
57
37
|
RoomSocketServerEventSchemas: () => RoomSocketServerEventSchemas,
|
|
58
|
-
TimePicksRequestDtoServer: () => TimePicksRequestDtoServer,
|
|
59
38
|
domain: () => domain_exports
|
|
60
39
|
});
|
|
61
40
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -196,11 +175,17 @@ __export(domain_exports, {
|
|
|
196
175
|
makeApiResponseSchema: () => makeApiResponseSchema,
|
|
197
176
|
makeApiSuccessSchema: () => makeApiSuccessSchema,
|
|
198
177
|
toArticleId: () => toArticleId,
|
|
178
|
+
toCommentId: () => toCommentId,
|
|
179
|
+
toCouponId: () => toCouponId,
|
|
180
|
+
toFriendRequestId: () => toFriendRequestId,
|
|
199
181
|
toInvitationId: () => toInvitationId,
|
|
200
182
|
toMemberId: () => toMemberId,
|
|
183
|
+
toPlanId: () => toPlanId,
|
|
201
184
|
toRecruitId: () => toRecruitId,
|
|
185
|
+
toReferralCode: () => toReferralCode,
|
|
202
186
|
toRestaurantId: () => toRestaurantId,
|
|
203
|
-
toRoomId: () => toRoomId
|
|
187
|
+
toRoomId: () => toRoomId,
|
|
188
|
+
toSubscriptionId: () => toSubscriptionId
|
|
204
189
|
});
|
|
205
190
|
|
|
206
191
|
// src/domain/article/article.schema.ts
|
|
@@ -863,6 +848,12 @@ var toRecruitId = (value) => RecruitIdSchema.parse(value);
|
|
|
863
848
|
var toInvitationId = (value) => InvitationIdSchema.parse(value);
|
|
864
849
|
var toRoomId = (value) => RoomIdSchema.parse(value);
|
|
865
850
|
var toRestaurantId = (value) => RestaurantIdSchema.parse(value);
|
|
851
|
+
var toCommentId = (value) => CommentIdSchema.parse(value);
|
|
852
|
+
var toPlanId = (value) => PlanIdSchema.parse(value);
|
|
853
|
+
var toCouponId = (value) => CouponIdSchema.parse(value);
|
|
854
|
+
var toSubscriptionId = (value) => SubscriptionIdSchema.parse(value);
|
|
855
|
+
var toFriendRequestId = (value) => FriendRequestIdSchema.parse(value);
|
|
856
|
+
var toReferralCode = (value) => ReferralCodeSchema.parse(value);
|
|
866
857
|
|
|
867
858
|
// src/types/matching/types.ts
|
|
868
859
|
var AnnouncementStageMap = {
|
|
@@ -1031,177 +1022,12 @@ var MenuRecommendationAIResponseDto = {
|
|
|
1031
1022
|
top_k: 10
|
|
1032
1023
|
}
|
|
1033
1024
|
};
|
|
1034
|
-
|
|
1035
|
-
// src/nest-adapters/matching/request.dto.ts
|
|
1036
|
-
var import_class_validator = require("class-validator");
|
|
1037
|
-
var RestaurantPickRequestDtoServer = class {
|
|
1038
|
-
};
|
|
1039
|
-
__decorateClass([
|
|
1040
|
-
(0, import_class_validator.IsString)(),
|
|
1041
|
-
(0, import_class_validator.IsNotEmpty)()
|
|
1042
|
-
], RestaurantPickRequestDtoServer.prototype, "restaurantId", 2);
|
|
1043
|
-
var DatePicksRequestDtoServer = class {
|
|
1044
|
-
};
|
|
1045
|
-
__decorateClass([
|
|
1046
|
-
(0, import_class_validator.IsArray)(),
|
|
1047
|
-
(0, import_class_validator.IsNotEmpty)()
|
|
1048
|
-
], DatePicksRequestDtoServer.prototype, "dates", 2);
|
|
1049
|
-
var TimePicksRequestDtoServer = class {
|
|
1050
|
-
};
|
|
1051
|
-
__decorateClass([
|
|
1052
|
-
(0, import_class_validator.IsArray)(),
|
|
1053
|
-
(0, import_class_validator.IsNotEmpty)()
|
|
1054
|
-
], TimePicksRequestDtoServer.prototype, "times", 2);
|
|
1055
|
-
var LocationCandidateAddRequestDtoServer = class {
|
|
1056
|
-
};
|
|
1057
|
-
__decorateClass([
|
|
1058
|
-
(0, import_class_validator.IsString)(),
|
|
1059
|
-
(0, import_class_validator.IsNotEmpty)()
|
|
1060
|
-
], LocationCandidateAddRequestDtoServer.prototype, "locationId", 2);
|
|
1061
|
-
__decorateClass([
|
|
1062
|
-
(0, import_class_validator.IsString)(),
|
|
1063
|
-
(0, import_class_validator.IsNotEmpty)()
|
|
1064
|
-
], LocationCandidateAddRequestDtoServer.prototype, "placeName", 2);
|
|
1065
|
-
__decorateClass([
|
|
1066
|
-
(0, import_class_validator.IsNumber)(),
|
|
1067
|
-
(0, import_class_validator.IsNotEmpty)()
|
|
1068
|
-
], LocationCandidateAddRequestDtoServer.prototype, "lat", 2);
|
|
1069
|
-
__decorateClass([
|
|
1070
|
-
(0, import_class_validator.IsNumber)(),
|
|
1071
|
-
(0, import_class_validator.IsNotEmpty)()
|
|
1072
|
-
], LocationCandidateAddRequestDtoServer.prototype, "lng", 2);
|
|
1073
|
-
__decorateClass([
|
|
1074
|
-
(0, import_class_validator.IsString)(),
|
|
1075
|
-
(0, import_class_validator.IsNotEmpty)()
|
|
1076
|
-
], LocationCandidateAddRequestDtoServer.prototype, "address", 2);
|
|
1077
|
-
var LocationCandidateVoteRequestDtoServer = class {
|
|
1078
|
-
};
|
|
1079
|
-
__decorateClass([
|
|
1080
|
-
(0, import_class_validator.IsString)(),
|
|
1081
|
-
(0, import_class_validator.IsNotEmpty)()
|
|
1082
|
-
], LocationCandidateVoteRequestDtoServer.prototype, "locationId", 2);
|
|
1083
|
-
var ExcludeMenuRequestDtoServer = class {
|
|
1084
|
-
};
|
|
1085
|
-
__decorateClass([
|
|
1086
|
-
(0, import_class_validator.IsNotEmpty)()
|
|
1087
|
-
], ExcludeMenuRequestDtoServer.prototype, "menu", 2);
|
|
1088
|
-
var MenuPickRequestDtoServer = class {
|
|
1089
|
-
};
|
|
1090
|
-
__decorateClass([
|
|
1091
|
-
(0, import_class_validator.IsString)(),
|
|
1092
|
-
(0, import_class_validator.IsNotEmpty)()
|
|
1093
|
-
], MenuPickRequestDtoServer.prototype, "menuCode", 2);
|
|
1094
|
-
var ChatMessageRequestDtoServer = class {
|
|
1095
|
-
};
|
|
1096
|
-
__decorateClass([
|
|
1097
|
-
(0, import_class_validator.IsString)(),
|
|
1098
|
-
(0, import_class_validator.IsNotEmpty)(),
|
|
1099
|
-
(0, import_class_validator.MaxLength)(500)
|
|
1100
|
-
], ChatMessageRequestDtoServer.prototype, "message", 2);
|
|
1101
|
-
var ReadyStateRequestDtoServer = class {
|
|
1102
|
-
};
|
|
1103
|
-
__decorateClass([
|
|
1104
|
-
(0, import_class_validator.IsBoolean)(),
|
|
1105
|
-
(0, import_class_validator.IsNotEmpty)()
|
|
1106
|
-
], ReadyStateRequestDtoServer.prototype, "isReady", 2);
|
|
1107
|
-
|
|
1108
|
-
// src/nest-adapters/matching/server-server.dto.ts
|
|
1109
|
-
var import_class_validator2 = require("class-validator");
|
|
1110
|
-
var AnnouncementRequestDto = class {
|
|
1111
|
-
};
|
|
1112
|
-
__decorateClass([
|
|
1113
|
-
(0, import_class_validator2.IsString)(),
|
|
1114
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1115
|
-
], AnnouncementRequestDto.prototype, "announcementId", 2);
|
|
1116
|
-
__decorateClass([
|
|
1117
|
-
(0, import_class_validator2.IsString)(),
|
|
1118
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1119
|
-
], AnnouncementRequestDto.prototype, "location", 2);
|
|
1120
|
-
__decorateClass([
|
|
1121
|
-
(0, import_class_validator2.IsString)(),
|
|
1122
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1123
|
-
], AnnouncementRequestDto.prototype, "meetingAt", 2);
|
|
1124
|
-
__decorateClass([
|
|
1125
|
-
(0, import_class_validator2.IsArray)(),
|
|
1126
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1127
|
-
], AnnouncementRequestDto.prototype, "participants", 2);
|
|
1128
|
-
__decorateClass([
|
|
1129
|
-
(0, import_class_validator2.IsArray)(),
|
|
1130
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1131
|
-
], AnnouncementRequestDto.prototype, "recentMenu", 2);
|
|
1132
|
-
var InvitationRequestDto = class {
|
|
1133
|
-
};
|
|
1134
|
-
__decorateClass([
|
|
1135
|
-
(0, import_class_validator2.IsString)(),
|
|
1136
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1137
|
-
], InvitationRequestDto.prototype, "invitationId", 2);
|
|
1138
|
-
__decorateClass([
|
|
1139
|
-
(0, import_class_validator2.IsArray)(),
|
|
1140
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1141
|
-
], InvitationRequestDto.prototype, "participants", 2);
|
|
1142
|
-
__decorateClass([
|
|
1143
|
-
(0, import_class_validator2.IsArray)(),
|
|
1144
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1145
|
-
], InvitationRequestDto.prototype, "recentMenu", 2);
|
|
1146
|
-
var AnnouncementResultRequestDto = class {
|
|
1147
|
-
};
|
|
1148
|
-
__decorateClass([
|
|
1149
|
-
(0, import_class_validator2.IsString)(),
|
|
1150
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1151
|
-
], AnnouncementResultRequestDto.prototype, "announcementId", 2);
|
|
1152
|
-
__decorateClass([
|
|
1153
|
-
(0, import_class_validator2.IsObject)(),
|
|
1154
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1155
|
-
], AnnouncementResultRequestDto.prototype, "location", 2);
|
|
1156
|
-
__decorateClass([
|
|
1157
|
-
(0, import_class_validator2.IsObject)(),
|
|
1158
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1159
|
-
], AnnouncementResultRequestDto.prototype, "menu", 2);
|
|
1160
|
-
__decorateClass([
|
|
1161
|
-
(0, import_class_validator2.IsObject)(),
|
|
1162
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1163
|
-
], AnnouncementResultRequestDto.prototype, "restaurant", 2);
|
|
1164
|
-
var InvitationResultRequestDto = class {
|
|
1165
|
-
};
|
|
1166
|
-
__decorateClass([
|
|
1167
|
-
(0, import_class_validator2.IsString)(),
|
|
1168
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1169
|
-
], InvitationResultRequestDto.prototype, "invitationId", 2);
|
|
1170
|
-
__decorateClass([
|
|
1171
|
-
(0, import_class_validator2.IsObject)(),
|
|
1172
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1173
|
-
], InvitationResultRequestDto.prototype, "location", 2);
|
|
1174
|
-
__decorateClass([
|
|
1175
|
-
(0, import_class_validator2.IsObject)(),
|
|
1176
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1177
|
-
], InvitationResultRequestDto.prototype, "menu", 2);
|
|
1178
|
-
__decorateClass([
|
|
1179
|
-
(0, import_class_validator2.IsString)(),
|
|
1180
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1181
|
-
], InvitationResultRequestDto.prototype, "meetingAt", 2);
|
|
1182
|
-
__decorateClass([
|
|
1183
|
-
(0, import_class_validator2.IsObject)(),
|
|
1184
|
-
(0, import_class_validator2.IsNotEmpty)()
|
|
1185
|
-
], InvitationResultRequestDto.prototype, "restaurant", 2);
|
|
1186
1025
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1187
1026
|
0 && (module.exports = {
|
|
1188
|
-
AnnouncementRequestDto,
|
|
1189
|
-
AnnouncementResultRequestDto,
|
|
1190
1027
|
AnnouncementStageMap,
|
|
1191
|
-
ChatMessageRequestDtoServer,
|
|
1192
|
-
DatePicksRequestDtoServer,
|
|
1193
|
-
ExcludeMenuRequestDtoServer,
|
|
1194
|
-
InvitationRequestDto,
|
|
1195
|
-
InvitationResultRequestDto,
|
|
1196
1028
|
InvitationStageMap,
|
|
1197
|
-
LocationCandidateAddRequestDtoServer,
|
|
1198
|
-
LocationCandidateVoteRequestDtoServer,
|
|
1199
|
-
MenuPickRequestDtoServer,
|
|
1200
1029
|
MenuRecommendationAIResponseDto,
|
|
1201
|
-
ReadyStateRequestDtoServer,
|
|
1202
|
-
RestaurantPickRequestDtoServer,
|
|
1203
1030
|
RoomSocketClientEventSchemas,
|
|
1204
1031
|
RoomSocketServerEventSchemas,
|
|
1205
|
-
TimePicksRequestDtoServer,
|
|
1206
1032
|
domain
|
|
1207
1033
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
export { i as domain } from './index-
|
|
1
|
+
export { i as domain } from './index-DJJo4ejN.cjs';
|
|
2
2
|
import { CreateRecruitRequest } from './domain/recruit/index.cjs';
|
|
3
3
|
export { CreateRecruitResponse as CreateRecruitResponseDto, RecruitListResponse as RecruitResponseDto, RecruitStatus } from './domain/recruit/index.cjs';
|
|
4
4
|
import { ProfileDetailResponse, MemberResponse } from './domain/member/index.cjs';
|
|
5
5
|
export { PresignProfileResponseSchema, MemberCore as RecruitParticipantDto, UpdateProfileRequest } from './domain/member/index.cjs';
|
|
6
|
-
import { M as MemberId, s as RestaurantId, u as RoomId } from './id-_a-oManb.cjs';
|
|
7
|
-
import { AnnouncementStage, InvitationRoomStage, Menu, LocationCandidate, ChatMessageResponse, PickTimesRequestSchema, PickDateRequestSchema, AddLocationCandidateRequestSchema, VoteLocationRequestSchema, ExcludeMenuRequestSchema, PickMenuRequestSchema, PickRestaurantRequestSchema, DatePicksUpdateResponseSchema, ExcludeMenuUpdateResponseSchema, LocationCandidateAddUpdateResponseSchema, LocationCandidateVoteUpdateResponseSchema, MenuPickUpdateResponseSchema, RestaurantPickUpdateResponseSchema, TimePicksUpdateResponseSchema, ChatMessageResponseSchema, ReadyStateChangedSchema, PhaseDataBroadcastSchema, RoomInitialStateSchema, LocationId, MenuCode, Participant, FinalState, RoomServerToClientEvents, RoomClientToServerEvents, ChatMessageRequest, ReadyStateRequest } from './domain/room/index.cjs';
|
|
8
|
-
export { RecruitRoomStage, RoomSocketClientEventSchemas, RoomSocketServerEventSchemas } from './domain/room/index.cjs';
|
|
9
|
-
import * as zod from 'zod';
|
|
10
|
-
import { z } from 'zod';
|
|
11
|
-
import { RestaurantResponse, KakaoPlaceRaw } from './domain/restaurant/index.cjs';
|
|
12
6
|
export { MealStatus, MealStatusAction, MealStatusResponse, UpdateMealStatusRequest } from './domain/meal/index.cjs';
|
|
13
7
|
export { AcceptInvitationResponse, CreateInvitationRequest, InvitationResponse, SendInvitationResponse } from './domain/invitation/index.cjs';
|
|
14
8
|
export { MeetingResponse, PlanResponse as PlanResponseDto, PlanStatus, PlanType } from './domain/plan/index.cjs';
|
|
15
9
|
export { ClaimChallengeRewardRequest, CouponResponse, CouponStatus, CouponType, RedeemReferralRequest, ReferralCreateResponse, ReferralItemResponse } from './domain/promotion/index.cjs';
|
|
16
10
|
import { ArticleSummaryResponse, CreateArticleRequest } from './domain/article/index.cjs';
|
|
17
11
|
export { ArticleDetailResponse as ArticleDetailResponseDto, CreateCommentRequest as CommentPostRequestDto, FoodAnalysisResult as FoodAnalysisResultDto, PageArticleSummaryResponse, PresignArticleResponse } from './domain/article/index.cjs';
|
|
12
|
+
import { M as MemberId, s as RestaurantId, u as RoomId } from './id-dAYxfjZn.cjs';
|
|
13
|
+
import { RestaurantResponse } from './domain/restaurant/index.cjs';
|
|
14
|
+
export { KakaoPlaceRaw as KakaoRestaurantResponseDto } from './domain/restaurant/index.cjs';
|
|
18
15
|
export { TokenResponse } from './domain/auth/index.cjs';
|
|
19
16
|
import { ISODateString } from './domain/common/index.cjs';
|
|
20
17
|
export { ApiFailure as ApiErrorResponse, ApiFailure, ApiResponse, ApiSuccess, BaseResponse, ISODateTimeString, NoContent, TimeHHmmString } from './domain/common/index.cjs';
|
|
18
|
+
import { AnnouncementStage, InvitationRoomStage, Menu, LocationCandidate, ChatMessageResponse, PickTimesRequestSchema, PickDateRequestSchema, AddLocationCandidateRequestSchema, VoteLocationRequestSchema, ExcludeMenuRequestSchema, PickMenuRequestSchema, PickRestaurantRequestSchema, DatePicksUpdateResponseSchema, ExcludeMenuUpdateResponseSchema, LocationCandidateAddUpdateResponseSchema, LocationCandidateVoteUpdateResponseSchema, MenuPickUpdateResponseSchema, RestaurantPickUpdateResponseSchema, TimePicksUpdateResponseSchema, ChatMessageResponseSchema, ReadyStateChangedSchema, PhaseDataBroadcastSchema, RoomInitialStateSchema, LocationId, MenuCode, Participant, FinalState, RoomServerToClientEvents, RoomClientToServerEvents } from './domain/room/index.cjs';
|
|
19
|
+
export { ChatMessageRequest as ChatMessageRequestDto, ReadyStateRequest as ReadyStateRequestDto, RecruitRoomStage, RoomSocketClientEventSchemas, RoomSocketServerEventSchemas } from './domain/room/index.cjs';
|
|
20
|
+
import * as zod from 'zod';
|
|
21
|
+
import { z } from 'zod';
|
|
21
22
|
import './domain/friend/index.cjs';
|
|
22
23
|
|
|
23
24
|
/** @deprecated Use ArticleSummaryResponseDto or ArticleDetailResponseDto. */
|
|
@@ -278,68 +279,4 @@ type MeetingParticipant = MemberResponse;
|
|
|
278
279
|
/** @deprecated Use RecruitRequestDto. */
|
|
279
280
|
type Recruit = CreateRecruitRequest;
|
|
280
281
|
|
|
281
|
-
|
|
282
|
-
restaurantId: RestaurantId;
|
|
283
|
-
}
|
|
284
|
-
declare class DatePicksRequestDtoServer implements DatePicksRequestDto {
|
|
285
|
-
dates: string[];
|
|
286
|
-
}
|
|
287
|
-
declare class TimePicksRequestDtoServer implements TimePicksRequestDto {
|
|
288
|
-
times: string[];
|
|
289
|
-
}
|
|
290
|
-
declare class LocationCandidateAddRequestDtoServer implements LocationCandidateAddRequestDto {
|
|
291
|
-
locationId: LocationId;
|
|
292
|
-
placeName: string;
|
|
293
|
-
lat: number;
|
|
294
|
-
lng: number;
|
|
295
|
-
address: string;
|
|
296
|
-
}
|
|
297
|
-
declare class LocationCandidateVoteRequestDtoServer implements LocationCandidateVoteRequestDto {
|
|
298
|
-
locationId: LocationId;
|
|
299
|
-
}
|
|
300
|
-
declare class ExcludeMenuRequestDtoServer implements ExcludeMenuRequestDto {
|
|
301
|
-
menu: Menu;
|
|
302
|
-
}
|
|
303
|
-
declare class MenuPickRequestDtoServer implements MenuPickRequestDto {
|
|
304
|
-
menuCode: MenuCode;
|
|
305
|
-
}
|
|
306
|
-
declare class ChatMessageRequestDtoServer implements ChatMessageRequest {
|
|
307
|
-
message: string;
|
|
308
|
-
}
|
|
309
|
-
declare class ReadyStateRequestDtoServer implements ReadyStateRequest {
|
|
310
|
-
isReady: boolean;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
declare class AnnouncementRequestDto {
|
|
314
|
-
announcementId: string;
|
|
315
|
-
location: string;
|
|
316
|
-
meetingAt: string;
|
|
317
|
-
participants: Participant[];
|
|
318
|
-
recentMenu: {
|
|
319
|
-
userId: string;
|
|
320
|
-
menu: Menu[];
|
|
321
|
-
}[];
|
|
322
|
-
}
|
|
323
|
-
declare class InvitationRequestDto {
|
|
324
|
-
invitationId: string;
|
|
325
|
-
participants: Participant[];
|
|
326
|
-
recentMenu: {
|
|
327
|
-
userId: string;
|
|
328
|
-
menu: Menu[];
|
|
329
|
-
}[];
|
|
330
|
-
}
|
|
331
|
-
declare class AnnouncementResultRequestDto {
|
|
332
|
-
announcementId: string;
|
|
333
|
-
location: LocationCandidate;
|
|
334
|
-
menu: Menu;
|
|
335
|
-
restaurant: KakaoPlaceRaw;
|
|
336
|
-
}
|
|
337
|
-
declare class InvitationResultRequestDto {
|
|
338
|
-
invitationId: string;
|
|
339
|
-
location: LocationCandidate;
|
|
340
|
-
menu: Menu;
|
|
341
|
-
meetingAt: string;
|
|
342
|
-
restaurant: KakaoPlaceRaw;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
export { AnnouncementRequestDto, AnnouncementResultRequestDto, AnnouncementStage, AnnouncementStageMap, type Article, CreateArticleRequest as ArticlePostRequestDto, ArticleSummaryResponse as ArticleSummaryResponseDto, type Category, type ChatMessage, ChatMessageRequest as ChatMessageRequestDto, ChatMessageRequestDtoServer, type ChatMessageResponseItem, RoomClientToServerEvents as ClientToServerEvents, type DateInitialState, type DatePicksRequestDto, DatePicksRequestDtoServer, type DatePicksUpdateResponseDto, type DateStore, type ExcludeMenuInitialState, type ExcludeMenuRequestDto, ExcludeMenuRequestDtoServer, type ExcludeMenuStore, type ExcludeMenuUpdateResponseDto, FinalState, ISODateString, type InitialStateEventPayloadMap, InvitationRequestDto, InvitationResultRequestDto, InvitationRoomStage as InvitationStage, InvitationStageMap, type Item, KakaoPlaceRaw as KakaoRestaurantResponseDto, type LegacyLocationCandidate, type LikePostResponseDto, type LocalNewsNoti, type LocationAddInitialState, LocationCandidate, type LocationCandidateAddRequestDto, LocationCandidateAddRequestDtoServer, type LocationCandidateAddUpdateResponseDto, type LocationCandidateVoteRequestDto, LocationCandidateVoteRequestDtoServer, type LocationCandidateVoteUpdateResponseDto, LocationId, type LocationStore, type LocationVoteInitialState, type MatchingInviteNoti, type MeetingParticipant, MemberResponse, type MemberScores, Menu, MenuCode, type MenuInitialState, type MenuPickRequestDto, MenuPickRequestDtoServer, type MenuPickUpdateResponseDto, MenuRecommendationAIResponseDto, type MenuStore, type Onboarding, type OnboardingPreferenceResponse, Participant, type PhaseDataBroadcastDto, type PreferenceSummaryResponse, ProfileDetailResponse, type ProfileResponse, type ReadyStateChangedDto, ReadyStateRequest as ReadyStateRequestDto, ReadyStateRequestDtoServer, type Recommendation, type Recruit, CreateRecruitRequest as RecruitRequestDto, RestaurantId, type RestaurantInitialState, type RestaurantPickRequestDto, RestaurantPickRequestDtoServer, type RestaurantPickUpdateResponseDto, type RestaurantPickUpdateResponseItem, RestaurantResponse, type RestaurantStore, type RoomInitialState, type RoomStore, RoomServerToClientEvents as ServerToClientEvents, type SocketClientEventMap, type SocketRequestHandlers, type SocketResponseHandlers, type SocketServerEventMap, type TimeInitialState, type TimePicksRequestDto, TimePicksRequestDtoServer, type TimePicksUpdateResponseDto, type TimeStore, type UploadAndPostVars, type UploadAndRegisterVars, MemberResponse as User, type UserMenuCategory, type WaitingInitialState };
|
|
282
|
+
export { AnnouncementStage, AnnouncementStageMap, type Article, CreateArticleRequest as ArticlePostRequestDto, ArticleSummaryResponse as ArticleSummaryResponseDto, type Category, type ChatMessage, type ChatMessageResponseItem, RoomClientToServerEvents as ClientToServerEvents, type DateInitialState, type DatePicksRequestDto, type DatePicksUpdateResponseDto, type DateStore, type ExcludeMenuInitialState, type ExcludeMenuRequestDto, type ExcludeMenuStore, type ExcludeMenuUpdateResponseDto, FinalState, ISODateString, type InitialStateEventPayloadMap, InvitationRoomStage as InvitationStage, InvitationStageMap, type Item, type LegacyLocationCandidate, type LikePostResponseDto, type LocalNewsNoti, type LocationAddInitialState, LocationCandidate, type LocationCandidateAddRequestDto, type LocationCandidateAddUpdateResponseDto, type LocationCandidateVoteRequestDto, type LocationCandidateVoteUpdateResponseDto, LocationId, type LocationStore, type LocationVoteInitialState, type MatchingInviteNoti, type MeetingParticipant, MemberResponse, type MemberScores, Menu, MenuCode, type MenuInitialState, type MenuPickRequestDto, type MenuPickUpdateResponseDto, MenuRecommendationAIResponseDto, type MenuStore, type Onboarding, type OnboardingPreferenceResponse, Participant, type PhaseDataBroadcastDto, type PreferenceSummaryResponse, ProfileDetailResponse, type ProfileResponse, type ReadyStateChangedDto, type Recommendation, type Recruit, CreateRecruitRequest as RecruitRequestDto, RestaurantId, type RestaurantInitialState, type RestaurantPickRequestDto, type RestaurantPickUpdateResponseDto, type RestaurantPickUpdateResponseItem, RestaurantResponse, type RestaurantStore, type RoomInitialState, type RoomStore, RoomServerToClientEvents as ServerToClientEvents, type SocketClientEventMap, type SocketRequestHandlers, type SocketResponseHandlers, type SocketServerEventMap, type TimeInitialState, type TimePicksRequestDto, type TimePicksUpdateResponseDto, type TimeStore, type UploadAndPostVars, type UploadAndRegisterVars, MemberResponse as User, type UserMenuCategory, type WaitingInitialState };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
export { i as domain } from './index-
|
|
1
|
+
export { i as domain } from './index-DAcw_a8p.js';
|
|
2
2
|
import { CreateRecruitRequest } from './domain/recruit/index.js';
|
|
3
3
|
export { CreateRecruitResponse as CreateRecruitResponseDto, RecruitListResponse as RecruitResponseDto, RecruitStatus } from './domain/recruit/index.js';
|
|
4
4
|
import { ProfileDetailResponse, MemberResponse } from './domain/member/index.js';
|
|
5
5
|
export { PresignProfileResponseSchema, MemberCore as RecruitParticipantDto, UpdateProfileRequest } from './domain/member/index.js';
|
|
6
|
-
import { M as MemberId, s as RestaurantId, u as RoomId } from './id-_a-oManb.js';
|
|
7
|
-
import { AnnouncementStage, InvitationRoomStage, Menu, LocationCandidate, ChatMessageResponse, PickTimesRequestSchema, PickDateRequestSchema, AddLocationCandidateRequestSchema, VoteLocationRequestSchema, ExcludeMenuRequestSchema, PickMenuRequestSchema, PickRestaurantRequestSchema, DatePicksUpdateResponseSchema, ExcludeMenuUpdateResponseSchema, LocationCandidateAddUpdateResponseSchema, LocationCandidateVoteUpdateResponseSchema, MenuPickUpdateResponseSchema, RestaurantPickUpdateResponseSchema, TimePicksUpdateResponseSchema, ChatMessageResponseSchema, ReadyStateChangedSchema, PhaseDataBroadcastSchema, RoomInitialStateSchema, LocationId, MenuCode, Participant, FinalState, RoomServerToClientEvents, RoomClientToServerEvents, ChatMessageRequest, ReadyStateRequest } from './domain/room/index.js';
|
|
8
|
-
export { RecruitRoomStage, RoomSocketClientEventSchemas, RoomSocketServerEventSchemas } from './domain/room/index.js';
|
|
9
|
-
import * as zod from 'zod';
|
|
10
|
-
import { z } from 'zod';
|
|
11
|
-
import { RestaurantResponse, KakaoPlaceRaw } from './domain/restaurant/index.js';
|
|
12
6
|
export { MealStatus, MealStatusAction, MealStatusResponse, UpdateMealStatusRequest } from './domain/meal/index.js';
|
|
13
7
|
export { AcceptInvitationResponse, CreateInvitationRequest, InvitationResponse, SendInvitationResponse } from './domain/invitation/index.js';
|
|
14
8
|
export { MeetingResponse, PlanResponse as PlanResponseDto, PlanStatus, PlanType } from './domain/plan/index.js';
|
|
15
9
|
export { ClaimChallengeRewardRequest, CouponResponse, CouponStatus, CouponType, RedeemReferralRequest, ReferralCreateResponse, ReferralItemResponse } from './domain/promotion/index.js';
|
|
16
10
|
import { ArticleSummaryResponse, CreateArticleRequest } from './domain/article/index.js';
|
|
17
11
|
export { ArticleDetailResponse as ArticleDetailResponseDto, CreateCommentRequest as CommentPostRequestDto, FoodAnalysisResult as FoodAnalysisResultDto, PageArticleSummaryResponse, PresignArticleResponse } from './domain/article/index.js';
|
|
12
|
+
import { M as MemberId, s as RestaurantId, u as RoomId } from './id-dAYxfjZn.js';
|
|
13
|
+
import { RestaurantResponse } from './domain/restaurant/index.js';
|
|
14
|
+
export { KakaoPlaceRaw as KakaoRestaurantResponseDto } from './domain/restaurant/index.js';
|
|
18
15
|
export { TokenResponse } from './domain/auth/index.js';
|
|
19
16
|
import { ISODateString } from './domain/common/index.js';
|
|
20
17
|
export { ApiFailure as ApiErrorResponse, ApiFailure, ApiResponse, ApiSuccess, BaseResponse, ISODateTimeString, NoContent, TimeHHmmString } from './domain/common/index.js';
|
|
18
|
+
import { AnnouncementStage, InvitationRoomStage, Menu, LocationCandidate, ChatMessageResponse, PickTimesRequestSchema, PickDateRequestSchema, AddLocationCandidateRequestSchema, VoteLocationRequestSchema, ExcludeMenuRequestSchema, PickMenuRequestSchema, PickRestaurantRequestSchema, DatePicksUpdateResponseSchema, ExcludeMenuUpdateResponseSchema, LocationCandidateAddUpdateResponseSchema, LocationCandidateVoteUpdateResponseSchema, MenuPickUpdateResponseSchema, RestaurantPickUpdateResponseSchema, TimePicksUpdateResponseSchema, ChatMessageResponseSchema, ReadyStateChangedSchema, PhaseDataBroadcastSchema, RoomInitialStateSchema, LocationId, MenuCode, Participant, FinalState, RoomServerToClientEvents, RoomClientToServerEvents } from './domain/room/index.js';
|
|
19
|
+
export { ChatMessageRequest as ChatMessageRequestDto, ReadyStateRequest as ReadyStateRequestDto, RecruitRoomStage, RoomSocketClientEventSchemas, RoomSocketServerEventSchemas } from './domain/room/index.js';
|
|
20
|
+
import * as zod from 'zod';
|
|
21
|
+
import { z } from 'zod';
|
|
21
22
|
import './domain/friend/index.js';
|
|
22
23
|
|
|
23
24
|
/** @deprecated Use ArticleSummaryResponseDto or ArticleDetailResponseDto. */
|
|
@@ -278,68 +279,4 @@ type MeetingParticipant = MemberResponse;
|
|
|
278
279
|
/** @deprecated Use RecruitRequestDto. */
|
|
279
280
|
type Recruit = CreateRecruitRequest;
|
|
280
281
|
|
|
281
|
-
|
|
282
|
-
restaurantId: RestaurantId;
|
|
283
|
-
}
|
|
284
|
-
declare class DatePicksRequestDtoServer implements DatePicksRequestDto {
|
|
285
|
-
dates: string[];
|
|
286
|
-
}
|
|
287
|
-
declare class TimePicksRequestDtoServer implements TimePicksRequestDto {
|
|
288
|
-
times: string[];
|
|
289
|
-
}
|
|
290
|
-
declare class LocationCandidateAddRequestDtoServer implements LocationCandidateAddRequestDto {
|
|
291
|
-
locationId: LocationId;
|
|
292
|
-
placeName: string;
|
|
293
|
-
lat: number;
|
|
294
|
-
lng: number;
|
|
295
|
-
address: string;
|
|
296
|
-
}
|
|
297
|
-
declare class LocationCandidateVoteRequestDtoServer implements LocationCandidateVoteRequestDto {
|
|
298
|
-
locationId: LocationId;
|
|
299
|
-
}
|
|
300
|
-
declare class ExcludeMenuRequestDtoServer implements ExcludeMenuRequestDto {
|
|
301
|
-
menu: Menu;
|
|
302
|
-
}
|
|
303
|
-
declare class MenuPickRequestDtoServer implements MenuPickRequestDto {
|
|
304
|
-
menuCode: MenuCode;
|
|
305
|
-
}
|
|
306
|
-
declare class ChatMessageRequestDtoServer implements ChatMessageRequest {
|
|
307
|
-
message: string;
|
|
308
|
-
}
|
|
309
|
-
declare class ReadyStateRequestDtoServer implements ReadyStateRequest {
|
|
310
|
-
isReady: boolean;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
declare class AnnouncementRequestDto {
|
|
314
|
-
announcementId: string;
|
|
315
|
-
location: string;
|
|
316
|
-
meetingAt: string;
|
|
317
|
-
participants: Participant[];
|
|
318
|
-
recentMenu: {
|
|
319
|
-
userId: string;
|
|
320
|
-
menu: Menu[];
|
|
321
|
-
}[];
|
|
322
|
-
}
|
|
323
|
-
declare class InvitationRequestDto {
|
|
324
|
-
invitationId: string;
|
|
325
|
-
participants: Participant[];
|
|
326
|
-
recentMenu: {
|
|
327
|
-
userId: string;
|
|
328
|
-
menu: Menu[];
|
|
329
|
-
}[];
|
|
330
|
-
}
|
|
331
|
-
declare class AnnouncementResultRequestDto {
|
|
332
|
-
announcementId: string;
|
|
333
|
-
location: LocationCandidate;
|
|
334
|
-
menu: Menu;
|
|
335
|
-
restaurant: KakaoPlaceRaw;
|
|
336
|
-
}
|
|
337
|
-
declare class InvitationResultRequestDto {
|
|
338
|
-
invitationId: string;
|
|
339
|
-
location: LocationCandidate;
|
|
340
|
-
menu: Menu;
|
|
341
|
-
meetingAt: string;
|
|
342
|
-
restaurant: KakaoPlaceRaw;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
export { AnnouncementRequestDto, AnnouncementResultRequestDto, AnnouncementStage, AnnouncementStageMap, type Article, CreateArticleRequest as ArticlePostRequestDto, ArticleSummaryResponse as ArticleSummaryResponseDto, type Category, type ChatMessage, ChatMessageRequest as ChatMessageRequestDto, ChatMessageRequestDtoServer, type ChatMessageResponseItem, RoomClientToServerEvents as ClientToServerEvents, type DateInitialState, type DatePicksRequestDto, DatePicksRequestDtoServer, type DatePicksUpdateResponseDto, type DateStore, type ExcludeMenuInitialState, type ExcludeMenuRequestDto, ExcludeMenuRequestDtoServer, type ExcludeMenuStore, type ExcludeMenuUpdateResponseDto, FinalState, ISODateString, type InitialStateEventPayloadMap, InvitationRequestDto, InvitationResultRequestDto, InvitationRoomStage as InvitationStage, InvitationStageMap, type Item, KakaoPlaceRaw as KakaoRestaurantResponseDto, type LegacyLocationCandidate, type LikePostResponseDto, type LocalNewsNoti, type LocationAddInitialState, LocationCandidate, type LocationCandidateAddRequestDto, LocationCandidateAddRequestDtoServer, type LocationCandidateAddUpdateResponseDto, type LocationCandidateVoteRequestDto, LocationCandidateVoteRequestDtoServer, type LocationCandidateVoteUpdateResponseDto, LocationId, type LocationStore, type LocationVoteInitialState, type MatchingInviteNoti, type MeetingParticipant, MemberResponse, type MemberScores, Menu, MenuCode, type MenuInitialState, type MenuPickRequestDto, MenuPickRequestDtoServer, type MenuPickUpdateResponseDto, MenuRecommendationAIResponseDto, type MenuStore, type Onboarding, type OnboardingPreferenceResponse, Participant, type PhaseDataBroadcastDto, type PreferenceSummaryResponse, ProfileDetailResponse, type ProfileResponse, type ReadyStateChangedDto, ReadyStateRequest as ReadyStateRequestDto, ReadyStateRequestDtoServer, type Recommendation, type Recruit, CreateRecruitRequest as RecruitRequestDto, RestaurantId, type RestaurantInitialState, type RestaurantPickRequestDto, RestaurantPickRequestDtoServer, type RestaurantPickUpdateResponseDto, type RestaurantPickUpdateResponseItem, RestaurantResponse, type RestaurantStore, type RoomInitialState, type RoomStore, RoomServerToClientEvents as ServerToClientEvents, type SocketClientEventMap, type SocketRequestHandlers, type SocketResponseHandlers, type SocketServerEventMap, type TimeInitialState, type TimePicksRequestDto, TimePicksRequestDtoServer, type TimePicksUpdateResponseDto, type TimeStore, type UploadAndPostVars, type UploadAndRegisterVars, MemberResponse as User, type UserMenuCategory, type WaitingInitialState };
|
|
282
|
+
export { AnnouncementStage, AnnouncementStageMap, type Article, CreateArticleRequest as ArticlePostRequestDto, ArticleSummaryResponse as ArticleSummaryResponseDto, type Category, type ChatMessage, type ChatMessageResponseItem, RoomClientToServerEvents as ClientToServerEvents, type DateInitialState, type DatePicksRequestDto, type DatePicksUpdateResponseDto, type DateStore, type ExcludeMenuInitialState, type ExcludeMenuRequestDto, type ExcludeMenuStore, type ExcludeMenuUpdateResponseDto, FinalState, ISODateString, type InitialStateEventPayloadMap, InvitationRoomStage as InvitationStage, InvitationStageMap, type Item, type LegacyLocationCandidate, type LikePostResponseDto, type LocalNewsNoti, type LocationAddInitialState, LocationCandidate, type LocationCandidateAddRequestDto, type LocationCandidateAddUpdateResponseDto, type LocationCandidateVoteRequestDto, type LocationCandidateVoteUpdateResponseDto, LocationId, type LocationStore, type LocationVoteInitialState, type MatchingInviteNoti, type MeetingParticipant, MemberResponse, type MemberScores, Menu, MenuCode, type MenuInitialState, type MenuPickRequestDto, type MenuPickUpdateResponseDto, MenuRecommendationAIResponseDto, type MenuStore, type Onboarding, type OnboardingPreferenceResponse, Participant, type PhaseDataBroadcastDto, type PreferenceSummaryResponse, ProfileDetailResponse, type ProfileResponse, type ReadyStateChangedDto, type Recommendation, type Recruit, CreateRecruitRequest as RecruitRequestDto, RestaurantId, type RestaurantInitialState, type RestaurantPickRequestDto, type RestaurantPickUpdateResponseDto, type RestaurantPickUpdateResponseItem, RestaurantResponse, type RestaurantStore, type RoomInitialState, type RoomStore, RoomServerToClientEvents as ServerToClientEvents, type SocketClientEventMap, type SocketRequestHandlers, type SocketResponseHandlers, type SocketServerEventMap, type TimeInitialState, type TimePicksRequestDto, type TimePicksUpdateResponseDto, type TimeStore, type UploadAndPostVars, type UploadAndRegisterVars, MemberResponse as User, type UserMenuCategory, type WaitingInitialState };
|