mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-22 19:01:27 +00:00
Moving post community_view.
This commit is contained in:
parent
fdba257aaf
commit
637ecb2393
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
import {
|
||||
CommunityView,
|
||||
CommentView,
|
||||
CommunityModeratorView,
|
||||
PostReportView,
|
||||
|
@ -25,6 +26,7 @@ export interface GetPost {
|
|||
|
||||
export interface GetPostResponse {
|
||||
post_view: PostView;
|
||||
community_view: CommunityView;
|
||||
comments: CommentView[];
|
||||
moderators: CommunityModeratorView[];
|
||||
online: number;
|
||||
|
|
|
@ -67,7 +67,6 @@ export interface PrivateMessageView {
|
|||
export interface PostView {
|
||||
post: Post;
|
||||
creator: UserSafe;
|
||||
community: CommunitySafe;
|
||||
creator_banned_from_community: boolean; // Left Join to CommunityUserBan
|
||||
counts: PostAggregates;
|
||||
subscribed: boolean; // Left join to CommunityFollower
|
||||
|
|
Loading…
Reference in a new issue