diff options
Diffstat (limited to 'eventlogging')
-rw-r--r-- | eventlogging/types.go | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/eventlogging/types.go b/eventlogging/types.go index 96d0ce0..a835b26 100644 --- a/eventlogging/types.go +++ b/eventlogging/types.go | |||
@@ -2,51 +2,51 @@ package eventlogging | |||
2 | 2 | ||
3 | type ViewGrilData struct { | 3 | type ViewGrilData struct { |
4 | EventLoggerData | 4 | EventLoggerData |
5 | GrilID int | 5 | GrilID int `json:"grilId"` |
6 | } | 6 | } |
7 | 7 | ||
8 | type ViewListData struct { | 8 | type ViewListData struct { |
9 | EventLoggerData | 9 | EventLoggerData |
10 | ListID int | 10 | ListID int `json:"listId"` |
11 | } | 11 | } |
12 | 12 | ||
13 | type CreateListData struct { | 13 | type CreateListData struct { |
14 | EventLoggerData | 14 | EventLoggerData |
15 | ListID int | 15 | ListID int `json:"listId"` |
16 | Name string | 16 | Name string `json:"name"` |
17 | Description string | 17 | Description string `json:"description"` |
18 | } | 18 | } |
19 | 19 | ||
20 | type AddGrilToListData struct { | 20 | type AddGrilToListData struct { |
21 | EventLoggerData | 21 | EventLoggerData |
22 | GrilID int | 22 | GrilID int `json:"grilId"` |
23 | ListID int | 23 | ListID int `json:"listId"` |
24 | } | 24 | } |
25 | 25 | ||
26 | type DeleteGrilFromListData struct { | 26 | type DeleteGrilFromListData struct { |
27 | EventLoggerData | 27 | EventLoggerData |
28 | ListID int | 28 | ListID int `json:"listId"` |
29 | GrilID int | 29 | GrilID int `json:"grilId"` |
30 | } | 30 | } |
31 | 31 | ||
32 | type DeleteListData struct { | 32 | type DeleteListData struct { |
33 | EventLoggerData | 33 | EventLoggerData |
34 | ListID int | 34 | ListID int `json:"listId"` |
35 | } | 35 | } |
36 | 36 | ||
37 | type EditListData struct { | 37 | type EditListData struct { |
38 | EventLoggerData | 38 | EventLoggerData |
39 | ListID int | 39 | ListID int `json:"listId"` |
40 | OldName string | 40 | OldName string `json:"oldName"` |
41 | OldDescription string | 41 | OldDescription string `json:"oldDescription"` |
42 | NewName string | 42 | NewName string `json:"newName"` |
43 | NewDescription string | 43 | NewDescription string `json:"newDescription"` |
44 | } | 44 | } |
45 | 45 | ||
46 | type ChangeGrilOrderData struct { | 46 | type ChangeGrilOrderData struct { |
47 | EventLoggerData | 47 | EventLoggerData |
48 | ListID int | 48 | ListID int `json:"listId"` |
49 | GrilID int | 49 | GrilID int `json:"grilId"` |
50 | OldOrder int | 50 | OldOrder int `json:"oldOrder"` |
51 | NewOrder int | 51 | NewOrder int `json:"newOrder"` |
52 | } | 52 | } |