add right to subscription

This commit is contained in:
Adrian Zuercher
2025-07-15 20:17:21 +02:00
parent 274a80d605
commit 2dc3baca3c

View File

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