Adding creator is moderator (#210)

* Adding creator_is_moderator to CommentReplyView and PersonMentionView.

* v0.19.0-alpha.16
This commit is contained in:
Dessalines 2023-11-03 09:56:21 -04:00 committed by GitHub
parent b9ee189e55
commit 09c10493a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "lemmy-js-client", "name": "lemmy-js-client",
"version": "0.19.0-alpha.15", "version": "0.19.0-alpha.16",
"description": "A javascript / typescript client for Lemmy", "description": "A javascript / typescript client for Lemmy",
"repository": "https://github.com/LemmyNet/lemmy-js-client", "repository": "https://github.com/LemmyNet/lemmy-js-client",
"license": "AGPL-3.0", "license": "AGPL-3.0",

View file

@ -16,6 +16,7 @@ export interface CommentReplyView {
recipient: Person; recipient: Person;
counts: CommentAggregates; counts: CommentAggregates;
creator_banned_from_community: boolean; creator_banned_from_community: boolean;
creator_is_moderator: boolean;
subscribed: SubscribedType; subscribed: SubscribedType;
saved: boolean; saved: boolean;
creator_blocked: boolean; creator_blocked: boolean;

View file

@ -16,6 +16,7 @@ export interface PersonMentionView {
recipient: Person; recipient: Person;
counts: CommentAggregates; counts: CommentAggregates;
creator_banned_from_community: boolean; creator_banned_from_community: boolean;
creator_is_moderator: boolean;
subscribed: SubscribedType; subscribed: SubscribedType;
saved: boolean; saved: boolean;
creator_blocked: boolean; creator_blocked: boolean;