feat : ajout d'un système de rôle => admin/personnel/sites

This commit is contained in:
2026-02-13 09:07:52 +01:00
parent 4845230429
commit 5fe35092c2
19 changed files with 965 additions and 40 deletions

View File

@@ -1,4 +1,5 @@
export type UserData = {
id: number
username: string
roles: string[]
}

View File

@@ -0,0 +1,8 @@
import type { Employee } from './employee'
export type User = {
id: number
username: string
roles: string[]
employee?: Employee | null
}