From a738c82063b74a5b247ebb998ededcb792fd707f Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 23 Apr 2021 23:15:54 -0400 Subject: [PATCH] Add admin community_creation_admin_only. --- src/interfaces/api/site.ts | 2 ++ src/interfaces/source.ts | 1 + 2 files changed, 3 insertions(+) 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; }