feat: update yrs doc using ipc from yjs doc

This commit is contained in:
Lin Onetwo
2023-01-05 20:43:35 +08:00
parent 92ea3ee2a8
commit c83537aac6
12 changed files with 215 additions and 87 deletions
+3
View File
@@ -1,14 +1,17 @@
pub mod blob;
pub mod workspace;
pub mod document;
use blob::*;
use workspace::*;
use document::*;
pub fn invoke_handler() -> impl Fn(tauri::Invoke) + Send + Sync + 'static {
tauri::generate_handler![
update_y_document,
create_workspace,
update_workspace,
get_doc,
put_blob,
get_blob
]