diff --git a/src/types/CommentReplyView.ts b/src/types/CommentReplyView.ts index 60ffee7..7b2e5db 100644 --- a/src/types/CommentReplyView.ts +++ b/src/types/CommentReplyView.ts @@ -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; diff --git a/src/types/CommentView.ts b/src/types/CommentView.ts index 82e57f6..5143bf3 100644 --- a/src/types/CommentView.ts +++ b/src/types/CommentView.ts @@ -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; diff --git a/src/types/PersonMentionView.ts b/src/types/PersonMentionView.ts index d0d0cde..7367a50 100644 --- a/src/types/PersonMentionView.ts +++ b/src/types/PersonMentionView.ts @@ -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; diff --git a/src/types/PersonView.ts b/src/types/PersonView.ts index 4a71813..5af23b4 100644 --- a/src/types/PersonView.ts +++ b/src/types/PersonView.ts @@ -5,4 +5,5 @@ import type { PersonAggregates } from "./PersonAggregates"; export interface PersonView { person: Person; counts: PersonAggregates; + is_admin: boolean; } diff --git a/src/types/PostView.ts b/src/types/PostView.ts index 70d8804..28bc00f 100644 --- a/src/types/PostView.ts +++ b/src/types/PostView.ts @@ -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; diff --git a/src/types/SaveUserSettings.ts b/src/types/SaveUserSettings.ts index a2d3677..f4f0375 100644 --- a/src/types/SaveUserSettings.ts +++ b/src/types/SaveUserSettings.ts @@ -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; open_links_in_new_tab?: boolean; infinite_scroll_enabled?: boolean;