aboutsummaryrefslogtreecommitdiff
path: root/eventlogging
diff options
context:
space:
mode:
Diffstat (limited to 'eventlogging')
-rw-r--r--eventlogging/events.txt2
-rw-r--r--eventlogging/types.go14
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
6DELETE_LIST 6DELETE_LIST
7EDIT_LIST 7EDIT_LIST
8CHANGE_GRIL_ORDER 8CHANGE_GRIL_ORDER
9VIEW_SERIES
10VIEW_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
54type ViewSeriesData struct {
55 EventLoggerData
56 SeriesID int `json:"seriesId"`
57}
58
59type 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}