File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
7
7
type Filter struct {
8
8
Operations []common.OperationType `json:"operations"`
9
- EntityType common.DatabaseEntityType `json:"entity_type "`
9
+ EntityType common.DatabaseEntityType `json:"entity-type "`
10
10
}
11
11
12
12
func (f Filter ) Validate () error {
@@ -30,7 +30,7 @@ func (f Filter) Validate() error {
30
30
}
31
31
32
32
type Options struct {
33
- SendEverything bool `json:"send_everything "`
33
+ SendEverything bool `json:"send-everything "`
34
34
Filters []Filter `json:"filters"`
35
35
}
36
36
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ const (
28
28
)
29
29
30
30
type ChangePayload struct {
31
- EntityType DatabaseEntityType
32
- Operation OperationType
33
- Payload interface {}
31
+ EntityType DatabaseEntityType `json:"entity-type"`
32
+ Operation OperationType `json:"operation"`
33
+ Payload interface {} `json:"payload"`
34
34
}
35
35
36
36
type Consumer interface {
You can’t perform that action at this time.
0 commit comments