You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
407 B

import { MemberItem } from '~/domain/models/member/member'
export interface MemberRepository {
list(projectId: string): Promise<MemberItem[]>
create(projectId: string, item: MemberItem): Promise<MemberItem>
update(projectId: string, item: MemberItem): Promise<MemberItem>
bulkDelete(projectId: string, memberIds: number[]): Promise<void>
fetchMyRole(projectId: string): Promise<MemberItem>
}