lemmy-js-client 0.20.0-private-community.4 → 0.20.0-private-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/index.d.ts CHANGED
@@ -206,6 +206,7 @@ export { OpenGraphData } from "./types/OpenGraphData";
206
206
  export { PaginationCursor } from "./types/PaginationCursor";
207
207
  export { PasswordChangeAfterReset } from "./types/PasswordChangeAfterReset";
208
208
  export { PasswordReset } from "./types/PasswordReset";
209
+ export { PendingFollow } from "./types/PendingFollow";
209
210
  export { Person } from "./types/Person";
210
211
  export { PersonAggregates } from "./types/PersonAggregates";
211
212
  export { PersonId } from "./types/PersonId";
@@ -1,7 +1,6 @@
1
- import type { CommunityId } from "./CommunityId";
2
1
  export interface ListCommunityPendingFollows {
3
- community_id: CommunityId;
4
2
  pending_only: boolean | null;
3
+ all_communities: boolean | null;
5
4
  page: number | null;
6
5
  limit: number | null;
7
6
  }
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import type { Person } from "./Person";
1
+ import type { PendingFollow } from "./PendingFollow";
2
2
  export interface ListCommunityPendingFollowsResponse {
3
- items: Array<Person>;
3
+ items: Array<PendingFollow>;
4
4
  }
@@ -0,0 +1,9 @@
1
+ import type { Community } from "./Community";
2
+ import type { Person } from "./Person";
3
+ import type { SubscribedType } from "./SubscribedType";
4
+ export interface PendingFollow {
5
+ person: Person;
6
+ community: Community;
7
+ is_new_instance: boolean;
8
+ subscribed: SubscribedType;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
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.20.0-private-community.4",
4
+ "version": "0.20.0-private-community.7",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",