feat(frontend) : update UserData DTO for client users
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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[]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user