Update function def model

This commit is contained in:
Alexander Zobnin
2021-03-05 13:38:44 +03:00
parent e77990f941
commit 8e587fecdf

View File

@@ -87,6 +87,13 @@ type QueryFunction struct {
type QueryFunctionDef struct {
Name string `json:"name"`
Category string `json:"category"`
Params []QueryFunctionParamDef `json:"params"`
DefaultParams []string `json:"defaultParams"`
}
type QueryFunctionParamDef struct {
Name string `json:"name"`
Type string `json:"type"`
}
// ReadQuery will read and validate Settings from the DataSourceConfg