mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 01:59:55 +00:00
Moving matrix_user_id and admin to Person table.
This commit is contained in:
parent
0012c349a2
commit
b60ceb49e0
2 changed files with 4 additions and 5 deletions
|
@ -23,7 +23,7 @@ export interface CreateCommunity {
|
|||
description?: string;
|
||||
icon?: string;
|
||||
banner?: string;
|
||||
nsfw: boolean;
|
||||
nsfw?: boolean;
|
||||
auth: string;
|
||||
}
|
||||
|
||||
|
@ -78,7 +78,7 @@ export interface EditCommunity {
|
|||
description?: string;
|
||||
icon?: string;
|
||||
banner?: string;
|
||||
nsfw: boolean;
|
||||
nsfw?: boolean;
|
||||
auth: string;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ export interface LocalUserSettings {
|
|||
id: number;
|
||||
person_id: number;
|
||||
email?: string;
|
||||
admin: boolean;
|
||||
show_nsfw: boolean;
|
||||
theme: string;
|
||||
default_sort_type: number;
|
||||
|
@ -10,7 +9,6 @@ export interface LocalUserSettings {
|
|||
lang: string;
|
||||
show_avatars: boolean;
|
||||
send_notifications_to_email: boolean;
|
||||
matrix_user_id?: string;
|
||||
}
|
||||
|
||||
export interface PersonSafe {
|
||||
|
@ -18,7 +16,6 @@ export interface PersonSafe {
|
|||
name: string;
|
||||
preferred_username?: string;
|
||||
avatar?: string;
|
||||
admin: boolean;
|
||||
banned: boolean;
|
||||
published: string;
|
||||
updated?: string;
|
||||
|
@ -29,6 +26,8 @@ export interface PersonSafe {
|
|||
deleted: boolean;
|
||||
inbox_url: string;
|
||||
shared_inbox_url: string;
|
||||
matrix_user_id?: string;
|
||||
admin: boolean;
|
||||
}
|
||||
|
||||
export interface Site {
|
||||
|
|
Loading…
Reference in a new issue