From 7f2371e522e0b4e77aa3a96ab700bb0f7f5de252 Mon Sep 17 00:00:00 2001 From: matthieu Date: Sun, 15 Mar 2026 19:29:36 +0100 Subject: [PATCH] feat(frontend) : update UserData DTO for client users Co-Authored-By: Claude Sonnet 4.6 --- frontend/services/dto/user-data.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/services/dto/user-data.ts b/frontend/services/dto/user-data.ts index 3ea999e..0f618a8 100644 --- a/frontend/services/dto/user-data.ts +++ b/frontend/services/dto/user-data.ts @@ -3,10 +3,14 @@ export type UserData = { '@id'?: string username: string roles: string[] + client?: { '@id'?: string; id: number; name: string } | null + allowedProjects?: { '@id'?: string; id: number; name: string }[] } export type UserWrite = { username: string password?: string roles: string[] + client?: string | null + allowedProjects?: string[] }