export interface UserData { id: number username: string roles: string[] isLocked: boolean } export type UserPayload = { username?: string password?: string roles?: string[] isLocked?: boolean } export type UserFormData = { username: string password: string role: string isLocked: boolean }