feat: user type => roleData
This commit is contained in:
parent
9af495a4ba
commit
0532c6842f
1 changed files with 7 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ export type UserCreate = {
|
|||
firstName: string;
|
||||
userRole: string;
|
||||
userType: string;
|
||||
keycloakId: string;
|
||||
keycloakId?: string;
|
||||
profileImage?: File | null; // required but not strict
|
||||
birthDate?: Date | null;
|
||||
responsibleArea: string;
|
||||
|
|
@ -100,9 +100,15 @@ export type UserTypeStats = {
|
|||
export type UserOption = {
|
||||
hqOpts: Option[];
|
||||
brOpts: Option[];
|
||||
roleOpts: Option[];
|
||||
};
|
||||
|
||||
export type Option = {
|
||||
label: string;
|
||||
value: string;
|
||||
};
|
||||
|
||||
export type RoleData = {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue