import type { Project } from './project' export type UserData = { id: number '@id'?: string username: string roles: string[] client?: { id: number; name: string } | null allowedProjects?: Project[] avatarUrl?: string | null } export type UserWrite = { username: string plainPassword?: string roles: string[] client?: string | null allowedProjects?: string[] }