mirror of
https://github.com/ByteAtATime/raycast-linux.git
synced 2025-09-12 08:56:23 +00:00
feat(snippets): implement backend crud operations
This commit creates the basic CRUD functions (`create`, `list`, `update`, `delete`) as Tauri commands.
This commit is contained in:
parent
1a2fa36a79
commit
d72b4dd450
3 changed files with 131 additions and 3 deletions
|
@ -230,7 +230,11 @@ pub fn run() {
|
|||
system::show_in_finder,
|
||||
system::trash,
|
||||
record_usage,
|
||||
get_frecency_data
|
||||
get_frecency_data,
|
||||
snippets::create_snippet,
|
||||
snippets::list_snippets,
|
||||
snippets::update_snippet,
|
||||
snippets::delete_snippet
|
||||
])
|
||||
.setup(|app| {
|
||||
let app_handle = app.handle().clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue