feat : ajout d'un système de rôle => admin/personnel/sites
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export type UserData = {
|
||||
id: number
|
||||
username: string
|
||||
roles: string[]
|
||||
}
|
||||
|
||||
8
frontend/services/dto/user.ts
Normal file
8
frontend/services/dto/user.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { Employee } from './employee'
|
||||
|
||||
export type User = {
|
||||
id: number
|
||||
username: string
|
||||
roles: string[]
|
||||
employee?: Employee | null
|
||||
}
|
||||
Reference in New Issue
Block a user