diff --git a/package.json b/package.json index f975daf..87abe4d 100644 --- a/package.json +++ b/package.json @@ -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 ", "license": "AGPL-3.0", "main": "./dist/index.js", diff --git a/src/interfaces/api/site.ts b/src/interfaces/api/site.ts index 59d0c68..b711e2c 100644 --- a/src/interfaces/api/site.ts +++ b/src/interfaces/api/site.ts @@ -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; } diff --git a/src/interfaces/source.ts b/src/interfaces/source.ts index 66e7687..47eee61 100644 --- a/src/interfaces/source.ts +++ b/src/interfaces/source.ts @@ -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; }