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 {
person_view: PersonViewSafe;
follows: CommunityFollowerView[];
community_blocks: CommunityBlockView[];
person_blocks: PersonBlockView[];
moderates: CommunityModeratorView[];
comments: CommentView[];
posts: PostView[];
moderates: CommunityModeratorView[];
}
export interface GetRepliesResponse {

View file

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