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.

14 lines
281 B

  1. import { UserItem } from '~/domain/models/user/user'
  2. export interface UserItemResponse {
  3. id: number,
  4. username: string,
  5. is_superuser: boolean,
  6. is_staff: boolean
  7. }
  8. export interface UserRepository {
  9. getMe(): Promise<UserItem>
  10. list(query: string): Promise<UserItem[]>
  11. }