Update function def model
This commit is contained in:
@@ -85,8 +85,15 @@ type QueryFunction struct {
|
|||||||
|
|
||||||
// QueryOptions model
|
// QueryOptions model
|
||||||
type QueryFunctionDef struct {
|
type QueryFunctionDef struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Category string `json:"category"`
|
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
|
// ReadQuery will read and validate Settings from the DataSourceConfg
|
||||||
|
|||||||
Reference in New Issue
Block a user