diff --git a/src/stores/user/types.ts b/src/stores/user/types.ts index c17d8d1a..d383f194 100644 --- a/src/stores/user/types.ts +++ b/src/stores/user/types.ts @@ -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; +}