diff options
Diffstat (limited to 'eventlogging')
-rw-r--r-- | eventlogging/events.txt | 2 | ||||
-rw-r--r-- | eventlogging/types.go | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/eventlogging/events.txt b/eventlogging/events.txt index 0e170dc..cf07b40 100644 --- a/eventlogging/events.txt +++ b/eventlogging/events.txt | |||
@@ -6,3 +6,5 @@ DELETE_GRIL_FROM_LIST | |||
6 | DELETE_LIST | 6 | DELETE_LIST |
7 | EDIT_LIST | 7 | EDIT_LIST |
8 | CHANGE_GRIL_ORDER | 8 | CHANGE_GRIL_ORDER |
9 | VIEW_SERIES | ||
10 | VIEW_TAG | ||
diff --git a/eventlogging/types.go b/eventlogging/types.go index a835b26..29ad89d 100644 --- a/eventlogging/types.go +++ b/eventlogging/types.go | |||
@@ -50,3 +50,17 @@ type ChangeGrilOrderData struct { | |||
50 | OldOrder int `json:"oldOrder"` | 50 | OldOrder int `json:"oldOrder"` |
51 | NewOrder int `json:"newOrder"` | 51 | NewOrder int `json:"newOrder"` |
52 | } | 52 | } |
53 | |||
54 | type ViewSeriesData struct { | ||
55 | EventLoggerData | ||
56 | SeriesID int `json:"seriesId"` | ||
57 | } | ||
58 | |||
59 | type ViewTagData struct { | ||
60 | EventLoggerData | ||
61 | Tag string `json:"tag"` | ||
62 | TagID int `json:"tagId"` | ||
63 | Results int `json:"results"` | ||
64 | Pages int `json:"pages"` | ||
65 | Page int `json:"page"` | ||
66 | } | ||