feat: add basic tauri client app

This commit is contained in:
Lin Onetwo
2023-01-04 17:16:26 +08:00
parent 87451a19bb
commit 64ca6a6b35
57 changed files with 12747 additions and 54 deletions

View File

@@ -0,0 +1,12 @@
pub mod blob;
pub mod workspace;
use workspace::{__cmd__create_workspace, __cmd__update_y_document};
use blob::__cmd__put_blob;
use blob::__cmd__get_blob;
use crate::{commands::{workspace::{create_workspace, update_y_document}, blob::{put_blob, get_blob}}};
pub fn invoke_handler() -> impl Fn(tauri::Invoke) + Send + Sync + 'static {
tauri::generate_handler![update_y_document, create_workspace, put_blob, get_blob]
}