Skip to content

Commit

Permalink
Add displayName to field config
Browse files Browse the repository at this point in the history
  • Loading branch information
ptxmac authored and K-Phoen committed Dec 23, 2023
1 parent 948635f commit 9b3a280
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions panel.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,15 +349,16 @@ type (
Mode string `json:"mode"`
}
FieldConfigDefaults struct {
Unit string `json:"unit"`
NoValue string `json:"noValue,omitempty"`
Decimals *int `json:"decimals,omitempty"`
Min *float64 `json:"min,omitempty"`
Max *float64 `json:"max,omitempty"`
Color FieldConfigColor `json:"color"`
Thresholds Thresholds `json:"thresholds"`
Custom FieldConfigCustom `json:"custom"`
Links []Link `json:"links,omitempty"`
Unit string `json:"unit"`
NoValue string `json:"noValue,omitempty"`
Decimals *int `json:"decimals,omitempty"`
Min *float64 `json:"min,omitempty"`
Max *float64 `json:"max,omitempty"`
Color FieldConfigColor `json:"color"`
Thresholds Thresholds `json:"thresholds"`
Custom FieldConfigCustom `json:"custom"`
Links []Link `json:"links,omitempty"`
DisplayName string `json:"displayName,omitempty"`
}
FieldConfigOverrideProperty struct {
ID string `json:"id"`
Expand Down

0 comments on commit 9b3a280

Please sign in to comment.