lemmy-js-client 0.17.0-rc.48 → 0.17.0-rc.49

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,7 @@ export declare class LocalUserSettings {
10
10
  interface_language: string;
11
11
  show_avatars: boolean;
12
12
  send_notifications_to_email: boolean;
13
+ validator_time: string;
13
14
  show_bot_accounts: boolean;
14
15
  show_scores: boolean;
15
16
  show_read_posts: boolean;
@@ -31,7 +32,7 @@ export declare class PersonSafe {
31
32
  banner: Option<string>;
32
33
  deleted: boolean;
33
34
  inbox_url: string;
34
- shared_inbox_url: string;
35
+ shared_inbox_url: Option<string>;
35
36
  matrix_user_id: Option<string>;
36
37
  admin: boolean;
37
38
  bot_account: boolean;
@@ -274,6 +275,7 @@ export declare class CommunitySafe {
274
275
  local: boolean;
275
276
  icon: Option<string>;
276
277
  banner: Option<string>;
278
+ hidden: boolean;
277
279
  posting_restricted_to_mods: boolean;
278
280
  instance_id: number;
279
281
  }
@@ -84,6 +84,17 @@ var PersonSafe = /** @class */ (function () {
84
84
  }, { toPlainOnly: true }),
85
85
  (0, class_transformer_1.Expose)()
86
86
  ], PersonSafe.prototype, "banner", void 0);
87
+ __decorate([
88
+ (0, class_transformer_1.Transform)(function (_a) {
89
+ var value = _a.value;
90
+ return (0, utils_1.toOption)(value);
91
+ }, { toClassOnly: true }),
92
+ (0, class_transformer_1.Transform)(function (_a) {
93
+ var value = _a.value;
94
+ return (0, utils_1.toUndefined)(value);
95
+ }, { toPlainOnly: true }),
96
+ (0, class_transformer_1.Expose)()
97
+ ], PersonSafe.prototype, "shared_inbox_url", void 0);
87
98
  __decorate([
88
99
  (0, class_transformer_1.Transform)(function (_a) {
89
100
  var value = _a.value;
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.48",
4
+ "version": "0.17.0-rc.49",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",