From 89c3ec1b4aff4d6b057ec0897c4f066563301a72 Mon Sep 17 00:00:00 2001 From: uurgothat Date: Mon, 18 Oct 2021 04:36:49 +0300 Subject: external templates + fosscord draft and more configs --- util/src/entities/Config.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts index 48a8b34e..1d2d496a 100644 --- a/util/src/entities/Config.ts +++ b/util/src/entities/Config.ts @@ -161,7 +161,11 @@ export interface ConfigValue { brokers: KafkaBroker[] | null; }; templates: { - allowDiscordTemplates: Boolean + enabled: Boolean; + allowTemplateCreation: Boolean; + allowDiscordTemplates: Boolean; + allowOtherInstancesTemplates: Boolean; + allowExternalRaws: Boolean } } @@ -325,6 +329,10 @@ export const DefaultConfigOptions: ConfigValue = { brokers: null, }, templates: { - allowDiscordTemplates: true + enabled: true, + allowTemplateCreation: true, + allowDiscordTemplates: true, + allowOtherInstancesTemplates: false, //Incomple + allowExternalRaws: false } }; -- cgit 1.4.1