mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-25 22:01:12 +00:00
Add admin community_creation_admin_only. (#20)
* Add admin community_creation_admin_only. * v0.11.0-rc.12
This commit is contained in:
parent
54f94ee953
commit
040dd38e13
3 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "lemmy-js-client",
|
||||
"description": "A javascript / typescript client for Lemmy",
|
||||
"version": "0.11.0-rc.11",
|
||||
"version": "0.11.0-rc.12",
|
||||
"author": "Dessalines <tyhou13@gmx.com>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "./dist/index.js",
|
||||
|
|
|
@ -68,6 +68,7 @@ export interface CreateSite {
|
|||
enable_downvotes?: boolean;
|
||||
open_registration?: boolean;
|
||||
enable_nsfw?: boolean;
|
||||
community_creation_admin_only?: boolean;
|
||||
auth: string;
|
||||
}
|
||||
|
||||
|
@ -80,6 +81,7 @@ export interface EditSite {
|
|||
enable_downvotes?: boolean;
|
||||
open_registration?: boolean;
|
||||
enable_nsfw?: boolean;
|
||||
community_creation_admin_only?: boolean;
|
||||
auth: string;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@ export interface Site {
|
|||
enable_downvotes: boolean;
|
||||
open_registration: boolean;
|
||||
enable_nsfw: boolean;
|
||||
community_creation_admin_only: boolean;
|
||||
icon?: string;
|
||||
banner?: string;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue