Models: User can have a NULL email in case it is an unclaimed account

This commit is contained in:
Diego Magdaleno 2021-05-23 11:41:36 -05:00
parent 05b4e4af35
commit a6e68abbdc

View File

@ -27,7 +27,7 @@ export interface User {
mfa_enabled: boolean; // if multi factor authentication is enabled mfa_enabled: boolean; // if multi factor authentication is enabled
created_at: Date; // registration date created_at: Date; // registration date
verified: boolean; // if the user is offically verified verified: boolean; // if the user is offically verified
email: string; // email of the user email: string | null; // email of the user
flags: bigint; // UserFlags flags: bigint; // UserFlags
public_flags: bigint; public_flags: bigint;
user_settings: UserSettings; user_settings: UserSettings;