Files
Lesstime/frontend/services/dto/user-data.ts
2026-03-15 21:55:39 +01:00

20 lines
405 B
TypeScript

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
password?: string
roles: string[]
client?: string | null
allowedProjects?: string[]
}