feat: user type => roleData

This commit is contained in:
puriphatt 2024-04-10 23:11:51 +07:00
parent 9af495a4ba
commit 0532c6842f

View file

@ -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;
}