chore: remove shortcut related api (#2072)

This commit is contained in:
boojack
2023-08-03 23:33:45 +08:00
committed by GitHub
parent d1b0b0da10
commit 1ce82ba0d6
5 changed files with 0 additions and 472 deletions

View File

@@ -30,15 +30,6 @@ const (
// ActivityMemoDelete is the type for deleting memos.
ActivityMemoDelete ActivityType = "memo.delete"
// Shortcut related.
// ActivityShortcutCreate is the type for creating shortcuts.
ActivityShortcutCreate ActivityType = "shortcut.create"
// ActivityShortcutUpdate is the type for updating shortcuts.
ActivityShortcutUpdate ActivityType = "shortcut.update"
// ActivityShortcutDelete is the type for deleting shortcuts.
ActivityShortcutDelete ActivityType = "shortcut.delete"
// Resource related.
// ActivityResourceCreate is the type for creating resources.
@@ -100,11 +91,6 @@ type ActivityMemoCreatePayload struct {
Visibility string `json:"visibility"`
}
type ActivityShortcutCreatePayload struct {
Title string `json:"title"`
Payload string `json:"payload"`
}
type ActivityResourceCreatePayload struct {
Filename string `json:"filename"`
Type string `json:"type"`