aboutsummaryrefslogtreecommitdiff
path: root/eventlogging/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'eventlogging/types.go')
-rw-r--r--eventlogging/types.go52
1 files changed, 52 insertions, 0 deletions
diff --git a/eventlogging/types.go b/eventlogging/types.go
new file mode 100644
index 0000000..96d0ce0
--- /dev/null
+++ b/eventlogging/types.go
@@ -0,0 +1,52 @@
1package eventlogging
2
3type ViewGrilData struct {
4 EventLoggerData
5 GrilID int
6}
7
8type ViewListData struct {
9 EventLoggerData
10 ListID int
11}
12
13type CreateListData struct {
14 EventLoggerData
15 ListID int
16 Name string
17 Description string
18}
19
20type AddGrilToListData struct {
21 EventLoggerData
22 GrilID int
23 ListID int
24}
25
26type DeleteGrilFromListData struct {
27 EventLoggerData
28 ListID int
29 GrilID int
30}
31
32type DeleteListData struct {
33 EventLoggerData
34 ListID int
35}
36
37type EditListData struct {
38 EventLoggerData
39 ListID int
40 OldName string
41 OldDescription string
42 NewName string
43 NewDescription string
44}
45
46type ChangeGrilOrderData struct {
47 EventLoggerData
48 ListID int
49 GrilID int
50 OldOrder int
51 NewOrder int
52}