lemmy-js-client 0.17.0-rc.41 → 0.17.0-rc.42

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,12 +14,8 @@ export declare class CreateComment {
14
14
  constructor(init: CreateComment);
15
15
  }
16
16
  export declare class EditComment {
17
+ content: string;
17
18
  comment_id: number;
18
- content: Option<string>;
19
- /**
20
- * "Distinguishes" a comment, or speak officially. Only doable by community mods or admins.
21
- */
22
- distinguished: Option<boolean>;
23
19
  /**
24
20
  * An optional front end ID, to tell which is comment is coming back.
25
21
  */
@@ -44,28 +44,6 @@ var EditComment = /** @class */ (function () {
44
44
  function EditComment(init) {
45
45
  Object.assign(this, init);
46
46
  }
47
- __decorate([
48
- (0, class_transformer_1.Transform)(function (_a) {
49
- var value = _a.value;
50
- return (0, utils_1.toOption)(value);
51
- }, { toClassOnly: true }),
52
- (0, class_transformer_1.Transform)(function (_a) {
53
- var value = _a.value;
54
- return (0, utils_1.toUndefined)(value);
55
- }, { toPlainOnly: true }),
56
- (0, class_transformer_1.Expose)()
57
- ], EditComment.prototype, "content", void 0);
58
- __decorate([
59
- (0, class_transformer_1.Transform)(function (_a) {
60
- var value = _a.value;
61
- return (0, utils_1.toOption)(value);
62
- }, { toClassOnly: true }),
63
- (0, class_transformer_1.Transform)(function (_a) {
64
- var value = _a.value;
65
- return (0, utils_1.toUndefined)(value);
66
- }, { toPlainOnly: true }),
67
- (0, class_transformer_1.Expose)()
68
- ], EditComment.prototype, "distinguished", void 0);
69
47
  __decorate([
70
48
  (0, class_transformer_1.Transform)(function (_a) {
71
49
  var value = _a.value;
@@ -260,7 +260,6 @@ export declare class Comment {
260
260
  ap_id: string;
261
261
  local: boolean;
262
262
  path: string;
263
- distinguished: boolean;
264
263
  }
265
264
  export declare class PersonMention {
266
265
  id: number;
@@ -46,6 +46,7 @@ export declare class PostView {
46
46
  read: boolean;
47
47
  creator_blocked: boolean;
48
48
  my_vote: Option<number>;
49
+ unread_comments: number;
49
50
  }
50
51
  export declare class PostReportView {
51
52
  post_report: PostReport;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
3
  "description": "A javascript / typescript client for Lemmy",
4
- "version": "0.17.0-rc.41",
4
+ "version": "0.17.0-rc.42",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",