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

2 years ago
  1. import { MemberItem } from '~/domain/models/member/member'
  2. export interface MemberRepository {
  3. list(projectId: string): Promise<MemberItem[]>
  4. create(projectId: string, item: MemberItem): Promise<MemberItem>
  5. update(projectId: string, item: MemberItem): Promise<MemberItem>
  6. bulkDelete(projectId: string, memberIds: number[]): Promise<void>
  7. fetchMyRole(projectId: string): Promise<MemberItem>
  8. }