Sfoglia il codice sorgente

chore(rule): add ui placeholder for rule model

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
Jiyong Huang 2 anni fa
parent
commit
c5e7d2b271
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      pkg/api/stream.go

+ 1 - 0
pkg/api/stream.go

@@ -133,6 +133,7 @@ type GraphNode struct {
 	Type     string                 `json:"type"`
 	NodeType string                 `json:"nodeType"`
 	Props    map[string]interface{} `json:"props"`
+	UI       map[string]interface{} `json:"ui"` //placeholder for ui properties
 }
 
 type RuleGraph struct {