lemmy-js-client 1.0.0-multi-community.15 → 1.0.0-multi-community.16

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/index.d.ts CHANGED
@@ -254,7 +254,6 @@ export { ModlogCombinedView } from "./types/ModlogCombinedView";
254
254
  export { MultiCommunity } from "./types/MultiCommunity";
255
255
  export { MultiCommunityFollow } from "./types/MultiCommunityFollow";
256
256
  export { MultiCommunityId } from "./types/MultiCommunityId";
257
- export { MultiCommunityView } from "./types/MultiCommunityView";
258
257
  export { MyUserInfo } from "./types/MyUserInfo";
259
258
  export { OAuthAccount } from "./types/OAuthAccount";
260
259
  export { OAuthProvider } from "./types/OAuthProvider";
@@ -2,5 +2,5 @@ import type { CommunityView } from "./CommunityView";
2
2
  import type { MultiCommunity } from "./MultiCommunity";
3
3
  export type GetMultiCommunityResponse = {
4
4
  multi: MultiCommunity;
5
- entries: Array<CommunityView>;
5
+ communities: Array<CommunityView>;
6
6
  };
@@ -3,6 +3,7 @@ import type { FederationMode } from "./FederationMode";
3
3
  import type { ListingType } from "./ListingType";
4
4
  import type { LocalSiteId } from "./LocalSiteId";
5
5
  import type { MultiCommunityId } from "./MultiCommunityId";
6
+ import type { PersonId } from "./PersonId";
6
7
  import type { PostListingMode } from "./PostListingMode";
7
8
  import type { PostSortType } from "./PostSortType";
8
9
  import type { RegistrationMode } from "./RegistrationMode";
@@ -143,4 +144,5 @@ export type LocalSite = {
143
144
  */
144
145
  disable_email_notifications: boolean;
145
146
  suggested_communities?: MultiCommunityId;
147
+ multi_comm_follower: PersonId;
146
148
  };
@@ -1,5 +1,6 @@
1
1
  import type { CommentView } from "./CommentView";
2
2
  import type { CommunityView } from "./CommunityView";
3
+ import type { MultiCommunity } from "./MultiCommunity";
3
4
  import type { PersonView } from "./PersonView";
4
5
  import type { PostView } from "./PostView";
5
6
  export type SearchCombinedView = ({
@@ -10,4 +11,6 @@ export type SearchCombinedView = ({
10
11
  type_: "Community";
11
12
  } & CommunityView) | ({
12
13
  type_: "Person";
13
- } & PersonView);
14
+ } & PersonView) | ({
15
+ type_: "MultiCommunity";
16
+ } & MultiCommunity);
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.15",
4
+ "version": "1.0.0-multi-community.16",
5
5
  "author": "Dessalines",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",
@@ -1,6 +0,0 @@
1
- import type { CommunityId } from "./CommunityId";
2
- import type { MultiCommunity } from "./MultiCommunity";
3
- export type MultiCommunityView = {
4
- multi: MultiCommunity;
5
- entries: Array<CommunityId>;
6
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });