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

  1. import { MemberItem } from '@/models/member'
  2. export interface MemberItemResponse {
  3. id: number,
  4. user: number,
  5. role: number,
  6. username: string,
  7. rolename: string
  8. }
  9. export interface MemberItemListRepository {
  10. list(projectId: string): Promise<MemberItem[]>
  11. create(projectId: string, item: MemberItem): Promise<MemberItem>
  12. update(projectId: string, item: MemberItem): Promise<MemberItem>
  13. bulkDelete(projectId: string, memberIds: number[]): Promise<void>
  14. }