Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea4461fd7e | ||
|
|
0f22443b93 | ||
|
|
0d3161337f |
@@ -1,6 +1,6 @@
|
|||||||
package models
|
package models
|
||||||
|
|
||||||
type Query struct {
|
type Query struct {
|
||||||
Depth int `json:"depth,omitempty"`
|
Depth uint `json:"depth,omitempty"`
|
||||||
RegExp string `json:"regExp,omitempty"`
|
RegExp string `json:"regExp,omitempty"`
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
package models
|
package models
|
||||||
|
|
||||||
|
import "github.com/google/uuid"
|
||||||
|
|
||||||
type Subscribe struct {
|
type Subscribe struct {
|
||||||
Path string `json:"path"`
|
Uuid uuid.UUID `json:"uuid,omitempty"`
|
||||||
Depth uint `json:"depth,omitempty"`
|
Path string `json:"path,omitempty"`
|
||||||
Drivers *Drivers `json:"drivers,omitempty"`
|
Depth uint `json:"depth,omitempty"`
|
||||||
Driver string `json:"driver,omitempty"`
|
Value any `json:"value,omitempty"`
|
||||||
OnCreate bool `json:"onCreate,omitempty"`
|
Drivers *Drivers `json:"drivers,omitempty"`
|
||||||
OnDelete bool `json:"onDelete,omitempty"`
|
Driver string `json:"driver,omitempty"`
|
||||||
OnChange bool `json:"onChange,omitempty"`
|
OnCreate bool `json:"onCreate,omitempty"`
|
||||||
|
OnDelete bool `json:"onDelete,omitempty"`
|
||||||
|
OnChange bool `json:"onChange,omitempty"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user