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

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