Add admin community_creation_admin_only. (#20)

* Add admin community_creation_admin_only.

* v0.11.0-rc.12
This commit is contained in:
Dessalines 2021-04-24 14:20:23 -04:00 committed by GitHub
parent 54f94ee953
commit 040dd38e13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "lemmy-js-client", "name": "lemmy-js-client",
"description": "A javascript / typescript client for Lemmy", "description": "A javascript / typescript client for Lemmy",
"version": "0.11.0-rc.11", "version": "0.11.0-rc.12",
"author": "Dessalines <tyhou13@gmx.com>", "author": "Dessalines <tyhou13@gmx.com>",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "./dist/index.js", "main": "./dist/index.js",

View file

@ -68,6 +68,7 @@ export interface CreateSite {
enable_downvotes?: boolean; enable_downvotes?: boolean;
open_registration?: boolean; open_registration?: boolean;
enable_nsfw?: boolean; enable_nsfw?: boolean;
community_creation_admin_only?: boolean;
auth: string; auth: string;
} }
@ -80,6 +81,7 @@ export interface EditSite {
enable_downvotes?: boolean; enable_downvotes?: boolean;
open_registration?: boolean; open_registration?: boolean;
enable_nsfw?: boolean; enable_nsfw?: boolean;
community_creation_admin_only?: boolean;
auth: string; auth: string;
} }

View file

@ -44,6 +44,7 @@ export interface Site {
enable_downvotes: boolean; enable_downvotes: boolean;
open_registration: boolean; open_registration: boolean;
enable_nsfw: boolean; enable_nsfw: boolean;
community_creation_admin_only: boolean;
icon?: string; icon?: string;
banner?: string; banner?: string;
} }