privacy/security: add PM privacy levels and improve session visibility
All checks were successful
CI / test (push) Successful in 24s
All checks were successful
CI / test (push) Successful in 24s
This commit is contained in:
@@ -83,6 +83,7 @@ export interface AuthUser {
|
||||
email_verified: boolean;
|
||||
twofa_enabled?: boolean;
|
||||
allow_private_messages: boolean;
|
||||
privacy_private_messages?: "everyone" | "contacts" | "nobody";
|
||||
privacy_last_seen?: "everyone" | "contacts" | "nobody";
|
||||
privacy_avatar?: "everyone" | "contacts" | "nobody";
|
||||
privacy_group_invites?: "everyone" | "contacts";
|
||||
@@ -101,6 +102,8 @@ export interface AuthSession {
|
||||
created_at: string;
|
||||
ip_address?: string | null;
|
||||
user_agent?: string | null;
|
||||
current?: boolean;
|
||||
token_type?: "access" | "refresh";
|
||||
}
|
||||
|
||||
export interface UserSearchItem {
|
||||
|
||||
Reference in New Issue
Block a user