diff --git a/models/subscription.go b/models/subscription.go index 2e226ab..f5309ee 100644 --- a/models/subscription.go +++ b/models/subscription.go @@ -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 + Rights Rights `json:"rights,omitempty"` // read /write rights 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