lemmy-js-client 0.20.0-private-community.2 → 0.20.0-private-community.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,4 +3,5 @@ import type { PersonId } from "./PersonId";
3
3
  export interface ApproveCommunityPendingFollows {
4
4
  community_id: CommunityId;
5
5
  follower_id: PersonId;
6
+ approve: boolean;
6
7
  }
@@ -130,6 +130,8 @@ export type LemmyErrorType = {
130
130
  error: "person_is_banned_from_community";
131
131
  } | {
132
132
  error: "object_is_not_public";
133
+ } | {
134
+ error: "object_is_not_private";
133
135
  } | {
134
136
  error: "invalid_community";
135
137
  } | {
@@ -1 +1 @@
1
- export type SubscribedType = "Subscribed" | "NotSubscribed" | "Pending";
1
+ export type SubscribedType = "Subscribed" | "NotSubscribed" | "Pending" | "ApprovalRequired";
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.2",
4
+ "version": "0.20.0-private-community.3",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",