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:
ByteAtATime 2025-06-24 18:50:13 -07:00
parent 1a2fa36a79
commit d72b4dd450
No known key found for this signature in database
3 changed files with 131 additions and 3 deletions

View file

@ -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();