PostView still does need community.

This commit is contained in:
Dessalines 2020-12-23 15:38:08 -05:00
parent 769666f37e
commit 644860499b

View file

@ -67,6 +67,7 @@ export interface PrivateMessageView {
export interface PostView { export interface PostView {
post: Post; post: Post;
creator: UserSafe; creator: UserSafe;
community: CommunitySafe;
creator_banned_from_community: boolean; // Left Join to CommunityUserBan creator_banned_from_community: boolean; // Left Join to CommunityUserBan
counts: PostAggregates; counts: PostAggregates;
subscribed: boolean; // Left join to CommunityFollower subscribed: boolean; // Left join to CommunityFollower