mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 01:59:55 +00:00
Add changes for PostView and CommentView (#252)
* Add changes for PostView and CommentView * Re-add other types ---------
This commit is contained in:
parent
e0b12ffbb6
commit
5566125d47
2 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ export interface CommentView {
|
||||||
community: Community;
|
community: Community;
|
||||||
counts: CommentAggregates;
|
counts: CommentAggregates;
|
||||||
creator_banned_from_community: boolean;
|
creator_banned_from_community: boolean;
|
||||||
|
banned_from_community: boolean;
|
||||||
creator_is_moderator: boolean;
|
creator_is_moderator: boolean;
|
||||||
creator_is_admin: boolean;
|
creator_is_admin: boolean;
|
||||||
subscribed: SubscribedType;
|
subscribed: SubscribedType;
|
||||||
|
|
|
@ -10,6 +10,7 @@ export interface PostView {
|
||||||
creator: Person;
|
creator: Person;
|
||||||
community: Community;
|
community: Community;
|
||||||
creator_banned_from_community: boolean;
|
creator_banned_from_community: boolean;
|
||||||
|
banned_from_community: boolean;
|
||||||
creator_is_moderator: boolean;
|
creator_is_moderator: boolean;
|
||||||
creator_is_admin: boolean;
|
creator_is_admin: boolean;
|
||||||
counts: PostAggregates;
|
counts: PostAggregates;
|
||||||
|
|
Loading…
Reference in a new issue