feat(frontend) : update UserData DTO for client users

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-15 19:29:36 +01:00
parent 851953df1e
commit 7f2371e522

View File

@@ -3,10 +3,14 @@ export type UserData = {
'@id'?: string '@id'?: string
username: string username: string
roles: string[] roles: string[]
client?: { '@id'?: string; id: number; name: string } | null
allowedProjects?: { '@id'?: string; id: number; name: string }[]
} }
export type UserWrite = { export type UserWrite = {
username: string username: string
password?: string password?: string
roles: string[] roles: string[]
client?: string | null
allowedProjects?: string[]
} }