feat: add tags table, CRUD commands, and Pinia store
This commit is contained in:
@@ -5,6 +5,7 @@ use tauri::Manager;
|
||||
|
||||
mod database;
|
||||
mod commands;
|
||||
mod os_detection;
|
||||
|
||||
pub struct AppState {
|
||||
pub db: Mutex<Connection>,
|
||||
@@ -59,6 +60,18 @@ pub fn run() {
|
||||
commands::update_settings,
|
||||
commands::export_data,
|
||||
commands::clear_all_data,
|
||||
commands::get_idle_seconds,
|
||||
commands::get_visible_windows,
|
||||
commands::get_running_processes,
|
||||
commands::get_tracked_apps,
|
||||
commands::add_tracked_app,
|
||||
commands::remove_tracked_app,
|
||||
commands::get_tags,
|
||||
commands::create_tag,
|
||||
commands::update_tag,
|
||||
commands::delete_tag,
|
||||
commands::get_entry_tags,
|
||||
commands::set_entry_tags,
|
||||
])
|
||||
.setup(|app| {
|
||||
#[cfg(desktop)]
|
||||
|
||||
Reference in New Issue
Block a user