mirror of
https://github.com/yourselfhosted/slash.git
synced 2025-06-05 22:09:34 +02:00
feat: add shortcut related activity
This commit is contained in:
12
api/v1/activity.go
Normal file
12
api/v1/activity.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package v1
|
||||
|
||||
type ActivityShorcutCreatePayload struct {
|
||||
ShortcutID int `json:"shortcutId"`
|
||||
}
|
||||
|
||||
type ActivityShorcutViewPayload struct {
|
||||
ShortcutID int `json:"shortcutId"`
|
||||
IP string `json:"ip"`
|
||||
Referer string `json:"referer"`
|
||||
UserAgent string `json:"userAgent"`
|
||||
}
|
Reference in New Issue
Block a user