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

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,7 @@ export interface CreateCommunity {
23
23
  icon?: string;
24
24
  banner?: string;
25
25
  nsfw?: boolean;
26
+ posting_restricted_to_mods?: boolean;
26
27
  auth: string;
27
28
  }
28
29
  export interface CommunityResponse {
@@ -82,6 +83,7 @@ export interface EditCommunity {
82
83
  icon?: string;
83
84
  banner?: string;
84
85
  nsfw?: boolean;
86
+ posting_restricted_to_mods?: boolean;
85
87
  auth: string;
86
88
  }
87
89
  export interface DeleteCommunity {
@@ -206,6 +206,7 @@ export interface CommunitySafe {
206
206
  local: boolean;
207
207
  icon?: string;
208
208
  banner?: string;
209
+ posting_restricted_to_mods: boolean;
209
210
  }
210
211
  export interface CommentReport {
211
212
  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.4-rc.1",
4
+ "version": "0.16.4-rc.2",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",