There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
docs: comment for ipc
Lin Onetwo2a7e1839daaa
diff --git a/client-app/src-tauri/src/commands/document.rs b/client-app/src-tauri/src/commands/document.rsindex 36f945ced0..79cc5f1746 100644--- a/client-app/src-tauri/src/commands/document.rs+++ b/client-app/src-tauri/src/commands/document.rs@@ -5,6 +5,7 @@ use yrs::StateVector;use crate::state::AppState;#[tauri::command]+/// get yDoc created by create_workspace, using same idpub async fn get_doc<'s>(state: tauri::State<'s, AppState>,parameters: GetDocumentParameter,diff --git a/client-app/src-tauri/src/commands/workspace.rs b/client-app/src-tauri/src/commands/workspace.rsindex fcc3972c22..9f745ab2cc 100644--- a/client-app/src-tauri/src/commands/workspace.rs+++ b/client-app/src-tauri/src/commands/workspace.rs@@ -5,6 +5,7 @@ use lib0::any::Any;use crate::state::AppState;#[tauri::command]+/// create yDoc for a workspacepub async fn create_workspace<'s>(state: tauri::State<'s, AppState>,parameters: CreateWorkspace,