mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-29 15: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 {
|
||||
person_view: PersonViewSafe;
|
||||
follows: CommunityFollowerView[];
|
||||
community_blocks: CommunityBlockView[];
|
||||
person_blocks: PersonBlockView[];
|
||||
moderates: CommunityModeratorView[];
|
||||
comments: CommentView[];
|
||||
posts: PostView[];
|
||||
moderates: CommunityModeratorView[];
|
||||
}
|
||||
|
||||
export interface GetRepliesResponse {
|
||||
|
|
|
@ -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[];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue