1 files changed, 14 insertions, 0 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts
index b3167ac7..1d2d496a 100644
--- a/util/src/entities/Config.ts
+++ b/util/src/entities/Config.ts
@@ -160,6 +160,13 @@ export interface ConfigValue {
kafka: {
brokers: KafkaBroker[] | null;
};
+ templates: {
+ enabled: Boolean;
+ allowTemplateCreation: Boolean;
+ allowDiscordTemplates: Boolean;
+ allowOtherInstancesTemplates: Boolean;
+ allowExternalRaws: Boolean
+ }
}
export const DefaultConfigOptions: ConfigValue = {
@@ -321,4 +328,11 @@ export const DefaultConfigOptions: ConfigValue = {
kafka: {
brokers: null,
},
+ templates: {
+ enabled: true,
+ allowTemplateCreation: true,
+ allowDiscordTemplates: true,
+ allowOtherInstancesTemplates: false, //Incomple
+ allowExternalRaws: false
+ }
};
|