summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/Config.ts12
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
 	}
 };