diff options
author | uurgothat <cckhmck@gmail.com> | 2021-10-18 04:36:49 +0300 |
---|---|---|
committer | uurgothat <cckhmck@gmail.com> | 2021-10-18 04:36:49 +0300 |
commit | 89c3ec1b4aff4d6b057ec0897c4f066563301a72 (patch) | |
tree | a7f4aec66f72f629e3fb1b684c261365af4f9e41 /util/src/entities | |
parent | remove unneeded import (diff) | |
download | server-89c3ec1b4aff4d6b057ec0897c4f066563301a72.tar.xz |
external templates + fosscord draft and more configs
Diffstat (limited to 'util/src/entities')
-rw-r--r-- | util/src/entities/Config.ts | 12 |
1 files changed, 10 insertions, 2 deletions
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 } }; |