refactor: remove keycloak id from type

This commit is contained in:
Methapon2001 2024-04-17 11:34:14 +07:00
parent d7e606fb16
commit fe34f018ac
2 changed files with 4 additions and 23 deletions

View file

@ -36,7 +36,6 @@ export type User = {
lastName: string;
firstNameEN: string;
firstName: string;
keycloakId: string;
id: string;
profileImageUrl: string;
code: string;
@ -71,7 +70,6 @@ export type UserCreate = {
firstName: string;
userRole: string;
userType: string;
keycloakId?: string;
profileImage?: File | null; // required but not strict
birthDate?: Date | null;
responsibleArea: string;
@ -116,4 +114,4 @@ export type Option = {
export type RoleData = {
id: string;
name: string;
}
};