Add support for injecting custom code-snippets in webapps
This commit is contained in:
committed by
Mumbi Francis
parent
f5e6c45d07
commit
2e8b0e96a3
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user