lemmy-js-client 0.16.0-rc.1 → 0.16.4-rc.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
1
+ import { Site } from "../source";
1
2
  import { CommunityModeratorView, CommunityView, PersonViewSafe } from "../views";
2
3
  /**
3
4
  * You can use either `id` or `name` as an id.
@@ -11,6 +12,7 @@ export interface GetCommunity {
11
12
  }
12
13
  export interface GetCommunityResponse {
13
14
  community_view: CommunityView;
15
+ site?: Site;
14
16
  moderators: CommunityModeratorView[];
15
17
  online: number;
16
18
  }
@@ -54,6 +54,10 @@ export interface Site {
54
54
  application_question?: string;
55
55
  private_instance: boolean;
56
56
  default_theme: string;
57
+ actor_id: string;
58
+ last_refreshed_at: string;
59
+ inbox_url: string;
60
+ public_key: string;
57
61
  }
58
62
  export interface PrivateMessage {
59
63
  id: number;
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.16.0-rc.1",
4
+ "version": "0.16.4-rc.1",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",