feat(frontend) : add portal pages, update auth middleware and DTOs for client portal

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-15 19:51:51 +01:00
parent 17c5160f2c
commit 0724d38a26
8 changed files with 347 additions and 29 deletions

View File

@@ -1,10 +1,12 @@
import type { Project } from './project'
export type UserData = {
id: number
'@id'?: string
username: string
roles: string[]
client?: { '@id'?: string; id: number; name: string } | null
allowedProjects?: { '@id'?: string; id: number; name: string }[]
client?: { id: number; name: string } | null
allowedProjects?: Project[]
}
export type UserWrite = {