aboutsummaryrefslogtreecommitdiff
path: root/eventlogging/types.go
blob: 96d0ce0085e5a99cc31ea6e540f58446c9a5b016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package eventlogging

type ViewGrilData struct {
	EventLoggerData
	GrilID int
}

type ViewListData struct {
	EventLoggerData
	ListID int
}

type CreateListData struct {
	EventLoggerData
	ListID      int
	Name        string
	Description string
}

type AddGrilToListData struct {
	EventLoggerData
	GrilID int
	ListID int
}

type DeleteGrilFromListData struct {
	EventLoggerData
	ListID int
	GrilID int
}

type DeleteListData struct {
	EventLoggerData
	ListID int
}

type EditListData struct {
	EventLoggerData
	ListID         int
	OldName        string
	OldDescription string
	NewName        string
	NewDescription string
}

type ChangeGrilOrderData struct {
	EventLoggerData
	ListID   int
	GrilID   int
	OldOrder int
	NewOrder int
}