export type UserData = { id: number '@id'?: string username: string roles: string[] } export type UserWrite = { username: string password?: string roles: string[] }