mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-25 22:01: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;
|
counts: CommentAggregates;
|
||||||
creator_banned_from_community: boolean;
|
creator_banned_from_community: boolean;
|
||||||
creator_is_moderator: boolean;
|
creator_is_moderator: boolean;
|
||||||
|
creator_is_admin: boolean;
|
||||||
subscribed: SubscribedType;
|
subscribed: SubscribedType;
|
||||||
saved: boolean;
|
saved: boolean;
|
||||||
creator_blocked: boolean;
|
creator_blocked: boolean;
|
||||||
|
|
|
@ -14,6 +14,7 @@ export interface CommentView {
|
||||||
counts: CommentAggregates;
|
counts: CommentAggregates;
|
||||||
creator_banned_from_community: boolean;
|
creator_banned_from_community: boolean;
|
||||||
creator_is_moderator: boolean;
|
creator_is_moderator: boolean;
|
||||||
|
creator_is_admin: boolean;
|
||||||
subscribed: SubscribedType;
|
subscribed: SubscribedType;
|
||||||
saved: boolean;
|
saved: boolean;
|
||||||
creator_blocked: boolean;
|
creator_blocked: boolean;
|
||||||
|
|
|
@ -17,6 +17,7 @@ export interface PersonMentionView {
|
||||||
counts: CommentAggregates;
|
counts: CommentAggregates;
|
||||||
creator_banned_from_community: boolean;
|
creator_banned_from_community: boolean;
|
||||||
creator_is_moderator: boolean;
|
creator_is_moderator: boolean;
|
||||||
|
creator_is_admin: boolean;
|
||||||
subscribed: SubscribedType;
|
subscribed: SubscribedType;
|
||||||
saved: boolean;
|
saved: boolean;
|
||||||
creator_blocked: boolean;
|
creator_blocked: boolean;
|
||||||
|
|
|
@ -5,4 +5,5 @@ import type { PersonAggregates } from "./PersonAggregates";
|
||||||
export interface PersonView {
|
export interface PersonView {
|
||||||
person: Person;
|
person: Person;
|
||||||
counts: PersonAggregates;
|
counts: PersonAggregates;
|
||||||
|
is_admin: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@ export interface PostView {
|
||||||
community: Community;
|
community: Community;
|
||||||
creator_banned_from_community: boolean;
|
creator_banned_from_community: boolean;
|
||||||
creator_is_moderator: boolean;
|
creator_is_moderator: boolean;
|
||||||
|
creator_is_admin: boolean;
|
||||||
counts: PostAggregates;
|
counts: PostAggregates;
|
||||||
subscribed: SubscribedType;
|
subscribed: SubscribedType;
|
||||||
saved: boolean;
|
saved: boolean;
|
||||||
|
|
|
@ -24,7 +24,6 @@ export interface SaveUserSettings {
|
||||||
bot_account?: boolean;
|
bot_account?: boolean;
|
||||||
show_bot_accounts?: boolean;
|
show_bot_accounts?: boolean;
|
||||||
show_read_posts?: boolean;
|
show_read_posts?: boolean;
|
||||||
show_new_post_notifs?: boolean;
|
|
||||||
discussion_languages?: Array<LanguageId>;
|
discussion_languages?: Array<LanguageId>;
|
||||||
open_links_in_new_tab?: boolean;
|
open_links_in_new_tab?: boolean;
|
||||||
infinite_scroll_enabled?: boolean;
|
infinite_scroll_enabled?: boolean;
|
||||||
|
|
Loading…
Reference in a new issue