mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-20 16:45:16 +00:00
Can get language settings
This commit is contained in:
@ -44,6 +44,11 @@ export interface GeneralSettings {
|
||||
publicNote ?: string
|
||||
}
|
||||
|
||||
export interface LangSettings {
|
||||
id: number,
|
||||
lang: string,
|
||||
}
|
||||
|
||||
export interface SecuritySettings {
|
||||
id: number,
|
||||
security_question_1 ?: string,
|
||||
@ -53,7 +58,7 @@ export interface SecuritySettings {
|
||||
}
|
||||
|
||||
|
||||
export interface UserBuilder extends UserInfo, SecuritySettings, GeneralSettings {
|
||||
export interface UserBuilder extends UserInfo, SecuritySettings, LangSettings, GeneralSettings {
|
||||
|
||||
}
|
||||
|
||||
@ -72,6 +77,7 @@ export class User implements UserBuilder {
|
||||
blockComments: boolean;
|
||||
allowPostsFromFriends: boolean;
|
||||
allowMails: boolean;
|
||||
lang: string;
|
||||
security_question_1?: string;
|
||||
security_answer_1?: string;
|
||||
security_question_2?: string;
|
||||
|
Reference in New Issue
Block a user