lemmy-js-client 1.0.0-multi-community.3 → 1.0.0-multi-community.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/http.js CHANGED
@@ -1961,7 +1961,7 @@ __decorate([
1961
1961
  __param(1, (0, runtime_1.Inject)())
1962
1962
  ], LemmyHttp.prototype, "updateMultiCommunity", null);
1963
1963
  __decorate([
1964
- (0, runtime_1.Put)("/multi_community/list"),
1964
+ (0, runtime_1.Get)("/multi_community/list"),
1965
1965
  __param(0, (0, runtime_1.Body)()),
1966
1966
  __param(1, (0, runtime_1.Inject)())
1967
1967
  ], LemmyHttp.prototype, "listMultiCommunities", null);
@@ -42,4 +42,5 @@ export type GetPosts = {
42
42
  page_cursor?: PaginationCursor;
43
43
  page_back?: boolean;
44
44
  limit?: number;
45
+ multi_community_id?: number;
45
46
  };
@@ -1,5 +1,6 @@
1
1
  import type { CommentView } from "./CommentView";
2
2
  import type { CommunityView } from "./CommunityView";
3
+ import { MultiCommunityView } from "./MultiCommunityView";
3
4
  import type { PersonView } from "./PersonView";
4
5
  import type { PostView } from "./PostView";
5
6
  /**
@@ -10,4 +11,5 @@ export type ResolveObjectResponse = {
10
11
  post?: PostView;
11
12
  community?: CommunityView;
12
13
  person?: PersonView;
14
+ multi_community?: MultiCommunityView;
13
15
  };
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": "1.0.0-multi-community.3",
4
+ "version": "1.0.0-multi-community.7",
5
5
  "author": "Dessalines",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",