add create and has child parameter

This commit is contained in:
Adrian Zürcher
2025-05-13 21:12:19 +02:00
parent 3accf6fc06
commit 640604c06d
2 changed files with 2 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ type Subscription struct {
Path string `json:"path,omitempty"` // dbm path
Depth uint `json:"depth,omitempty"` // depth of subscriptions from found path or uuid
Value any `json:"value,omitempty"` // current value
HasChild bool `json:"hasChild,omitempty"` // inidicates path has child/ren
Drivers *Drivers `json:"drivers,omitempty"` // assigned drivers
Driver string `json:"driver,omitempty"` // driver type to assign this subscription
OnCreate bool `json:"onCreate,omitempty"` // notify at datapoint creation