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
472 B

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