File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
api/service/group-service Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 88 GetMyGroupsPayload ,
99 GetMyGroupsResponse ,
1010 GroupIdParams ,
11+ KickGroupMemberParams ,
1112 PreUploadGroupImageResponse ,
1213} from '@/types/service/group' ;
1314
@@ -81,6 +82,10 @@ export const groupServiceRemote = () => ({
8182 return apiV2 . delete ( `/groups/${ params . groupId } ` ) ;
8283 } ,
8384
85+ kickGroupMember : ( params : KickGroupMemberParams ) => {
86+ return apiV2 . post ( `/groups/${ params . groupId } /attendance/${ params . targetUserId } /kick` ) ;
87+ } ,
88+
8489 uploadGroupImages : ( payload : FormData ) => {
8590 return apiV2 . post < PreUploadGroupImageResponse > ( '/groups/images/upload' , payload ) ;
8691 } ,
Original file line number Diff line number Diff line change @@ -206,6 +206,11 @@ export interface GroupIdParams {
206206 groupId : string ;
207207}
208208
209+ export interface KickGroupMemberParams {
210+ groupId : GroupIdParams [ 'groupId' ] ;
211+ targetUserId : string ;
212+ }
213+
209214// 승인 대기자 목록 조회 응답 (GET /api/v2/groups/{groupId}/attendance/pending)
210215export interface GetPendingMembersResponse {
211216 groupId : number ;
You can’t perform that action at this time.
0 commit comments