Add moderates to MyUserInfo

This commit is contained in:
Dessalines 2021-08-10 20:15:38 -04:00
parent 549e66abba
commit b5fcfaed8b
2 changed files with 3 additions and 4 deletions

View file

@ -92,12 +92,9 @@ export interface GetPersonDetails {
export interface GetPersonDetailsResponse { export interface GetPersonDetailsResponse {
person_view: PersonViewSafe; person_view: PersonViewSafe;
follows: CommunityFollowerView[];
community_blocks: CommunityBlockView[];
person_blocks: PersonBlockView[];
moderates: CommunityModeratorView[];
comments: CommentView[]; comments: CommentView[];
posts: PostView[]; posts: PostView[];
moderates: CommunityModeratorView[];
} }
export interface GetRepliesResponse { export interface GetRepliesResponse {

View file

@ -1,6 +1,7 @@
import { import {
CommunityBlockView, CommunityBlockView,
CommunityFollowerView, CommunityFollowerView,
CommunityModeratorView,
LocalUserSettingsView, LocalUserSettingsView,
PersonBlockView, PersonBlockView,
} from '../views'; } from '../views';
@ -111,6 +112,7 @@ export interface GetSiteResponse {
export interface MyUserInfo { export interface MyUserInfo {
local_user_view: LocalUserSettingsView; local_user_view: LocalUserSettingsView;
follows: CommunityFollowerView[]; follows: CommunityFollowerView[];
moderates: CommunityModeratorView[];
community_blocks: CommunityBlockView[]; community_blocks: CommunityBlockView[];
person_blocks: PersonBlockView[]; person_blocks: PersonBlockView[];
} }