ソースを参照

chore(rule): add ui placeholder for rule model

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
Jiyong Huang 2 年 前
コミット
c5e7d2b271
1 ファイル変更1 行追加0 行削除
  1. 1 0
      pkg/api/stream.go

+ 1 - 0
pkg/api/stream.go

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