+
+
+
+
+ );
+};
diff --git a/frontend/appflowy_tauri/src/appflowy_app/stores/effects/document/document_bd_svc.ts b/frontend/appflowy_tauri/src/appflowy_app/stores/effects/document/document_bd_svc.ts
new file mode 100644
index 0000000000..3918de746d
--- /dev/null
+++ b/frontend/appflowy_tauri/src/appflowy_app/stores/effects/document/document_bd_svc.ts
@@ -0,0 +1,30 @@
+import {
+ DocumentDataPB,
+ DocumentVersionPB,
+ EditPayloadPB,
+ FlowyError,
+ OpenDocumentPayloadPB,
+ ViewIdPB,
+} from '../../../../services/backend';
+import { DocumentEventApplyEdit, DocumentEventGetDocument } from '../../../../services/backend/events/flowy-document';
+import { Result } from 'ts-results';
+import { FolderEventCloseView } from '../../../../services/backend/events/flowy-folder';
+
+export class DocumentBackendService {
+ constructor(public readonly viewId: string) {}
+
+ open = (): Promise