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;
|
firstName: string;
|
||||||
userRole: string;
|
userRole: string;
|
||||||
userType: string;
|
userType: string;
|
||||||
keycloakId: string;
|
keycloakId?: string;
|
||||||
profileImage?: File | null; // required but not strict
|
profileImage?: File | null; // required but not strict
|
||||||
birthDate?: Date | null;
|
birthDate?: Date | null;
|
||||||
responsibleArea: string;
|
responsibleArea: string;
|
||||||
|
|
@ -100,9 +100,15 @@ export type UserTypeStats = {
|
||||||
export type UserOption = {
|
export type UserOption = {
|
||||||
hqOpts: Option[];
|
hqOpts: Option[];
|
||||||
brOpts: Option[];
|
brOpts: Option[];
|
||||||
|
roleOpts: Option[];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Option = {
|
export type Option = {
|
||||||
label: string;
|
label: string;
|
||||||
value: string;
|
value: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type RoleData = {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue