Add changes for PostView and CommentView (#252)

* Add changes for PostView and CommentView

* Re-add other types

---------
This commit is contained in:
SleeplessOne1917 2024-03-23 21:49:46 -04:00 committed by GitHub
parent e0b12ffbb6
commit 5566125d47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -13,6 +13,7 @@ export interface CommentView {
community: Community;
counts: CommentAggregates;
creator_banned_from_community: boolean;
banned_from_community: boolean;
creator_is_moderator: boolean;
creator_is_admin: boolean;
subscribed: SubscribedType;

View file

@ -10,6 +10,7 @@ export interface PostView {
creator: Person;
community: Community;
creator_banned_from_community: boolean;
banned_from_community: boolean;
creator_is_moderator: boolean;
creator_is_admin: boolean;
counts: PostAggregates;