mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2025-01-24 10:55:52 +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;
|
description?: string;
|
||||||
icon?: string;
|
icon?: string;
|
||||||
banner?: string;
|
banner?: string;
|
||||||
nsfw: boolean;
|
nsfw?: boolean;
|
||||||
auth: string;
|
auth: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ export interface EditCommunity {
|
||||||
description?: string;
|
description?: string;
|
||||||
icon?: string;
|
icon?: string;
|
||||||
banner?: string;
|
banner?: string;
|
||||||
nsfw: boolean;
|
nsfw?: boolean;
|
||||||
auth: string;
|
auth: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@ export interface LocalUserSettings {
|
||||||
id: number;
|
id: number;
|
||||||
person_id: number;
|
person_id: number;
|
||||||
email?: string;
|
email?: string;
|
||||||
admin: boolean;
|
|
||||||
show_nsfw: boolean;
|
show_nsfw: boolean;
|
||||||
theme: string;
|
theme: string;
|
||||||
default_sort_type: number;
|
default_sort_type: number;
|
||||||
|
@ -10,7 +9,6 @@ export interface LocalUserSettings {
|
||||||
lang: string;
|
lang: string;
|
||||||
show_avatars: boolean;
|
show_avatars: boolean;
|
||||||
send_notifications_to_email: boolean;
|
send_notifications_to_email: boolean;
|
||||||
matrix_user_id?: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PersonSafe {
|
export interface PersonSafe {
|
||||||
|
@ -18,7 +16,6 @@ export interface PersonSafe {
|
||||||
name: string;
|
name: string;
|
||||||
preferred_username?: string;
|
preferred_username?: string;
|
||||||
avatar?: string;
|
avatar?: string;
|
||||||
admin: boolean;
|
|
||||||
banned: boolean;
|
banned: boolean;
|
||||||
published: string;
|
published: string;
|
||||||
updated?: string;
|
updated?: string;
|
||||||
|
@ -29,6 +26,8 @@ export interface PersonSafe {
|
||||||
deleted: boolean;
|
deleted: boolean;
|
||||||
inbox_url: string;
|
inbox_url: string;
|
||||||
shared_inbox_url: string;
|
shared_inbox_url: string;
|
||||||
|
matrix_user_id?: string;
|
||||||
|
admin: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Site {
|
export interface Site {
|
||||||
|
|
Loading…
Reference in a new issue