mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
26 lines
431 B
Rust
26 lines
431 B
Rust
pub mod blob;
|
|
pub mod workspace;
|
|
pub mod document;
|
|
pub mod user;
|
|
|
|
use blob::*;
|
|
use workspace::*;
|
|
use document::*;
|
|
use user::*;
|
|
|
|
pub fn invoke_handler() -> impl Fn(tauri::Invoke) + Send + Sync + 'static {
|
|
tauri::generate_handler![
|
|
update_y_document,
|
|
create_workspace,
|
|
update_workspace,
|
|
get_workspaces,
|
|
get_workspace,
|
|
create_user,
|
|
get_user,
|
|
create_doc,
|
|
get_doc,
|
|
put_blob,
|
|
get_blob
|
|
]
|
|
}
|