diff --git a/src/lib/types/user.ts b/src/lib/types/user.ts index c7c9965b8a..e8ac49d2a2 100644 --- a/src/lib/types/user.ts +++ b/src/lib/types/user.ts @@ -18,16 +18,16 @@ export interface UserData { export interface IUser { id: number; - name: string; - username: string; - email: string; + name?: string; + username?: string; + email?: string; inviteLink?: string; seenAt?: Date; createdAt?: Date; permissions: string[]; loginAttempts?: number; isAPI: boolean; - imageUrl: string; + imageUrl?: string; accountType?: AccountType; }