parse trigger json into structs

This commit is contained in:
2023-08-16 00:12:11 +02:00
parent 04930021ea
commit b7bab8f726
2 changed files with 11 additions and 11 deletions

View File

@@ -19,10 +19,10 @@ type ActionConfig struct {
}
type KillSwitchConfig struct {
Name string `json:"name"`
Type string `json:"type"`
Options Options `json:"options"`
Actions []ActionConfig `json:"actions"`
Name string `json:"name"`
Type string `json:"type"`
Options json.RawMessage `json:"options"`
Actions []ActionConfig `json:"actions"`
}
type ConfigOption struct {