[v11.0.x] Expressions+Testdata: Create json schema for query types (#86164)
Expressions: Create json schema for query types (#84032)
(cherry picked from commit 4cda34ff7d)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
co-authored by
Ryan McKinley
parent
0a95bcb6bd
commit
9744f081fc
@@ -173,8 +173,8 @@ type ThresholdCommandConfig struct {
|
||||
|
||||
type ThresholdConditionJSON struct {
|
||||
Evaluator ConditionEvalJSON `json:"evaluator"`
|
||||
UnloadEvaluator *ConditionEvalJSON `json:"unloadEvaluator"`
|
||||
LoadedDimensions *data.Frame `json:"loadedDimensions"`
|
||||
UnloadEvaluator *ConditionEvalJSON `json:"unloadEvaluator,omitempty"`
|
||||
LoadedDimensions *data.Frame `json:"loadedDimensions,omitempty"`
|
||||
}
|
||||
|
||||
// IsHysteresisExpression returns true if the raw model describes a hysteresis command:
|
||||
|
||||
Reference in New Issue
Block a user