external templates + fosscord draft and more configs

This commit is contained in:
uurgothat
2021-10-18 04:36:49 +03:00
parent 9cda0c2c5a
commit 7c724175ce
2 changed files with 38 additions and 4 deletions
+10 -2
View File
@@ -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
}
};