mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-01 16:51:12 +00:00
Add moderates to MyUserInfo
This commit is contained in:
parent
549e66abba
commit
b5fcfaed8b
2 changed files with 3 additions and 4 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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[];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue