mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
refactor: store
This commit is contained in:
@ -47,11 +47,3 @@ type ShortcutFind struct {
|
||||
type ShortcutDelete struct {
|
||||
ID int
|
||||
}
|
||||
|
||||
type ShortcutService interface {
|
||||
CreateShortcut(create *ShortcutCreate) (*Shortcut, error)
|
||||
PatchShortcut(patch *ShortcutPatch) (*Shortcut, error)
|
||||
FindShortcutList(find *ShortcutFind) ([]*Shortcut, error)
|
||||
FindShortcut(find *ShortcutFind) (*Shortcut, error)
|
||||
DeleteShortcut(delete *ShortcutDelete) error
|
||||
}
|
||||
|
Reference in New Issue
Block a user