Add support for injecting custom code-snippets in webapps

This commit is contained in:
Mumbi Francis
2024-08-23 17:55:09 +03:00
committed by Mumbi Francis
parent f5e6c45d07
commit 2e8b0e96a3
25 changed files with 489 additions and 3 deletions
+7
View File
@@ -238,6 +238,8 @@ type (
// Integration gateway settings
Apigw ApigwSettings `kv:"apigw" json:"apigw"`
CodeSnippets []struct{ CodeSnippet } `kv:"code-snippets" json:"codeSnippets"`
// UserInterface settings
UI struct {
MainLogo string `kv:"main-logo" json:"mainLogo"`
@@ -415,6 +417,11 @@ type (
Values string `json:"values"`
}
CodeSnippet struct {
Name string `json:"name"`
Script string `json:"script"`
}
SmtpServers struct {
Host string `json:"host"`
Port int `json:"port,string"`