mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-29 07:41:12 +00:00
Adding creator_is_admin
to various views. (#215)
- Backend PR: https://github.com/LemmyNet/lemmy/pull/4165
This commit is contained in:
parent
726d82eb75
commit
5859830ad9
6 changed files with 5 additions and 1 deletions
|
@ -17,6 +17,7 @@ export interface CommentReplyView {
|
|||
counts: CommentAggregates;
|
||||
creator_banned_from_community: boolean;
|
||||
creator_is_moderator: boolean;
|
||||
creator_is_admin: boolean;
|
||||
subscribed: SubscribedType;
|
||||
saved: boolean;
|
||||
creator_blocked: boolean;
|
||||
|
|
|
@ -14,6 +14,7 @@ export interface CommentView {
|
|||
counts: CommentAggregates;
|
||||
creator_banned_from_community: boolean;
|
||||
creator_is_moderator: boolean;
|
||||
creator_is_admin: boolean;
|
||||
subscribed: SubscribedType;
|
||||
saved: boolean;
|
||||
creator_blocked: boolean;
|
||||
|
|
|
@ -17,6 +17,7 @@ export interface PersonMentionView {
|
|||
counts: CommentAggregates;
|
||||
creator_banned_from_community: boolean;
|
||||
creator_is_moderator: boolean;
|
||||
creator_is_admin: boolean;
|
||||
subscribed: SubscribedType;
|
||||
saved: boolean;
|
||||
creator_blocked: boolean;
|
||||
|
|
|
@ -5,4 +5,5 @@ import type { PersonAggregates } from "./PersonAggregates";
|
|||
export interface PersonView {
|
||||
person: Person;
|
||||
counts: PersonAggregates;
|
||||
is_admin: boolean;
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ export interface PostView {
|
|||
community: Community;
|
||||
creator_banned_from_community: boolean;
|
||||
creator_is_moderator: boolean;
|
||||
creator_is_admin: boolean;
|
||||
counts: PostAggregates;
|
||||
subscribed: SubscribedType;
|
||||
saved: boolean;
|
||||
|
|
|
@ -24,7 +24,6 @@ export interface SaveUserSettings {
|
|||
bot_account?: boolean;
|
||||
show_bot_accounts?: boolean;
|
||||
show_read_posts?: boolean;
|
||||
show_new_post_notifs?: boolean;
|
||||
discussion_languages?: Array<LanguageId>;
|
||||
open_links_in_new_tab?: boolean;
|
||||
infinite_scroll_enabled?: boolean;
|
||||
|
|
Loading…
Reference in a new issue