@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,17 @@
|
|
|
1
|
+
export { ArticleCoreSchema, ArticleDetailResponse, ArticleDetailResponseDto, ArticleDetailResponseSchema, ArticlePostRequest, ArticlePostRequestDto, ArticlePostRequestSchema, ArticleSummaryResponse, ArticleSummaryResponseDto, ArticleSummaryResponseSchema, CommentPostRequest, CommentPostRequestDto, CommentPostRequestSchema, CommentResponseSchema, CreateArticleResponse, CreateArticleResponseSchema, CreateCommentResponse, CreateCommentResponseSchema, FoodAnalysisResult, FoodAnalysisResultDto, FoodAnalysisResultSchema, PageArticleSummaryResponse, PageArticleSummaryResponseSchema, PresignArticleResponse, PresignProfileResponse, PresignUploadResponseSchema } from './article/index.cjs';
|
|
2
|
+
export { LoginRequest, LoginRequestSchema, SignupRequest, SignupRequestSchema, SignupResponse, SignupResponseSchema, TokenResponse, TokenResponseSchema } from './auth/index.cjs';
|
|
3
|
+
export { ChallengeStatusResponse, ChallengeStatusResponseSchema, ClaimChallengeRewardRequest, ClaimChallengeRewardRequestSchema, ClaimChallengeRewardResponse, ClaimChallengeRewardResponseSchema, MonthProgress, MonthProgressSchema, RewardType, RewardTypeSchema, WeekProgress, WeekProgressSchema } from './challenge/index.cjs';
|
|
4
|
+
export { ApiContract, ApiDomain, ApiFailure, ApiFailureSchema, ApiResponse, ApiResponseSchema, ApiSuccess, ApiSuccessSchema, AsyncMapperContract, BaseResponse, BodyOf, CreatedEntityIdResponse, CreatedEntityIdResponseSchema, CreatedIdResponse, CreatedIdResponseSchema, EndpointContract, EntityContract, HttpMethod, ISODateString, ISODateStringSchema, ISODateTimeString, ISODateTimeStringSchema, MapperContract, MapperInput, MapperOutput, NoBodySchema, NoContent, NoContentSchema, NoParamsSchema, NoQuerySchema, PageRequest, PageRequestSchema, PageResponse, PageResponseSchema, PageableObject, PageableObjectSchema, PathParamsOf, QueryOf, ResponseOf, SortObject, SortObjectSchema, TimeHHmmString, TimeHHmmStringSchema, apiContract, endpoint, makeApiResponseSchema, makeApiSuccessSchema } from './common/index.cjs';
|
|
5
|
+
export { A as ArticleId, a as ArticleIdSchema, B as Brand, C as CommentId, b as CommentIdSchema, c as CouponId, d as CouponIdSchema, F as FriendRequestId, e as FriendRequestIdSchema, I as InvitationId, f as InvitationIdSchema, M as MemberId, g as MemberIdSchema, N as NonEmptyStringIdSchema, P as PlanId, h as PlanIdSchema, i as PositiveIntIdSchema, R as RecruitId, j as RecruitIdSchema, k as ReferralCode, l as ReferralCodeSchema, m as RestaurantId, n as RestaurantIdSchema, o as RoomId, p as RoomIdSchema, S as SubscriptionId, q as SubscriptionIdSchema, U as UserId, r as UserIdSchema, t as toArticleId, s as toInvitationId, u as toMemberId, v as toRecruitId, w as toRestaurantId, x as toRoomId } from '../id-B-8M90Ef.cjs';
|
|
6
|
+
export { CouponResponse, CouponResponseSchema, CouponStatus, CouponStatusSchema, CouponType, CouponTypeSchema } from './coupon/index.cjs';
|
|
7
|
+
export { FriendActionRequest, FriendActionRequestSchema, FriendBlockItemResponse, FriendBlockItemResponseSchema, FriendListItemResponse, FriendListItemResponseSchema, FriendMealFilter, FriendMealFilterSchema, FriendMealItemResponse, FriendMealItemResponseSchema, FriendRequestItemResponse, FriendRequestItemResponseSchema, FriendRequestMemberSchema, FriendRequestStatus, FriendRequestStatusSchema } from './friend/index.cjs';
|
|
8
|
+
export { AcceptInvitationResponse, AcceptInvitationResponseSchema, InvitationListItemResponseSchema, InvitationPostRequest, InvitationPostRequestSchema, InvitationResponse, RejectInvitationResponse, RejectInvitationResponseSchema, SendInvitationResponse, SendInvitationResponseSchema } from './invitation/index.cjs';
|
|
9
|
+
export { MealStatus, MealStatusAction, MealStatusActionSchema, MealStatusResponse, MealStatusResponseSchema, MealStatusSchema, UpdateMealStatusRequest, UpdateMealStatusRequestSchema } from './meal/index.cjs';
|
|
10
|
+
export { AuthPrincipal, AuthPrincipalSchema, MemberCoreSchema, MemberResponse, MemberResponseSchema, MemberRole, MemberRoleSchema, MemberSummaryResponse, MemberSummaryResponseSchema, OnboardingPreferenceRequest, OnboardingPreferenceRequestSchema, OnboardingRequest, OnboardingRequestSchema, PreferenceMetaResponse, PreferenceMetaResponseSchema, ProfileDetailResponse, ProfileDetailResponseSchema, ProfilePreferenceItem, ProfilePreferenceItemSchema, UpdateProfileRequest, UpdateProfileRequestSchema, User } from './member/index.cjs';
|
|
11
|
+
export { CreatePlanRequest, CreatePlanRequestSchema, MeetingResponse, PlanResponse, PlanResponseDto, PlanResponseSchema, PlanStatus, PlanStatusSchema, PlanType, PlanTypeSchema } from './plan/index.cjs';
|
|
12
|
+
export { FoodPreferenceResponse, FoodPreferenceResponseDto, FoodPreferenceResponseSchema, FoodPreferenceType, FoodPreferenceTypeSchema } from './preference/index.cjs';
|
|
13
|
+
export { CreateRecruitResponse, CreateRecruitResponseDto, CreateRecruitResponseSchema, RecruitParticipant, RecruitParticipantDto, RecruitParticipantSchema, RecruitRequest, RecruitRequestDto, RecruitRequestSchema, RecruitResponse, RecruitResponseDto, RecruitResponseSchema, RecruitStatus, RecruitStatusSchema } from './recruit/index.cjs';
|
|
14
|
+
export { RedeemReferralRequest, RedeemReferralRequestSchema, ReferralCreateResponse, ReferralCreateResponseSchema, ReferralItemResponse, ReferralItemResponseSchema } from './referral/index.cjs';
|
|
15
|
+
export { KakaoPlaceRaw, KakaoPlaceRawSchema, KakaoRestaurantResponseDto, RestaurantDto, RestaurantResponse, RestaurantSchema } from './restaurant/index.cjs';
|
|
16
|
+
export { AddLocationCandidateRequestSchema, AnnouncementStage, ChatMessageRequest, ChatMessageRequestSchema, ChatMessageResponse, ChatMessageResponseSchema, ClientEventMapFromSchemas, ClientToServerEvents, DatePicksUpdateResponseSchema, ExcludeMenuRequestSchema, ExcludeMenuUpdateResponseSchema, FinalState, FinalStateSchema, InvitationRoomStage, InvitationRoomStageSchema, LocationCandidate, LocationCandidateAddUpdateResponseSchema, LocationCandidateSchema, LocationCandidateVoteUpdateResponseSchema, LocationId, LocationIdSchema, Menu, MenuCode, MenuCodeSchema, MenuPickUpdateResponseSchema, MenuSchema, Participant, ParticipantSchema, PhaseDataBroadcast, PhaseDataBroadcastSchema, PickDateRequestSchema, PickMenuRequestSchema, PickRestaurantRequestSchema, PickTimesRequestSchema, ReadyStateChangedSchema, ReadyStateRequest, ReadyStateRequestSchema, RecruitRoomStage, RecruitRoomStageSchema, RestaurantPickUpdateResponseSchema, RoomAssignedResponse, RoomAssignedResponseSchema, RoomClientToServerEvents, RoomInitialState, RoomInitialStateSchema, RoomServerToClientEvents, RoomSocketClientEventSchemas, RoomSocketError, RoomSocketErrorSchema, RoomSocketServerEventSchemas, ServerToClientEvents, TimePicksUpdateResponseSchema, VoteLocationRequestSchema } from './room/index.cjs';
|
|
17
|
+
import 'zod';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { ArticleCoreSchema, ArticleDetailResponse, ArticleDetailResponseDto, ArticleDetailResponseSchema, ArticlePostRequest, ArticlePostRequestDto, ArticlePostRequestSchema, ArticleSummaryResponse, ArticleSummaryResponseDto, ArticleSummaryResponseSchema, CommentPostRequest, CommentPostRequestDto, CommentPostRequestSchema, CommentResponseSchema, CreateArticleResponse, CreateArticleResponseSchema, CreateCommentResponse, CreateCommentResponseSchema, FoodAnalysisResult, FoodAnalysisResultDto, FoodAnalysisResultSchema, PageArticleSummaryResponse, PageArticleSummaryResponseSchema, PresignArticleResponse, PresignProfileResponse, PresignUploadResponseSchema } from './article/index.js';
|
|
2
|
+
export { LoginRequest, LoginRequestSchema, SignupRequest, SignupRequestSchema, SignupResponse, SignupResponseSchema, TokenResponse, TokenResponseSchema } from './auth/index.js';
|
|
3
|
+
export { ChallengeStatusResponse, ChallengeStatusResponseSchema, ClaimChallengeRewardRequest, ClaimChallengeRewardRequestSchema, ClaimChallengeRewardResponse, ClaimChallengeRewardResponseSchema, MonthProgress, MonthProgressSchema, RewardType, RewardTypeSchema, WeekProgress, WeekProgressSchema } from './challenge/index.js';
|
|
4
|
+
export { ApiContract, ApiDomain, ApiFailure, ApiFailureSchema, ApiResponse, ApiResponseSchema, ApiSuccess, ApiSuccessSchema, AsyncMapperContract, BaseResponse, BodyOf, CreatedEntityIdResponse, CreatedEntityIdResponseSchema, CreatedIdResponse, CreatedIdResponseSchema, EndpointContract, EntityContract, HttpMethod, ISODateString, ISODateStringSchema, ISODateTimeString, ISODateTimeStringSchema, MapperContract, MapperInput, MapperOutput, NoBodySchema, NoContent, NoContentSchema, NoParamsSchema, NoQuerySchema, PageRequest, PageRequestSchema, PageResponse, PageResponseSchema, PageableObject, PageableObjectSchema, PathParamsOf, QueryOf, ResponseOf, SortObject, SortObjectSchema, TimeHHmmString, TimeHHmmStringSchema, apiContract, endpoint, makeApiResponseSchema, makeApiSuccessSchema } from './common/index.js';
|
|
5
|
+
export { A as ArticleId, a as ArticleIdSchema, B as Brand, C as CommentId, b as CommentIdSchema, c as CouponId, d as CouponIdSchema, F as FriendRequestId, e as FriendRequestIdSchema, I as InvitationId, f as InvitationIdSchema, M as MemberId, g as MemberIdSchema, N as NonEmptyStringIdSchema, P as PlanId, h as PlanIdSchema, i as PositiveIntIdSchema, R as RecruitId, j as RecruitIdSchema, k as ReferralCode, l as ReferralCodeSchema, m as RestaurantId, n as RestaurantIdSchema, o as RoomId, p as RoomIdSchema, S as SubscriptionId, q as SubscriptionIdSchema, U as UserId, r as UserIdSchema, t as toArticleId, s as toInvitationId, u as toMemberId, v as toRecruitId, w as toRestaurantId, x as toRoomId } from '../id-B-8M90Ef.js';
|
|
6
|
+
export { CouponResponse, CouponResponseSchema, CouponStatus, CouponStatusSchema, CouponType, CouponTypeSchema } from './coupon/index.js';
|
|
7
|
+
export { FriendActionRequest, FriendActionRequestSchema, FriendBlockItemResponse, FriendBlockItemResponseSchema, FriendListItemResponse, FriendListItemResponseSchema, FriendMealFilter, FriendMealFilterSchema, FriendMealItemResponse, FriendMealItemResponseSchema, FriendRequestItemResponse, FriendRequestItemResponseSchema, FriendRequestMemberSchema, FriendRequestStatus, FriendRequestStatusSchema } from './friend/index.js';
|
|
8
|
+
export { AcceptInvitationResponse, AcceptInvitationResponseSchema, InvitationListItemResponseSchema, InvitationPostRequest, InvitationPostRequestSchema, InvitationResponse, RejectInvitationResponse, RejectInvitationResponseSchema, SendInvitationResponse, SendInvitationResponseSchema } from './invitation/index.js';
|
|
9
|
+
export { MealStatus, MealStatusAction, MealStatusActionSchema, MealStatusResponse, MealStatusResponseSchema, MealStatusSchema, UpdateMealStatusRequest, UpdateMealStatusRequestSchema } from './meal/index.js';
|
|
10
|
+
export { AuthPrincipal, AuthPrincipalSchema, MemberCoreSchema, MemberResponse, MemberResponseSchema, MemberRole, MemberRoleSchema, MemberSummaryResponse, MemberSummaryResponseSchema, OnboardingPreferenceRequest, OnboardingPreferenceRequestSchema, OnboardingRequest, OnboardingRequestSchema, PreferenceMetaResponse, PreferenceMetaResponseSchema, ProfileDetailResponse, ProfileDetailResponseSchema, ProfilePreferenceItem, ProfilePreferenceItemSchema, UpdateProfileRequest, UpdateProfileRequestSchema, User } from './member/index.js';
|
|
11
|
+
export { CreatePlanRequest, CreatePlanRequestSchema, MeetingResponse, PlanResponse, PlanResponseDto, PlanResponseSchema, PlanStatus, PlanStatusSchema, PlanType, PlanTypeSchema } from './plan/index.js';
|
|
12
|
+
export { FoodPreferenceResponse, FoodPreferenceResponseDto, FoodPreferenceResponseSchema, FoodPreferenceType, FoodPreferenceTypeSchema } from './preference/index.js';
|
|
13
|
+
export { CreateRecruitResponse, CreateRecruitResponseDto, CreateRecruitResponseSchema, RecruitParticipant, RecruitParticipantDto, RecruitParticipantSchema, RecruitRequest, RecruitRequestDto, RecruitRequestSchema, RecruitResponse, RecruitResponseDto, RecruitResponseSchema, RecruitStatus, RecruitStatusSchema } from './recruit/index.js';
|
|
14
|
+
export { RedeemReferralRequest, RedeemReferralRequestSchema, ReferralCreateResponse, ReferralCreateResponseSchema, ReferralItemResponse, ReferralItemResponseSchema } from './referral/index.js';
|
|
15
|
+
export { KakaoPlaceRaw, KakaoPlaceRawSchema, KakaoRestaurantResponseDto, RestaurantDto, RestaurantResponse, RestaurantSchema } from './restaurant/index.js';
|
|
16
|
+
export { AddLocationCandidateRequestSchema, AnnouncementStage, ChatMessageRequest, ChatMessageRequestSchema, ChatMessageResponse, ChatMessageResponseSchema, ClientEventMapFromSchemas, ClientToServerEvents, DatePicksUpdateResponseSchema, ExcludeMenuRequestSchema, ExcludeMenuUpdateResponseSchema, FinalState, FinalStateSchema, InvitationRoomStage, InvitationRoomStageSchema, LocationCandidate, LocationCandidateAddUpdateResponseSchema, LocationCandidateSchema, LocationCandidateVoteUpdateResponseSchema, LocationId, LocationIdSchema, Menu, MenuCode, MenuCodeSchema, MenuPickUpdateResponseSchema, MenuSchema, Participant, ParticipantSchema, PhaseDataBroadcast, PhaseDataBroadcastSchema, PickDateRequestSchema, PickMenuRequestSchema, PickRestaurantRequestSchema, PickTimesRequestSchema, ReadyStateChangedSchema, ReadyStateRequest, ReadyStateRequestSchema, RecruitRoomStage, RecruitRoomStageSchema, RestaurantPickUpdateResponseSchema, RoomAssignedResponse, RoomAssignedResponseSchema, RoomClientToServerEvents, RoomInitialState, RoomInitialStateSchema, RoomServerToClientEvents, RoomSocketClientEventSchemas, RoomSocketError, RoomSocketErrorSchema, RoomSocketServerEventSchemas, ServerToClientEvents, TimePicksUpdateResponseSchema, VoteLocationRequestSchema } from './room/index.js';
|
|
17
|
+
import 'zod';
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import "../chunk-2GRWCRTV.js";
|
|
2
|
+
import "../chunk-NCVWB52E.js";
|
|
3
|
+
import "../chunk-LCMNVWSP.js";
|
|
4
|
+
import "../chunk-PDGMGLYH.js";
|
|
5
|
+
import "../chunk-BVTYAILQ.js";
|
|
6
|
+
import "../chunk-34EKPNPX.js";
|
|
7
|
+
import "../chunk-TA4BB3UC.js";
|
|
8
|
+
import "../chunk-O6DYRCFN.js";
|
|
9
|
+
import "../chunk-JXYRJKRV.js";
|
|
10
|
+
import "../chunk-PFSZSKD5.js";
|
|
11
|
+
import "../chunk-IYCA6KHR.js";
|
|
12
|
+
import "../chunk-WNY6POLW.js";
|
|
13
|
+
import {
|
|
14
|
+
NoBodySchema,
|
|
15
|
+
NoParamsSchema,
|
|
16
|
+
NoQuerySchema,
|
|
17
|
+
apiContract,
|
|
18
|
+
endpoint,
|
|
19
|
+
makeApiResponseSchema,
|
|
20
|
+
makeApiSuccessSchema,
|
|
21
|
+
toArticleId,
|
|
22
|
+
toInvitationId,
|
|
23
|
+
toMemberId,
|
|
24
|
+
toRecruitId,
|
|
25
|
+
toRestaurantId,
|
|
26
|
+
toRoomId
|
|
27
|
+
} from "../chunk-Z2UFF3MA.js";
|
|
28
|
+
import {
|
|
29
|
+
AcceptInvitationResponseSchema,
|
|
30
|
+
ApiFailureSchema,
|
|
31
|
+
ApiResponseSchema,
|
|
32
|
+
ApiSuccessSchema,
|
|
33
|
+
CreatedEntityIdResponseSchema,
|
|
34
|
+
CreatedIdResponseSchema,
|
|
35
|
+
InvitationListItemResponseSchema,
|
|
36
|
+
InvitationPostRequestSchema,
|
|
37
|
+
NoContentSchema,
|
|
38
|
+
RejectInvitationResponseSchema,
|
|
39
|
+
SendInvitationResponseSchema
|
|
40
|
+
} from "../chunk-4DAOP35P.js";
|
|
41
|
+
import {
|
|
42
|
+
MealStatusActionSchema,
|
|
43
|
+
MealStatusResponseSchema,
|
|
44
|
+
MealStatusSchema,
|
|
45
|
+
UpdateMealStatusRequestSchema
|
|
46
|
+
} from "../chunk-7MGHUZXI.js";
|
|
47
|
+
import {
|
|
48
|
+
CreatePlanRequestSchema,
|
|
49
|
+
PlanResponseSchema,
|
|
50
|
+
PlanStatusSchema,
|
|
51
|
+
PlanTypeSchema
|
|
52
|
+
} from "../chunk-ZNAAA53X.js";
|
|
53
|
+
import {
|
|
54
|
+
FoodPreferenceResponseSchema,
|
|
55
|
+
FoodPreferenceTypeSchema
|
|
56
|
+
} from "../chunk-F24BT6H4.js";
|
|
57
|
+
import {
|
|
58
|
+
CreateRecruitResponseSchema,
|
|
59
|
+
RecruitParticipantSchema,
|
|
60
|
+
RecruitRequestSchema,
|
|
61
|
+
RecruitResponseSchema,
|
|
62
|
+
RecruitStatusSchema
|
|
63
|
+
} from "../chunk-2SJCUQNN.js";
|
|
64
|
+
import {
|
|
65
|
+
RedeemReferralRequestSchema,
|
|
66
|
+
ReferralCreateResponseSchema,
|
|
67
|
+
ReferralItemResponseSchema
|
|
68
|
+
} from "../chunk-ZSZ3ETY7.js";
|
|
69
|
+
import {
|
|
70
|
+
AddLocationCandidateRequestSchema,
|
|
71
|
+
ChatMessageRequestSchema,
|
|
72
|
+
ChatMessageResponseSchema,
|
|
73
|
+
DatePicksUpdateResponseSchema,
|
|
74
|
+
ExcludeMenuRequestSchema,
|
|
75
|
+
ExcludeMenuUpdateResponseSchema,
|
|
76
|
+
FinalStateSchema,
|
|
77
|
+
InvitationRoomStageSchema,
|
|
78
|
+
LocationCandidateAddUpdateResponseSchema,
|
|
79
|
+
LocationCandidateSchema,
|
|
80
|
+
LocationCandidateVoteUpdateResponseSchema,
|
|
81
|
+
LocationIdSchema,
|
|
82
|
+
MenuCodeSchema,
|
|
83
|
+
MenuPickUpdateResponseSchema,
|
|
84
|
+
MenuSchema,
|
|
85
|
+
ParticipantSchema,
|
|
86
|
+
PhaseDataBroadcastSchema,
|
|
87
|
+
PickDateRequestSchema,
|
|
88
|
+
PickMenuRequestSchema,
|
|
89
|
+
PickRestaurantRequestSchema,
|
|
90
|
+
PickTimesRequestSchema,
|
|
91
|
+
ReadyStateChangedSchema,
|
|
92
|
+
ReadyStateRequestSchema,
|
|
93
|
+
RecruitRoomStageSchema,
|
|
94
|
+
RestaurantPickUpdateResponseSchema,
|
|
95
|
+
RoomAssignedResponseSchema,
|
|
96
|
+
RoomInitialStateSchema,
|
|
97
|
+
RoomSocketClientEventSchemas,
|
|
98
|
+
RoomSocketErrorSchema,
|
|
99
|
+
RoomSocketServerEventSchemas,
|
|
100
|
+
TimePicksUpdateResponseSchema,
|
|
101
|
+
VoteLocationRequestSchema
|
|
102
|
+
} from "../chunk-EJKRR2MZ.js";
|
|
103
|
+
import {
|
|
104
|
+
ArticleCoreSchema,
|
|
105
|
+
ArticleDetailResponseSchema,
|
|
106
|
+
ArticlePostRequestSchema,
|
|
107
|
+
ArticleSummaryResponseSchema,
|
|
108
|
+
CommentPostRequestSchema,
|
|
109
|
+
CommentResponseSchema,
|
|
110
|
+
CreateArticleResponseSchema,
|
|
111
|
+
CreateCommentResponseSchema,
|
|
112
|
+
FoodAnalysisResultSchema,
|
|
113
|
+
PageArticleSummaryResponseSchema,
|
|
114
|
+
PageRequestSchema,
|
|
115
|
+
PageResponseSchema,
|
|
116
|
+
PageableObjectSchema,
|
|
117
|
+
PresignUploadResponseSchema,
|
|
118
|
+
SortObjectSchema
|
|
119
|
+
} from "../chunk-YVACD5IG.js";
|
|
120
|
+
import {
|
|
121
|
+
KakaoPlaceRawSchema,
|
|
122
|
+
RestaurantSchema
|
|
123
|
+
} from "../chunk-NW5O4R7M.js";
|
|
124
|
+
import {
|
|
125
|
+
LoginRequestSchema,
|
|
126
|
+
SignupRequestSchema,
|
|
127
|
+
SignupResponseSchema,
|
|
128
|
+
TokenResponseSchema
|
|
129
|
+
} from "../chunk-FCE6KXNO.js";
|
|
130
|
+
import "../chunk-UN7KYFMV.js";
|
|
131
|
+
import {
|
|
132
|
+
ChallengeStatusResponseSchema,
|
|
133
|
+
ClaimChallengeRewardRequestSchema,
|
|
134
|
+
ClaimChallengeRewardResponseSchema,
|
|
135
|
+
MonthProgressSchema,
|
|
136
|
+
RewardTypeSchema,
|
|
137
|
+
WeekProgressSchema
|
|
138
|
+
} from "../chunk-6NZPEF4K.js";
|
|
139
|
+
import "../chunk-3YMV26OY.js";
|
|
140
|
+
import {
|
|
141
|
+
FriendActionRequestSchema,
|
|
142
|
+
FriendBlockItemResponseSchema,
|
|
143
|
+
FriendListItemResponseSchema,
|
|
144
|
+
FriendMealFilterSchema,
|
|
145
|
+
FriendMealItemResponseSchema,
|
|
146
|
+
FriendRequestItemResponseSchema,
|
|
147
|
+
FriendRequestMemberSchema,
|
|
148
|
+
FriendRequestStatusSchema
|
|
149
|
+
} from "../chunk-JCN37ARR.js";
|
|
150
|
+
import {
|
|
151
|
+
AuthPrincipalSchema,
|
|
152
|
+
MemberCoreSchema,
|
|
153
|
+
MemberResponseSchema,
|
|
154
|
+
MemberRoleSchema,
|
|
155
|
+
MemberSummaryResponseSchema,
|
|
156
|
+
OnboardingPreferenceRequestSchema,
|
|
157
|
+
OnboardingRequestSchema,
|
|
158
|
+
PreferenceMetaResponseSchema,
|
|
159
|
+
ProfileDetailResponseSchema,
|
|
160
|
+
ProfilePreferenceItemSchema,
|
|
161
|
+
UpdateProfileRequestSchema
|
|
162
|
+
} from "../chunk-MP7TEKEI.js";
|
|
163
|
+
import "../chunk-35QGRA2X.js";
|
|
164
|
+
import {
|
|
165
|
+
CouponResponseSchema,
|
|
166
|
+
CouponStatusSchema,
|
|
167
|
+
CouponTypeSchema
|
|
168
|
+
} from "../chunk-IJMADVK5.js";
|
|
169
|
+
import {
|
|
170
|
+
ArticleIdSchema,
|
|
171
|
+
CommentIdSchema,
|
|
172
|
+
CouponIdSchema,
|
|
173
|
+
FriendRequestIdSchema,
|
|
174
|
+
InvitationIdSchema,
|
|
175
|
+
MemberIdSchema,
|
|
176
|
+
NonEmptyStringIdSchema,
|
|
177
|
+
PlanIdSchema,
|
|
178
|
+
PositiveIntIdSchema,
|
|
179
|
+
RecruitIdSchema,
|
|
180
|
+
ReferralCodeSchema,
|
|
181
|
+
RestaurantIdSchema,
|
|
182
|
+
RoomIdSchema,
|
|
183
|
+
SubscriptionIdSchema,
|
|
184
|
+
UserIdSchema
|
|
185
|
+
} from "../chunk-UFVPFUMI.js";
|
|
186
|
+
import {
|
|
187
|
+
ISODateStringSchema,
|
|
188
|
+
ISODateTimeStringSchema,
|
|
189
|
+
TimeHHmmStringSchema
|
|
190
|
+
} from "../chunk-HRM3FQPL.js";
|
|
191
|
+
import "../chunk-UXA4FHST.js";
|
|
192
|
+
export {
|
|
193
|
+
AcceptInvitationResponseSchema,
|
|
194
|
+
AddLocationCandidateRequestSchema,
|
|
195
|
+
ApiFailureSchema,
|
|
196
|
+
ApiResponseSchema,
|
|
197
|
+
ApiSuccessSchema,
|
|
198
|
+
ArticleCoreSchema,
|
|
199
|
+
ArticleDetailResponseSchema,
|
|
200
|
+
ArticleIdSchema,
|
|
201
|
+
ArticlePostRequestSchema,
|
|
202
|
+
ArticleSummaryResponseSchema,
|
|
203
|
+
AuthPrincipalSchema,
|
|
204
|
+
ChallengeStatusResponseSchema,
|
|
205
|
+
ChatMessageRequestSchema,
|
|
206
|
+
ChatMessageResponseSchema,
|
|
207
|
+
ClaimChallengeRewardRequestSchema,
|
|
208
|
+
ClaimChallengeRewardResponseSchema,
|
|
209
|
+
CommentIdSchema,
|
|
210
|
+
CommentPostRequestSchema,
|
|
211
|
+
CommentResponseSchema,
|
|
212
|
+
CouponIdSchema,
|
|
213
|
+
CouponResponseSchema,
|
|
214
|
+
CouponStatusSchema,
|
|
215
|
+
CouponTypeSchema,
|
|
216
|
+
CreateArticleResponseSchema,
|
|
217
|
+
CreateCommentResponseSchema,
|
|
218
|
+
CreatePlanRequestSchema,
|
|
219
|
+
CreateRecruitResponseSchema,
|
|
220
|
+
CreatedEntityIdResponseSchema,
|
|
221
|
+
CreatedIdResponseSchema,
|
|
222
|
+
DatePicksUpdateResponseSchema,
|
|
223
|
+
ExcludeMenuRequestSchema,
|
|
224
|
+
ExcludeMenuUpdateResponseSchema,
|
|
225
|
+
FinalStateSchema,
|
|
226
|
+
FoodAnalysisResultSchema,
|
|
227
|
+
FoodPreferenceResponseSchema,
|
|
228
|
+
FoodPreferenceTypeSchema,
|
|
229
|
+
FriendActionRequestSchema,
|
|
230
|
+
FriendBlockItemResponseSchema,
|
|
231
|
+
FriendListItemResponseSchema,
|
|
232
|
+
FriendMealFilterSchema,
|
|
233
|
+
FriendMealItemResponseSchema,
|
|
234
|
+
FriendRequestIdSchema,
|
|
235
|
+
FriendRequestItemResponseSchema,
|
|
236
|
+
FriendRequestMemberSchema,
|
|
237
|
+
FriendRequestStatusSchema,
|
|
238
|
+
ISODateStringSchema,
|
|
239
|
+
ISODateTimeStringSchema,
|
|
240
|
+
InvitationIdSchema,
|
|
241
|
+
InvitationListItemResponseSchema,
|
|
242
|
+
InvitationPostRequestSchema,
|
|
243
|
+
InvitationRoomStageSchema,
|
|
244
|
+
KakaoPlaceRawSchema,
|
|
245
|
+
LocationCandidateAddUpdateResponseSchema,
|
|
246
|
+
LocationCandidateSchema,
|
|
247
|
+
LocationCandidateVoteUpdateResponseSchema,
|
|
248
|
+
LocationIdSchema,
|
|
249
|
+
LoginRequestSchema,
|
|
250
|
+
MealStatusActionSchema,
|
|
251
|
+
MealStatusResponseSchema,
|
|
252
|
+
MealStatusSchema,
|
|
253
|
+
MemberCoreSchema,
|
|
254
|
+
MemberIdSchema,
|
|
255
|
+
MemberResponseSchema,
|
|
256
|
+
MemberRoleSchema,
|
|
257
|
+
MemberSummaryResponseSchema,
|
|
258
|
+
MenuCodeSchema,
|
|
259
|
+
MenuPickUpdateResponseSchema,
|
|
260
|
+
MenuSchema,
|
|
261
|
+
MonthProgressSchema,
|
|
262
|
+
NoBodySchema,
|
|
263
|
+
NoContentSchema,
|
|
264
|
+
NoParamsSchema,
|
|
265
|
+
NoQuerySchema,
|
|
266
|
+
NonEmptyStringIdSchema,
|
|
267
|
+
OnboardingPreferenceRequestSchema,
|
|
268
|
+
OnboardingRequestSchema,
|
|
269
|
+
PageArticleSummaryResponseSchema,
|
|
270
|
+
PageRequestSchema,
|
|
271
|
+
PageResponseSchema,
|
|
272
|
+
PageableObjectSchema,
|
|
273
|
+
ParticipantSchema,
|
|
274
|
+
PhaseDataBroadcastSchema,
|
|
275
|
+
PickDateRequestSchema,
|
|
276
|
+
PickMenuRequestSchema,
|
|
277
|
+
PickRestaurantRequestSchema,
|
|
278
|
+
PickTimesRequestSchema,
|
|
279
|
+
PlanIdSchema,
|
|
280
|
+
PlanResponseSchema,
|
|
281
|
+
PlanStatusSchema,
|
|
282
|
+
PlanTypeSchema,
|
|
283
|
+
PositiveIntIdSchema,
|
|
284
|
+
PreferenceMetaResponseSchema,
|
|
285
|
+
PresignUploadResponseSchema,
|
|
286
|
+
ProfileDetailResponseSchema,
|
|
287
|
+
ProfilePreferenceItemSchema,
|
|
288
|
+
ReadyStateChangedSchema,
|
|
289
|
+
ReadyStateRequestSchema,
|
|
290
|
+
RecruitIdSchema,
|
|
291
|
+
RecruitParticipantSchema,
|
|
292
|
+
RecruitRequestSchema,
|
|
293
|
+
RecruitResponseSchema,
|
|
294
|
+
RecruitRoomStageSchema,
|
|
295
|
+
RecruitStatusSchema,
|
|
296
|
+
RedeemReferralRequestSchema,
|
|
297
|
+
ReferralCodeSchema,
|
|
298
|
+
ReferralCreateResponseSchema,
|
|
299
|
+
ReferralItemResponseSchema,
|
|
300
|
+
RejectInvitationResponseSchema,
|
|
301
|
+
RestaurantIdSchema,
|
|
302
|
+
RestaurantPickUpdateResponseSchema,
|
|
303
|
+
RestaurantSchema,
|
|
304
|
+
RewardTypeSchema,
|
|
305
|
+
RoomAssignedResponseSchema,
|
|
306
|
+
RoomIdSchema,
|
|
307
|
+
RoomInitialStateSchema,
|
|
308
|
+
RoomSocketClientEventSchemas,
|
|
309
|
+
RoomSocketErrorSchema,
|
|
310
|
+
RoomSocketServerEventSchemas,
|
|
311
|
+
SendInvitationResponseSchema,
|
|
312
|
+
SignupRequestSchema,
|
|
313
|
+
SignupResponseSchema,
|
|
314
|
+
SortObjectSchema,
|
|
315
|
+
SubscriptionIdSchema,
|
|
316
|
+
TimeHHmmStringSchema,
|
|
317
|
+
TimePicksUpdateResponseSchema,
|
|
318
|
+
TokenResponseSchema,
|
|
319
|
+
UpdateMealStatusRequestSchema,
|
|
320
|
+
UpdateProfileRequestSchema,
|
|
321
|
+
UserIdSchema,
|
|
322
|
+
VoteLocationRequestSchema,
|
|
323
|
+
WeekProgressSchema,
|
|
324
|
+
apiContract,
|
|
325
|
+
endpoint,
|
|
326
|
+
makeApiResponseSchema,
|
|
327
|
+
makeApiSuccessSchema,
|
|
328
|
+
toArticleId,
|
|
329
|
+
toInvitationId,
|
|
330
|
+
toMemberId,
|
|
331
|
+
toRecruitId,
|
|
332
|
+
toRestaurantId,
|
|
333
|
+
toRoomId
|
|
334
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
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/invitation/index.ts
|
|
21
|
+
var invitation_exports = {};
|
|
22
|
+
__export(invitation_exports, {
|
|
23
|
+
AcceptInvitationResponseSchema: () => AcceptInvitationResponseSchema,
|
|
24
|
+
InvitationListItemResponseSchema: () => InvitationListItemResponseSchema,
|
|
25
|
+
InvitationPostRequestSchema: () => InvitationPostRequestSchema,
|
|
26
|
+
RejectInvitationResponseSchema: () => RejectInvitationResponseSchema,
|
|
27
|
+
SendInvitationResponseSchema: () => SendInvitationResponseSchema
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(invitation_exports);
|
|
30
|
+
|
|
31
|
+
// src/domain/invitation/schema/invitation.schema.ts
|
|
32
|
+
var import_zod3 = require("zod");
|
|
33
|
+
|
|
34
|
+
// src/domain/common/schema/id.schema.ts
|
|
35
|
+
var import_zod = require("zod");
|
|
36
|
+
var PositiveIntIdSchema = import_zod.z.number().int().positive();
|
|
37
|
+
var NonEmptyStringIdSchema = import_zod.z.string().min(1);
|
|
38
|
+
var MemberIdSchema = PositiveIntIdSchema.brand();
|
|
39
|
+
var ArticleIdSchema = PositiveIntIdSchema.brand();
|
|
40
|
+
var CommentIdSchema = PositiveIntIdSchema.brand();
|
|
41
|
+
var RecruitIdSchema = PositiveIntIdSchema.brand();
|
|
42
|
+
var PlanIdSchema = PositiveIntIdSchema.brand();
|
|
43
|
+
var InvitationIdSchema = PositiveIntIdSchema.brand();
|
|
44
|
+
var RoomIdSchema = NonEmptyStringIdSchema.brand();
|
|
45
|
+
var RestaurantIdSchema = NonEmptyStringIdSchema.brand();
|
|
46
|
+
var CouponIdSchema = PositiveIntIdSchema.brand();
|
|
47
|
+
var SubscriptionIdSchema = PositiveIntIdSchema.brand();
|
|
48
|
+
var FriendRequestIdSchema = PositiveIntIdSchema.brand();
|
|
49
|
+
var ReferralCodeSchema = import_zod.z.string().min(4).max(64).brand();
|
|
50
|
+
|
|
51
|
+
// src/domain/common/schema/envelope.schema.ts
|
|
52
|
+
var import_zod2 = require("zod");
|
|
53
|
+
var NoContentSchema = import_zod2.z.null();
|
|
54
|
+
var ApiFailureSchema = import_zod2.z.object({
|
|
55
|
+
success: import_zod2.z.literal(false),
|
|
56
|
+
status: import_zod2.z.number().int(),
|
|
57
|
+
code: import_zod2.z.string(),
|
|
58
|
+
message: import_zod2.z.string()
|
|
59
|
+
});
|
|
60
|
+
var CreatedIdResponseSchema = import_zod2.z.object({
|
|
61
|
+
id: import_zod2.z.number().int().positive()
|
|
62
|
+
});
|
|
63
|
+
var CreatedEntityIdResponseSchema = import_zod2.z.object({
|
|
64
|
+
entity: import_zod2.z.enum([
|
|
65
|
+
"article",
|
|
66
|
+
"comment",
|
|
67
|
+
"recruit",
|
|
68
|
+
"invitation",
|
|
69
|
+
"subscription",
|
|
70
|
+
"coupon",
|
|
71
|
+
"plan"
|
|
72
|
+
]),
|
|
73
|
+
id: import_zod2.z.number().int().positive()
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
// src/domain/invitation/schema/invitation.schema.ts
|
|
77
|
+
var InvitationPostRequestSchema = import_zod3.z.object({
|
|
78
|
+
inviteeId: MemberIdSchema,
|
|
79
|
+
message: import_zod3.z.string().min(1).max(500)
|
|
80
|
+
});
|
|
81
|
+
var InvitationListItemResponseSchema = import_zod3.z.object({
|
|
82
|
+
invitationId: InvitationIdSchema,
|
|
83
|
+
inviterName: import_zod3.z.string(),
|
|
84
|
+
inviterProfileImageUrl: import_zod3.z.string().url().nullable().optional()
|
|
85
|
+
});
|
|
86
|
+
var SendInvitationResponseSchema = import_zod3.z.object({
|
|
87
|
+
invitationId: InvitationIdSchema
|
|
88
|
+
});
|
|
89
|
+
var AcceptInvitationResponseSchema = import_zod3.z.object({
|
|
90
|
+
invitationId: InvitationIdSchema,
|
|
91
|
+
room: import_zod3.z.object({
|
|
92
|
+
type: import_zod3.z.literal("invitation"),
|
|
93
|
+
roomId: RoomIdSchema
|
|
94
|
+
})
|
|
95
|
+
});
|
|
96
|
+
var RejectInvitationResponseSchema = NoContentSchema;
|
|
97
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
98
|
+
0 && (module.exports = {
|
|
99
|
+
AcceptInvitationResponseSchema,
|
|
100
|
+
InvitationListItemResponseSchema,
|
|
101
|
+
InvitationPostRequestSchema,
|
|
102
|
+
RejectInvitationResponseSchema,
|
|
103
|
+
SendInvitationResponseSchema
|
|
104
|
+
});
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const InvitationPostRequestSchema: z.ZodObject<{
|
|
4
|
+
inviteeId: z.ZodBranded<z.ZodNumber, "MemberId">;
|
|
5
|
+
message: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
message: string;
|
|
8
|
+
inviteeId: number & z.BRAND<"MemberId">;
|
|
9
|
+
}, {
|
|
10
|
+
message: string;
|
|
11
|
+
inviteeId: number;
|
|
12
|
+
}>;
|
|
13
|
+
declare const InvitationListItemResponseSchema: z.ZodObject<{
|
|
14
|
+
invitationId: z.ZodBranded<z.ZodNumber, "InvitationId">;
|
|
15
|
+
inviterName: z.ZodString;
|
|
16
|
+
inviterProfileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
invitationId: number & z.BRAND<"InvitationId">;
|
|
19
|
+
inviterName: string;
|
|
20
|
+
inviterProfileImageUrl?: string | null | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
invitationId: number;
|
|
23
|
+
inviterName: string;
|
|
24
|
+
inviterProfileImageUrl?: string | null | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
declare const SendInvitationResponseSchema: z.ZodObject<{
|
|
27
|
+
invitationId: z.ZodBranded<z.ZodNumber, "InvitationId">;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
invitationId: number & z.BRAND<"InvitationId">;
|
|
30
|
+
}, {
|
|
31
|
+
invitationId: number;
|
|
32
|
+
}>;
|
|
33
|
+
declare const AcceptInvitationResponseSchema: z.ZodObject<{
|
|
34
|
+
invitationId: z.ZodBranded<z.ZodNumber, "InvitationId">;
|
|
35
|
+
room: z.ZodObject<{
|
|
36
|
+
type: z.ZodLiteral<"invitation">;
|
|
37
|
+
roomId: z.ZodBranded<z.ZodString, "RoomId">;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
type: "invitation";
|
|
40
|
+
roomId: string & z.BRAND<"RoomId">;
|
|
41
|
+
}, {
|
|
42
|
+
type: "invitation";
|
|
43
|
+
roomId: string;
|
|
44
|
+
}>;
|
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
invitationId: number & z.BRAND<"InvitationId">;
|
|
47
|
+
room: {
|
|
48
|
+
type: "invitation";
|
|
49
|
+
roomId: string & z.BRAND<"RoomId">;
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
invitationId: number;
|
|
53
|
+
room: {
|
|
54
|
+
type: "invitation";
|
|
55
|
+
roomId: string;
|
|
56
|
+
};
|
|
57
|
+
}>;
|
|
58
|
+
declare const RejectInvitationResponseSchema: z.ZodNull;
|
|
59
|
+
|
|
60
|
+
type InvitationPostRequest = z.infer<typeof InvitationPostRequestSchema>;
|
|
61
|
+
|
|
62
|
+
type InvitationResponse = z.infer<typeof InvitationListItemResponseSchema>;
|
|
63
|
+
type SendInvitationResponse = z.infer<typeof SendInvitationResponseSchema>;
|
|
64
|
+
type AcceptInvitationResponse = z.infer<typeof AcceptInvitationResponseSchema>;
|
|
65
|
+
type RejectInvitationResponse = z.infer<typeof RejectInvitationResponseSchema>;
|
|
66
|
+
|
|
67
|
+
export { type AcceptInvitationResponse, AcceptInvitationResponseSchema, InvitationListItemResponseSchema, type InvitationPostRequest, InvitationPostRequestSchema, type InvitationResponse, type RejectInvitationResponse, RejectInvitationResponseSchema, type SendInvitationResponse, SendInvitationResponseSchema };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const InvitationPostRequestSchema: z.ZodObject<{
|
|
4
|
+
inviteeId: z.ZodBranded<z.ZodNumber, "MemberId">;
|
|
5
|
+
message: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
message: string;
|
|
8
|
+
inviteeId: number & z.BRAND<"MemberId">;
|
|
9
|
+
}, {
|
|
10
|
+
message: string;
|
|
11
|
+
inviteeId: number;
|
|
12
|
+
}>;
|
|
13
|
+
declare const InvitationListItemResponseSchema: z.ZodObject<{
|
|
14
|
+
invitationId: z.ZodBranded<z.ZodNumber, "InvitationId">;
|
|
15
|
+
inviterName: z.ZodString;
|
|
16
|
+
inviterProfileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
invitationId: number & z.BRAND<"InvitationId">;
|
|
19
|
+
inviterName: string;
|
|
20
|
+
inviterProfileImageUrl?: string | null | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
invitationId: number;
|
|
23
|
+
inviterName: string;
|
|
24
|
+
inviterProfileImageUrl?: string | null | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
declare const SendInvitationResponseSchema: z.ZodObject<{
|
|
27
|
+
invitationId: z.ZodBranded<z.ZodNumber, "InvitationId">;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
invitationId: number & z.BRAND<"InvitationId">;
|
|
30
|
+
}, {
|
|
31
|
+
invitationId: number;
|
|
32
|
+
}>;
|
|
33
|
+
declare const AcceptInvitationResponseSchema: z.ZodObject<{
|
|
34
|
+
invitationId: z.ZodBranded<z.ZodNumber, "InvitationId">;
|
|
35
|
+
room: z.ZodObject<{
|
|
36
|
+
type: z.ZodLiteral<"invitation">;
|
|
37
|
+
roomId: z.ZodBranded<z.ZodString, "RoomId">;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
type: "invitation";
|
|
40
|
+
roomId: string & z.BRAND<"RoomId">;
|
|
41
|
+
}, {
|
|
42
|
+
type: "invitation";
|
|
43
|
+
roomId: string;
|
|
44
|
+
}>;
|
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
invitationId: number & z.BRAND<"InvitationId">;
|
|
47
|
+
room: {
|
|
48
|
+
type: "invitation";
|
|
49
|
+
roomId: string & z.BRAND<"RoomId">;
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
invitationId: number;
|
|
53
|
+
room: {
|
|
54
|
+
type: "invitation";
|
|
55
|
+
roomId: string;
|
|
56
|
+
};
|
|
57
|
+
}>;
|
|
58
|
+
declare const RejectInvitationResponseSchema: z.ZodNull;
|
|
59
|
+
|
|
60
|
+
type InvitationPostRequest = z.infer<typeof InvitationPostRequestSchema>;
|
|
61
|
+
|
|
62
|
+
type InvitationResponse = z.infer<typeof InvitationListItemResponseSchema>;
|
|
63
|
+
type SendInvitationResponse = z.infer<typeof SendInvitationResponseSchema>;
|
|
64
|
+
type AcceptInvitationResponse = z.infer<typeof AcceptInvitationResponseSchema>;
|
|
65
|
+
type RejectInvitationResponse = z.infer<typeof RejectInvitationResponseSchema>;
|
|
66
|
+
|
|
67
|
+
export { type AcceptInvitationResponse, AcceptInvitationResponseSchema, InvitationListItemResponseSchema, type InvitationPostRequest, InvitationPostRequestSchema, type InvitationResponse, type RejectInvitationResponse, RejectInvitationResponseSchema, type SendInvitationResponse, SendInvitationResponseSchema };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "../../chunk-LCMNVWSP.js";
|
|
2
|
+
import {
|
|
3
|
+
AcceptInvitationResponseSchema,
|
|
4
|
+
InvitationListItemResponseSchema,
|
|
5
|
+
InvitationPostRequestSchema,
|
|
6
|
+
RejectInvitationResponseSchema,
|
|
7
|
+
SendInvitationResponseSchema
|
|
8
|
+
} from "../../chunk-4DAOP35P.js";
|
|
9
|
+
import "../../chunk-UFVPFUMI.js";
|
|
10
|
+
import "../../chunk-UXA4FHST.js";
|
|
11
|
+
export {
|
|
12
|
+
AcceptInvitationResponseSchema,
|
|
13
|
+
InvitationListItemResponseSchema,
|
|
14
|
+
InvitationPostRequestSchema,
|
|
15
|
+
RejectInvitationResponseSchema,
|
|
16
|
+
SendInvitationResponseSchema
|
|
17
|
+
};
|