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.
 
 
 
 
 
 

19 lines
478 B

import { MemberItem } from '~/domain/models/member/member'
export interface MemberItemResponse {
id: number,
user: number,
role: number,
username: string,
rolename: string
}
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>
}