Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

add frontend folder

appflowy8f1d62f11558
diff --git a/app_flowy/packages/flowy_infra_ui/example/test/widget_test.dart b/app_flowy/packages/flowy_infra_ui/example/test/widget_test.dart
deleted file mode 100644
index 1550d94848..0000000000
--- a/app_flowy/packages/flowy_infra_ui/example/test/widget_test.dart
+++ /dev/null
@@ -1,26 +0,0 @@
-// This is a basic Flutter widget test.
-//
-// To perform an interaction with a widget in your test, use the WidgetTester
-// utility that Flutter provides. For example, you can send tap and scroll
-// gestures. You can also use WidgetTester to find child widgets in the widget
-// tree, read text, and verify that the values of widget properties are correct.
-
-import 'package:flutter/material.dart';
-import 'package:flutter_test/flutter_test.dart';
-
-import 'package:flowy_infra_ui_example/main.dart';
-
-void main() {
- testWidgets('Verify Platform version', (WidgetTester tester) async {
- // Build our app and trigger a frame.
- await tester.pumpWidget(const ExampleApp());
-
- // Verify that platform version is retrieved.
- expect(
- find.byWidgetPredicate(
- (Widget widget) => widget is Text && widget.data!.startsWith('Running on:'),
- ),
- findsOneWidget,
- );
- });
-}
diff --git a/app_flowy/packages/flowy_sdk/example/test/widget_test.dart b/app_flowy/packages/flowy_sdk/example/test/widget_test.dart
deleted file mode 100644
index c4b3f0e7f7..0000000000
--- a/app_flowy/packages/flowy_sdk/example/test/widget_test.dart
+++ /dev/null
@@ -1,29 +0,0 @@
-// This is a basic Flutter widget test.
-//
-// To perform an interaction with a widget in your test, use the WidgetTester
-// utility that Flutter provides. For example, you can send tap and scroll
-// gestures. You can also use WidgetTester to find child widgets in the widget
-// tree, read text, and verify that the values of widget properties are correct.
-
-import 'package:flutter/material.dart';
-import 'package:flutter_test/flutter_test.dart';
-
-import '../lib/main.dart';
-
-void main() {
- testWidgets('Verify Platform version', (WidgetTester tester) async {
- // Build our app and trigger a frame.
- await tester.pumpWidget(MyApp());
-
- // Verify that platform version is retrieved.
- expect(
- find.byWidgetPredicate((Widget widget) {
- if (widget is Text && widget.data != null) {
- return widget.data.startsWith('Running on:');
- }
- return false;
- }),
- findsOneWidget,
- );
- });
-}
diff --git a/app_flowy/product/README.md b/app_flowy/product/README.md
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/backend/Cargo.toml b/backend/Cargo.toml
index ed9c378149..e7c36a3b3d 100644
--- a/backend/Cargo.toml
+++ b/backend/Cargo.toml
@@ -60,12 +60,12 @@ pin-project = "1.0.0"
byteorder = {version = "1.3.4"}
async-stream = "0.3.2"
-flowy-user-infra = { path = "../rust-lib/flowy-user-infra" }
-flowy-workspace-infra = { path = "../rust-lib/flowy-workspace-infra" }
-flowy-document-infra = { path = "../rust-lib/flowy-document-infra" }
-lib-ws = { path = "../rust-lib/lib-ws" }
-lib-ot = { path = "../rust-lib/lib-ot" }
-backend-service = { path = "../rust-lib/backend-service", features = ["http_server"] }
+flowy-user-infra = { path = "../frontend/rust-lib/flowy-user-infra" }
+flowy-workspace-infra = { path = "../frontend/rust-lib/flowy-workspace-infra" }
+flowy-document-infra = { path = "../frontend/rust-lib/flowy-document-infra" }
+lib-ws = { path = "../frontend/rust-lib/lib-ws" }
+lib-ot = { path = "../frontend/rust-lib/lib-ot" }
+backend-service = { path = "../frontend/rust-lib/backend-service", features = ["http_server"] }
ormx = { version = "0.7", features = ["postgres"]}
[dependencies.sqlx]
@@ -98,14 +98,14 @@ ignore_auth = []
parking_lot = "0.11"
once_cell = "1.7.2"
linkify = "0.5.0"
-backend = { path = ".", features = ["flowy_test"]}
-flowy-sdk = { path = "../rust-lib/flowy-sdk", features = ["http_server"] }
-flowy-user = { path = "../rust-lib/flowy-user", features = ["http_server"] }
-flowy-document = { path = "../rust-lib/flowy-document", features = ["flowy_test", "http_server"] }
+futures-util = "0.3.15"
-lib-ws = { path = "../rust-lib/lib-ws" }
-flowy-test = { path = "../rust-lib/flowy-test" }
-lib-infra = { path = "../rust-lib/lib-infra" }
-lib-ot = { path = "../rust-lib/lib-ot" }
-lib-sqlite = { path = "../rust-lib/lib-sqlite" }
-futures-util = "0.3.15"
\ No newline at end of file
+backend = { path = ".", features = ["flowy_test"]}
+flowy-sdk = { path = "../frontend/rust-lib/flowy-sdk", features = ["http_server"] }
+flowy-user = { path = "../frontend/rust-lib/flowy-user", features = ["http_server"] }
+flowy-document = { path = "../frontend/rust-lib/flowy-document", features = ["flowy_test", "http_server"] }
+lib-ws = { path = "../frontend/rust-lib/lib-ws" }
+flowy-test = { path = "../frontend/rust-lib/flowy-test" }
+lib-infra = { path = "../frontend/rust-lib/lib-infra" }
+lib-ot = { path = "../frontend/rust-lib/lib-ot" }
+lib-sqlite = { path = "../frontend/rust-lib/lib-sqlite" }
diff --git a/Brewfile b/frontend/Brewfile
similarity index 100%
rename from Brewfile
rename to frontend/Brewfile
diff --git a/Makefile b/frontend/Makefile
similarity index 100%
rename from Makefile
rename to frontend/Makefile
diff --git a/Makefile.toml b/frontend/Makefile.toml
similarity index 100%
rename from Makefile.toml
rename to frontend/Makefile.toml
diff --git a/app_flowy/.gitignore b/frontend/app_flowy/.gitignore
similarity index 100%
rename from app_flowy/.gitignore
rename to frontend/app_flowy/.gitignore
diff --git a/app_flowy/.metadata b/frontend/app_flowy/.metadata
similarity index 100%
rename from app_flowy/.metadata
rename to frontend/app_flowy/.metadata
diff --git a/app_flowy/.vscode/launch.json b/frontend/app_flowy/.vscode/launch.json
similarity index 100%
rename from app_flowy/.vscode/launch.json
rename to frontend/app_flowy/.vscode/launch.json
diff --git a/app_flowy/.vscode/settings.json b/frontend/app_flowy/.vscode/settings.json
similarity index 100%
rename from app_flowy/.vscode/settings.json
rename to frontend/app_flowy/.vscode/settings.json
diff --git a/app_flowy/.vscode/tasks.json b/frontend/app_flowy/.vscode/tasks.json
similarity index 100%
rename from app_flowy/.vscode/tasks.json
rename to frontend/app_flowy/.vscode/tasks.json
diff --git a/app_flowy/Makefile b/frontend/app_flowy/Makefile
similarity index 100%
rename from app_flowy/Makefile
rename to frontend/app_flowy/Makefile
diff --git a/app_flowy/README.md b/frontend/app_flowy/README.md
similarity index 100%
rename from app_flowy/README.md
rename to frontend/app_flowy/README.md
diff --git a/app_flowy/analysis_options.yaml b/frontend/app_flowy/analysis_options.yaml
similarity index 100%
rename from app_flowy/analysis_options.yaml
rename to frontend/app_flowy/analysis_options.yaml
diff --git a/app_flowy/android/.gitignore b/frontend/app_flowy/android/.gitignore
similarity index 100%
rename from app_flowy/android/.gitignore
rename to frontend/app_flowy/android/.gitignore
diff --git a/app_flowy/android/app/build.gradle b/frontend/app_flowy/android/app/build.gradle
similarity index 100%
rename from app_flowy/android/app/build.gradle
rename to frontend/app_flowy/android/app/build.gradle
diff --git a/app_flowy/android/app/src/debug/AndroidManifest.xml b/frontend/app_flowy/android/app/src/debug/AndroidManifest.xml
similarity index 100%
rename from app_flowy/android/app/src/debug/AndroidManifest.xml
rename to frontend/app_flowy/android/app/src/debug/AndroidManifest.xml
diff --git a/app_flowy/android/app/src/main/AndroidManifest.xml b/frontend/app_flowy/android/app/src/main/AndroidManifest.xml
similarity index 100%
rename from app_flowy/android/app/src/main/AndroidManifest.xml
rename to frontend/app_flowy/android/app/src/main/AndroidManifest.xml
diff --git a/app_flowy/android/app/src/main/kotlin/com/example/app_flowy/MainActivity.kt b/frontend/app_flowy/android/app/src/main/kotlin/com/example/app_flowy/MainActivity.kt
similarity index 100%
rename from app_flowy/android/app/src/main/kotlin/com/example/app_flowy/MainActivity.kt
rename to frontend/app_flowy/android/app/src/main/kotlin/com/example/app_flowy/MainActivity.kt
diff --git a/app_flowy/android/app/src/main/res/drawable-v21/launch_background.xml b/frontend/app_flowy/android/app/src/main/res/drawable-v21/launch_background.xml
similarity index 100%
rename from app_flowy/android/app/src/main/res/drawable-v21/launch_background.xml
rename to frontend/app_flowy/android/app/src/main/res/drawable-v21/launch_background.xml
diff --git a/app_flowy/android/app/src/main/res/drawable/launch_background.xml b/frontend/app_flowy/android/app/src/main/res/drawable/launch_background.xml
similarity index 100%
rename from app_flowy/android/app/src/main/res/drawable/launch_background.xml
rename to frontend/app_flowy/android/app/src/main/res/drawable/launch_background.xml
diff --git a/app_flowy/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/frontend/app_flowy/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
rename to frontend/app_flowy/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
diff --git a/app_flowy/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/frontend/app_flowy/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
rename to frontend/app_flowy/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
diff --git a/app_flowy/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/frontend/app_flowy/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
rename to frontend/app_flowy/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
diff --git a/app_flowy/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/frontend/app_flowy/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
rename to frontend/app_flowy/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
diff --git a/app_flowy/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/frontend/app_flowy/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
rename to frontend/app_flowy/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
diff --git a/app_flowy/android/app/src/main/res/values-night/styles.xml b/frontend/app_flowy/android/app/src/main/res/values-night/styles.xml
similarity index 100%
rename from app_flowy/android/app/src/main/res/values-night/styles.xml
rename to frontend/app_flowy/android/app/src/main/res/values-night/styles.xml
diff --git a/app_flowy/android/app/src/main/res/values/styles.xml b/frontend/app_flowy/android/app/src/main/res/values/styles.xml
similarity index 100%
rename from app_flowy/android/app/src/main/res/values/styles.xml
rename to frontend/app_flowy/android/app/src/main/res/values/styles.xml
diff --git a/app_flowy/android/app/src/profile/AndroidManifest.xml b/frontend/app_flowy/android/app/src/profile/AndroidManifest.xml
similarity index 100%
rename from app_flowy/android/app/src/profile/AndroidManifest.xml
rename to frontend/app_flowy/android/app/src/profile/AndroidManifest.xml
diff --git a/app_flowy/android/build.gradle b/frontend/app_flowy/android/build.gradle
similarity index 100%
rename from app_flowy/android/build.gradle
rename to frontend/app_flowy/android/build.gradle
diff --git a/app_flowy/android/gradle.properties b/frontend/app_flowy/android/gradle.properties
similarity index 100%
rename from app_flowy/android/gradle.properties
rename to frontend/app_flowy/android/gradle.properties
diff --git a/app_flowy/android/gradle/wrapper/gradle-wrapper.properties b/frontend/app_flowy/android/gradle/wrapper/gradle-wrapper.properties
similarity index 100%
rename from app_flowy/android/gradle/wrapper/gradle-wrapper.properties
rename to frontend/app_flowy/android/gradle/wrapper/gradle-wrapper.properties
diff --git a/app_flowy/android/settings.gradle b/frontend/app_flowy/android/settings.gradle
similarity index 100%
rename from app_flowy/android/settings.gradle
rename to frontend/app_flowy/android/settings.gradle
diff --git a/app_flowy/assets/images/app_flowy_logo.jpg b/frontend/app_flowy/assets/images/app_flowy_logo.jpg
similarity index 100%
rename from app_flowy/assets/images/app_flowy_logo.jpg
rename to frontend/app_flowy/assets/images/app_flowy_logo.jpg
diff --git a/app_flowy/assets/images/appflowy_launch_splash.jpg b/frontend/app_flowy/assets/images/appflowy_launch_splash.jpg
similarity index 100%
rename from app_flowy/assets/images/appflowy_launch_splash.jpg
rename to frontend/app_flowy/assets/images/appflowy_launch_splash.jpg
diff --git a/app_flowy/assets/images/editor/Add.svg b/frontend/app_flowy/assets/images/editor/Add.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Add.svg
rename to frontend/app_flowy/assets/images/editor/Add.svg
diff --git a/app_flowy/assets/images/editor/Align/Center.svg b/frontend/app_flowy/assets/images/editor/Align/Center.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Align/Center.svg
rename to frontend/app_flowy/assets/images/editor/Align/Center.svg
diff --git a/app_flowy/assets/images/editor/Align/Left.svg b/frontend/app_flowy/assets/images/editor/Align/Left.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Align/Left.svg
rename to frontend/app_flowy/assets/images/editor/Align/Left.svg
diff --git a/app_flowy/assets/images/editor/Align/Right.svg b/frontend/app_flowy/assets/images/editor/Align/Right.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Align/Right.svg
rename to frontend/app_flowy/assets/images/editor/Align/Right.svg
diff --git a/app_flowy/assets/images/editor/Arrow/Left.svg b/frontend/app_flowy/assets/images/editor/Arrow/Left.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Arrow/Left.svg
rename to frontend/app_flowy/assets/images/editor/Arrow/Left.svg
diff --git a/app_flowy/assets/images/editor/Arrow/Right.svg b/frontend/app_flowy/assets/images/editor/Arrow/Right.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Arrow/Right.svg
rename to frontend/app_flowy/assets/images/editor/Arrow/Right.svg
diff --git a/app_flowy/assets/images/editor/Attach.svg b/frontend/app_flowy/assets/images/editor/Attach.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Attach.svg
rename to frontend/app_flowy/assets/images/editor/Attach.svg
diff --git a/app_flowy/assets/images/editor/Board.svg b/frontend/app_flowy/assets/images/editor/Board.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Board.svg
rename to frontend/app_flowy/assets/images/editor/Board.svg
diff --git a/app_flowy/assets/images/editor/Bold.svg b/frontend/app_flowy/assets/images/editor/Bold.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Bold.svg
rename to frontend/app_flowy/assets/images/editor/Bold.svg
diff --git a/app_flowy/assets/images/editor/Check.svg b/frontend/app_flowy/assets/images/editor/Check.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Check.svg
rename to frontend/app_flowy/assets/images/editor/Check.svg
diff --git a/app_flowy/assets/images/editor/Checkbox.svg b/frontend/app_flowy/assets/images/editor/Checkbox.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Checkbox.svg
rename to frontend/app_flowy/assets/images/editor/Checkbox.svg
diff --git a/app_flowy/assets/images/editor/Checklist.svg b/frontend/app_flowy/assets/images/editor/Checklist.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Checklist.svg
rename to frontend/app_flowy/assets/images/editor/Checklist.svg
diff --git a/app_flowy/assets/images/editor/Clear.svg b/frontend/app_flowy/assets/images/editor/Clear.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Clear.svg
rename to frontend/app_flowy/assets/images/editor/Clear.svg
diff --git a/app_flowy/assets/images/editor/Close.svg b/frontend/app_flowy/assets/images/editor/Close.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Close.svg
rename to frontend/app_flowy/assets/images/editor/Close.svg
diff --git a/app_flowy/assets/images/editor/Color/Default.svg b/frontend/app_flowy/assets/images/editor/Color/Default.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Color/Default.svg
rename to frontend/app_flowy/assets/images/editor/Color/Default.svg
diff --git a/app_flowy/assets/images/editor/Color/Select.svg b/frontend/app_flowy/assets/images/editor/Color/Select.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Color/Select.svg
rename to frontend/app_flowy/assets/images/editor/Color/Select.svg
diff --git a/app_flowy/assets/images/editor/Comment.svg b/frontend/app_flowy/assets/images/editor/Comment.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Comment.svg
rename to frontend/app_flowy/assets/images/editor/Comment.svg
diff --git a/app_flowy/assets/images/editor/Comments.svg b/frontend/app_flowy/assets/images/editor/Comments.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Comments.svg
rename to frontend/app_flowy/assets/images/editor/Comments.svg
diff --git a/app_flowy/assets/images/editor/Copy.svg b/frontend/app_flowy/assets/images/editor/Copy.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Copy.svg
rename to frontend/app_flowy/assets/images/editor/Copy.svg
diff --git a/app_flowy/assets/images/editor/Dashboard.svg b/frontend/app_flowy/assets/images/editor/Dashboard.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Dashboard.svg
rename to frontend/app_flowy/assets/images/editor/Dashboard.svg
diff --git a/app_flowy/assets/images/editor/Date.svg b/frontend/app_flowy/assets/images/editor/Date.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Date.svg
rename to frontend/app_flowy/assets/images/editor/Date.svg
diff --git a/app_flowy/assets/images/editor/Delete.svg b/frontend/app_flowy/assets/images/editor/Delete.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Delete.svg
rename to frontend/app_flowy/assets/images/editor/Delete.svg
diff --git a/app_flowy/assets/images/editor/Details.svg b/frontend/app_flowy/assets/images/editor/Details.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Details.svg
rename to frontend/app_flowy/assets/images/editor/Details.svg
diff --git a/app_flowy/assets/images/editor/Documents.svg b/frontend/app_flowy/assets/images/editor/Documents.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Documents.svg
rename to frontend/app_flowy/assets/images/editor/Documents.svg
diff --git a/app_flowy/assets/images/editor/Edit.svg b/frontend/app_flowy/assets/images/editor/Edit.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Edit.svg
rename to frontend/app_flowy/assets/images/editor/Edit.svg
diff --git a/app_flowy/assets/images/editor/Euro.svg b/frontend/app_flowy/assets/images/editor/Euro.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Euro.svg
rename to frontend/app_flowy/assets/images/editor/Euro.svg
diff --git a/app_flowy/assets/images/editor/Favorite/Active.svg b/frontend/app_flowy/assets/images/editor/Favorite/Active.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Favorite/Active.svg
rename to frontend/app_flowy/assets/images/editor/Favorite/Active.svg
diff --git a/app_flowy/assets/images/editor/Favorite/Default.svg b/frontend/app_flowy/assets/images/editor/Favorite/Default.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Favorite/Default.svg
rename to frontend/app_flowy/assets/images/editor/Favorite/Default.svg
diff --git a/app_flowy/assets/images/editor/Grid.svg b/frontend/app_flowy/assets/images/editor/Grid.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Grid.svg
rename to frontend/app_flowy/assets/images/editor/Grid.svg
diff --git a/app_flowy/assets/images/editor/Group.svg b/frontend/app_flowy/assets/images/editor/Group.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Group.svg
rename to frontend/app_flowy/assets/images/editor/Group.svg
diff --git a/app_flowy/assets/images/editor/H1.svg b/frontend/app_flowy/assets/images/editor/H1.svg
similarity index 100%
rename from app_flowy/assets/images/editor/H1.svg
rename to frontend/app_flowy/assets/images/editor/H1.svg
diff --git a/app_flowy/assets/images/editor/H2.svg b/frontend/app_flowy/assets/images/editor/H2.svg
similarity index 100%
rename from app_flowy/assets/images/editor/H2.svg
rename to frontend/app_flowy/assets/images/editor/H2.svg
diff --git a/app_flowy/assets/images/editor/H3.svg b/frontend/app_flowy/assets/images/editor/H3.svg
similarity index 100%
rename from app_flowy/assets/images/editor/H3.svg
rename to frontend/app_flowy/assets/images/editor/H3.svg
diff --git a/app_flowy/assets/images/editor/Hide.svg b/frontend/app_flowy/assets/images/editor/Hide.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Hide.svg
rename to frontend/app_flowy/assets/images/editor/Hide.svg
diff --git a/app_flowy/assets/images/editor/Highlight.svg b/frontend/app_flowy/assets/images/editor/Highlight.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Highlight.svg
rename to frontend/app_flowy/assets/images/editor/Highlight.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Filter.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Filter.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Filter.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Filter.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Information.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Information.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Information.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Information.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Lira.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Lira.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Lira.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Lira.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Properties.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Properties.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Properties.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Properties.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Real.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Real.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Real.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Real.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Relation.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Relation.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Relation.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Relation.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Reload.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Reload.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Reload.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Reload.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Ruble.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Ruble.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Ruble.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Ruble.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Rupee.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Rupee.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Rupee.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Rupee.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Rupiah.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Rupiah.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Rupiah.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Rupiah.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Sort/Ascending.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Sort/Ascending.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Sort/Ascending.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Sort/Ascending.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Sort/Descending.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Sort/Descending.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Sort/Descending.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Sort/Descending.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Sort/High.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Sort/High.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Sort/High.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Sort/High.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Sort/Low.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Sort/Low.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Sort/Low.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Sort/Low.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Won.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Won.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Won.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Won.svg
diff --git a/app_flowy/assets/images/editor/Icons 16/Yen.svg b/frontend/app_flowy/assets/images/editor/Icons 16/Yen.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Icons 16/Yen.svg
rename to frontend/app_flowy/assets/images/editor/Icons 16/Yen.svg
diff --git a/app_flowy/assets/images/editor/Image.svg b/frontend/app_flowy/assets/images/editor/Image.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Image.svg
rename to frontend/app_flowy/assets/images/editor/Image.svg
diff --git a/app_flowy/assets/images/editor/Import.svg b/frontend/app_flowy/assets/images/editor/Import.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Import.svg
rename to frontend/app_flowy/assets/images/editor/Import.svg
diff --git a/app_flowy/assets/images/editor/Italic.svg b/frontend/app_flowy/assets/images/editor/Italic.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Italic.svg
rename to frontend/app_flowy/assets/images/editor/Italic.svg
diff --git a/app_flowy/assets/images/editor/Left.svg b/frontend/app_flowy/assets/images/editor/Left.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Left.svg
rename to frontend/app_flowy/assets/images/editor/Left.svg
diff --git a/app_flowy/assets/images/editor/Level.svg b/frontend/app_flowy/assets/images/editor/Level.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Level.svg
rename to frontend/app_flowy/assets/images/editor/Level.svg
diff --git a/app_flowy/assets/images/editor/Logout.svg b/frontend/app_flowy/assets/images/editor/Logout.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Logout.svg
rename to frontend/app_flowy/assets/images/editor/Logout.svg
diff --git a/app_flowy/assets/images/editor/Messages.svg b/frontend/app_flowy/assets/images/editor/Messages.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Messages.svg
rename to frontend/app_flowy/assets/images/editor/Messages.svg
diff --git a/app_flowy/assets/images/editor/More.svg b/frontend/app_flowy/assets/images/editor/More.svg
similarity index 100%
rename from app_flowy/assets/images/editor/More.svg
rename to frontend/app_flowy/assets/images/editor/More.svg
diff --git a/app_flowy/assets/images/editor/Numbers.svg b/frontend/app_flowy/assets/images/editor/Numbers.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Numbers.svg
rename to frontend/app_flowy/assets/images/editor/Numbers.svg
diff --git a/app_flowy/assets/images/editor/Page.svg b/frontend/app_flowy/assets/images/editor/Page.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Page.svg
rename to frontend/app_flowy/assets/images/editor/Page.svg
diff --git a/app_flowy/assets/images/editor/Percent.svg b/frontend/app_flowy/assets/images/editor/Percent.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Percent.svg
rename to frontend/app_flowy/assets/images/editor/Percent.svg
diff --git a/app_flowy/assets/images/editor/Person.svg b/frontend/app_flowy/assets/images/editor/Person.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Person.svg
rename to frontend/app_flowy/assets/images/editor/Person.svg
diff --git a/app_flowy/assets/images/editor/Pound.svg b/frontend/app_flowy/assets/images/editor/Pound.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Pound.svg
rename to frontend/app_flowy/assets/images/editor/Pound.svg
diff --git a/app_flowy/assets/images/editor/Quote.svg b/frontend/app_flowy/assets/images/editor/Quote.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Quote.svg
rename to frontend/app_flowy/assets/images/editor/Quote.svg
diff --git a/app_flowy/assets/images/editor/Report.svg b/frontend/app_flowy/assets/images/editor/Report.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Report.svg
rename to frontend/app_flowy/assets/images/editor/Report.svg
diff --git a/app_flowy/assets/images/editor/Resize.svg b/frontend/app_flowy/assets/images/editor/Resize.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Resize.svg
rename to frontend/app_flowy/assets/images/editor/Resize.svg
diff --git a/app_flowy/assets/images/editor/Restore.svg b/frontend/app_flowy/assets/images/editor/Restore.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Restore.svg
rename to frontend/app_flowy/assets/images/editor/Restore.svg
diff --git a/app_flowy/assets/images/editor/Right.svg b/frontend/app_flowy/assets/images/editor/Right.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Right.svg
rename to frontend/app_flowy/assets/images/editor/Right.svg
diff --git a/app_flowy/assets/images/editor/Search.svg b/frontend/app_flowy/assets/images/editor/Search.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Search.svg
rename to frontend/app_flowy/assets/images/editor/Search.svg
diff --git a/app_flowy/assets/images/editor/Send.svg b/frontend/app_flowy/assets/images/editor/Send.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Send.svg
rename to frontend/app_flowy/assets/images/editor/Send.svg
diff --git a/app_flowy/assets/images/editor/Settings.svg b/frontend/app_flowy/assets/images/editor/Settings.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Settings.svg
rename to frontend/app_flowy/assets/images/editor/Settings.svg
diff --git a/app_flowy/assets/images/editor/Share.svg b/frontend/app_flowy/assets/images/editor/Share.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Share.svg
rename to frontend/app_flowy/assets/images/editor/Share.svg
diff --git a/app_flowy/assets/images/editor/Slash.svg b/frontend/app_flowy/assets/images/editor/Slash.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Slash.svg
rename to frontend/app_flowy/assets/images/editor/Slash.svg
diff --git a/app_flowy/assets/images/editor/Status.svg b/frontend/app_flowy/assets/images/editor/Status.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Status.svg
rename to frontend/app_flowy/assets/images/editor/Status.svg
diff --git a/app_flowy/assets/images/editor/Status/Done.svg b/frontend/app_flowy/assets/images/editor/Status/Done.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Status/Done.svg
rename to frontend/app_flowy/assets/images/editor/Status/Done.svg
diff --git a/app_flowy/assets/images/editor/Status/In Progress.svg b/frontend/app_flowy/assets/images/editor/Status/In Progress.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Status/In Progress.svg
rename to frontend/app_flowy/assets/images/editor/Status/In Progress.svg
diff --git a/app_flowy/assets/images/editor/Status/To do.svg b/frontend/app_flowy/assets/images/editor/Status/To do.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Status/To do.svg
rename to frontend/app_flowy/assets/images/editor/Status/To do.svg
diff --git a/app_flowy/assets/images/editor/Strikethrough.svg b/frontend/app_flowy/assets/images/editor/Strikethrough.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Strikethrough.svg
rename to frontend/app_flowy/assets/images/editor/Strikethrough.svg
diff --git a/app_flowy/assets/images/editor/Tag.svg b/frontend/app_flowy/assets/images/editor/Tag.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Tag.svg
rename to frontend/app_flowy/assets/images/editor/Tag.svg
diff --git a/app_flowy/assets/images/editor/Template.svg b/frontend/app_flowy/assets/images/editor/Template.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Template.svg
rename to frontend/app_flowy/assets/images/editor/Template.svg
diff --git a/app_flowy/assets/images/editor/Text.svg b/frontend/app_flowy/assets/images/editor/Text.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Text.svg
rename to frontend/app_flowy/assets/images/editor/Text.svg
diff --git a/app_flowy/assets/images/editor/Time.svg b/frontend/app_flowy/assets/images/editor/Time.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Time.svg
rename to frontend/app_flowy/assets/images/editor/Time.svg
diff --git a/app_flowy/assets/images/editor/USD.svg b/frontend/app_flowy/assets/images/editor/USD.svg
similarity index 100%
rename from app_flowy/assets/images/editor/USD.svg
rename to frontend/app_flowy/assets/images/editor/USD.svg
diff --git a/app_flowy/assets/images/editor/Underline.svg b/frontend/app_flowy/assets/images/editor/Underline.svg
similarity index 100%
rename from app_flowy/assets/images/editor/Underline.svg
rename to frontend/app_flowy/assets/images/editor/Underline.svg
diff --git a/app_flowy/assets/images/editor/bullet_list.svg b/frontend/app_flowy/assets/images/editor/bullet_list.svg
similarity index 100%
rename from app_flowy/assets/images/editor/bullet_list.svg
rename to frontend/app_flowy/assets/images/editor/bullet_list.svg
diff --git a/app_flowy/assets/images/editor/clock_alarm.svg b/frontend/app_flowy/assets/images/editor/clock_alarm.svg
similarity index 100%
rename from app_flowy/assets/images/editor/clock_alarm.svg
rename to frontend/app_flowy/assets/images/editor/clock_alarm.svg
diff --git a/app_flowy/assets/images/editor/drag_element.svg b/frontend/app_flowy/assets/images/editor/drag_element.svg
similarity index 100%
rename from app_flowy/assets/images/editor/drag_element.svg
rename to frontend/app_flowy/assets/images/editor/drag_element.svg
diff --git a/app_flowy/assets/images/editor/drop_menu/Hide.svg b/frontend/app_flowy/assets/images/editor/drop_menu/Hide.svg
similarity index 100%
rename from app_flowy/assets/images/editor/drop_menu/Hide.svg
rename to frontend/app_flowy/assets/images/editor/drop_menu/Hide.svg
diff --git a/app_flowy/assets/images/editor/drop_menu/Show.svg b/frontend/app_flowy/assets/images/editor/drop_menu/Show.svg
similarity index 100%
rename from app_flowy/assets/images/editor/drop_menu/Show.svg
rename to frontend/app_flowy/assets/images/editor/drop_menu/Show.svg
diff --git a/app_flowy/assets/images/editor/editor_check.svg b/frontend/app_flowy/assets/images/editor/editor_check.svg
similarity index 100%
rename from app_flowy/assets/images/editor/editor_check.svg
rename to frontend/app_flowy/assets/images/editor/editor_check.svg
diff --git a/app_flowy/assets/images/editor/editor_uncheck.svg b/frontend/app_flowy/assets/images/editor/editor_uncheck.svg
similarity index 100%
rename from app_flowy/assets/images/editor/editor_uncheck.svg
rename to frontend/app_flowy/assets/images/editor/editor_uncheck.svg
diff --git a/app_flowy/assets/images/editor/full_view.svg b/frontend/app_flowy/assets/images/editor/full_view.svg
similarity index 100%
rename from app_flowy/assets/images/editor/full_view.svg
rename to frontend/app_flowy/assets/images/editor/full_view.svg
diff --git a/app_flowy/assets/images/editor/inline_block.svg b/frontend/app_flowy/assets/images/editor/inline_block.svg
similarity index 100%
rename from app_flowy/assets/images/editor/inline_block.svg
rename to frontend/app_flowy/assets/images/editor/inline_block.svg
diff --git a/app_flowy/assets/images/editor/list_dropdown.svg b/frontend/app_flowy/assets/images/editor/list_dropdown.svg
similarity index 100%
rename from app_flowy/assets/images/editor/list_dropdown.svg
rename to frontend/app_flowy/assets/images/editor/list_dropdown.svg
diff --git a/app_flowy/assets/images/editor/persoin_1.svg b/frontend/app_flowy/assets/images/editor/persoin_1.svg
similarity index 100%
rename from app_flowy/assets/images/editor/persoin_1.svg
rename to frontend/app_flowy/assets/images/editor/persoin_1.svg
diff --git a/app_flowy/assets/images/editor/show_menu.svg b/frontend/app_flowy/assets/images/editor/show_menu.svg
similarity index 100%
rename from app_flowy/assets/images/editor/show_menu.svg
rename to frontend/app_flowy/assets/images/editor/show_menu.svg
diff --git a/app_flowy/assets/images/editor/tag_block.svg b/frontend/app_flowy/assets/images/editor/tag_block.svg
similarity index 100%
rename from app_flowy/assets/images/editor/tag_block.svg
rename to frontend/app_flowy/assets/images/editor/tag_block.svg
diff --git a/app_flowy/assets/images/editor/timer_finish.svg b/frontend/app_flowy/assets/images/editor/timer_finish.svg
similarity index 100%
rename from app_flowy/assets/images/editor/timer_finish.svg
rename to frontend/app_flowy/assets/images/editor/timer_finish.svg
diff --git a/app_flowy/assets/images/editor/timer_start.svg b/frontend/app_flowy/assets/images/editor/timer_start.svg
similarity index 100%
rename from app_flowy/assets/images/editor/timer_start.svg
rename to frontend/app_flowy/assets/images/editor/timer_start.svg
diff --git a/app_flowy/assets/images/editor/toggle_list.svg b/frontend/app_flowy/assets/images/editor/toggle_list.svg
similarity index 100%
rename from app_flowy/assets/images/editor/toggle_list.svg
rename to frontend/app_flowy/assets/images/editor/toggle_list.svg
diff --git a/app_flowy/assets/images/file_icon.jpg b/frontend/app_flowy/assets/images/file_icon.jpg
similarity index 100%
rename from app_flowy/assets/images/file_icon.jpg
rename to frontend/app_flowy/assets/images/file_icon.jpg
diff --git a/app_flowy/assets/images/file_icon.svg b/frontend/app_flowy/assets/images/file_icon.svg
similarity index 100%
rename from app_flowy/assets/images/file_icon.svg
rename to frontend/app_flowy/assets/images/file_icon.svg
diff --git a/app_flowy/assets/images/flowy_logo.svg b/frontend/app_flowy/assets/images/flowy_logo.svg
similarity index 100%
rename from app_flowy/assets/images/flowy_logo.svg
rename to frontend/app_flowy/assets/images/flowy_logo.svg
diff --git a/app_flowy/assets/images/flowy_logo_with_text.svg b/frontend/app_flowy/assets/images/flowy_logo_with_text.svg
similarity index 100%
rename from app_flowy/assets/images/flowy_logo_with_text.svg
rename to frontend/app_flowy/assets/images/flowy_logo_with_text.svg
diff --git a/app_flowy/assets/images/home/Add.svg b/frontend/app_flowy/assets/images/home/Add.svg
similarity index 100%
rename from app_flowy/assets/images/home/Add.svg
rename to frontend/app_flowy/assets/images/home/Add.svg
diff --git a/app_flowy/assets/images/home/Close.svg b/frontend/app_flowy/assets/images/home/Close.svg
similarity index 100%
rename from app_flowy/assets/images/home/Close.svg
rename to frontend/app_flowy/assets/images/home/Close.svg
diff --git a/app_flowy/assets/images/home/Dashboard.svg b/frontend/app_flowy/assets/images/home/Dashboard.svg
similarity index 100%
rename from app_flowy/assets/images/home/Dashboard.svg
rename to frontend/app_flowy/assets/images/home/Dashboard.svg
diff --git a/app_flowy/assets/images/home/Details.svg b/frontend/app_flowy/assets/images/home/Details.svg
similarity index 100%
rename from app_flowy/assets/images/home/Details.svg
rename to frontend/app_flowy/assets/images/home/Details.svg
diff --git a/app_flowy/assets/images/home/Eathernet.svg b/frontend/app_flowy/assets/images/home/Eathernet.svg
similarity index 100%
rename from app_flowy/assets/images/home/Eathernet.svg
rename to frontend/app_flowy/assets/images/home/Eathernet.svg
diff --git a/app_flowy/assets/images/home/Favorite.svg b/frontend/app_flowy/assets/images/home/Favorite.svg
similarity index 100%
rename from app_flowy/assets/images/home/Favorite.svg
rename to frontend/app_flowy/assets/images/home/Favorite.svg
diff --git a/app_flowy/assets/images/home/Favorite/Active.svg b/frontend/app_flowy/assets/images/home/Favorite/Active.svg
similarity index 100%
rename from app_flowy/assets/images/home/Favorite/Active.svg
rename to frontend/app_flowy/assets/images/home/Favorite/Active.svg
diff --git a/app_flowy/assets/images/home/Favorite/Inactive.svg b/frontend/app_flowy/assets/images/home/Favorite/Inactive.svg
similarity index 100%
rename from app_flowy/assets/images/home/Favorite/Inactive.svg
rename to frontend/app_flowy/assets/images/home/Favorite/Inactive.svg
diff --git a/app_flowy/assets/images/home/Hide.svg b/frontend/app_flowy/assets/images/home/Hide.svg
similarity index 100%
rename from app_flowy/assets/images/home/Hide.svg
rename to frontend/app_flowy/assets/images/home/Hide.svg
diff --git a/app_flowy/assets/images/home/Image.svg b/frontend/app_flowy/assets/images/home/Image.svg
similarity index 100%
rename from app_flowy/assets/images/home/Image.svg
rename to frontend/app_flowy/assets/images/home/Image.svg
diff --git a/app_flowy/assets/images/home/Level.svg b/frontend/app_flowy/assets/images/home/Level.svg
similarity index 100%
rename from app_flowy/assets/images/home/Level.svg
rename to frontend/app_flowy/assets/images/home/Level.svg
diff --git a/app_flowy/assets/images/home/Messages.svg b/frontend/app_flowy/assets/images/home/Messages.svg
similarity index 100%
rename from app_flowy/assets/images/home/Messages.svg
rename to frontend/app_flowy/assets/images/home/Messages.svg
diff --git a/app_flowy/assets/images/home/Page.svg b/frontend/app_flowy/assets/images/home/Page.svg
similarity index 100%
rename from app_flowy/assets/images/home/Page.svg
rename to frontend/app_flowy/assets/images/home/Page.svg
diff --git a/app_flowy/assets/images/home/Person.svg b/frontend/app_flowy/assets/images/home/Person.svg
similarity index 100%
rename from app_flowy/assets/images/home/Person.svg
rename to frontend/app_flowy/assets/images/home/Person.svg
diff --git a/app_flowy/assets/images/home/Search.svg b/frontend/app_flowy/assets/images/home/Search.svg
similarity index 100%
rename from app_flowy/assets/images/home/Search.svg
rename to frontend/app_flowy/assets/images/home/Search.svg
diff --git a/app_flowy/assets/images/home/Settings.svg b/frontend/app_flowy/assets/images/home/Settings.svg
similarity index 100%
rename from app_flowy/assets/images/home/Settings.svg
rename to frontend/app_flowy/assets/images/home/Settings.svg
diff --git a/app_flowy/assets/images/home/Share.svg b/frontend/app_flowy/assets/images/home/Share.svg
similarity index 100%
rename from app_flowy/assets/images/home/Share.svg
rename to frontend/app_flowy/assets/images/home/Share.svg
diff --git a/app_flowy/assets/images/home/Show.svg b/frontend/app_flowy/assets/images/home/Show.svg
similarity index 100%
rename from app_flowy/assets/images/home/Show.svg
rename to frontend/app_flowy/assets/images/home/Show.svg
diff --git a/app_flowy/assets/images/home/Sort/High.svg b/frontend/app_flowy/assets/images/home/Sort/High.svg
similarity index 100%
rename from app_flowy/assets/images/home/Sort/High.svg
rename to frontend/app_flowy/assets/images/home/Sort/High.svg
diff --git a/app_flowy/assets/images/home/Sort/Low.svg b/frontend/app_flowy/assets/images/home/Sort/Low.svg
similarity index 100%
rename from app_flowy/assets/images/home/Sort/Low.svg
rename to frontend/app_flowy/assets/images/home/Sort/Low.svg
diff --git a/app_flowy/assets/images/home/Trash.svg b/frontend/app_flowy/assets/images/home/Trash.svg
similarity index 100%
rename from app_flowy/assets/images/home/Trash.svg
rename to frontend/app_flowy/assets/images/home/Trash.svg
diff --git a/app_flowy/assets/images/home/arrow_left.svg b/frontend/app_flowy/assets/images/home/arrow_left.svg
similarity index 100%
rename from app_flowy/assets/images/home/arrow_left.svg
rename to frontend/app_flowy/assets/images/home/arrow_left.svg
diff --git a/app_flowy/assets/images/home/arrow_right.svg b/frontend/app_flowy/assets/images/home/arrow_right.svg
similarity index 100%
rename from app_flowy/assets/images/home/arrow_right.svg
rename to frontend/app_flowy/assets/images/home/arrow_right.svg
diff --git a/app_flowy/assets/images/home/drop_down_hide.svg b/frontend/app_flowy/assets/images/home/drop_down_hide.svg
similarity index 100%
rename from app_flowy/assets/images/home/drop_down_hide.svg
rename to frontend/app_flowy/assets/images/home/drop_down_hide.svg
diff --git a/app_flowy/assets/images/home/drop_down_show.svg b/frontend/app_flowy/assets/images/home/drop_down_show.svg
similarity index 100%
rename from app_flowy/assets/images/home/drop_down_show.svg
rename to frontend/app_flowy/assets/images/home/drop_down_show.svg
diff --git a/app_flowy/assets/images/home/hide_menu.svg b/frontend/app_flowy/assets/images/home/hide_menu.svg
similarity index 100%
rename from app_flowy/assets/images/home/hide_menu.svg
rename to frontend/app_flowy/assets/images/home/hide_menu.svg
diff --git a/app_flowy/assets/images/home/new_app.svg b/frontend/app_flowy/assets/images/home/new_app.svg
similarity index 100%
rename from app_flowy/assets/images/home/new_app.svg
rename to frontend/app_flowy/assets/images/home/new_app.svg
diff --git a/app_flowy/fonts/FlowyIconData.ttf b/frontend/app_flowy/fonts/FlowyIconData.ttf
similarity index 100%
rename from app_flowy/fonts/FlowyIconData.ttf
rename to frontend/app_flowy/fonts/FlowyIconData.ttf
diff --git a/app_flowy/ios/.gitignore b/frontend/app_flowy/ios/.gitignore
similarity index 100%
rename from app_flowy/ios/.gitignore
rename to frontend/app_flowy/ios/.gitignore
diff --git a/app_flowy/ios/Flutter/AppFrameworkInfo.plist b/frontend/app_flowy/ios/Flutter/AppFrameworkInfo.plist
similarity index 100%
rename from app_flowy/ios/Flutter/AppFrameworkInfo.plist
rename to frontend/app_flowy/ios/Flutter/AppFrameworkInfo.plist
diff --git a/app_flowy/ios/Flutter/Debug.xcconfig b/frontend/app_flowy/ios/Flutter/Debug.xcconfig
similarity index 100%
rename from app_flowy/ios/Flutter/Debug.xcconfig
rename to frontend/app_flowy/ios/Flutter/Debug.xcconfig
diff --git a/app_flowy/ios/Flutter/Release.xcconfig b/frontend/app_flowy/ios/Flutter/Release.xcconfig
similarity index 100%
rename from app_flowy/ios/Flutter/Release.xcconfig
rename to frontend/app_flowy/ios/Flutter/Release.xcconfig
diff --git a/app_flowy/ios/Podfile b/frontend/app_flowy/ios/Podfile
similarity index 100%
rename from app_flowy/ios/Podfile
rename to frontend/app_flowy/ios/Podfile
diff --git a/app_flowy/ios/Podfile.lock b/frontend/app_flowy/ios/Podfile.lock
similarity index 100%
rename from app_flowy/ios/Podfile.lock
rename to frontend/app_flowy/ios/Podfile.lock
diff --git a/app_flowy/ios/Runner.xcodeproj/project.pbxproj b/frontend/app_flowy/ios/Runner.xcodeproj/project.pbxproj
similarity index 100%
rename from app_flowy/ios/Runner.xcodeproj/project.pbxproj
rename to frontend/app_flowy/ios/Runner.xcodeproj/project.pbxproj
diff --git a/app_flowy/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/frontend/app_flowy/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from app_flowy/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
rename to frontend/app_flowy/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
diff --git a/app_flowy/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/frontend/app_flowy/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
similarity index 100%
rename from app_flowy/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
rename to frontend/app_flowy/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
diff --git a/app_flowy/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/frontend/app_flowy/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
similarity index 100%
rename from app_flowy/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
rename to frontend/app_flowy/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
diff --git a/app_flowy/ios/Runner.xcworkspace/contents.xcworkspacedata b/frontend/app_flowy/ios/Runner.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from app_flowy/ios/Runner.xcworkspace/contents.xcworkspacedata
rename to frontend/app_flowy/ios/Runner.xcworkspace/contents.xcworkspacedata
diff --git a/app_flowy/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/frontend/app_flowy/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
similarity index 100%
rename from app_flowy/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
rename to frontend/app_flowy/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
diff --git a/app_flowy/ios/Runner/AppDelegate.swift b/frontend/app_flowy/ios/Runner/AppDelegate.swift
similarity index 100%
rename from app_flowy/ios/Runner/AppDelegate.swift
rename to frontend/app_flowy/ios/Runner/AppDelegate.swift
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/frontend/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
diff --git a/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/frontend/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
diff --git a/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/frontend/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
diff --git a/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/frontend/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
similarity index 100%
rename from app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
rename to frontend/app_flowy/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
diff --git a/app_flowy/ios/Runner/Base.lproj/LaunchScreen.storyboard b/frontend/app_flowy/ios/Runner/Base.lproj/LaunchScreen.storyboard
similarity index 100%
rename from app_flowy/ios/Runner/Base.lproj/LaunchScreen.storyboard
rename to frontend/app_flowy/ios/Runner/Base.lproj/LaunchScreen.storyboard
diff --git a/app_flowy/ios/Runner/Base.lproj/Main.storyboard b/frontend/app_flowy/ios/Runner/Base.lproj/Main.storyboard
similarity index 100%
rename from app_flowy/ios/Runner/Base.lproj/Main.storyboard
rename to frontend/app_flowy/ios/Runner/Base.lproj/Main.storyboard
diff --git a/app_flowy/ios/Runner/Info.plist b/frontend/app_flowy/ios/Runner/Info.plist
similarity index 100%
rename from app_flowy/ios/Runner/Info.plist
rename to frontend/app_flowy/ios/Runner/Info.plist
diff --git a/app_flowy/ios/Runner/Runner-Bridging-Header.h b/frontend/app_flowy/ios/Runner/Runner-Bridging-Header.h
similarity index 100%
rename from app_flowy/ios/Runner/Runner-Bridging-Header.h
rename to frontend/app_flowy/ios/Runner/Runner-Bridging-Header.h
diff --git a/app_flowy/lib/main.dart b/frontend/app_flowy/lib/main.dart
similarity index 100%
rename from app_flowy/lib/main.dart
rename to frontend/app_flowy/lib/main.dart
diff --git a/app_flowy/lib/startup/launcher.dart b/frontend/app_flowy/lib/startup/launcher.dart
similarity index 100%
rename from app_flowy/lib/startup/launcher.dart
rename to frontend/app_flowy/lib/startup/launcher.dart
diff --git a/app_flowy/lib/startup/startup.dart b/frontend/app_flowy/lib/startup/startup.dart
similarity index 100%
rename from app_flowy/lib/startup/startup.dart
rename to frontend/app_flowy/lib/startup/startup.dart
diff --git a/app_flowy/lib/startup/tasks/application_task.dart b/frontend/app_flowy/lib/startup/tasks/application_task.dart
similarity index 100%
rename from app_flowy/lib/startup/tasks/application_task.dart
rename to frontend/app_flowy/lib/startup/tasks/application_task.dart
diff --git a/app_flowy/lib/startup/tasks/prelude.dart b/frontend/app_flowy/lib/startup/tasks/prelude.dart
similarity index 100%
rename from app_flowy/lib/startup/tasks/prelude.dart
rename to frontend/app_flowy/lib/startup/tasks/prelude.dart
diff --git a/app_flowy/lib/startup/tasks/sdk_task.dart b/frontend/app_flowy/lib/startup/tasks/sdk_task.dart
similarity index 100%
rename from app_flowy/lib/startup/tasks/sdk_task.dart
rename to frontend/app_flowy/lib/startup/tasks/sdk_task.dart
diff --git a/app_flowy/lib/user/application/sign_in_bloc.dart b/frontend/app_flowy/lib/user/application/sign_in_bloc.dart
similarity index 100%
rename from app_flowy/lib/user/application/sign_in_bloc.dart
rename to frontend/app_flowy/lib/user/application/sign_in_bloc.dart
diff --git a/app_flowy/lib/user/application/sign_in_bloc.freezed.dart b/frontend/app_flowy/lib/user/application/sign_in_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/user/application/sign_in_bloc.freezed.dart
rename to frontend/app_flowy/lib/user/application/sign_in_bloc.freezed.dart
diff --git a/app_flowy/lib/user/application/sign_up_bloc.dart b/frontend/app_flowy/lib/user/application/sign_up_bloc.dart
similarity index 100%
rename from app_flowy/lib/user/application/sign_up_bloc.dart
rename to frontend/app_flowy/lib/user/application/sign_up_bloc.dart
diff --git a/app_flowy/lib/user/application/sign_up_bloc.freezed.dart b/frontend/app_flowy/lib/user/application/sign_up_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/user/application/sign_up_bloc.freezed.dart
rename to frontend/app_flowy/lib/user/application/sign_up_bloc.freezed.dart
diff --git a/app_flowy/lib/user/application/splash_bloc.dart b/frontend/app_flowy/lib/user/application/splash_bloc.dart
similarity index 100%
rename from app_flowy/lib/user/application/splash_bloc.dart
rename to frontend/app_flowy/lib/user/application/splash_bloc.dart
diff --git a/app_flowy/lib/user/application/splash_bloc.freezed.dart b/frontend/app_flowy/lib/user/application/splash_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/user/application/splash_bloc.freezed.dart
rename to frontend/app_flowy/lib/user/application/splash_bloc.freezed.dart
diff --git a/app_flowy/lib/user/domain/auth_state.dart b/frontend/app_flowy/lib/user/domain/auth_state.dart
similarity index 100%
rename from app_flowy/lib/user/domain/auth_state.dart
rename to frontend/app_flowy/lib/user/domain/auth_state.dart
diff --git a/app_flowy/lib/user/domain/auth_state.freezed.dart b/frontend/app_flowy/lib/user/domain/auth_state.freezed.dart
similarity index 100%
rename from app_flowy/lib/user/domain/auth_state.freezed.dart
rename to frontend/app_flowy/lib/user/domain/auth_state.freezed.dart
diff --git a/app_flowy/lib/user/domain/i_auth.dart b/frontend/app_flowy/lib/user/domain/i_auth.dart
similarity index 100%
rename from app_flowy/lib/user/domain/i_auth.dart
rename to frontend/app_flowy/lib/user/domain/i_auth.dart
diff --git a/app_flowy/lib/user/domain/i_splash.dart b/frontend/app_flowy/lib/user/domain/i_splash.dart
similarity index 100%
rename from app_flowy/lib/user/domain/i_splash.dart
rename to frontend/app_flowy/lib/user/domain/i_splash.dart
diff --git a/app_flowy/lib/user/infrastructure/deps_resolver.dart b/frontend/app_flowy/lib/user/infrastructure/deps_resolver.dart
similarity index 100%
rename from app_flowy/lib/user/infrastructure/deps_resolver.dart
rename to frontend/app_flowy/lib/user/infrastructure/deps_resolver.dart
diff --git a/app_flowy/lib/user/infrastructure/i_auth_impl.dart b/frontend/app_flowy/lib/user/infrastructure/i_auth_impl.dart
similarity index 100%
rename from app_flowy/lib/user/infrastructure/i_auth_impl.dart
rename to frontend/app_flowy/lib/user/infrastructure/i_auth_impl.dart
diff --git a/app_flowy/lib/user/infrastructure/i_splash_impl.dart b/frontend/app_flowy/lib/user/infrastructure/i_splash_impl.dart
similarity index 100%
rename from app_flowy/lib/user/infrastructure/i_splash_impl.dart
rename to frontend/app_flowy/lib/user/infrastructure/i_splash_impl.dart
diff --git a/app_flowy/lib/user/infrastructure/repos/auth_repo.dart b/frontend/app_flowy/lib/user/infrastructure/repos/auth_repo.dart
similarity index 100%
rename from app_flowy/lib/user/infrastructure/repos/auth_repo.dart
rename to frontend/app_flowy/lib/user/infrastructure/repos/auth_repo.dart
diff --git a/app_flowy/lib/user/presentation/sign_in_screen.dart b/frontend/app_flowy/lib/user/presentation/sign_in_screen.dart
similarity index 100%
rename from app_flowy/lib/user/presentation/sign_in_screen.dart
rename to frontend/app_flowy/lib/user/presentation/sign_in_screen.dart
diff --git a/app_flowy/lib/user/presentation/sign_up_screen.dart b/frontend/app_flowy/lib/user/presentation/sign_up_screen.dart
similarity index 100%
rename from app_flowy/lib/user/presentation/sign_up_screen.dart
rename to frontend/app_flowy/lib/user/presentation/sign_up_screen.dart
diff --git a/app_flowy/lib/user/presentation/skip_log_in_screen.dart b/frontend/app_flowy/lib/user/presentation/skip_log_in_screen.dart
similarity index 100%
rename from app_flowy/lib/user/presentation/skip_log_in_screen.dart
rename to frontend/app_flowy/lib/user/presentation/skip_log_in_screen.dart
diff --git a/app_flowy/lib/user/presentation/splash_screen.dart b/frontend/app_flowy/lib/user/presentation/splash_screen.dart
similarity index 100%
rename from app_flowy/lib/user/presentation/splash_screen.dart
rename to frontend/app_flowy/lib/user/presentation/splash_screen.dart
diff --git a/app_flowy/lib/user/presentation/welcome_screen.dart b/frontend/app_flowy/lib/user/presentation/welcome_screen.dart
similarity index 100%
rename from app_flowy/lib/user/presentation/welcome_screen.dart
rename to frontend/app_flowy/lib/user/presentation/welcome_screen.dart
diff --git a/app_flowy/lib/user/presentation/widgets/background.dart b/frontend/app_flowy/lib/user/presentation/widgets/background.dart
similarity index 100%
rename from app_flowy/lib/user/presentation/widgets/background.dart
rename to frontend/app_flowy/lib/user/presentation/widgets/background.dart
diff --git a/app_flowy/lib/workspace/application/app/app_bloc.dart b/frontend/app_flowy/lib/workspace/application/app/app_bloc.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/app/app_bloc.dart
rename to frontend/app_flowy/lib/workspace/application/app/app_bloc.dart
diff --git a/app_flowy/lib/workspace/application/app/app_bloc.freezed.dart b/frontend/app_flowy/lib/workspace/application/app/app_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/app/app_bloc.freezed.dart
rename to frontend/app_flowy/lib/workspace/application/app/app_bloc.freezed.dart
diff --git a/app_flowy/lib/workspace/application/doc/doc_bloc.dart b/frontend/app_flowy/lib/workspace/application/doc/doc_bloc.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/doc/doc_bloc.dart
rename to frontend/app_flowy/lib/workspace/application/doc/doc_bloc.dart
diff --git a/app_flowy/lib/workspace/application/doc/doc_bloc.freezed.dart b/frontend/app_flowy/lib/workspace/application/doc/doc_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/doc/doc_bloc.freezed.dart
rename to frontend/app_flowy/lib/workspace/application/doc/doc_bloc.freezed.dart
diff --git a/app_flowy/lib/workspace/application/doc/share_bloc.dart b/frontend/app_flowy/lib/workspace/application/doc/share_bloc.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/doc/share_bloc.dart
rename to frontend/app_flowy/lib/workspace/application/doc/share_bloc.dart
diff --git a/app_flowy/lib/workspace/application/doc/share_bloc.freezed.dart b/frontend/app_flowy/lib/workspace/application/doc/share_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/doc/share_bloc.freezed.dart
rename to frontend/app_flowy/lib/workspace/application/doc/share_bloc.freezed.dart
diff --git a/app_flowy/lib/workspace/application/edit_pannel/edit_pannel_bloc.dart b/frontend/app_flowy/lib/workspace/application/edit_pannel/edit_pannel_bloc.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/edit_pannel/edit_pannel_bloc.dart
rename to frontend/app_flowy/lib/workspace/application/edit_pannel/edit_pannel_bloc.dart
diff --git a/app_flowy/lib/workspace/application/edit_pannel/edit_pannel_bloc.freezed.dart b/frontend/app_flowy/lib/workspace/application/edit_pannel/edit_pannel_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/edit_pannel/edit_pannel_bloc.freezed.dart
rename to frontend/app_flowy/lib/workspace/application/edit_pannel/edit_pannel_bloc.freezed.dart
diff --git a/app_flowy/lib/workspace/application/home/home_bloc.dart b/frontend/app_flowy/lib/workspace/application/home/home_bloc.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/home/home_bloc.dart
rename to frontend/app_flowy/lib/workspace/application/home/home_bloc.dart
diff --git a/app_flowy/lib/workspace/application/home/home_bloc.freezed.dart b/frontend/app_flowy/lib/workspace/application/home/home_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/home/home_bloc.freezed.dart
rename to frontend/app_flowy/lib/workspace/application/home/home_bloc.freezed.dart
diff --git a/app_flowy/lib/workspace/application/home/home_listen_bloc.dart b/frontend/app_flowy/lib/workspace/application/home/home_listen_bloc.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/home/home_listen_bloc.dart
rename to frontend/app_flowy/lib/workspace/application/home/home_listen_bloc.dart
diff --git a/app_flowy/lib/workspace/application/home/home_listen_bloc.freezed.dart b/frontend/app_flowy/lib/workspace/application/home/home_listen_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/home/home_listen_bloc.freezed.dart
rename to frontend/app_flowy/lib/workspace/application/home/home_listen_bloc.freezed.dart
diff --git a/app_flowy/lib/workspace/application/menu/menu_bloc.dart b/frontend/app_flowy/lib/workspace/application/menu/menu_bloc.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/menu/menu_bloc.dart
rename to frontend/app_flowy/lib/workspace/application/menu/menu_bloc.dart
diff --git a/app_flowy/lib/workspace/application/menu/menu_bloc.freezed.dart b/frontend/app_flowy/lib/workspace/application/menu/menu_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/menu/menu_bloc.freezed.dart
rename to frontend/app_flowy/lib/workspace/application/menu/menu_bloc.freezed.dart
diff --git a/app_flowy/lib/workspace/application/menu/menu_user_bloc.dart b/frontend/app_flowy/lib/workspace/application/menu/menu_user_bloc.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/menu/menu_user_bloc.dart
rename to frontend/app_flowy/lib/workspace/application/menu/menu_user_bloc.dart
diff --git a/app_flowy/lib/workspace/application/menu/menu_user_bloc.freezed.dart b/frontend/app_flowy/lib/workspace/application/menu/menu_user_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/menu/menu_user_bloc.freezed.dart
rename to frontend/app_flowy/lib/workspace/application/menu/menu_user_bloc.freezed.dart
diff --git a/app_flowy/lib/workspace/application/trash/trash_bloc.dart b/frontend/app_flowy/lib/workspace/application/trash/trash_bloc.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/trash/trash_bloc.dart
rename to frontend/app_flowy/lib/workspace/application/trash/trash_bloc.dart
diff --git a/app_flowy/lib/workspace/application/trash/trash_bloc.freezed.dart b/frontend/app_flowy/lib/workspace/application/trash/trash_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/trash/trash_bloc.freezed.dart
rename to frontend/app_flowy/lib/workspace/application/trash/trash_bloc.freezed.dart
diff --git a/app_flowy/lib/workspace/application/view/view_bloc.dart b/frontend/app_flowy/lib/workspace/application/view/view_bloc.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/view/view_bloc.dart
rename to frontend/app_flowy/lib/workspace/application/view/view_bloc.dart
diff --git a/app_flowy/lib/workspace/application/view/view_bloc.freezed.dart b/frontend/app_flowy/lib/workspace/application/view/view_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/view/view_bloc.freezed.dart
rename to frontend/app_flowy/lib/workspace/application/view/view_bloc.freezed.dart
diff --git a/app_flowy/lib/workspace/application/workspace/welcome_bloc.dart b/frontend/app_flowy/lib/workspace/application/workspace/welcome_bloc.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/workspace/welcome_bloc.dart
rename to frontend/app_flowy/lib/workspace/application/workspace/welcome_bloc.dart
diff --git a/app_flowy/lib/workspace/application/workspace/welcome_bloc.freezed.dart b/frontend/app_flowy/lib/workspace/application/workspace/welcome_bloc.freezed.dart
similarity index 100%
rename from app_flowy/lib/workspace/application/workspace/welcome_bloc.freezed.dart
rename to frontend/app_flowy/lib/workspace/application/workspace/welcome_bloc.freezed.dart
diff --git a/app_flowy/lib/workspace/domain/edit_action/app_edit.dart b/frontend/app_flowy/lib/workspace/domain/edit_action/app_edit.dart
similarity index 100%
rename from app_flowy/lib/workspace/domain/edit_action/app_edit.dart
rename to frontend/app_flowy/lib/workspace/domain/edit_action/app_edit.dart
diff --git a/app_flowy/lib/workspace/domain/edit_action/view_edit.dart b/frontend/app_flowy/lib/workspace/domain/edit_action/view_edit.dart
similarity index 100%
rename from app_flowy/lib/workspace/domain/edit_action/view_edit.dart
rename to frontend/app_flowy/lib/workspace/domain/edit_action/view_edit.dart
diff --git a/app_flowy/lib/workspace/domain/edit_context.dart b/frontend/app_flowy/lib/workspace/domain/edit_context.dart
similarity index 100%
rename from app_flowy/lib/workspace/domain/edit_context.dart
rename to frontend/app_flowy/lib/workspace/domain/edit_context.dart
diff --git a/app_flowy/lib/workspace/domain/i_app.dart b/frontend/app_flowy/lib/workspace/domain/i_app.dart
similarity index 100%
rename from app_flowy/lib/workspace/domain/i_app.dart
rename to frontend/app_flowy/lib/workspace/domain/i_app.dart
diff --git a/app_flowy/lib/workspace/domain/i_doc.dart b/frontend/app_flowy/lib/workspace/domain/i_doc.dart
similarity index 100%
rename from app_flowy/lib/workspace/domain/i_doc.dart
rename to frontend/app_flowy/lib/workspace/domain/i_doc.dart
diff --git a/app_flowy/lib/workspace/domain/i_share.dart b/frontend/app_flowy/lib/workspace/domain/i_share.dart
similarity index 100%
rename from app_flowy/lib/workspace/domain/i_share.dart
rename to frontend/app_flowy/lib/workspace/domain/i_share.dart
diff --git a/app_flowy/lib/workspace/domain/i_trash.dart b/frontend/app_flowy/lib/workspace/domain/i_trash.dart
similarity index 100%
rename from app_flowy/lib/workspace/domain/i_trash.dart
rename to frontend/app_flowy/lib/workspace/domain/i_trash.dart
diff --git a/app_flowy/lib/workspace/domain/i_user.dart b/frontend/app_flowy/lib/workspace/domain/i_user.dart
similarity index 100%
rename from app_flowy/lib/workspace/domain/i_user.dart
rename to frontend/app_flowy/lib/workspace/domain/i_user.dart
diff --git a/app_flowy/lib/workspace/domain/i_view.dart b/frontend/app_flowy/lib/workspace/domain/i_view.dart
similarity index 100%
rename from app_flowy/lib/workspace/domain/i_view.dart
rename to frontend/app_flowy/lib/workspace/domain/i_view.dart
diff --git a/app_flowy/lib/workspace/domain/i_workspace.dart b/frontend/app_flowy/lib/workspace/domain/i_workspace.dart
similarity index 100%
rename from app_flowy/lib/workspace/domain/i_workspace.dart
rename to frontend/app_flowy/lib/workspace/domain/i_workspace.dart
diff --git a/app_flowy/lib/workspace/domain/image.dart b/frontend/app_flowy/lib/workspace/domain/image.dart
similarity index 100%
rename from app_flowy/lib/workspace/domain/image.dart
rename to frontend/app_flowy/lib/workspace/domain/image.dart
diff --git a/app_flowy/lib/workspace/domain/page_stack/page_stack.dart b/frontend/app_flowy/lib/workspace/domain/page_stack/page_stack.dart
similarity index 100%
rename from app_flowy/lib/workspace/domain/page_stack/page_stack.dart
rename to frontend/app_flowy/lib/workspace/domain/page_stack/page_stack.dart
diff --git a/app_flowy/lib/workspace/domain/view_ext.dart b/frontend/app_flowy/lib/workspace/domain/view_ext.dart
similarity index 100%
rename from app_flowy/lib/workspace/domain/view_ext.dart
rename to frontend/app_flowy/lib/workspace/domain/view_ext.dart
diff --git a/app_flowy/lib/workspace/infrastructure/deps_resolver.dart b/frontend/app_flowy/lib/workspace/infrastructure/deps_resolver.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/deps_resolver.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/deps_resolver.dart
diff --git a/app_flowy/lib/workspace/infrastructure/i_app_impl.dart b/frontend/app_flowy/lib/workspace/infrastructure/i_app_impl.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/i_app_impl.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/i_app_impl.dart
diff --git a/app_flowy/lib/workspace/infrastructure/i_doc_impl.dart b/frontend/app_flowy/lib/workspace/infrastructure/i_doc_impl.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/i_doc_impl.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/i_doc_impl.dart
diff --git a/app_flowy/lib/workspace/infrastructure/i_share_impl.dart b/frontend/app_flowy/lib/workspace/infrastructure/i_share_impl.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/i_share_impl.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/i_share_impl.dart
diff --git a/app_flowy/lib/workspace/infrastructure/i_trash_impl.dart b/frontend/app_flowy/lib/workspace/infrastructure/i_trash_impl.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/i_trash_impl.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/i_trash_impl.dart
diff --git a/app_flowy/lib/workspace/infrastructure/i_user_impl.dart b/frontend/app_flowy/lib/workspace/infrastructure/i_user_impl.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/i_user_impl.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/i_user_impl.dart
diff --git a/app_flowy/lib/workspace/infrastructure/i_view_impl.dart b/frontend/app_flowy/lib/workspace/infrastructure/i_view_impl.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/i_view_impl.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/i_view_impl.dart
diff --git a/app_flowy/lib/workspace/infrastructure/i_workspace_impl.dart b/frontend/app_flowy/lib/workspace/infrastructure/i_workspace_impl.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/i_workspace_impl.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/i_workspace_impl.dart
diff --git a/app_flowy/lib/workspace/infrastructure/markdown/delta_markdown.dart b/frontend/app_flowy/lib/workspace/infrastructure/markdown/delta_markdown.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/markdown/delta_markdown.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/markdown/delta_markdown.dart
diff --git a/app_flowy/lib/workspace/infrastructure/markdown/src/ast.dart b/frontend/app_flowy/lib/workspace/infrastructure/markdown/src/ast.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/markdown/src/ast.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/markdown/src/ast.dart
diff --git a/app_flowy/lib/workspace/infrastructure/markdown/src/block_parser.dart b/frontend/app_flowy/lib/workspace/infrastructure/markdown/src/block_parser.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/markdown/src/block_parser.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/markdown/src/block_parser.dart
diff --git a/app_flowy/lib/workspace/infrastructure/markdown/src/delta_markdown_decoder.dart b/frontend/app_flowy/lib/workspace/infrastructure/markdown/src/delta_markdown_decoder.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/markdown/src/delta_markdown_decoder.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/markdown/src/delta_markdown_decoder.dart
diff --git a/app_flowy/lib/workspace/infrastructure/markdown/src/delta_markdown_encoder.dart b/frontend/app_flowy/lib/workspace/infrastructure/markdown/src/delta_markdown_encoder.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/markdown/src/delta_markdown_encoder.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/markdown/src/delta_markdown_encoder.dart
diff --git a/app_flowy/lib/workspace/infrastructure/markdown/src/document.dart b/frontend/app_flowy/lib/workspace/infrastructure/markdown/src/document.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/markdown/src/document.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/markdown/src/document.dart
diff --git a/app_flowy/lib/workspace/infrastructure/markdown/src/emojis.dart b/frontend/app_flowy/lib/workspace/infrastructure/markdown/src/emojis.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/markdown/src/emojis.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/markdown/src/emojis.dart
diff --git a/app_flowy/lib/workspace/infrastructure/markdown/src/extension_set.dart b/frontend/app_flowy/lib/workspace/infrastructure/markdown/src/extension_set.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/markdown/src/extension_set.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/markdown/src/extension_set.dart
diff --git a/app_flowy/lib/workspace/infrastructure/markdown/src/html_renderer.dart b/frontend/app_flowy/lib/workspace/infrastructure/markdown/src/html_renderer.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/markdown/src/html_renderer.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/markdown/src/html_renderer.dart
diff --git a/app_flowy/lib/workspace/infrastructure/markdown/src/inline_parser.dart b/frontend/app_flowy/lib/workspace/infrastructure/markdown/src/inline_parser.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/markdown/src/inline_parser.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/markdown/src/inline_parser.dart
diff --git a/app_flowy/lib/workspace/infrastructure/markdown/src/util.dart b/frontend/app_flowy/lib/workspace/infrastructure/markdown/src/util.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/markdown/src/util.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/markdown/src/util.dart
diff --git a/app_flowy/lib/workspace/infrastructure/markdown/src/version.dart b/frontend/app_flowy/lib/workspace/infrastructure/markdown/src/version.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/markdown/src/version.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/markdown/src/version.dart
diff --git a/app_flowy/lib/workspace/infrastructure/repos/app_repo.dart b/frontend/app_flowy/lib/workspace/infrastructure/repos/app_repo.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/repos/app_repo.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/repos/app_repo.dart
diff --git a/app_flowy/lib/workspace/infrastructure/repos/doc_repo.dart b/frontend/app_flowy/lib/workspace/infrastructure/repos/doc_repo.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/repos/doc_repo.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/repos/doc_repo.dart
diff --git a/app_flowy/lib/workspace/infrastructure/repos/helper.dart b/frontend/app_flowy/lib/workspace/infrastructure/repos/helper.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/repos/helper.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/repos/helper.dart
diff --git a/app_flowy/lib/workspace/infrastructure/repos/share_repo.dart b/frontend/app_flowy/lib/workspace/infrastructure/repos/share_repo.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/repos/share_repo.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/repos/share_repo.dart
diff --git a/app_flowy/lib/workspace/infrastructure/repos/trash_repo.dart b/frontend/app_flowy/lib/workspace/infrastructure/repos/trash_repo.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/repos/trash_repo.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/repos/trash_repo.dart
diff --git a/app_flowy/lib/workspace/infrastructure/repos/user_repo.dart b/frontend/app_flowy/lib/workspace/infrastructure/repos/user_repo.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/repos/user_repo.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/repos/user_repo.dart
diff --git a/app_flowy/lib/workspace/infrastructure/repos/view_repo.dart b/frontend/app_flowy/lib/workspace/infrastructure/repos/view_repo.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/repos/view_repo.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/repos/view_repo.dart
diff --git a/app_flowy/lib/workspace/infrastructure/repos/workspace_repo.dart b/frontend/app_flowy/lib/workspace/infrastructure/repos/workspace_repo.dart
similarity index 100%
rename from app_flowy/lib/workspace/infrastructure/repos/workspace_repo.dart
rename to frontend/app_flowy/lib/workspace/infrastructure/repos/workspace_repo.dart
diff --git a/app_flowy/lib/workspace/presentation/home/home_layout.dart b/frontend/app_flowy/lib/workspace/presentation/home/home_layout.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/home/home_layout.dart
rename to frontend/app_flowy/lib/workspace/presentation/home/home_layout.dart
diff --git a/app_flowy/lib/workspace/presentation/home/home_screen.dart b/frontend/app_flowy/lib/workspace/presentation/home/home_screen.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/home/home_screen.dart
rename to frontend/app_flowy/lib/workspace/presentation/home/home_screen.dart
diff --git a/app_flowy/lib/workspace/presentation/home/home_sizes.dart b/frontend/app_flowy/lib/workspace/presentation/home/home_sizes.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/home/home_sizes.dart
rename to frontend/app_flowy/lib/workspace/presentation/home/home_sizes.dart
diff --git a/app_flowy/lib/workspace/presentation/home/navigation.dart b/frontend/app_flowy/lib/workspace/presentation/home/navigation.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/home/navigation.dart
rename to frontend/app_flowy/lib/workspace/presentation/home/navigation.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/blank/blank_page.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/blank/blank_page.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/blank/blank_page.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/blank/blank_page.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/doc_page.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_page.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/doc/doc_page.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_page.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/doc_stack_page.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_stack_page.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/doc/doc_stack_page.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_stack_page.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/styles.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/styles.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/doc/styles.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/doc/styles.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/widget/banner.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/banner.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/doc/widget/banner.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/banner.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/widget/style_widgets/style_widgets.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/style_widgets/style_widgets.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/doc/widget/style_widgets/style_widgets.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/style_widgets/style_widgets.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/check_button.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/check_button.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/check_button.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/check_button.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/color_picker.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/color_picker.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/color_picker.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/color_picker.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/header_button.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/header_button.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/header_button.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/header_button.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/image_button.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/image_button.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/image_button.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/image_button.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/link_button.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/link_button.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/link_button.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/link_button.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toggle_button.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toggle_button.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toggle_button.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toggle_button.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/tool_bar.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/tool_bar.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/tool_bar.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/tool_bar.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toolbar_icon_button.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toolbar_icon_button.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toolbar_icon_button.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toolbar_icon_button.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/home_stack.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/home_stack.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/home_stack.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/home_stack.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/trash/trash_page.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/trash/trash_page.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/trash/trash_page.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/trash/trash_page.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/trash/widget/sizes.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/trash/widget/sizes.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/trash/widget/sizes.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/trash/widget/sizes.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/trash/widget/trash_cell.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/trash/widget/trash_cell.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/trash/widget/trash_cell.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/trash/widget/trash_cell.dart
diff --git a/app_flowy/lib/workspace/presentation/stack_page/trash/widget/trash_header.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/trash/widget/trash_header.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/stack_page/trash/widget/trash_header.dart
rename to frontend/app_flowy/lib/workspace/presentation/stack_page/trash/widget/trash_header.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/dialogs.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/dialogs.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/dialogs.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/dialogs.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/edit_pannel/edit_pannel.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/edit_pannel/edit_pannel.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/edit_pannel/edit_pannel.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/edit_pannel/edit_pannel.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/edit_pannel/pannel_animation.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/edit_pannel/pannel_animation.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/edit_pannel/pannel_animation.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/edit_pannel/pannel_animation.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/float_bubble/question_bubble.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/float_bubble/question_bubble.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/float_bubble/question_bubble.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/float_bubble/question_bubble.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/home_top_bar.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/home_top_bar.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/home_top_bar.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/home_top_bar.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/menu.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/menu.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/menu.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/menu.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/prelude.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/prelude.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/prelude.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/prelude.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/create_button.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/create_button.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/app/create_button.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/create_button.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/header/add_button.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/header/add_button.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/app/header/add_button.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/header/add_button.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/header/header.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/header/header.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/app/header/header.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/header/header.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/header/right_click_action.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/header/right_click_action.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/app/header/right_click_action.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/header/right_click_action.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/menu_app.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/menu_app.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/app/menu_app.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/menu_app.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/disclosure_action.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/disclosure_action.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/disclosure_action.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/disclosure_action.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/item.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/item.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/item.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/item.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/section.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/section.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/section.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/section.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/favorite/favorite.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/favorite/favorite.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/favorite/favorite.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/favorite/favorite.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/favorite/header.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/favorite/header.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/favorite/header.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/favorite/header.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/favorite/section.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/favorite/section.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/favorite/section.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/favorite/section.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/menu_trash.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/menu_trash.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/menu_trash.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/menu_trash.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/menu_user.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/menu_user.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/menu_user.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/menu_user.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/top_bar.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/top_bar.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/menu/widget/top_bar.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/menu/widget/top_bar.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/pop_up_action.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/pop_up_action.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/pop_up_action.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/pop_up_action.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/pop_up_window.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/pop_up_window.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/pop_up_window.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/pop_up_window.dart
diff --git a/app_flowy/lib/workspace/presentation/widgets/prelude.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/prelude.dart
similarity index 100%
rename from app_flowy/lib/workspace/presentation/widgets/prelude.dart
rename to frontend/app_flowy/lib/workspace/presentation/widgets/prelude.dart
diff --git a/app_flowy/linux/.gitignore b/frontend/app_flowy/linux/.gitignore
similarity index 100%
rename from app_flowy/linux/.gitignore
rename to frontend/app_flowy/linux/.gitignore
diff --git a/app_flowy/linux/CMakeLists.txt b/frontend/app_flowy/linux/CMakeLists.txt
similarity index 100%
rename from app_flowy/linux/CMakeLists.txt
rename to frontend/app_flowy/linux/CMakeLists.txt
diff --git a/app_flowy/linux/flutter/CMakeLists.txt b/frontend/app_flowy/linux/flutter/CMakeLists.txt
similarity index 100%
rename from app_flowy/linux/flutter/CMakeLists.txt
rename to frontend/app_flowy/linux/flutter/CMakeLists.txt
diff --git a/app_flowy/linux/flutter/dart_ffi/binding.h b/frontend/app_flowy/linux/flutter/dart_ffi/binding.h
similarity index 100%
rename from app_flowy/linux/flutter/dart_ffi/binding.h
rename to frontend/app_flowy/linux/flutter/dart_ffi/binding.h
diff --git a/app_flowy/linux/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/linux/flutter/generated_plugin_registrant.cc
similarity index 100%
rename from app_flowy/linux/flutter/generated_plugin_registrant.cc
rename to frontend/app_flowy/linux/flutter/generated_plugin_registrant.cc
diff --git a/app_flowy/linux/flutter/generated_plugin_registrant.h b/frontend/app_flowy/linux/flutter/generated_plugin_registrant.h
similarity index 100%
rename from app_flowy/linux/flutter/generated_plugin_registrant.h
rename to frontend/app_flowy/linux/flutter/generated_plugin_registrant.h
diff --git a/app_flowy/linux/flutter/generated_plugins.cmake b/frontend/app_flowy/linux/flutter/generated_plugins.cmake
similarity index 100%
rename from app_flowy/linux/flutter/generated_plugins.cmake
rename to frontend/app_flowy/linux/flutter/generated_plugins.cmake
diff --git a/app_flowy/linux/main.cc b/frontend/app_flowy/linux/main.cc
similarity index 100%
rename from app_flowy/linux/main.cc
rename to frontend/app_flowy/linux/main.cc
diff --git a/app_flowy/linux/my_application.cc b/frontend/app_flowy/linux/my_application.cc
similarity index 100%
rename from app_flowy/linux/my_application.cc
rename to frontend/app_flowy/linux/my_application.cc
diff --git a/app_flowy/linux/my_application.h b/frontend/app_flowy/linux/my_application.h
similarity index 100%
rename from app_flowy/linux/my_application.h
rename to frontend/app_flowy/linux/my_application.h
diff --git a/app_flowy/macos/.gitignore b/frontend/app_flowy/macos/.gitignore
similarity index 100%
rename from app_flowy/macos/.gitignore
rename to frontend/app_flowy/macos/.gitignore
diff --git a/app_flowy/macos/Flutter/Flutter-Debug.xcconfig b/frontend/app_flowy/macos/Flutter/Flutter-Debug.xcconfig
similarity index 100%
rename from app_flowy/macos/Flutter/Flutter-Debug.xcconfig
rename to frontend/app_flowy/macos/Flutter/Flutter-Debug.xcconfig
diff --git a/app_flowy/macos/Flutter/Flutter-Release.xcconfig b/frontend/app_flowy/macos/Flutter/Flutter-Release.xcconfig
similarity index 100%
rename from app_flowy/macos/Flutter/Flutter-Release.xcconfig
rename to frontend/app_flowy/macos/Flutter/Flutter-Release.xcconfig
diff --git a/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift b/frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift
similarity index 100%
rename from app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift
rename to frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift
diff --git a/app_flowy/macos/Podfile b/frontend/app_flowy/macos/Podfile
similarity index 100%
rename from app_flowy/macos/Podfile
rename to frontend/app_flowy/macos/Podfile
diff --git a/app_flowy/macos/Runner.xcodeproj/project.pbxproj b/frontend/app_flowy/macos/Runner.xcodeproj/project.pbxproj
similarity index 100%
rename from app_flowy/macos/Runner.xcodeproj/project.pbxproj
rename to frontend/app_flowy/macos/Runner.xcodeproj/project.pbxproj
diff --git a/app_flowy/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/frontend/app_flowy/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
similarity index 100%
rename from app_flowy/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
rename to frontend/app_flowy/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
diff --git a/app_flowy/macos/Runner.xcworkspace/contents.xcworkspacedata b/frontend/app_flowy/macos/Runner.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from app_flowy/macos/Runner.xcworkspace/contents.xcworkspacedata
rename to frontend/app_flowy/macos/Runner.xcworkspace/contents.xcworkspacedata
diff --git a/app_flowy/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/macos/Runner/AppDelegate.swift b/frontend/app_flowy/macos/Runner/AppDelegate.swift
similarity index 100%
rename from app_flowy/macos/Runner/AppDelegate.swift
rename to frontend/app_flowy/macos/Runner/AppDelegate.swift
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/100.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/100.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/100.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/100.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/1024.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/1024.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/1024.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/1024.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/114.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/114.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/114.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/114.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/120.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/120.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/120.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/120.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/128.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/128.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/128.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/128.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/144.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/144.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/144.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/144.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/152.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/152.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/152.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/152.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/16.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/16.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/16.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/16.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/167.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/167.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/167.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/167.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/180.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/180.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/180.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/180.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/20.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/20.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/20.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/20.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/256.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/256.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/256.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/256.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/29.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/29.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/29.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/29.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/32.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/32.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/32.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/32.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/40.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/40.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/40.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/40.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/50.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/50.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/50.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/50.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/512.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/512.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/512.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/512.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/57.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/57.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/57.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/57.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/58.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/58.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/58.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/58.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/60.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/60.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/60.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/60.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/64.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/64.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/64.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/64.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/72.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/72.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/72.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/72.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/76.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/76.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/76.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/76.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/80.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/80.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/80.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/80.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/87.png b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/87.png
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/87.png
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/87.png
diff --git a/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
similarity index 100%
rename from app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to frontend/app_flowy/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
diff --git a/app_flowy/macos/Runner/Base.lproj/MainMenu.xib b/frontend/app_flowy/macos/Runner/Base.lproj/MainMenu.xib
similarity index 100%
rename from app_flowy/macos/Runner/Base.lproj/MainMenu.xib
rename to frontend/app_flowy/macos/Runner/Base.lproj/MainMenu.xib
diff --git a/app_flowy/macos/Runner/Configs/AppInfo.xcconfig b/frontend/app_flowy/macos/Runner/Configs/AppInfo.xcconfig
similarity index 100%
rename from app_flowy/macos/Runner/Configs/AppInfo.xcconfig
rename to frontend/app_flowy/macos/Runner/Configs/AppInfo.xcconfig
diff --git a/app_flowy/macos/Runner/Configs/Debug.xcconfig b/frontend/app_flowy/macos/Runner/Configs/Debug.xcconfig
similarity index 100%
rename from app_flowy/macos/Runner/Configs/Debug.xcconfig
rename to frontend/app_flowy/macos/Runner/Configs/Debug.xcconfig
diff --git a/app_flowy/macos/Runner/Configs/Release.xcconfig b/frontend/app_flowy/macos/Runner/Configs/Release.xcconfig
similarity index 100%
rename from app_flowy/macos/Runner/Configs/Release.xcconfig
rename to frontend/app_flowy/macos/Runner/Configs/Release.xcconfig
diff --git a/app_flowy/macos/Runner/Configs/Warnings.xcconfig b/frontend/app_flowy/macos/Runner/Configs/Warnings.xcconfig
similarity index 100%
rename from app_flowy/macos/Runner/Configs/Warnings.xcconfig
rename to frontend/app_flowy/macos/Runner/Configs/Warnings.xcconfig
diff --git a/app_flowy/macos/Runner/DebugProfile.entitlements b/frontend/app_flowy/macos/Runner/DebugProfile.entitlements
similarity index 100%
rename from app_flowy/macos/Runner/DebugProfile.entitlements
rename to frontend/app_flowy/macos/Runner/DebugProfile.entitlements
diff --git a/app_flowy/macos/Runner/Info.plist b/frontend/app_flowy/macos/Runner/Info.plist
similarity index 100%
rename from app_flowy/macos/Runner/Info.plist
rename to frontend/app_flowy/macos/Runner/Info.plist
diff --git a/app_flowy/macos/Runner/MainFlutterWindow.swift b/frontend/app_flowy/macos/Runner/MainFlutterWindow.swift
similarity index 100%
rename from app_flowy/macos/Runner/MainFlutterWindow.swift
rename to frontend/app_flowy/macos/Runner/MainFlutterWindow.swift
diff --git a/app_flowy/macos/Runner/Release.entitlements b/frontend/app_flowy/macos/Runner/Release.entitlements
similarity index 100%
rename from app_flowy/macos/Runner/Release.entitlements
rename to frontend/app_flowy/macos/Runner/Release.entitlements
diff --git a/app_flowy/packages/flowy_editor/.gitignore b/frontend/app_flowy/packages/flowy_editor/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_editor/.gitignore
rename to frontend/app_flowy/packages/flowy_editor/.gitignore
diff --git a/app_flowy/packages/flowy_editor/.metadata b/frontend/app_flowy/packages/flowy_editor/.metadata
similarity index 100%
rename from app_flowy/packages/flowy_editor/.metadata
rename to frontend/app_flowy/packages/flowy_editor/.metadata
diff --git a/app_flowy/packages/flowy_editor/.vscode/launch.json b/frontend/app_flowy/packages/flowy_editor/.vscode/launch.json
similarity index 100%
rename from app_flowy/packages/flowy_editor/.vscode/launch.json
rename to frontend/app_flowy/packages/flowy_editor/.vscode/launch.json
diff --git a/app_flowy/packages/flowy_editor/LICENSE b/frontend/app_flowy/packages/flowy_editor/LICENSE
similarity index 100%
rename from app_flowy/packages/flowy_editor/LICENSE
rename to frontend/app_flowy/packages/flowy_editor/LICENSE
diff --git a/app_flowy/packages/flowy_editor/analysis_options.yaml b/frontend/app_flowy/packages/flowy_editor/analysis_options.yaml
similarity index 100%
rename from app_flowy/packages/flowy_editor/analysis_options.yaml
rename to frontend/app_flowy/packages/flowy_editor/analysis_options.yaml
diff --git a/app_flowy/packages/flowy_editor/android/.gitignore b/frontend/app_flowy/packages/flowy_editor/android/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_editor/android/.gitignore
rename to frontend/app_flowy/packages/flowy_editor/android/.gitignore
diff --git a/app_flowy/packages/flowy_editor/android/build.gradle b/frontend/app_flowy/packages/flowy_editor/android/build.gradle
similarity index 100%
rename from app_flowy/packages/flowy_editor/android/build.gradle
rename to frontend/app_flowy/packages/flowy_editor/android/build.gradle
diff --git a/app_flowy/packages/flowy_editor/android/gradle.properties b/frontend/app_flowy/packages/flowy_editor/android/gradle.properties
similarity index 100%
rename from app_flowy/packages/flowy_editor/android/gradle.properties
rename to frontend/app_flowy/packages/flowy_editor/android/gradle.properties
diff --git a/app_flowy/packages/flowy_editor/android/gradle/wrapper/gradle-wrapper.properties b/frontend/app_flowy/packages/flowy_editor/android/gradle/wrapper/gradle-wrapper.properties
similarity index 100%
rename from app_flowy/packages/flowy_editor/android/gradle/wrapper/gradle-wrapper.properties
rename to frontend/app_flowy/packages/flowy_editor/android/gradle/wrapper/gradle-wrapper.properties
diff --git a/app_flowy/packages/flowy_editor/android/settings.gradle b/frontend/app_flowy/packages/flowy_editor/android/settings.gradle
similarity index 100%
rename from app_flowy/packages/flowy_editor/android/settings.gradle
rename to frontend/app_flowy/packages/flowy_editor/android/settings.gradle
diff --git a/app_flowy/packages/flowy_editor/android/src/main/AndroidManifest.xml b/frontend/app_flowy/packages/flowy_editor/android/src/main/AndroidManifest.xml
similarity index 100%
rename from app_flowy/packages/flowy_editor/android/src/main/AndroidManifest.xml
rename to frontend/app_flowy/packages/flowy_editor/android/src/main/AndroidManifest.xml
diff --git a/app_flowy/packages/flowy_editor/android/src/main/kotlin/com/plugin/flowy_editor/FlowyEditorPlugin.kt b/frontend/app_flowy/packages/flowy_editor/android/src/main/kotlin/com/plugin/flowy_editor/FlowyEditorPlugin.kt
similarity index 100%
rename from app_flowy/packages/flowy_editor/android/src/main/kotlin/com/plugin/flowy_editor/FlowyEditorPlugin.kt
rename to frontend/app_flowy/packages/flowy_editor/android/src/main/kotlin/com/plugin/flowy_editor/FlowyEditorPlugin.kt
diff --git a/app_flowy/packages/flowy_editor/example/.gitignore b/frontend/app_flowy/packages/flowy_editor/example/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/.gitignore
rename to frontend/app_flowy/packages/flowy_editor/example/.gitignore
diff --git a/app_flowy/packages/flowy_editor/example/.metadata b/frontend/app_flowy/packages/flowy_editor/example/.metadata
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/.metadata
rename to frontend/app_flowy/packages/flowy_editor/example/.metadata
diff --git a/app_flowy/packages/flowy_editor/example/README.md b/frontend/app_flowy/packages/flowy_editor/example/README.md
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/README.md
rename to frontend/app_flowy/packages/flowy_editor/example/README.md
diff --git a/app_flowy/packages/flowy_editor/example/android/.gitignore b/frontend/app_flowy/packages/flowy_editor/example/android/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/.gitignore
rename to frontend/app_flowy/packages/flowy_editor/example/android/.gitignore
diff --git a/app_flowy/packages/flowy_editor/example/android/app/build.gradle b/frontend/app_flowy/packages/flowy_editor/example/android/app/build.gradle
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/build.gradle
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/build.gradle
diff --git a/app_flowy/packages/flowy_editor/example/android/app/src/debug/AndroidManifest.xml b/frontend/app_flowy/packages/flowy_editor/example/android/app/src/debug/AndroidManifest.xml
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/src/debug/AndroidManifest.xml
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/src/debug/AndroidManifest.xml
diff --git a/app_flowy/packages/flowy_editor/example/android/app/src/main/AndroidManifest.xml b/frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/AndroidManifest.xml
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/src/main/AndroidManifest.xml
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/AndroidManifest.xml
diff --git a/app_flowy/packages/flowy_editor/example/android/app/src/main/kotlin/com/plugin/flowy_editor_example/MainActivity.kt b/frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/kotlin/com/plugin/flowy_editor_example/MainActivity.kt
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/src/main/kotlin/com/plugin/flowy_editor_example/MainActivity.kt
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/kotlin/com/plugin/flowy_editor_example/MainActivity.kt
diff --git a/app_flowy/packages/flowy_editor/example/android/app/src/main/res/drawable-v21/launch_background.xml b/frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/drawable-v21/launch_background.xml
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/src/main/res/drawable-v21/launch_background.xml
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/drawable-v21/launch_background.xml
diff --git a/app_flowy/packages/flowy_editor/example/android/app/src/main/res/drawable/launch_background.xml b/frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/drawable/launch_background.xml
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/src/main/res/drawable/launch_background.xml
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/drawable/launch_background.xml
diff --git a/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_editor/example/android/app/src/main/res/values-night/styles.xml b/frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/values-night/styles.xml
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/src/main/res/values-night/styles.xml
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/values-night/styles.xml
diff --git a/app_flowy/packages/flowy_editor/example/android/app/src/main/res/values/styles.xml b/frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/values/styles.xml
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/src/main/res/values/styles.xml
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/src/main/res/values/styles.xml
diff --git a/app_flowy/packages/flowy_editor/example/android/app/src/profile/AndroidManifest.xml b/frontend/app_flowy/packages/flowy_editor/example/android/app/src/profile/AndroidManifest.xml
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/app/src/profile/AndroidManifest.xml
rename to frontend/app_flowy/packages/flowy_editor/example/android/app/src/profile/AndroidManifest.xml
diff --git a/app_flowy/packages/flowy_editor/example/android/build.gradle b/frontend/app_flowy/packages/flowy_editor/example/android/build.gradle
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/build.gradle
rename to frontend/app_flowy/packages/flowy_editor/example/android/build.gradle
diff --git a/app_flowy/packages/flowy_editor/example/android/gradle.properties b/frontend/app_flowy/packages/flowy_editor/example/android/gradle.properties
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/gradle.properties
rename to frontend/app_flowy/packages/flowy_editor/example/android/gradle.properties
diff --git a/app_flowy/packages/flowy_editor/example/android/gradle/wrapper/gradle-wrapper.properties b/frontend/app_flowy/packages/flowy_editor/example/android/gradle/wrapper/gradle-wrapper.properties
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/gradle/wrapper/gradle-wrapper.properties
rename to frontend/app_flowy/packages/flowy_editor/example/android/gradle/wrapper/gradle-wrapper.properties
diff --git a/app_flowy/packages/flowy_editor/example/android/settings.gradle b/frontend/app_flowy/packages/flowy_editor/example/android/settings.gradle
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/android/settings.gradle
rename to frontend/app_flowy/packages/flowy_editor/example/android/settings.gradle
diff --git a/app_flowy/packages/flowy_editor/example/assets/block_document.fdoc b/frontend/app_flowy/packages/flowy_editor/example/assets/block_document.fdoc
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/assets/block_document.fdoc
rename to frontend/app_flowy/packages/flowy_editor/example/assets/block_document.fdoc
diff --git a/app_flowy/packages/flowy_editor/example/assets/long_document.fdoc b/frontend/app_flowy/packages/flowy_editor/example/assets/long_document.fdoc
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/assets/long_document.fdoc
rename to frontend/app_flowy/packages/flowy_editor/example/assets/long_document.fdoc
diff --git a/app_flowy/packages/flowy_editor/example/assets/plain_text_document.fdoc b/frontend/app_flowy/packages/flowy_editor/example/assets/plain_text_document.fdoc
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/assets/plain_text_document.fdoc
rename to frontend/app_flowy/packages/flowy_editor/example/assets/plain_text_document.fdoc
diff --git a/app_flowy/packages/flowy_editor/example/ios/.gitignore b/frontend/app_flowy/packages/flowy_editor/example/ios/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/.gitignore
rename to frontend/app_flowy/packages/flowy_editor/example/ios/.gitignore
diff --git a/app_flowy/packages/flowy_editor/example/ios/Flutter/AppFrameworkInfo.plist b/frontend/app_flowy/packages/flowy_editor/example/ios/Flutter/AppFrameworkInfo.plist
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Flutter/AppFrameworkInfo.plist
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Flutter/AppFrameworkInfo.plist
diff --git a/app_flowy/packages/flowy_editor/example/ios/Flutter/Debug.xcconfig b/frontend/app_flowy/packages/flowy_editor/example/ios/Flutter/Debug.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Flutter/Debug.xcconfig
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Flutter/Debug.xcconfig
diff --git a/app_flowy/packages/flowy_editor/example/ios/Flutter/Release.xcconfig b/frontend/app_flowy/packages/flowy_editor/example/ios/Flutter/Release.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Flutter/Release.xcconfig
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Flutter/Release.xcconfig
diff --git a/app_flowy/packages/flowy_editor/example/ios/Podfile b/frontend/app_flowy/packages/flowy_editor/example/ios/Podfile
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Podfile
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Podfile
diff --git a/app_flowy/packages/flowy_editor/example/ios/Podfile.lock b/frontend/app_flowy/packages/flowy_editor/example/ios/Podfile.lock
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Podfile.lock
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Podfile.lock
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.pbxproj b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.pbxproj
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.pbxproj
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.pbxproj
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner.xcworkspace/contents.xcworkspacedata
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcworkspace/contents.xcworkspacedata
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/AppDelegate.swift b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/AppDelegate.swift
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/AppDelegate.swift
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/AppDelegate.swift
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Base.lproj/LaunchScreen.storyboard
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Base.lproj/LaunchScreen.storyboard
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Base.lproj/LaunchScreen.storyboard
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Base.lproj/Main.storyboard b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Base.lproj/Main.storyboard
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Base.lproj/Main.storyboard
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Base.lproj/Main.storyboard
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Info.plist b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Info.plist
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Info.plist
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Info.plist
diff --git a/app_flowy/packages/flowy_editor/example/ios/Runner/Runner-Bridging-Header.h b/frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Runner-Bridging-Header.h
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/ios/Runner/Runner-Bridging-Header.h
rename to frontend/app_flowy/packages/flowy_editor/example/ios/Runner/Runner-Bridging-Header.h
diff --git a/app_flowy/packages/flowy_editor/example/lib/home_screen.dart b/frontend/app_flowy/packages/flowy_editor/example/lib/home_screen.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/lib/home_screen.dart
rename to frontend/app_flowy/packages/flowy_editor/example/lib/home_screen.dart
diff --git a/app_flowy/packages/flowy_editor/example/lib/main.dart b/frontend/app_flowy/packages/flowy_editor/example/lib/main.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/lib/main.dart
rename to frontend/app_flowy/packages/flowy_editor/example/lib/main.dart
diff --git a/app_flowy/packages/flowy_editor/example/lib/widgets/editor_scaffold.dart b/frontend/app_flowy/packages/flowy_editor/example/lib/widgets/editor_scaffold.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/lib/widgets/editor_scaffold.dart
rename to frontend/app_flowy/packages/flowy_editor/example/lib/widgets/editor_scaffold.dart
diff --git a/app_flowy/packages/flowy_editor/example/lib/widgets/home_drawer.dart b/frontend/app_flowy/packages/flowy_editor/example/lib/widgets/home_drawer.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/lib/widgets/home_drawer.dart
rename to frontend/app_flowy/packages/flowy_editor/example/lib/widgets/home_drawer.dart
diff --git a/app_flowy/packages/flowy_editor/example/macos/.gitignore b/frontend/app_flowy/packages/flowy_editor/example/macos/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/.gitignore
rename to frontend/app_flowy/packages/flowy_editor/example/macos/.gitignore
diff --git a/app_flowy/packages/flowy_editor/example/macos/Flutter/Flutter-Debug.xcconfig b/frontend/app_flowy/packages/flowy_editor/example/macos/Flutter/Flutter-Debug.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Flutter/Flutter-Debug.xcconfig
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Flutter/Flutter-Debug.xcconfig
diff --git a/app_flowy/packages/flowy_editor/example/macos/Flutter/Flutter-Release.xcconfig b/frontend/app_flowy/packages/flowy_editor/example/macos/Flutter/Flutter-Release.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Flutter/Flutter-Release.xcconfig
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Flutter/Flutter-Release.xcconfig
diff --git a/app_flowy/packages/flowy_editor/example/macos/Flutter/GeneratedPluginRegistrant.swift b/frontend/app_flowy/packages/flowy_editor/example/macos/Flutter/GeneratedPluginRegistrant.swift
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Flutter/GeneratedPluginRegistrant.swift
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Flutter/GeneratedPluginRegistrant.swift
diff --git a/app_flowy/packages/flowy_editor/example/macos/Podfile b/frontend/app_flowy/packages/flowy_editor/example/macos/Podfile
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Podfile
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Podfile
diff --git a/app_flowy/packages/flowy_editor/example/macos/Podfile.lock b/frontend/app_flowy/packages/flowy_editor/example/macos/Podfile.lock
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Podfile.lock
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Podfile.lock
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner.xcodeproj/project.pbxproj b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner.xcodeproj/project.pbxproj
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner.xcodeproj/project.pbxproj
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner.xcodeproj/project.pbxproj
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner.xcworkspace/contents.xcworkspacedata b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner.xcworkspace/contents.xcworkspacedata
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner.xcworkspace/contents.xcworkspacedata
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/AppDelegate.swift b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/AppDelegate.swift
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/AppDelegate.swift
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/AppDelegate.swift
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Base.lproj/MainMenu.xib b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Base.lproj/MainMenu.xib
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Base.lproj/MainMenu.xib
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Base.lproj/MainMenu.xib
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Configs/AppInfo.xcconfig b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Configs/AppInfo.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Configs/AppInfo.xcconfig
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Configs/AppInfo.xcconfig
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Configs/Debug.xcconfig b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Configs/Debug.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Configs/Debug.xcconfig
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Configs/Debug.xcconfig
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Configs/Release.xcconfig b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Configs/Release.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Configs/Release.xcconfig
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Configs/Release.xcconfig
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Configs/Warnings.xcconfig b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Configs/Warnings.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Configs/Warnings.xcconfig
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Configs/Warnings.xcconfig
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/DebugProfile.entitlements b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/DebugProfile.entitlements
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/DebugProfile.entitlements
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/DebugProfile.entitlements
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Info.plist b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Info.plist
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Info.plist
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Info.plist
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/MainFlutterWindow.swift b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/MainFlutterWindow.swift
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/MainFlutterWindow.swift
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/MainFlutterWindow.swift
diff --git a/app_flowy/packages/flowy_editor/example/macos/Runner/Release.entitlements b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Release.entitlements
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/macos/Runner/Release.entitlements
rename to frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Release.entitlements
diff --git a/app_flowy/packages/flowy_editor/example/pubspec.lock b/frontend/app_flowy/packages/flowy_editor/example/pubspec.lock
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/pubspec.lock
rename to frontend/app_flowy/packages/flowy_editor/example/pubspec.lock
diff --git a/app_flowy/packages/flowy_editor/example/pubspec.yaml b/frontend/app_flowy/packages/flowy_editor/example/pubspec.yaml
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/pubspec.yaml
rename to frontend/app_flowy/packages/flowy_editor/example/pubspec.yaml
diff --git a/app_flowy/packages/flowy_editor/example/web/favicon.png b/frontend/app_flowy/packages/flowy_editor/example/web/favicon.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/web/favicon.png
rename to frontend/app_flowy/packages/flowy_editor/example/web/favicon.png
diff --git a/app_flowy/packages/flowy_editor/example/web/icons/Icon-192.png b/frontend/app_flowy/packages/flowy_editor/example/web/icons/Icon-192.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/web/icons/Icon-192.png
rename to frontend/app_flowy/packages/flowy_editor/example/web/icons/Icon-192.png
diff --git a/app_flowy/packages/flowy_editor/example/web/icons/Icon-512.png b/frontend/app_flowy/packages/flowy_editor/example/web/icons/Icon-512.png
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/web/icons/Icon-512.png
rename to frontend/app_flowy/packages/flowy_editor/example/web/icons/Icon-512.png
diff --git a/app_flowy/packages/flowy_editor/example/web/index.html b/frontend/app_flowy/packages/flowy_editor/example/web/index.html
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/web/index.html
rename to frontend/app_flowy/packages/flowy_editor/example/web/index.html
diff --git a/app_flowy/packages/flowy_editor/example/web/manifest.json b/frontend/app_flowy/packages/flowy_editor/example/web/manifest.json
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/web/manifest.json
rename to frontend/app_flowy/packages/flowy_editor/example/web/manifest.json
diff --git a/app_flowy/packages/flowy_editor/example/windows/.gitignore b/frontend/app_flowy/packages/flowy_editor/example/windows/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/.gitignore
rename to frontend/app_flowy/packages/flowy_editor/example/windows/.gitignore
diff --git a/app_flowy/packages/flowy_editor/example/windows/CMakeLists.txt b/frontend/app_flowy/packages/flowy_editor/example/windows/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_editor/example/windows/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_editor/example/windows/flutter/CMakeLists.txt b/frontend/app_flowy/packages/flowy_editor/example/windows/flutter/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/flutter/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_editor/example/windows/flutter/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_editor/example/windows/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/packages/flowy_editor/example/windows/flutter/generated_plugin_registrant.cc
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/flutter/generated_plugin_registrant.cc
rename to frontend/app_flowy/packages/flowy_editor/example/windows/flutter/generated_plugin_registrant.cc
diff --git a/app_flowy/packages/flowy_editor/example/windows/flutter/generated_plugin_registrant.h b/frontend/app_flowy/packages/flowy_editor/example/windows/flutter/generated_plugin_registrant.h
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/flutter/generated_plugin_registrant.h
rename to frontend/app_flowy/packages/flowy_editor/example/windows/flutter/generated_plugin_registrant.h
diff --git a/app_flowy/packages/flowy_editor/example/windows/flutter/generated_plugins.cmake b/frontend/app_flowy/packages/flowy_editor/example/windows/flutter/generated_plugins.cmake
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/flutter/generated_plugins.cmake
rename to frontend/app_flowy/packages/flowy_editor/example/windows/flutter/generated_plugins.cmake
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/CMakeLists.txt b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/Runner.rc b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/Runner.rc
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/Runner.rc
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/Runner.rc
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/flutter_window.cpp b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/flutter_window.cpp
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/flutter_window.cpp
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/flutter_window.cpp
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/flutter_window.h b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/flutter_window.h
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/flutter_window.h
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/flutter_window.h
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/main.cpp b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/main.cpp
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/main.cpp
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/main.cpp
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/resource.h b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/resource.h
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/resource.h
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/resource.h
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/resources/app_icon.ico b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/resources/app_icon.ico
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/resources/app_icon.ico
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/resources/app_icon.ico
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/run_loop.cpp b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/run_loop.cpp
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/run_loop.cpp
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/run_loop.cpp
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/run_loop.h b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/run_loop.h
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/run_loop.h
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/run_loop.h
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/runner.exe.manifest b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/runner.exe.manifest
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/runner.exe.manifest
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/runner.exe.manifest
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/utils.cpp b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/utils.cpp
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/utils.cpp
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/utils.cpp
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/utils.h b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/utils.h
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/utils.h
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/utils.h
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/win32_window.cpp b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/win32_window.cpp
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/win32_window.cpp
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/win32_window.cpp
diff --git a/app_flowy/packages/flowy_editor/example/windows/runner/win32_window.h b/frontend/app_flowy/packages/flowy_editor/example/windows/runner/win32_window.h
similarity index 100%
rename from app_flowy/packages/flowy_editor/example/windows/runner/win32_window.h
rename to frontend/app_flowy/packages/flowy_editor/example/windows/runner/win32_window.h
diff --git a/app_flowy/packages/flowy_editor/ios/.gitignore b/frontend/app_flowy/packages/flowy_editor/ios/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_editor/ios/.gitignore
rename to frontend/app_flowy/packages/flowy_editor/ios/.gitignore
diff --git a/app_flowy/packages/flowy_editor/ios/Assets/.gitkeep b/frontend/app_flowy/packages/flowy_editor/ios/Assets/.gitkeep
similarity index 100%
rename from app_flowy/packages/flowy_editor/ios/Assets/.gitkeep
rename to frontend/app_flowy/packages/flowy_editor/ios/Assets/.gitkeep
diff --git a/app_flowy/packages/flowy_editor/ios/Classes/FlowyEditorPlugin.h b/frontend/app_flowy/packages/flowy_editor/ios/Classes/FlowyEditorPlugin.h
similarity index 100%
rename from app_flowy/packages/flowy_editor/ios/Classes/FlowyEditorPlugin.h
rename to frontend/app_flowy/packages/flowy_editor/ios/Classes/FlowyEditorPlugin.h
diff --git a/app_flowy/packages/flowy_editor/ios/Classes/FlowyEditorPlugin.m b/frontend/app_flowy/packages/flowy_editor/ios/Classes/FlowyEditorPlugin.m
similarity index 100%
rename from app_flowy/packages/flowy_editor/ios/Classes/FlowyEditorPlugin.m
rename to frontend/app_flowy/packages/flowy_editor/ios/Classes/FlowyEditorPlugin.m
diff --git a/app_flowy/packages/flowy_editor/ios/Classes/SwiftFlowyEditorPlugin.swift b/frontend/app_flowy/packages/flowy_editor/ios/Classes/SwiftFlowyEditorPlugin.swift
similarity index 100%
rename from app_flowy/packages/flowy_editor/ios/Classes/SwiftFlowyEditorPlugin.swift
rename to frontend/app_flowy/packages/flowy_editor/ios/Classes/SwiftFlowyEditorPlugin.swift
diff --git a/app_flowy/packages/flowy_editor/ios/flowy_editor.podspec b/frontend/app_flowy/packages/flowy_editor/ios/flowy_editor.podspec
similarity index 100%
rename from app_flowy/packages/flowy_editor/ios/flowy_editor.podspec
rename to frontend/app_flowy/packages/flowy_editor/ios/flowy_editor.podspec
diff --git a/app_flowy/packages/flowy_editor/lib/flowy_editor.dart b/frontend/app_flowy/packages/flowy_editor/lib/flowy_editor.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/flowy_editor.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/flowy_editor.dart
diff --git a/app_flowy/packages/flowy_editor/lib/flowy_editor_web.dart b/frontend/app_flowy/packages/flowy_editor/lib/flowy_editor_web.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/flowy_editor_web.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/flowy_editor_web.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/document/attribute.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/document/attribute.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/document/attribute.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/document/attribute.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/document/document.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/document/document.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/document/document.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/document/document.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/document/history.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/document/history.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/document/history.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/document/history.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/document/node/block.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/document/node/block.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/document/node/block.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/document/node/block.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/document/node/container.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/document/node/container.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/document/node/container.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/document/node/container.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/document/node/embed.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/document/node/embed.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/document/node/embed.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/document/node/embed.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/document/node/leaf.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/document/node/leaf.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/document/node/leaf.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/document/node/leaf.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/document/node/line.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/document/node/line.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/document/node/line.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/document/node/line.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/document/node/node.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/document/node/node.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/document/node/node.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/document/node/node.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/document/style.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/document/style.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/document/style.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/document/style.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/heuristic/delete.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/heuristic/delete.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/heuristic/delete.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/heuristic/delete.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/heuristic/format.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/heuristic/format.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/heuristic/format.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/heuristic/format.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/heuristic/insert.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/heuristic/insert.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/heuristic/insert.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/heuristic/insert.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/heuristic/rule.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/heuristic/rule.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/heuristic/rule.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/heuristic/rule.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/model/quill_delta.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/model/quill_delta.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/model/quill_delta.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/model/quill_delta.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/rendering/box.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/rendering/box.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/rendering/box.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/rendering/box.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/rendering/editor.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/rendering/editor.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/rendering/editor.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/rendering/editor.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/rendering/proxy.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/rendering/proxy.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/rendering/proxy.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/rendering/proxy.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/rendering/text_block.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/rendering/text_block.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/rendering/text_block.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/rendering/text_block.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/rendering/text_line.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/rendering/text_line.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/rendering/text_line.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/rendering/text_line.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/service/controller.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/service/controller.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/service/controller.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/service/controller.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/service/cursor.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/service/cursor.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/service/cursor.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/service/cursor.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/service/keyboard.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/service/keyboard.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/service/keyboard.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/service/keyboard.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/service/style.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/service/style.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/service/style.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/service/style.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/util/color.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/util/color.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/util/color.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/util/color.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/util/delta_diff.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/util/delta_diff.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/util/delta_diff.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/util/delta_diff.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/widget/builder.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/widget/builder.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/widget/builder.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/widget/builder.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/widget/editor.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/widget/editor.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/widget/editor.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/widget/editor.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/widget/embed.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/widget/embed.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/widget/embed.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/widget/embed.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/widget/embed_builder/image_builder.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/widget/embed_builder/image_builder.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/widget/embed_builder/image_builder.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/widget/embed_builder/image_builder.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/widget/embed_builder/logo_builder.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/widget/embed_builder/logo_builder.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/widget/embed_builder/logo_builder.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/widget/embed_builder/logo_builder.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/widget/flowy_toolbar.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/widget/flowy_toolbar.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/widget/flowy_toolbar.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/widget/flowy_toolbar.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/widget/image_viewer_screen.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/widget/image_viewer_screen.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/widget/image_viewer_screen.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/widget/image_viewer_screen.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/widget/proxy.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/widget/proxy.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/widget/proxy.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/widget/proxy.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/widget/raw_editor.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/widget/raw_editor.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/widget/raw_editor.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/widget/raw_editor.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/widget/selection.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/widget/selection.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/widget/selection.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/widget/selection.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/widget/text_block.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/widget/text_block.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/widget/text_block.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/widget/text_block.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/widget/text_line.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/widget/text_line.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/widget/text_line.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/widget/text_line.dart
diff --git a/app_flowy/packages/flowy_editor/lib/src/widget/toolbar.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/widget/toolbar.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/lib/src/widget/toolbar.dart
rename to frontend/app_flowy/packages/flowy_editor/lib/src/widget/toolbar.dart
diff --git a/app_flowy/packages/flowy_editor/macos/Classes/FlowyEditorPlugin.swift b/frontend/app_flowy/packages/flowy_editor/macos/Classes/FlowyEditorPlugin.swift
similarity index 100%
rename from app_flowy/packages/flowy_editor/macos/Classes/FlowyEditorPlugin.swift
rename to frontend/app_flowy/packages/flowy_editor/macos/Classes/FlowyEditorPlugin.swift
diff --git a/app_flowy/packages/flowy_editor/macos/flowy_editor.podspec b/frontend/app_flowy/packages/flowy_editor/macos/flowy_editor.podspec
similarity index 100%
rename from app_flowy/packages/flowy_editor/macos/flowy_editor.podspec
rename to frontend/app_flowy/packages/flowy_editor/macos/flowy_editor.podspec
diff --git a/app_flowy/packages/flowy_editor/pubspec.lock b/frontend/app_flowy/packages/flowy_editor/pubspec.lock
similarity index 100%
rename from app_flowy/packages/flowy_editor/pubspec.lock
rename to frontend/app_flowy/packages/flowy_editor/pubspec.lock
diff --git a/app_flowy/packages/flowy_editor/pubspec.yaml b/frontend/app_flowy/packages/flowy_editor/pubspec.yaml
similarity index 100%
rename from app_flowy/packages/flowy_editor/pubspec.yaml
rename to frontend/app_flowy/packages/flowy_editor/pubspec.yaml
diff --git a/app_flowy/packages/flowy_editor/test/flowy_editor_test.dart b/frontend/app_flowy/packages/flowy_editor/test/flowy_editor_test.dart
similarity index 100%
rename from app_flowy/packages/flowy_editor/test/flowy_editor_test.dart
rename to frontend/app_flowy/packages/flowy_editor/test/flowy_editor_test.dart
diff --git a/app_flowy/packages/flowy_editor/windows/.gitignore b/frontend/app_flowy/packages/flowy_editor/windows/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_editor/windows/.gitignore
rename to frontend/app_flowy/packages/flowy_editor/windows/.gitignore
diff --git a/app_flowy/packages/flowy_editor/windows/CMakeLists.txt b/frontend/app_flowy/packages/flowy_editor/windows/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_editor/windows/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_editor/windows/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_editor/windows/flowy_editor_plugin.cpp b/frontend/app_flowy/packages/flowy_editor/windows/flowy_editor_plugin.cpp
similarity index 100%
rename from app_flowy/packages/flowy_editor/windows/flowy_editor_plugin.cpp
rename to frontend/app_flowy/packages/flowy_editor/windows/flowy_editor_plugin.cpp
diff --git a/app_flowy/packages/flowy_editor/windows/include/flowy_editor/flowy_editor_plugin.h b/frontend/app_flowy/packages/flowy_editor/windows/include/flowy_editor/flowy_editor_plugin.h
similarity index 100%
rename from app_flowy/packages/flowy_editor/windows/include/flowy_editor/flowy_editor_plugin.h
rename to frontend/app_flowy/packages/flowy_editor/windows/include/flowy_editor/flowy_editor_plugin.h
diff --git a/app_flowy/packages/flowy_infra/.gitignore b/frontend/app_flowy/packages/flowy_infra/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_infra/.gitignore
rename to frontend/app_flowy/packages/flowy_infra/.gitignore
diff --git a/app_flowy/packages/flowy_infra/.metadata b/frontend/app_flowy/packages/flowy_infra/.metadata
similarity index 100%
rename from app_flowy/packages/flowy_infra/.metadata
rename to frontend/app_flowy/packages/flowy_infra/.metadata
diff --git a/app_flowy/packages/flowy_infra/LICENSE b/frontend/app_flowy/packages/flowy_infra/LICENSE
similarity index 100%
rename from app_flowy/packages/flowy_infra/LICENSE
rename to frontend/app_flowy/packages/flowy_infra/LICENSE
diff --git a/app_flowy/packages/flowy_infra/analysis_options.yaml b/frontend/app_flowy/packages/flowy_infra/analysis_options.yaml
similarity index 100%
rename from app_flowy/packages/flowy_infra/analysis_options.yaml
rename to frontend/app_flowy/packages/flowy_infra/analysis_options.yaml
diff --git a/app_flowy/packages/flowy_infra/lib/color.dart b/frontend/app_flowy/packages/flowy_infra/lib/color.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra/lib/color.dart
rename to frontend/app_flowy/packages/flowy_infra/lib/color.dart
diff --git a/app_flowy/packages/flowy_infra/lib/flowy_icon_data_icons.dart b/frontend/app_flowy/packages/flowy_infra/lib/flowy_icon_data_icons.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra/lib/flowy_icon_data_icons.dart
rename to frontend/app_flowy/packages/flowy_infra/lib/flowy_icon_data_icons.dart
diff --git a/app_flowy/packages/flowy_infra/lib/image.dart b/frontend/app_flowy/packages/flowy_infra/lib/image.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra/lib/image.dart
rename to frontend/app_flowy/packages/flowy_infra/lib/image.dart
diff --git a/app_flowy/packages/flowy_infra/lib/notifier.dart b/frontend/app_flowy/packages/flowy_infra/lib/notifier.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra/lib/notifier.dart
rename to frontend/app_flowy/packages/flowy_infra/lib/notifier.dart
diff --git a/app_flowy/packages/flowy_infra/lib/size.dart b/frontend/app_flowy/packages/flowy_infra/lib/size.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra/lib/size.dart
rename to frontend/app_flowy/packages/flowy_infra/lib/size.dart
diff --git a/app_flowy/packages/flowy_infra/lib/strings.dart b/frontend/app_flowy/packages/flowy_infra/lib/strings.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra/lib/strings.dart
rename to frontend/app_flowy/packages/flowy_infra/lib/strings.dart
diff --git a/app_flowy/packages/flowy_infra/lib/text_style.dart b/frontend/app_flowy/packages/flowy_infra/lib/text_style.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra/lib/text_style.dart
rename to frontend/app_flowy/packages/flowy_infra/lib/text_style.dart
diff --git a/app_flowy/packages/flowy_infra/lib/theme.dart b/frontend/app_flowy/packages/flowy_infra/lib/theme.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra/lib/theme.dart
rename to frontend/app_flowy/packages/flowy_infra/lib/theme.dart
diff --git a/app_flowy/packages/flowy_infra/lib/time/duration.dart b/frontend/app_flowy/packages/flowy_infra/lib/time/duration.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra/lib/time/duration.dart
rename to frontend/app_flowy/packages/flowy_infra/lib/time/duration.dart
diff --git a/app_flowy/packages/flowy_infra/lib/time/prelude.dart b/frontend/app_flowy/packages/flowy_infra/lib/time/prelude.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra/lib/time/prelude.dart
rename to frontend/app_flowy/packages/flowy_infra/lib/time/prelude.dart
diff --git a/app_flowy/packages/flowy_infra/lib/uuid.dart b/frontend/app_flowy/packages/flowy_infra/lib/uuid.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra/lib/uuid.dart
rename to frontend/app_flowy/packages/flowy_infra/lib/uuid.dart
diff --git a/app_flowy/packages/flowy_infra/pubspec.lock b/frontend/app_flowy/packages/flowy_infra/pubspec.lock
similarity index 100%
rename from app_flowy/packages/flowy_infra/pubspec.lock
rename to frontend/app_flowy/packages/flowy_infra/pubspec.lock
diff --git a/app_flowy/packages/flowy_infra/pubspec.yaml b/frontend/app_flowy/packages/flowy_infra/pubspec.yaml
similarity index 100%
rename from app_flowy/packages/flowy_infra/pubspec.yaml
rename to frontend/app_flowy/packages/flowy_infra/pubspec.yaml
diff --git a/app_flowy/packages/flowy_infra_ui/.gitignore b/frontend/app_flowy/packages/flowy_infra_ui/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/.gitignore
rename to frontend/app_flowy/packages/flowy_infra_ui/.gitignore
diff --git a/app_flowy/packages/flowy_infra_ui/.metadata b/frontend/app_flowy/packages/flowy_infra_ui/.metadata
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/.metadata
rename to frontend/app_flowy/packages/flowy_infra_ui/.metadata
diff --git a/app_flowy/packages/flowy_infra_ui/.vscode/launch.json b/frontend/app_flowy/packages/flowy_infra_ui/.vscode/launch.json
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/.vscode/launch.json
rename to frontend/app_flowy/packages/flowy_infra_ui/.vscode/launch.json
diff --git a/app_flowy/packages/flowy_infra_ui/CHANGELOG.md b/frontend/app_flowy/packages/flowy_infra_ui/CHANGELOG.md
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/CHANGELOG.md
rename to frontend/app_flowy/packages/flowy_infra_ui/CHANGELOG.md
diff --git a/app_flowy/packages/flowy_infra_ui/LICENSE b/frontend/app_flowy/packages/flowy_infra_ui/LICENSE
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/LICENSE
rename to frontend/app_flowy/packages/flowy_infra_ui/LICENSE
diff --git a/app_flowy/packages/flowy_infra_ui/README.md b/frontend/app_flowy/packages/flowy_infra_ui/README.md
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/README.md
rename to frontend/app_flowy/packages/flowy_infra_ui/README.md
diff --git a/app_flowy/packages/flowy_infra_ui/analysis_options.yaml b/frontend/app_flowy/packages/flowy_infra_ui/analysis_options.yaml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/analysis_options.yaml
rename to frontend/app_flowy/packages/flowy_infra_ui/analysis_options.yaml
diff --git a/app_flowy/packages/flowy_infra_ui/android/.classpath b/frontend/app_flowy/packages/flowy_infra_ui/android/.classpath
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/android/.classpath
rename to frontend/app_flowy/packages/flowy_infra_ui/android/.classpath
diff --git a/app_flowy/packages/flowy_infra_ui/android/.gitignore b/frontend/app_flowy/packages/flowy_infra_ui/android/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/android/.gitignore
rename to frontend/app_flowy/packages/flowy_infra_ui/android/.gitignore
diff --git a/app_flowy/packages/flowy_infra_ui/android/.project b/frontend/app_flowy/packages/flowy_infra_ui/android/.project
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/android/.project
rename to frontend/app_flowy/packages/flowy_infra_ui/android/.project
diff --git a/app_flowy/packages/flowy_infra_ui/android/.settings/org.eclipse.buildship.core.prefs b/frontend/app_flowy/packages/flowy_infra_ui/android/.settings/org.eclipse.buildship.core.prefs
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/android/.settings/org.eclipse.buildship.core.prefs
rename to frontend/app_flowy/packages/flowy_infra_ui/android/.settings/org.eclipse.buildship.core.prefs
diff --git a/app_flowy/packages/flowy_infra_ui/android/build.gradle b/frontend/app_flowy/packages/flowy_infra_ui/android/build.gradle
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/android/build.gradle
rename to frontend/app_flowy/packages/flowy_infra_ui/android/build.gradle
diff --git a/app_flowy/packages/flowy_infra_ui/android/gradle.properties b/frontend/app_flowy/packages/flowy_infra_ui/android/gradle.properties
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/android/gradle.properties
rename to frontend/app_flowy/packages/flowy_infra_ui/android/gradle.properties
diff --git a/app_flowy/packages/flowy_infra_ui/android/gradle/wrapper/gradle-wrapper.properties b/frontend/app_flowy/packages/flowy_infra_ui/android/gradle/wrapper/gradle-wrapper.properties
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/android/gradle/wrapper/gradle-wrapper.properties
rename to frontend/app_flowy/packages/flowy_infra_ui/android/gradle/wrapper/gradle-wrapper.properties
diff --git a/app_flowy/packages/flowy_infra_ui/android/settings.gradle b/frontend/app_flowy/packages/flowy_infra_ui/android/settings.gradle
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/android/settings.gradle
rename to frontend/app_flowy/packages/flowy_infra_ui/android/settings.gradle
diff --git a/app_flowy/packages/flowy_infra_ui/android/src/main/AndroidManifest.xml b/frontend/app_flowy/packages/flowy_infra_ui/android/src/main/AndroidManifest.xml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/android/src/main/AndroidManifest.xml
rename to frontend/app_flowy/packages/flowy_infra_ui/android/src/main/AndroidManifest.xml
diff --git a/app_flowy/packages/flowy_infra_ui/android/src/main/java/com/example/flowy_infra_ui/FlowyInfraUiPlugin.java b/frontend/app_flowy/packages/flowy_infra_ui/android/src/main/java/com/example/flowy_infra_ui/FlowyInfraUiPlugin.java
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/android/src/main/java/com/example/flowy_infra_ui/FlowyInfraUiPlugin.java
rename to frontend/app_flowy/packages/flowy_infra_ui/android/src/main/java/com/example/flowy_infra_ui/FlowyInfraUiPlugin.java
diff --git a/app_flowy/packages/flowy_infra_ui/android/src/main/java/com/example/flowy_infra_ui/event/KeyboardEventHandler.java b/frontend/app_flowy/packages/flowy_infra_ui/android/src/main/java/com/example/flowy_infra_ui/event/KeyboardEventHandler.java
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/android/src/main/java/com/example/flowy_infra_ui/event/KeyboardEventHandler.java
rename to frontend/app_flowy/packages/flowy_infra_ui/android/src/main/java/com/example/flowy_infra_ui/event/KeyboardEventHandler.java
diff --git a/app_flowy/packages/flowy_infra_ui/android/src/main/kotlin/com/example/flowy_infra_ui/FlowyInfraUiPlugin.kt b/frontend/app_flowy/packages/flowy_infra_ui/android/src/main/kotlin/com/example/flowy_infra_ui/FlowyInfraUiPlugin.kt
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/android/src/main/kotlin/com/example/flowy_infra_ui/FlowyInfraUiPlugin.kt
rename to frontend/app_flowy/packages/flowy_infra_ui/android/src/main/kotlin/com/example/flowy_infra_ui/FlowyInfraUiPlugin.kt
diff --git a/app_flowy/packages/flowy_infra_ui/example/.gitignore b/frontend/app_flowy/packages/flowy_infra_ui/example/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/.gitignore
rename to frontend/app_flowy/packages/flowy_infra_ui/example/.gitignore
diff --git a/app_flowy/packages/flowy_infra_ui/example/.metadata b/frontend/app_flowy/packages/flowy_infra_ui/example/.metadata
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/.metadata
rename to frontend/app_flowy/packages/flowy_infra_ui/example/.metadata
diff --git a/app_flowy/packages/flowy_infra_ui/example/README.md b/frontend/app_flowy/packages/flowy_infra_ui/example/README.md
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/README.md
rename to frontend/app_flowy/packages/flowy_infra_ui/example/README.md
diff --git a/app_flowy/packages/flowy_infra_ui/example/analysis_options.yaml b/frontend/app_flowy/packages/flowy_infra_ui/example/analysis_options.yaml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/analysis_options.yaml
rename to frontend/app_flowy/packages/flowy_infra_ui/example/analysis_options.yaml
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/.gitignore b/frontend/app_flowy/packages/flowy_infra_ui/example/android/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/.gitignore
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/.gitignore
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/.project b/frontend/app_flowy/packages/flowy_infra_ui/example/android/.project
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/.project
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/.project
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/.settings/org.eclipse.buildship.core.prefs b/frontend/app_flowy/packages/flowy_infra_ui/example/android/.settings/org.eclipse.buildship.core.prefs
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/.settings/org.eclipse.buildship.core.prefs
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/.settings/org.eclipse.buildship.core.prefs
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/.classpath b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/.classpath
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/.classpath
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/.classpath
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/.project b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/.project
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/.project
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/.project
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/.settings/org.eclipse.buildship.core.prefs b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/.settings/org.eclipse.buildship.core.prefs
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/.settings/org.eclipse.buildship.core.prefs
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/.settings/org.eclipse.buildship.core.prefs
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/build.gradle b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/build.gradle
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/build.gradle
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/build.gradle
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/debug/AndroidManifest.xml b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/debug/AndroidManifest.xml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/debug/AndroidManifest.xml
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/debug/AndroidManifest.xml
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/AndroidManifest.xml b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/AndroidManifest.xml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/main/AndroidManifest.xml
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/AndroidManifest.xml
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/java/com/example/flowy_infra_ui_example/MainActivity.java b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/java/com/example/flowy_infra_ui_example/MainActivity.java
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/main/java/com/example/flowy_infra_ui_example/MainActivity.java
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/java/com/example/flowy_infra_ui_example/MainActivity.java
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/kotlin/com/example/flowy_infra_ui_example/MainActivity.kt b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/kotlin/com/example/flowy_infra_ui_example/MainActivity.kt
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/main/kotlin/com/example/flowy_infra_ui_example/MainActivity.kt
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/kotlin/com/example/flowy_infra_ui_example/MainActivity.kt
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/drawable-v21/launch_background.xml b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/drawable-v21/launch_background.xml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/drawable-v21/launch_background.xml
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/drawable-v21/launch_background.xml
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/drawable/launch_background.xml b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/drawable/launch_background.xml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/drawable/launch_background.xml
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/drawable/launch_background.xml
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/values-night/styles.xml b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/values-night/styles.xml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/values-night/styles.xml
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/values-night/styles.xml
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/values/styles.xml b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/values/styles.xml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/values/styles.xml
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/main/res/values/styles.xml
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/app/src/profile/AndroidManifest.xml b/frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/profile/AndroidManifest.xml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/app/src/profile/AndroidManifest.xml
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/app/src/profile/AndroidManifest.xml
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/build.gradle b/frontend/app_flowy/packages/flowy_infra_ui/example/android/build.gradle
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/build.gradle
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/build.gradle
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/gradle.properties b/frontend/app_flowy/packages/flowy_infra_ui/example/android/gradle.properties
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/gradle.properties
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/gradle.properties
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/gradle/wrapper/gradle-wrapper.properties b/frontend/app_flowy/packages/flowy_infra_ui/example/android/gradle/wrapper/gradle-wrapper.properties
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/gradle/wrapper/gradle-wrapper.properties
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/gradle/wrapper/gradle-wrapper.properties
diff --git a/app_flowy/packages/flowy_infra_ui/example/android/settings.gradle b/frontend/app_flowy/packages/flowy_infra_ui/example/android/settings.gradle
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/android/settings.gradle
rename to frontend/app_flowy/packages/flowy_infra_ui/example/android/settings.gradle
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/.gitignore b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/.gitignore
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/.gitignore
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Flutter/AppFrameworkInfo.plist b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Flutter/AppFrameworkInfo.plist
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Flutter/AppFrameworkInfo.plist
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Flutter/AppFrameworkInfo.plist
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Flutter/Debug.xcconfig b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Flutter/Debug.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Flutter/Debug.xcconfig
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Flutter/Debug.xcconfig
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Flutter/Release.xcconfig b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Flutter/Release.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Flutter/Release.xcconfig
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Flutter/Release.xcconfig
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Podfile b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Podfile
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Podfile
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Podfile
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Podfile.lock b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Podfile.lock
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Podfile.lock
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Podfile.lock
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.pbxproj b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.pbxproj
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.pbxproj
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.pbxproj
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcworkspace/contents.xcworkspacedata
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcworkspace/contents.xcworkspacedata
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/AppDelegate.swift b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/AppDelegate.swift
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/AppDelegate.swift
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/AppDelegate.swift
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Base.lproj/LaunchScreen.storyboard
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Base.lproj/LaunchScreen.storyboard
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Base.lproj/LaunchScreen.storyboard
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Base.lproj/Main.storyboard b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Base.lproj/Main.storyboard
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Base.lproj/Main.storyboard
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Base.lproj/Main.storyboard
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Info.plist b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Info.plist
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Info.plist
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Info.plist
diff --git a/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Runner-Bridging-Header.h b/frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Runner-Bridging-Header.h
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/ios/Runner/Runner-Bridging-Header.h
rename to frontend/app_flowy/packages/flowy_infra_ui/example/ios/Runner/Runner-Bridging-Header.h
diff --git a/app_flowy/packages/flowy_infra_ui/example/lib/home/demo_item.dart b/frontend/app_flowy/packages/flowy_infra_ui/example/lib/home/demo_item.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/lib/home/demo_item.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/example/lib/home/demo_item.dart
diff --git a/app_flowy/packages/flowy_infra_ui/example/lib/home/home_screen.dart b/frontend/app_flowy/packages/flowy_infra_ui/example/lib/home/home_screen.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/lib/home/home_screen.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/example/lib/home/home_screen.dart
diff --git a/app_flowy/packages/flowy_infra_ui/example/lib/keyboard/keyboard_screen.dart b/frontend/app_flowy/packages/flowy_infra_ui/example/lib/keyboard/keyboard_screen.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/lib/keyboard/keyboard_screen.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/example/lib/keyboard/keyboard_screen.dart
diff --git a/app_flowy/packages/flowy_infra_ui/example/lib/main.dart b/frontend/app_flowy/packages/flowy_infra_ui/example/lib/main.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/lib/main.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/example/lib/main.dart
diff --git a/app_flowy/packages/flowy_infra_ui/example/lib/overlay/overlay_screen.dart b/frontend/app_flowy/packages/flowy_infra_ui/example/lib/overlay/overlay_screen.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/lib/overlay/overlay_screen.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/example/lib/overlay/overlay_screen.dart
diff --git a/app_flowy/packages/flowy_infra_ui/example/linux/.gitignore b/frontend/app_flowy/packages/flowy_infra_ui/example/linux/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/linux/.gitignore
rename to frontend/app_flowy/packages/flowy_infra_ui/example/linux/.gitignore
diff --git a/app_flowy/packages/flowy_infra_ui/example/linux/CMakeLists.txt b/frontend/app_flowy/packages/flowy_infra_ui/example/linux/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/linux/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_infra_ui/example/linux/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_infra_ui/example/linux/flutter/CMakeLists.txt b/frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/linux/flutter/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.cc
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.cc
rename to frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.cc
diff --git a/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.h b/frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.h
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.h
rename to frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.h
diff --git a/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugins.cmake b/frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugins.cmake
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugins.cmake
rename to frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugins.cmake
diff --git a/app_flowy/packages/flowy_infra_ui/example/linux/main.cc b/frontend/app_flowy/packages/flowy_infra_ui/example/linux/main.cc
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/linux/main.cc
rename to frontend/app_flowy/packages/flowy_infra_ui/example/linux/main.cc
diff --git a/app_flowy/packages/flowy_infra_ui/example/linux/my_application.cc b/frontend/app_flowy/packages/flowy_infra_ui/example/linux/my_application.cc
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/linux/my_application.cc
rename to frontend/app_flowy/packages/flowy_infra_ui/example/linux/my_application.cc
diff --git a/app_flowy/packages/flowy_infra_ui/example/linux/my_application.h b/frontend/app_flowy/packages/flowy_infra_ui/example/linux/my_application.h
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/linux/my_application.h
rename to frontend/app_flowy/packages/flowy_infra_ui/example/linux/my_application.h
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/.gitignore b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/.gitignore
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/.gitignore
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Flutter/Flutter-Debug.xcconfig b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Flutter/Flutter-Debug.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Flutter/Flutter-Debug.xcconfig
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Flutter/Flutter-Debug.xcconfig
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Flutter/Flutter-Release.xcconfig b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Flutter/Flutter-Release.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Flutter/Flutter-Release.xcconfig
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Flutter/Flutter-Release.xcconfig
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Flutter/GeneratedPluginRegistrant.swift b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Flutter/GeneratedPluginRegistrant.swift
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Flutter/GeneratedPluginRegistrant.swift
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Flutter/GeneratedPluginRegistrant.swift
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Podfile b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Podfile
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Podfile
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Podfile
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Podfile.lock b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Podfile.lock
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Podfile.lock
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Podfile.lock
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcodeproj/project.pbxproj b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcodeproj/project.pbxproj
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcodeproj/project.pbxproj
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcodeproj/project.pbxproj
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcworkspace/contents.xcworkspacedata b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcworkspace/contents.xcworkspacedata
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcworkspace/contents.xcworkspacedata
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/AppDelegate.swift b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/AppDelegate.swift
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/AppDelegate.swift
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/AppDelegate.swift
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Base.lproj/MainMenu.xib b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Base.lproj/MainMenu.xib
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Base.lproj/MainMenu.xib
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Base.lproj/MainMenu.xib
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/AppInfo.xcconfig b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/AppInfo.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/AppInfo.xcconfig
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/AppInfo.xcconfig
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/Debug.xcconfig b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/Debug.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/Debug.xcconfig
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/Debug.xcconfig
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/Release.xcconfig b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/Release.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/Release.xcconfig
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/Release.xcconfig
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/Warnings.xcconfig b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/Warnings.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/Warnings.xcconfig
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Configs/Warnings.xcconfig
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/DebugProfile.entitlements b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/DebugProfile.entitlements
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/DebugProfile.entitlements
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/DebugProfile.entitlements
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Info.plist b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Info.plist
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Info.plist
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Info.plist
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/MainFlutterWindow.swift b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/MainFlutterWindow.swift
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/MainFlutterWindow.swift
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/MainFlutterWindow.swift
diff --git a/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Release.entitlements b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Release.entitlements
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/macos/Runner/Release.entitlements
rename to frontend/app_flowy/packages/flowy_infra_ui/example/macos/Runner/Release.entitlements
diff --git a/app_flowy/packages/flowy_infra_ui/example/pubspec.lock b/frontend/app_flowy/packages/flowy_infra_ui/example/pubspec.lock
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/pubspec.lock
rename to frontend/app_flowy/packages/flowy_infra_ui/example/pubspec.lock
diff --git a/app_flowy/packages/flowy_infra_ui/example/pubspec.yaml b/frontend/app_flowy/packages/flowy_infra_ui/example/pubspec.yaml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/pubspec.yaml
rename to frontend/app_flowy/packages/flowy_infra_ui/example/pubspec.yaml
diff --git a/frontend/app_flowy/packages/flowy_infra_ui/example/test/widget_test.dart b/frontend/app_flowy/packages/flowy_infra_ui/example/test/widget_test.dart
new file mode 100644
index 0000000000..570e0e4768
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_infra_ui/example/test/widget_test.dart
@@ -0,0 +1,8 @@
+// This is a basic Flutter widget test.
+//
+// To perform an interaction with a widget in your test, use the WidgetTester
+// utility that Flutter provides. For example, you can send tap and scroll
+// gestures. You can also use WidgetTester to find child widgets in the widget
+// tree, read text, and verify that the values of widget properties are correct.
+
+void main() {}
diff --git a/app_flowy/packages/flowy_infra_ui/example/web/favicon.png b/frontend/app_flowy/packages/flowy_infra_ui/example/web/favicon.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/web/favicon.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/web/favicon.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-192.png b/frontend/app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-192.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-192.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-192.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-512.png b/frontend/app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-512.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-512.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-512.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-maskable-192.png b/frontend/app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-maskable-192.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-maskable-192.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-maskable-192.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-maskable-512.png b/frontend/app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-maskable-512.png
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-maskable-512.png
rename to frontend/app_flowy/packages/flowy_infra_ui/example/web/icons/Icon-maskable-512.png
diff --git a/app_flowy/packages/flowy_infra_ui/example/web/index.html b/frontend/app_flowy/packages/flowy_infra_ui/example/web/index.html
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/web/index.html
rename to frontend/app_flowy/packages/flowy_infra_ui/example/web/index.html
diff --git a/app_flowy/packages/flowy_infra_ui/example/web/manifest.json b/frontend/app_flowy/packages/flowy_infra_ui/example/web/manifest.json
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/web/manifest.json
rename to frontend/app_flowy/packages/flowy_infra_ui/example/web/manifest.json
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/.gitignore b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/.gitignore
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/.gitignore
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/CMakeLists.txt b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/flutter/CMakeLists.txt b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/flutter/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.cc
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.cc
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.cc
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.h b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.h
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.h
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.h
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugins.cmake b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugins.cmake
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugins.cmake
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugins.cmake
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/runner/CMakeLists.txt b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/runner/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/runner/Runner.rc b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/Runner.rc
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/runner/Runner.rc
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/Runner.rc
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/runner/flutter_window.cpp b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/flutter_window.cpp
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/runner/flutter_window.cpp
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/flutter_window.cpp
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/runner/flutter_window.h b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/flutter_window.h
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/runner/flutter_window.h
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/flutter_window.h
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/runner/main.cpp b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/main.cpp
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/runner/main.cpp
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/main.cpp
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/runner/resource.h b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/resource.h
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/runner/resource.h
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/resource.h
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/runner/resources/app_icon.ico b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/resources/app_icon.ico
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/runner/resources/app_icon.ico
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/resources/app_icon.ico
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/runner/runner.exe.manifest b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/runner.exe.manifest
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/runner/runner.exe.manifest
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/runner.exe.manifest
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/runner/utils.cpp b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/utils.cpp
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/runner/utils.cpp
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/utils.cpp
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/runner/utils.h b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/utils.h
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/runner/utils.h
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/utils.h
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/runner/win32_window.cpp b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/win32_window.cpp
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/runner/win32_window.cpp
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/win32_window.cpp
diff --git a/app_flowy/packages/flowy_infra_ui/example/windows/runner/win32_window.h b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/win32_window.h
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/example/windows/runner/win32_window.h
rename to frontend/app_flowy/packages/flowy_infra_ui/example/windows/runner/win32_window.h
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/.gitignore b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/.gitignore
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/.gitignore
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/.metadata b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/.metadata
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/.metadata
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/.metadata
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/CHANGELOG.md b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/CHANGELOG.md
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/CHANGELOG.md
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/CHANGELOG.md
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/LICENSE b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/LICENSE
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/LICENSE
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/LICENSE
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/README.md b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/README.md
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/README.md
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/README.md
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/analysis_options.yaml b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/analysis_options.yaml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/analysis_options.yaml
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/analysis_options.yaml
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/lib/flowy_infra_ui_platform_interface.dart b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/lib/flowy_infra_ui_platform_interface.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/lib/flowy_infra_ui_platform_interface.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/lib/flowy_infra_ui_platform_interface.dart
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/lib/src/method_channel_flowy_infra_ui.dart b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/lib/src/method_channel_flowy_infra_ui.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/lib/src/method_channel_flowy_infra_ui.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/lib/src/method_channel_flowy_infra_ui.dart
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/pubspec.lock b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/pubspec.lock
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/pubspec.lock
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/pubspec.lock
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/pubspec.yaml b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/pubspec.yaml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/pubspec.yaml
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/pubspec.yaml
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/test/flowy_infra_ui_platform_interface_test.dart b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/test/flowy_infra_ui_platform_interface_test.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/test/flowy_infra_ui_platform_interface_test.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_platform_interface/test/flowy_infra_ui_platform_interface_test.dart
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/.gitignore b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/.gitignore
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/.gitignore
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/.metadata b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/.metadata
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/.metadata
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/.metadata
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/CHANGELOG.md b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/CHANGELOG.md
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/CHANGELOG.md
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/CHANGELOG.md
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/LICENSE b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/LICENSE
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/LICENSE
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/LICENSE
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/README.md b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/README.md
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/README.md
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/README.md
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/analysis_options.yaml b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/analysis_options.yaml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/analysis_options.yaml
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/analysis_options.yaml
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/lib/flowy_infra_ui_web.dart b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/lib/flowy_infra_ui_web.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/lib/flowy_infra_ui_web.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/lib/flowy_infra_ui_web.dart
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/pubspec.lock b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/pubspec.lock
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/pubspec.lock
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/pubspec.lock
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/pubspec.yaml b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/pubspec.yaml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/pubspec.yaml
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/pubspec.yaml
diff --git a/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/test/flowy_infra_ui_web_test.dart b/frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/test/flowy_infra_ui_web_test.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/test/flowy_infra_ui_web_test.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/flowy_infra_ui_web/test/flowy_infra_ui_web_test.dart
diff --git a/app_flowy/packages/flowy_infra_ui/ios/.gitignore b/frontend/app_flowy/packages/flowy_infra_ui/ios/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/ios/.gitignore
rename to frontend/app_flowy/packages/flowy_infra_ui/ios/.gitignore
diff --git a/app_flowy/packages/flowy_infra_ui/ios/Assets/.gitkeep b/frontend/app_flowy/packages/flowy_infra_ui/ios/Assets/.gitkeep
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/ios/Assets/.gitkeep
rename to frontend/app_flowy/packages/flowy_infra_ui/ios/Assets/.gitkeep
diff --git a/app_flowy/packages/flowy_infra_ui/ios/Classes/Event/KeyboardEventHandler.swift b/frontend/app_flowy/packages/flowy_infra_ui/ios/Classes/Event/KeyboardEventHandler.swift
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/ios/Classes/Event/KeyboardEventHandler.swift
rename to frontend/app_flowy/packages/flowy_infra_ui/ios/Classes/Event/KeyboardEventHandler.swift
diff --git a/app_flowy/packages/flowy_infra_ui/ios/Classes/FlowyInfraUiPlugin.h b/frontend/app_flowy/packages/flowy_infra_ui/ios/Classes/FlowyInfraUiPlugin.h
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/ios/Classes/FlowyInfraUiPlugin.h
rename to frontend/app_flowy/packages/flowy_infra_ui/ios/Classes/FlowyInfraUiPlugin.h
diff --git a/app_flowy/packages/flowy_infra_ui/ios/Classes/FlowyInfraUiPlugin.m b/frontend/app_flowy/packages/flowy_infra_ui/ios/Classes/FlowyInfraUiPlugin.m
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/ios/Classes/FlowyInfraUiPlugin.m
rename to frontend/app_flowy/packages/flowy_infra_ui/ios/Classes/FlowyInfraUiPlugin.m
diff --git a/app_flowy/packages/flowy_infra_ui/ios/Classes/SwiftFlowyInfraUiPlugin.swift b/frontend/app_flowy/packages/flowy_infra_ui/ios/Classes/SwiftFlowyInfraUiPlugin.swift
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/ios/Classes/SwiftFlowyInfraUiPlugin.swift
rename to frontend/app_flowy/packages/flowy_infra_ui/ios/Classes/SwiftFlowyInfraUiPlugin.swift
diff --git a/app_flowy/packages/flowy_infra_ui/ios/flowy_infra_ui.podspec b/frontend/app_flowy/packages/flowy_infra_ui/ios/flowy_infra_ui.podspec
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/ios/flowy_infra_ui.podspec
rename to frontend/app_flowy/packages/flowy_infra_ui/ios/flowy_infra_ui.podspec
diff --git a/app_flowy/packages/flowy_infra_ui/lib/basis.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/basis.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/basis.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/basis.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/flowy_infra_ui.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/flowy_infra_ui.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/flowy_infra_ui.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/flowy_infra_ui.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/flowy_infra_ui_web.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/flowy_infra_ui_web.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/flowy_infra_ui_web.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/flowy_infra_ui_web.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/flowy_overlay.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/flowy_overlay.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/flowy_overlay.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/flowy_overlay.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/layout.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/layout.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/layout.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/layout.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/list_overlay.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/list_overlay.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/list_overlay.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/list_overlay.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/option_overlay.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/option_overlay.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/option_overlay.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/option_overlay.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/src/focus/auto_unfocus_overlay.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/src/focus/auto_unfocus_overlay.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/src/focus/auto_unfocus_overlay.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/src/focus/auto_unfocus_overlay.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/src/keyboard/keyboard_visibility_detector.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/src/keyboard/keyboard_visibility_detector.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/src/keyboard/keyboard_visibility_detector.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/src/keyboard/keyboard_visibility_detector.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/bar_title.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/bar_title.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/bar_title.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/bar_title.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/button.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/button.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/button.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/button.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/close_button.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/close_button.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/close_button.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/close_button.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/container.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/container.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/container.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/container.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/decoration.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/decoration.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/decoration.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/decoration.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/extension.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/extension.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/extension.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/extension.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/hover.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/hover.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/hover.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/hover.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/icon_button.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/icon_button.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/icon_button.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/icon_button.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/image_icon.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/image_icon.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/image_icon.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/image_icon.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/progress_indicator.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/progress_indicator.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/progress_indicator.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/progress_indicator.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_list.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_list.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_list.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_list.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_scroll_bar.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_scroll_bar.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_scroll_bar.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_scroll_bar.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_scrollview.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_scrollview.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_scrollview.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_scrollview.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/snap_bar.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/snap_bar.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/snap_bar.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/snap_bar.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/text.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/text.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/text.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/text.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/text_input.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/text_input.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/style_widget/text_input.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/text_input.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/buttons/base_styled_button.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/buttons/base_styled_button.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/buttons/base_styled_button.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/buttons/base_styled_button.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/buttons/primary_button.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/buttons/primary_button.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/buttons/primary_button.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/buttons/primary_button.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/buttons/secondary_button.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/buttons/secondary_button.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/buttons/secondary_button.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/buttons/secondary_button.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/clickable_extension.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/clickable_extension.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/clickable_extension.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/clickable_extension.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/constraint_flex_view.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/constraint_flex_view.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/constraint_flex_view.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/constraint_flex_view.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/dialog/dialog_size.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/dialog/dialog_size.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/dialog/dialog_size.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/dialog/dialog_size.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/dialog/styled_dialogs.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/dialog/styled_dialogs.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/dialog/styled_dialogs.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/dialog/styled_dialogs.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/error_page.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/error_page.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/error_page.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/error_page.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/mouse_hover_builder.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/mouse_hover_builder.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/mouse_hover_builder.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/mouse_hover_builder.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/rounded_button.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/rounded_button.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/rounded_button.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/rounded_button.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/rounded_input_field.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/rounded_input_field.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/rounded_input_field.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/rounded_input_field.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/route/animation.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/route/animation.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/route/animation.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/route/animation.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/seperated_column.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/seperated_column.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/seperated_column.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/seperated_column.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/spacing.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/spacing.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/spacing.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/spacing.dart
diff --git a/app_flowy/packages/flowy_infra_ui/lib/widget/text_field_container.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/widget/text_field_container.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/lib/widget/text_field_container.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/lib/widget/text_field_container.dart
diff --git a/app_flowy/packages/flowy_infra_ui/linux/CMakeLists.txt b/frontend/app_flowy/packages/flowy_infra_ui/linux/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/linux/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_infra_ui/linux/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_infra_ui/linux/flowy_infra_u_i_plugin.cc b/frontend/app_flowy/packages/flowy_infra_ui/linux/flowy_infra_u_i_plugin.cc
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/linux/flowy_infra_u_i_plugin.cc
rename to frontend/app_flowy/packages/flowy_infra_ui/linux/flowy_infra_u_i_plugin.cc
diff --git a/app_flowy/packages/flowy_infra_ui/linux/flowy_infra_ui_plugin.cc b/frontend/app_flowy/packages/flowy_infra_ui/linux/flowy_infra_ui_plugin.cc
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/linux/flowy_infra_ui_plugin.cc
rename to frontend/app_flowy/packages/flowy_infra_ui/linux/flowy_infra_ui_plugin.cc
diff --git a/app_flowy/packages/flowy_infra_ui/linux/include/flowy_infra_ui/flowy_infra_u_i_plugin.h b/frontend/app_flowy/packages/flowy_infra_ui/linux/include/flowy_infra_ui/flowy_infra_u_i_plugin.h
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/linux/include/flowy_infra_ui/flowy_infra_u_i_plugin.h
rename to frontend/app_flowy/packages/flowy_infra_ui/linux/include/flowy_infra_ui/flowy_infra_u_i_plugin.h
diff --git a/app_flowy/packages/flowy_infra_ui/linux/include/flowy_infra_ui/flowy_infra_ui_plugin.h b/frontend/app_flowy/packages/flowy_infra_ui/linux/include/flowy_infra_ui/flowy_infra_ui_plugin.h
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/linux/include/flowy_infra_ui/flowy_infra_ui_plugin.h
rename to frontend/app_flowy/packages/flowy_infra_ui/linux/include/flowy_infra_ui/flowy_infra_ui_plugin.h
diff --git a/app_flowy/packages/flowy_infra_ui/macos/Classes/FlowyInfraUiPlugin.swift b/frontend/app_flowy/packages/flowy_infra_ui/macos/Classes/FlowyInfraUiPlugin.swift
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/macos/Classes/FlowyInfraUiPlugin.swift
rename to frontend/app_flowy/packages/flowy_infra_ui/macos/Classes/FlowyInfraUiPlugin.swift
diff --git a/app_flowy/packages/flowy_infra_ui/macos/flowy_infra_ui.podspec b/frontend/app_flowy/packages/flowy_infra_ui/macos/flowy_infra_ui.podspec
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/macos/flowy_infra_ui.podspec
rename to frontend/app_flowy/packages/flowy_infra_ui/macos/flowy_infra_ui.podspec
diff --git a/app_flowy/packages/flowy_infra_ui/pubspec.lock b/frontend/app_flowy/packages/flowy_infra_ui/pubspec.lock
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/pubspec.lock
rename to frontend/app_flowy/packages/flowy_infra_ui/pubspec.lock
diff --git a/app_flowy/packages/flowy_infra_ui/pubspec.yaml b/frontend/app_flowy/packages/flowy_infra_ui/pubspec.yaml
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/pubspec.yaml
rename to frontend/app_flowy/packages/flowy_infra_ui/pubspec.yaml
diff --git a/app_flowy/packages/flowy_infra_ui/test/flowy_infra_ui_test.dart b/frontend/app_flowy/packages/flowy_infra_ui/test/flowy_infra_ui_test.dart
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/test/flowy_infra_ui_test.dart
rename to frontend/app_flowy/packages/flowy_infra_ui/test/flowy_infra_ui_test.dart
diff --git a/app_flowy/packages/flowy_infra_ui/windows/.gitignore b/frontend/app_flowy/packages/flowy_infra_ui/windows/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/windows/.gitignore
rename to frontend/app_flowy/packages/flowy_infra_ui/windows/.gitignore
diff --git a/app_flowy/packages/flowy_infra_ui/windows/CMakeLists.txt b/frontend/app_flowy/packages/flowy_infra_ui/windows/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/windows/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_infra_ui/windows/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_infra_ui/windows/flowy_infra_ui_plugin.cpp b/frontend/app_flowy/packages/flowy_infra_ui/windows/flowy_infra_ui_plugin.cpp
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/windows/flowy_infra_ui_plugin.cpp
rename to frontend/app_flowy/packages/flowy_infra_ui/windows/flowy_infra_ui_plugin.cpp
diff --git a/app_flowy/packages/flowy_infra_ui/windows/include/flowy_infra_ui/flowy_infra_u_i_plugin.h b/frontend/app_flowy/packages/flowy_infra_ui/windows/include/flowy_infra_ui/flowy_infra_u_i_plugin.h
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/windows/include/flowy_infra_ui/flowy_infra_u_i_plugin.h
rename to frontend/app_flowy/packages/flowy_infra_ui/windows/include/flowy_infra_ui/flowy_infra_u_i_plugin.h
diff --git a/app_flowy/packages/flowy_infra_ui/windows/include/flowy_infra_ui/flowy_infra_ui_plugin.h b/frontend/app_flowy/packages/flowy_infra_ui/windows/include/flowy_infra_ui/flowy_infra_ui_plugin.h
similarity index 100%
rename from app_flowy/packages/flowy_infra_ui/windows/include/flowy_infra_ui/flowy_infra_ui_plugin.h
rename to frontend/app_flowy/packages/flowy_infra_ui/windows/include/flowy_infra_ui/flowy_infra_ui_plugin.h
diff --git a/app_flowy/packages/flowy_log/.gitignore b/frontend/app_flowy/packages/flowy_log/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_log/.gitignore
rename to frontend/app_flowy/packages/flowy_log/.gitignore
diff --git a/app_flowy/packages/flowy_log/.metadata b/frontend/app_flowy/packages/flowy_log/.metadata
similarity index 100%
rename from app_flowy/packages/flowy_log/.metadata
rename to frontend/app_flowy/packages/flowy_log/.metadata
diff --git a/app_flowy/packages/flowy_log/LICENSE b/frontend/app_flowy/packages/flowy_log/LICENSE
similarity index 100%
rename from app_flowy/packages/flowy_log/LICENSE
rename to frontend/app_flowy/packages/flowy_log/LICENSE
diff --git a/app_flowy/packages/flowy_log/analysis_options.yaml b/frontend/app_flowy/packages/flowy_log/analysis_options.yaml
similarity index 100%
rename from app_flowy/packages/flowy_log/analysis_options.yaml
rename to frontend/app_flowy/packages/flowy_log/analysis_options.yaml
diff --git a/app_flowy/packages/flowy_log/lib/flowy_log.dart b/frontend/app_flowy/packages/flowy_log/lib/flowy_log.dart
similarity index 100%
rename from app_flowy/packages/flowy_log/lib/flowy_log.dart
rename to frontend/app_flowy/packages/flowy_log/lib/flowy_log.dart
diff --git a/app_flowy/packages/flowy_log/pubspec.lock b/frontend/app_flowy/packages/flowy_log/pubspec.lock
similarity index 100%
rename from app_flowy/packages/flowy_log/pubspec.lock
rename to frontend/app_flowy/packages/flowy_log/pubspec.lock
diff --git a/app_flowy/packages/flowy_log/pubspec.yaml b/frontend/app_flowy/packages/flowy_log/pubspec.yaml
similarity index 100%
rename from app_flowy/packages/flowy_log/pubspec.yaml
rename to frontend/app_flowy/packages/flowy_log/pubspec.yaml
diff --git a/app_flowy/packages/flowy_log/test/flowy_log_test.dart b/frontend/app_flowy/packages/flowy_log/test/flowy_log_test.dart
similarity index 100%
rename from app_flowy/packages/flowy_log/test/flowy_log_test.dart
rename to frontend/app_flowy/packages/flowy_log/test/flowy_log_test.dart
diff --git a/app_flowy/packages/flowy_sdk/.gitignore b/frontend/app_flowy/packages/flowy_sdk/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_sdk/.gitignore
rename to frontend/app_flowy/packages/flowy_sdk/.gitignore
diff --git a/app_flowy/packages/flowy_sdk/.metadata b/frontend/app_flowy/packages/flowy_sdk/.metadata
similarity index 100%
rename from app_flowy/packages/flowy_sdk/.metadata
rename to frontend/app_flowy/packages/flowy_sdk/.metadata
diff --git a/app_flowy/packages/flowy_sdk/CHANGELOG.md b/frontend/app_flowy/packages/flowy_sdk/CHANGELOG.md
similarity index 100%
rename from app_flowy/packages/flowy_sdk/CHANGELOG.md
rename to frontend/app_flowy/packages/flowy_sdk/CHANGELOG.md
diff --git a/app_flowy/packages/flowy_sdk/LICENSE b/frontend/app_flowy/packages/flowy_sdk/LICENSE
similarity index 100%
rename from app_flowy/packages/flowy_sdk/LICENSE
rename to frontend/app_flowy/packages/flowy_sdk/LICENSE
diff --git a/app_flowy/packages/flowy_sdk/README.md b/frontend/app_flowy/packages/flowy_sdk/README.md
similarity index 100%
rename from app_flowy/packages/flowy_sdk/README.md
rename to frontend/app_flowy/packages/flowy_sdk/README.md
diff --git a/app_flowy/packages/flowy_sdk/analysis_options.yaml b/frontend/app_flowy/packages/flowy_sdk/analysis_options.yaml
similarity index 100%
rename from app_flowy/packages/flowy_sdk/analysis_options.yaml
rename to frontend/app_flowy/packages/flowy_sdk/analysis_options.yaml
diff --git a/app_flowy/packages/flowy_sdk/android/.gitignore b/frontend/app_flowy/packages/flowy_sdk/android/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_sdk/android/.gitignore
rename to frontend/app_flowy/packages/flowy_sdk/android/.gitignore
diff --git a/app_flowy/packages/flowy_sdk/android/build.gradle b/frontend/app_flowy/packages/flowy_sdk/android/build.gradle
similarity index 100%
rename from app_flowy/packages/flowy_sdk/android/build.gradle
rename to frontend/app_flowy/packages/flowy_sdk/android/build.gradle
diff --git a/app_flowy/packages/flowy_sdk/android/gradle.properties b/frontend/app_flowy/packages/flowy_sdk/android/gradle.properties
similarity index 100%
rename from app_flowy/packages/flowy_sdk/android/gradle.properties
rename to frontend/app_flowy/packages/flowy_sdk/android/gradle.properties
diff --git a/app_flowy/packages/flowy_sdk/android/gradle/wrapper/gradle-wrapper.properties b/frontend/app_flowy/packages/flowy_sdk/android/gradle/wrapper/gradle-wrapper.properties
similarity index 100%
rename from app_flowy/packages/flowy_sdk/android/gradle/wrapper/gradle-wrapper.properties
rename to frontend/app_flowy/packages/flowy_sdk/android/gradle/wrapper/gradle-wrapper.properties
diff --git a/app_flowy/packages/flowy_sdk/android/settings.gradle b/frontend/app_flowy/packages/flowy_sdk/android/settings.gradle
similarity index 100%
rename from app_flowy/packages/flowy_sdk/android/settings.gradle
rename to frontend/app_flowy/packages/flowy_sdk/android/settings.gradle
diff --git a/app_flowy/packages/flowy_sdk/android/src/main/AndroidManifest.xml b/frontend/app_flowy/packages/flowy_sdk/android/src/main/AndroidManifest.xml
similarity index 100%
rename from app_flowy/packages/flowy_sdk/android/src/main/AndroidManifest.xml
rename to frontend/app_flowy/packages/flowy_sdk/android/src/main/AndroidManifest.xml
diff --git a/app_flowy/packages/flowy_sdk/android/src/main/kotlin/com/plugin/flowy_sdk/FlowySdkPlugin.kt b/frontend/app_flowy/packages/flowy_sdk/android/src/main/kotlin/com/plugin/flowy_sdk/FlowySdkPlugin.kt
similarity index 100%
rename from app_flowy/packages/flowy_sdk/android/src/main/kotlin/com/plugin/flowy_sdk/FlowySdkPlugin.kt
rename to frontend/app_flowy/packages/flowy_sdk/android/src/main/kotlin/com/plugin/flowy_sdk/FlowySdkPlugin.kt
diff --git a/app_flowy/packages/flowy_sdk/example/.gitignore b/frontend/app_flowy/packages/flowy_sdk/example/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/.gitignore
rename to frontend/app_flowy/packages/flowy_sdk/example/.gitignore
diff --git a/app_flowy/packages/flowy_sdk/example/.metadata b/frontend/app_flowy/packages/flowy_sdk/example/.metadata
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/.metadata
rename to frontend/app_flowy/packages/flowy_sdk/example/.metadata
diff --git a/app_flowy/packages/flowy_sdk/example/README.md b/frontend/app_flowy/packages/flowy_sdk/example/README.md
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/README.md
rename to frontend/app_flowy/packages/flowy_sdk/example/README.md
diff --git a/app_flowy/packages/flowy_sdk/example/analysis_options.yaml b/frontend/app_flowy/packages/flowy_sdk/example/analysis_options.yaml
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/analysis_options.yaml
rename to frontend/app_flowy/packages/flowy_sdk/example/analysis_options.yaml
diff --git a/app_flowy/packages/flowy_sdk/example/android/.gitignore b/frontend/app_flowy/packages/flowy_sdk/example/android/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/.gitignore
rename to frontend/app_flowy/packages/flowy_sdk/example/android/.gitignore
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/build.gradle b/frontend/app_flowy/packages/flowy_sdk/example/android/app/build.gradle
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/build.gradle
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/build.gradle
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/src/debug/AndroidManifest.xml b/frontend/app_flowy/packages/flowy_sdk/example/android/app/src/debug/AndroidManifest.xml
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/src/debug/AndroidManifest.xml
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/src/debug/AndroidManifest.xml
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/src/main/AndroidManifest.xml b/frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/AndroidManifest.xml
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/src/main/AndroidManifest.xml
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/AndroidManifest.xml
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/src/main/kotlin/com/plugin/flowy_sdk_example/MainActivity.kt b/frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/kotlin/com/plugin/flowy_sdk_example/MainActivity.kt
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/src/main/kotlin/com/plugin/flowy_sdk_example/MainActivity.kt
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/kotlin/com/plugin/flowy_sdk_example/MainActivity.kt
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/drawable-v21/launch_background.xml b/frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/drawable-v21/launch_background.xml
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/src/main/res/drawable-v21/launch_background.xml
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/drawable-v21/launch_background.xml
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/drawable/launch_background.xml b/frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/drawable/launch_background.xml
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/src/main/res/drawable/launch_background.xml
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/drawable/launch_background.xml
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/values-night/styles.xml b/frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/values-night/styles.xml
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/src/main/res/values-night/styles.xml
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/values-night/styles.xml
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/values/styles.xml b/frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/values/styles.xml
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/src/main/res/values/styles.xml
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/src/main/res/values/styles.xml
diff --git a/app_flowy/packages/flowy_sdk/example/android/app/src/profile/AndroidManifest.xml b/frontend/app_flowy/packages/flowy_sdk/example/android/app/src/profile/AndroidManifest.xml
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/app/src/profile/AndroidManifest.xml
rename to frontend/app_flowy/packages/flowy_sdk/example/android/app/src/profile/AndroidManifest.xml
diff --git a/app_flowy/packages/flowy_sdk/example/android/build.gradle b/frontend/app_flowy/packages/flowy_sdk/example/android/build.gradle
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/build.gradle
rename to frontend/app_flowy/packages/flowy_sdk/example/android/build.gradle
diff --git a/app_flowy/packages/flowy_sdk/example/android/gradle.properties b/frontend/app_flowy/packages/flowy_sdk/example/android/gradle.properties
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/gradle.properties
rename to frontend/app_flowy/packages/flowy_sdk/example/android/gradle.properties
diff --git a/app_flowy/packages/flowy_sdk/example/android/gradle/wrapper/gradle-wrapper.properties b/frontend/app_flowy/packages/flowy_sdk/example/android/gradle/wrapper/gradle-wrapper.properties
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/gradle/wrapper/gradle-wrapper.properties
rename to frontend/app_flowy/packages/flowy_sdk/example/android/gradle/wrapper/gradle-wrapper.properties
diff --git a/app_flowy/packages/flowy_sdk/example/android/settings.gradle b/frontend/app_flowy/packages/flowy_sdk/example/android/settings.gradle
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/android/settings.gradle
rename to frontend/app_flowy/packages/flowy_sdk/example/android/settings.gradle
diff --git a/app_flowy/packages/flowy_sdk/example/integration_test/app_test.dart b/frontend/app_flowy/packages/flowy_sdk/example/integration_test/app_test.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/integration_test/app_test.dart
rename to frontend/app_flowy/packages/flowy_sdk/example/integration_test/app_test.dart
diff --git a/app_flowy/packages/flowy_sdk/example/integration_test/driver.dart b/frontend/app_flowy/packages/flowy_sdk/example/integration_test/driver.dart
similarity index 65%
rename from app_flowy/packages/flowy_sdk/example/integration_test/driver.dart
rename to frontend/app_flowy/packages/flowy_sdk/example/integration_test/driver.dart
index a03bca081a..0e385dc6f2 100644
--- a/app_flowy/packages/flowy_sdk/example/integration_test/driver.dart
+++ b/frontend/app_flowy/packages/flowy_sdk/example/integration_test/driver.dart
@@ -3,6 +3,3 @@
//
// flutter drive --driver integration_test/driver.dart --target integration_test/app_test.dart
-import 'package:integration_test/integration_test_driver.dart';
-
-Future<void> main() => integrationDriver();
diff --git a/app_flowy/packages/flowy_sdk/example/ios/.gitignore b/frontend/app_flowy/packages/flowy_sdk/example/ios/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/.gitignore
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/.gitignore
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Flutter/AppFrameworkInfo.plist b/frontend/app_flowy/packages/flowy_sdk/example/ios/Flutter/AppFrameworkInfo.plist
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Flutter/AppFrameworkInfo.plist
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Flutter/AppFrameworkInfo.plist
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Flutter/Debug.xcconfig b/frontend/app_flowy/packages/flowy_sdk/example/ios/Flutter/Debug.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Flutter/Debug.xcconfig
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Flutter/Debug.xcconfig
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Flutter/Release.xcconfig b/frontend/app_flowy/packages/flowy_sdk/example/ios/Flutter/Release.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Flutter/Release.xcconfig
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Flutter/Release.xcconfig
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Podfile b/frontend/app_flowy/packages/flowy_sdk/example/ios/Podfile
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Podfile
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Podfile
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.pbxproj b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.pbxproj
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.pbxproj
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.pbxproj
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner.xcworkspace/contents.xcworkspacedata
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcworkspace/contents.xcworkspacedata
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/AppDelegate.swift b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/AppDelegate.swift
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/AppDelegate.swift
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/AppDelegate.swift
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Base.lproj/LaunchScreen.storyboard
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Base.lproj/LaunchScreen.storyboard
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Base.lproj/LaunchScreen.storyboard
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Base.lproj/Main.storyboard b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Base.lproj/Main.storyboard
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Base.lproj/Main.storyboard
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Base.lproj/Main.storyboard
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Info.plist b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Info.plist
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Info.plist
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Info.plist
diff --git a/app_flowy/packages/flowy_sdk/example/ios/Runner/Runner-Bridging-Header.h b/frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Runner-Bridging-Header.h
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/ios/Runner/Runner-Bridging-Header.h
rename to frontend/app_flowy/packages/flowy_sdk/example/ios/Runner/Runner-Bridging-Header.h
diff --git a/app_flowy/packages/flowy_sdk/example/lib/main.dart b/frontend/app_flowy/packages/flowy_sdk/example/lib/main.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/lib/main.dart
rename to frontend/app_flowy/packages/flowy_sdk/example/lib/main.dart
diff --git a/app_flowy/packages/flowy_sdk/example/macos/.gitignore b/frontend/app_flowy/packages/flowy_sdk/example/macos/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/.gitignore
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/.gitignore
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Flutter/Flutter-Debug.xcconfig b/frontend/app_flowy/packages/flowy_sdk/example/macos/Flutter/Flutter-Debug.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Flutter/Flutter-Debug.xcconfig
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Flutter/Flutter-Debug.xcconfig
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Flutter/Flutter-Release.xcconfig b/frontend/app_flowy/packages/flowy_sdk/example/macos/Flutter/Flutter-Release.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Flutter/Flutter-Release.xcconfig
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Flutter/Flutter-Release.xcconfig
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Flutter/GeneratedPluginRegistrant.swift b/frontend/app_flowy/packages/flowy_sdk/example/macos/Flutter/GeneratedPluginRegistrant.swift
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Flutter/GeneratedPluginRegistrant.swift
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Flutter/GeneratedPluginRegistrant.swift
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Podfile b/frontend/app_flowy/packages/flowy_sdk/example/macos/Podfile
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Podfile
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Podfile
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Podfile.lock b/frontend/app_flowy/packages/flowy_sdk/example/macos/Podfile.lock
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Podfile.lock
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Podfile.lock
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner.xcodeproj/project.pbxproj b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner.xcodeproj/project.pbxproj
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner.xcodeproj/project.pbxproj
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner.xcodeproj/project.pbxproj
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner.xcworkspace/contents.xcworkspacedata b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner.xcworkspace/contents.xcworkspacedata
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner.xcworkspace/contents.xcworkspacedata
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/AppDelegate.swift b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/AppDelegate.swift
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/AppDelegate.swift
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/AppDelegate.swift
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Base.lproj/MainMenu.xib b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Base.lproj/MainMenu.xib
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Base.lproj/MainMenu.xib
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Base.lproj/MainMenu.xib
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/AppInfo.xcconfig b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/AppInfo.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/AppInfo.xcconfig
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/AppInfo.xcconfig
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/Debug.xcconfig b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/Debug.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/Debug.xcconfig
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/Debug.xcconfig
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/Release.xcconfig b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/Release.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/Release.xcconfig
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/Release.xcconfig
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/Warnings.xcconfig b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/Warnings.xcconfig
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/Warnings.xcconfig
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Configs/Warnings.xcconfig
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/DebugProfile.entitlements b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/DebugProfile.entitlements
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/DebugProfile.entitlements
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/DebugProfile.entitlements
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Info.plist b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Info.plist
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Info.plist
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Info.plist
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/MainFlutterWindow.swift b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/MainFlutterWindow.swift
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/MainFlutterWindow.swift
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/MainFlutterWindow.swift
diff --git a/app_flowy/packages/flowy_sdk/example/macos/Runner/Release.entitlements b/frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Release.entitlements
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/macos/Runner/Release.entitlements
rename to frontend/app_flowy/packages/flowy_sdk/example/macos/Runner/Release.entitlements
diff --git a/app_flowy/packages/flowy_sdk/example/pubspec.lock b/frontend/app_flowy/packages/flowy_sdk/example/pubspec.lock
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/pubspec.lock
rename to frontend/app_flowy/packages/flowy_sdk/example/pubspec.lock
diff --git a/app_flowy/packages/flowy_sdk/example/pubspec.yaml b/frontend/app_flowy/packages/flowy_sdk/example/pubspec.yaml
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/pubspec.yaml
rename to frontend/app_flowy/packages/flowy_sdk/example/pubspec.yaml
diff --git a/frontend/app_flowy/packages/flowy_sdk/example/test/widget_test.dart b/frontend/app_flowy/packages/flowy_sdk/example/test/widget_test.dart
new file mode 100644
index 0000000000..570e0e4768
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/example/test/widget_test.dart
@@ -0,0 +1,8 @@
+// This is a basic Flutter widget test.
+//
+// To perform an interaction with a widget in your test, use the WidgetTester
+// utility that Flutter provides. For example, you can send tap and scroll
+// gestures. You can also use WidgetTester to find child widgets in the widget
+// tree, read text, and verify that the values of widget properties are correct.
+
+void main() {}
diff --git a/app_flowy/packages/flowy_sdk/example/windows/.gitignore b/frontend/app_flowy/packages/flowy_sdk/example/windows/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/.gitignore
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/.gitignore
diff --git a/app_flowy/packages/flowy_sdk/example/windows/CMakeLists.txt b/frontend/app_flowy/packages/flowy_sdk/example/windows/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_sdk/example/windows/flutter/CMakeLists.txt b/frontend/app_flowy/packages/flowy_sdk/example/windows/flutter/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/flutter/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/flutter/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_sdk/example/windows/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/packages/flowy_sdk/example/windows/flutter/generated_plugin_registrant.cc
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/flutter/generated_plugin_registrant.cc
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/flutter/generated_plugin_registrant.cc
diff --git a/app_flowy/packages/flowy_sdk/example/windows/flutter/generated_plugin_registrant.h b/frontend/app_flowy/packages/flowy_sdk/example/windows/flutter/generated_plugin_registrant.h
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/flutter/generated_plugin_registrant.h
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/flutter/generated_plugin_registrant.h
diff --git a/app_flowy/packages/flowy_sdk/example/windows/flutter/generated_plugins.cmake b/frontend/app_flowy/packages/flowy_sdk/example/windows/flutter/generated_plugins.cmake
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/flutter/generated_plugins.cmake
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/flutter/generated_plugins.cmake
diff --git a/app_flowy/packages/flowy_sdk/example/windows/runner/CMakeLists.txt b/frontend/app_flowy/packages/flowy_sdk/example/windows/runner/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/runner/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/runner/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_sdk/example/windows/runner/Runner.rc b/frontend/app_flowy/packages/flowy_sdk/example/windows/runner/Runner.rc
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/runner/Runner.rc
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/runner/Runner.rc
diff --git a/app_flowy/packages/flowy_sdk/example/windows/runner/flutter_window.cpp b/frontend/app_flowy/packages/flowy_sdk/example/windows/runner/flutter_window.cpp
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/runner/flutter_window.cpp
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/runner/flutter_window.cpp
diff --git a/app_flowy/packages/flowy_sdk/example/windows/runner/flutter_window.h b/frontend/app_flowy/packages/flowy_sdk/example/windows/runner/flutter_window.h
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/runner/flutter_window.h
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/runner/flutter_window.h
diff --git a/app_flowy/packages/flowy_sdk/example/windows/runner/main.cpp b/frontend/app_flowy/packages/flowy_sdk/example/windows/runner/main.cpp
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/runner/main.cpp
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/runner/main.cpp
diff --git a/app_flowy/packages/flowy_sdk/example/windows/runner/resource.h b/frontend/app_flowy/packages/flowy_sdk/example/windows/runner/resource.h
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/runner/resource.h
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/runner/resource.h
diff --git a/app_flowy/packages/flowy_sdk/example/windows/runner/resources/app_icon.ico b/frontend/app_flowy/packages/flowy_sdk/example/windows/runner/resources/app_icon.ico
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/runner/resources/app_icon.ico
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/runner/resources/app_icon.ico
diff --git a/app_flowy/packages/flowy_sdk/example/windows/runner/runner.exe.manifest b/frontend/app_flowy/packages/flowy_sdk/example/windows/runner/runner.exe.manifest
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/runner/runner.exe.manifest
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/runner/runner.exe.manifest
diff --git a/app_flowy/packages/flowy_sdk/example/windows/runner/utils.cpp b/frontend/app_flowy/packages/flowy_sdk/example/windows/runner/utils.cpp
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/runner/utils.cpp
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/runner/utils.cpp
diff --git a/app_flowy/packages/flowy_sdk/example/windows/runner/utils.h b/frontend/app_flowy/packages/flowy_sdk/example/windows/runner/utils.h
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/runner/utils.h
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/runner/utils.h
diff --git a/app_flowy/packages/flowy_sdk/example/windows/runner/win32_window.cpp b/frontend/app_flowy/packages/flowy_sdk/example/windows/runner/win32_window.cpp
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/runner/win32_window.cpp
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/runner/win32_window.cpp
diff --git a/app_flowy/packages/flowy_sdk/example/windows/runner/win32_window.h b/frontend/app_flowy/packages/flowy_sdk/example/windows/runner/win32_window.h
similarity index 100%
rename from app_flowy/packages/flowy_sdk/example/windows/runner/win32_window.h
rename to frontend/app_flowy/packages/flowy_sdk/example/windows/runner/win32_window.h
diff --git a/app_flowy/packages/flowy_sdk/ios/.gitignore b/frontend/app_flowy/packages/flowy_sdk/ios/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_sdk/ios/.gitignore
rename to frontend/app_flowy/packages/flowy_sdk/ios/.gitignore
diff --git a/app_flowy/packages/flowy_sdk/ios/Assets/.gitkeep b/frontend/app_flowy/packages/flowy_sdk/ios/Assets/.gitkeep
similarity index 100%
rename from app_flowy/packages/flowy_sdk/ios/Assets/.gitkeep
rename to frontend/app_flowy/packages/flowy_sdk/ios/Assets/.gitkeep
diff --git a/app_flowy/packages/flowy_sdk/ios/Classes/FlowySdkPlugin.h b/frontend/app_flowy/packages/flowy_sdk/ios/Classes/FlowySdkPlugin.h
similarity index 100%
rename from app_flowy/packages/flowy_sdk/ios/Classes/FlowySdkPlugin.h
rename to frontend/app_flowy/packages/flowy_sdk/ios/Classes/FlowySdkPlugin.h
diff --git a/app_flowy/packages/flowy_sdk/ios/Classes/FlowySdkPlugin.m b/frontend/app_flowy/packages/flowy_sdk/ios/Classes/FlowySdkPlugin.m
similarity index 100%
rename from app_flowy/packages/flowy_sdk/ios/Classes/FlowySdkPlugin.m
rename to frontend/app_flowy/packages/flowy_sdk/ios/Classes/FlowySdkPlugin.m
diff --git a/app_flowy/packages/flowy_sdk/ios/Classes/SwiftFlowySdkPlugin.swift b/frontend/app_flowy/packages/flowy_sdk/ios/Classes/SwiftFlowySdkPlugin.swift
similarity index 100%
rename from app_flowy/packages/flowy_sdk/ios/Classes/SwiftFlowySdkPlugin.swift
rename to frontend/app_flowy/packages/flowy_sdk/ios/Classes/SwiftFlowySdkPlugin.swift
diff --git a/app_flowy/packages/flowy_sdk/ios/flowy_sdk.podspec b/frontend/app_flowy/packages/flowy_sdk/ios/flowy_sdk.podspec
similarity index 100%
rename from app_flowy/packages/flowy_sdk/ios/flowy_sdk.podspec
rename to frontend/app_flowy/packages/flowy_sdk/ios/flowy_sdk.podspec
diff --git a/app_flowy/packages/flowy_sdk/lib/dispatch/code_gen.dart b/frontend/app_flowy/packages/flowy_sdk/lib/dispatch/code_gen.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/dispatch/code_gen.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/dispatch/code_gen.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/dispatch/dispatch.dart b/frontend/app_flowy/packages/flowy_sdk/lib/dispatch/dispatch.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/dispatch/dispatch.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/dispatch/dispatch.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/dispatch/error.dart b/frontend/app_flowy/packages/flowy_sdk/lib/dispatch/error.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/dispatch/error.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/dispatch/error.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/ffi.dart b/frontend/app_flowy/packages/flowy_sdk/lib/ffi.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/ffi.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/ffi.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/flowy_sdk.dart b/frontend/app_flowy/packages/flowy_sdk/lib/flowy_sdk.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/flowy_sdk.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/flowy_sdk.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_request.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/ffi_response.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/protobuf.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/protobuf.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/protobuf.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-ffi/protobuf.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/protobuf.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-notify/protobuf.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/protobuf.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-notify/protobuf.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-notify/subject.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-notify/subject.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-notify/subject.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-notify/subject.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-notify/subject.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-notify/subject.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-notify/subject.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/dart-notify/subject.pbserver.dart
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/protobuf.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/protobuf.dart
new file mode 100644
index 0000000000..6f21b675f3
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/protobuf.dart
@@ -0,0 +1,2 @@
+// Auto-generated, do not edit
+export './subject.pb.dart';
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pb.dart
new file mode 100644
index 0000000000..828600c49e
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pb.dart
@@ -0,0 +1,140 @@
+///
+// Generated code. Do not modify.
+// source: subject.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
+
+import 'dart:core' as $core;
+
+import 'package:protobuf/protobuf.dart' as $pb;
+
+enum SubscribeObject_OneOfPayload {
+ payload,
+ notSet
+}
+
+enum SubscribeObject_OneOfError {
+ error,
+ notSet
+}
+
+class SubscribeObject extends $pb.GeneratedMessage {
+ static const $core.Map<$core.int, SubscribeObject_OneOfPayload> _SubscribeObject_OneOfPayloadByTag = {
+ 4 : SubscribeObject_OneOfPayload.payload,
+ 0 : SubscribeObject_OneOfPayload.notSet
+ };
+ static const $core.Map<$core.int, SubscribeObject_OneOfError> _SubscribeObject_OneOfErrorByTag = {
+ 5 : SubscribeObject_OneOfError.error,
+ 0 : SubscribeObject_OneOfError.notSet
+ };
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SubscribeObject', createEmptyInstance: create)
+ ..oo(0, [4])
+ ..oo(1, [5])
+ ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'source')
+ ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ty', $pb.PbFieldType.O3)
+ ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id')
+ ..a<$core.List<$core.int>>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'payload', $pb.PbFieldType.OY)
+ ..a<$core.List<$core.int>>(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', $pb.PbFieldType.OY)
+ ..hasRequiredFields = false
+ ;
+
+ SubscribeObject._() : super();
+ factory SubscribeObject({
+ $core.String? source,
+ $core.int? ty,
+ $core.String? id,
+ $core.List<$core.int>? payload,
+ $core.List<$core.int>? error,
+ }) {
+ final _result = create();
+ if (source != null) {
+ _result.source = source;
+ }
+ if (ty != null) {
+ _result.ty = ty;
+ }
+ if (id != null) {
+ _result.id = id;
+ }
+ if (payload != null) {
+ _result.payload = payload;
+ }
+ if (error != null) {
+ _result.error = error;
+ }
+ return _result;
+ }
+ factory SubscribeObject.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+ factory SubscribeObject.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+ 'Will be removed in next major version')
+ SubscribeObject clone() => SubscribeObject()..mergeFromMessage(this);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+ 'Will be removed in next major version')
+ SubscribeObject copyWith(void Function(SubscribeObject) updates) => super.copyWith((message) => updates(message as SubscribeObject)) as SubscribeObject; // ignore: deprecated_member_use
+ $pb.BuilderInfo get info_ => _i;
+ @$core.pragma('dart2js:noInline')
+ static SubscribeObject create() => SubscribeObject._();
+ SubscribeObject createEmptyInstance() => create();
+ static $pb.PbList<SubscribeObject> createRepeated() => $pb.PbList<SubscribeObject>();
+ @$core.pragma('dart2js:noInline')
+ static SubscribeObject getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SubscribeObject>(create);
+ static SubscribeObject? _defaultInstance;
+
+ SubscribeObject_OneOfPayload whichOneOfPayload() => _SubscribeObject_OneOfPayloadByTag[$_whichOneof(0)]!;
+ void clearOneOfPayload() => clearField($_whichOneof(0));
+
+ SubscribeObject_OneOfError whichOneOfError() => _SubscribeObject_OneOfErrorByTag[$_whichOneof(1)]!;
+ void clearOneOfError() => clearField($_whichOneof(1));
+
+ @$pb.TagNumber(1)
+ $core.String get source => $_getSZ(0);
+ @$pb.TagNumber(1)
+ set source($core.String v) { $_setString(0, v); }
+ @$pb.TagNumber(1)
+ $core.bool hasSource() => $_has(0);
+ @$pb.TagNumber(1)
+ void clearSource() => clearField(1);
+
+ @$pb.TagNumber(2)
+ $core.int get ty => $_getIZ(1);
+ @$pb.TagNumber(2)
+ set ty($core.int v) { $_setSignedInt32(1, v); }
+ @$pb.TagNumber(2)
+ $core.bool hasTy() => $_has(1);
+ @$pb.TagNumber(2)
+ void clearTy() => clearField(2);
+
+ @$pb.TagNumber(3)
+ $core.String get id => $_getSZ(2);
+ @$pb.TagNumber(3)
+ set id($core.String v) { $_setString(2, v); }
+ @$pb.TagNumber(3)
+ $core.bool hasId() => $_has(2);
+ @$pb.TagNumber(3)
+ void clearId() => clearField(3);
+
+ @$pb.TagNumber(4)
+ $core.List<$core.int> get payload => $_getN(3);
+ @$pb.TagNumber(4)
+ set payload($core.List<$core.int> v) { $_setBytes(3, v); }
+ @$pb.TagNumber(4)
+ $core.bool hasPayload() => $_has(3);
+ @$pb.TagNumber(4)
+ void clearPayload() => clearField(4);
+
+ @$pb.TagNumber(5)
+ $core.List<$core.int> get error => $_getN(4);
+ @$pb.TagNumber(5)
+ set error($core.List<$core.int> v) { $_setBytes(4, v); }
+ @$pb.TagNumber(5)
+ $core.bool hasError() => $_has(4);
+ @$pb.TagNumber(5)
+ void clearError() => clearField(5);
+}
+
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbenum.dart
new file mode 100644
index 0000000000..7ae7ff12c2
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbenum.dart
@@ -0,0 +1,7 @@
+///
+// Generated code. Do not modify.
+// source: subject.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
+
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbjson.dart
new file mode 100644
index 0000000000..8d8b238ba4
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbjson.dart
@@ -0,0 +1,28 @@
+///
+// Generated code. Do not modify.
+// source: subject.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,deprecated_member_use_from_same_package
+
+import 'dart:core' as $core;
+import 'dart:convert' as $convert;
+import 'dart:typed_data' as $typed_data;
+@$core.Deprecated('Use subscribeObjectDescriptor instead')
+const SubscribeObject$json = const {
+ '1': 'SubscribeObject',
+ '2': const [
+ const {'1': 'source', '3': 1, '4': 1, '5': 9, '10': 'source'},
+ const {'1': 'ty', '3': 2, '4': 1, '5': 5, '10': 'ty'},
+ const {'1': 'id', '3': 3, '4': 1, '5': 9, '10': 'id'},
+ const {'1': 'payload', '3': 4, '4': 1, '5': 12, '9': 0, '10': 'payload'},
+ const {'1': 'error', '3': 5, '4': 1, '5': 12, '9': 1, '10': 'error'},
+ ],
+ '8': const [
+ const {'1': 'one_of_payload'},
+ const {'1': 'one_of_error'},
+ ],
+};
+
+/// Descriptor for `SubscribeObject`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List subscribeObjectDescriptor = $convert.base64Decode('Cg9TdWJzY3JpYmVPYmplY3QSFgoGc291cmNlGAEgASgJUgZzb3VyY2USDgoCdHkYAiABKAVSAnR5Eg4KAmlkGAMgASgJUgJpZBIaCgdwYXlsb2FkGAQgASgMSABSB3BheWxvYWQSFgoFZXJyb3IYBSABKAxIAVIFZXJyb3JCEAoOb25lX29mX3BheWxvYWRCDgoMb25lX29mX2Vycm9y');
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbserver.dart
new file mode 100644
index 0000000000..1e092ab75a
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-dart-notify/subject.pbserver.dart
@@ -0,0 +1,9 @@
+///
+// Generated code. Do not modify.
+// source: subject.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,deprecated_member_use_from_same_package
+
+export 'subject.pb.dart';
+
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/doc.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/protobuf.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/protobuf.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/protobuf.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/protobuf.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/revision.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document-infra/ws.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbenum.dart
similarity index 90%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbenum.dart
index 5db0e70b47..5933af7967 100644
--- a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbenum.dart
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbenum.dart
@@ -13,7 +13,7 @@ class ErrorCode extends $pb.ProtobufEnum {
static const ErrorCode WsConnectError = ErrorCode._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'WsConnectError');
static const ErrorCode DocNotfound = ErrorCode._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'DocNotfound');
static const ErrorCode DuplicateRevision = ErrorCode._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'DuplicateRevision');
- static const ErrorCode UserUnauthorized = ErrorCode._(999, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UserUnauthorized');
+ static const ErrorCode UserUnauthorized = ErrorCode._(10, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UserUnauthorized');
static const ErrorCode InternalError = ErrorCode._(1000, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'InternalError');
static const $core.List<ErrorCode> values = <ErrorCode> [
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbjson.dart
similarity index 90%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbjson.dart
index d52fcf0bbd..a707e66df7 100644
--- a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbjson.dart
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbjson.dart
@@ -15,13 +15,13 @@ const ErrorCode$json = const {
const {'1': 'WsConnectError', '2': 0},
const {'1': 'DocNotfound', '2': 1},
const {'1': 'DuplicateRevision', '2': 2},
- const {'1': 'UserUnauthorized', '2': 999},
+ const {'1': 'UserUnauthorized', '2': 10},
const {'1': 'InternalError', '2': 1000},
],
};
/// Descriptor for `ErrorCode`. Decode as a `google.protobuf.EnumDescriptorProto`.
-final $typed_data.Uint8List errorCodeDescriptor = $convert.base64Decode('CglFcnJvckNvZGUSEgoOV3NDb25uZWN0RXJyb3IQABIPCgtEb2NOb3Rmb3VuZBABEhUKEUR1cGxpY2F0ZVJldmlzaW9uEAISFQoQVXNlclVuYXV0aG9yaXplZBDnBxISCg1JbnRlcm5hbEVycm9yEOgH');
+final $typed_data.Uint8List errorCodeDescriptor = $convert.base64Decode('CglFcnJvckNvZGUSEgoOV3NDb25uZWN0RXJyb3IQABIPCgtEb2NOb3Rmb3VuZBABEhUKEUR1cGxpY2F0ZVJldmlzaW9uEAISFAoQVXNlclVuYXV0aG9yaXplZBAKEhIKDUludGVybmFsRXJyb3IQ6Ac=');
@$core.Deprecated('Use docErrorDescriptor instead')
const DocError$json = const {
'1': 'DocError',
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/errors.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/observable.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/protobuf.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/protobuf.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/protobuf.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-document/protobuf.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/kv.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/protobuf.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/protobuf.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/protobuf.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-infra/protobuf.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/auth.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/errors.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/protobuf.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/protobuf.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/protobuf.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/protobuf.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user-infra/user_profile.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/auth.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/errors.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/event.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/observable.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/protobuf.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/protobuf.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/protobuf.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/protobuf.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_profile.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-user/user_table.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_create.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_query.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/app_update.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/errors.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/export.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/protobuf.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/protobuf.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/protobuf.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/protobuf.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/trash_create.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_create.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_query.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/view_update.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_create.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_query.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_setting.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace-infra/workspace_update.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/errors.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/event.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/observable.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/protobuf.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/protobuf.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/protobuf.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/protobuf.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/errors.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pb.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pb.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pb.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pbenum.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pbenum.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pbenum.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pbjson.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pbjson.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pbjson.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pbserver.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pbserver.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/msg.pbserver.dart
diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/protobuf.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/protobuf.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/protobuf.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-ws/protobuf.dart
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/kv.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/kv.pb.dart
new file mode 100644
index 0000000000..971c06cd0a
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/kv.pb.dart
@@ -0,0 +1,167 @@
+///
+// Generated code. Do not modify.
+// source: kv.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
+
+import 'dart:core' as $core;
+
+import 'package:fixnum/fixnum.dart' as $fixnum;
+import 'package:protobuf/protobuf.dart' as $pb;
+
+enum KeyValue_OneOfStrValue {
+ strValue,
+ notSet
+}
+
+enum KeyValue_OneOfIntValue {
+ intValue,
+ notSet
+}
+
+enum KeyValue_OneOfFloatValue {
+ floatValue,
+ notSet
+}
+
+enum KeyValue_OneOfBoolValue {
+ boolValue,
+ notSet
+}
+
+class KeyValue extends $pb.GeneratedMessage {
+ static const $core.Map<$core.int, KeyValue_OneOfStrValue> _KeyValue_OneOfStrValueByTag = {
+ 2 : KeyValue_OneOfStrValue.strValue,
+ 0 : KeyValue_OneOfStrValue.notSet
+ };
+ static const $core.Map<$core.int, KeyValue_OneOfIntValue> _KeyValue_OneOfIntValueByTag = {
+ 3 : KeyValue_OneOfIntValue.intValue,
+ 0 : KeyValue_OneOfIntValue.notSet
+ };
+ static const $core.Map<$core.int, KeyValue_OneOfFloatValue> _KeyValue_OneOfFloatValueByTag = {
+ 4 : KeyValue_OneOfFloatValue.floatValue,
+ 0 : KeyValue_OneOfFloatValue.notSet
+ };
+ static const $core.Map<$core.int, KeyValue_OneOfBoolValue> _KeyValue_OneOfBoolValueByTag = {
+ 5 : KeyValue_OneOfBoolValue.boolValue,
+ 0 : KeyValue_OneOfBoolValue.notSet
+ };
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'KeyValue', createEmptyInstance: create)
+ ..oo(0, [2])
+ ..oo(1, [3])
+ ..oo(2, [4])
+ ..oo(3, [5])
+ ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'key')
+ ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'strValue')
+ ..aInt64(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'intValue')
+ ..a<$core.double>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'floatValue', $pb.PbFieldType.OD)
+ ..aOB(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'boolValue')
+ ..hasRequiredFields = false
+ ;
+
+ KeyValue._() : super();
+ factory KeyValue({
+ $core.String? key,
+ $core.String? strValue,
+ $fixnum.Int64? intValue,
+ $core.double? floatValue,
+ $core.bool? boolValue,
+ }) {
+ final _result = create();
+ if (key != null) {
+ _result.key = key;
+ }
+ if (strValue != null) {
+ _result.strValue = strValue;
+ }
+ if (intValue != null) {
+ _result.intValue = intValue;
+ }
+ if (floatValue != null) {
+ _result.floatValue = floatValue;
+ }
+ if (boolValue != null) {
+ _result.boolValue = boolValue;
+ }
+ return _result;
+ }
+ factory KeyValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+ factory KeyValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+ 'Will be removed in next major version')
+ KeyValue clone() => KeyValue()..mergeFromMessage(this);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+ 'Will be removed in next major version')
+ KeyValue copyWith(void Function(KeyValue) updates) => super.copyWith((message) => updates(message as KeyValue)) as KeyValue; // ignore: deprecated_member_use
+ $pb.BuilderInfo get info_ => _i;
+ @$core.pragma('dart2js:noInline')
+ static KeyValue create() => KeyValue._();
+ KeyValue createEmptyInstance() => create();
+ static $pb.PbList<KeyValue> createRepeated() => $pb.PbList<KeyValue>();
+ @$core.pragma('dart2js:noInline')
+ static KeyValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<KeyValue>(create);
+ static KeyValue? _defaultInstance;
+
+ KeyValue_OneOfStrValue whichOneOfStrValue() => _KeyValue_OneOfStrValueByTag[$_whichOneof(0)]!;
+ void clearOneOfStrValue() => clearField($_whichOneof(0));
+
+ KeyValue_OneOfIntValue whichOneOfIntValue() => _KeyValue_OneOfIntValueByTag[$_whichOneof(1)]!;
+ void clearOneOfIntValue() => clearField($_whichOneof(1));
+
+ KeyValue_OneOfFloatValue whichOneOfFloatValue() => _KeyValue_OneOfFloatValueByTag[$_whichOneof(2)]!;
+ void clearOneOfFloatValue() => clearField($_whichOneof(2));
+
+ KeyValue_OneOfBoolValue whichOneOfBoolValue() => _KeyValue_OneOfBoolValueByTag[$_whichOneof(3)]!;
+ void clearOneOfBoolValue() => clearField($_whichOneof(3));
+
+ @$pb.TagNumber(1)
+ $core.String get key => $_getSZ(0);
+ @$pb.TagNumber(1)
+ set key($core.String v) { $_setString(0, v); }
+ @$pb.TagNumber(1)
+ $core.bool hasKey() => $_has(0);
+ @$pb.TagNumber(1)
+ void clearKey() => clearField(1);
+
+ @$pb.TagNumber(2)
+ $core.String get strValue => $_getSZ(1);
+ @$pb.TagNumber(2)
+ set strValue($core.String v) { $_setString(1, v); }
+ @$pb.TagNumber(2)
+ $core.bool hasStrValue() => $_has(1);
+ @$pb.TagNumber(2)
+ void clearStrValue() => clearField(2);
+
+ @$pb.TagNumber(3)
+ $fixnum.Int64 get intValue => $_getI64(2);
+ @$pb.TagNumber(3)
+ set intValue($fixnum.Int64 v) { $_setInt64(2, v); }
+ @$pb.TagNumber(3)
+ $core.bool hasIntValue() => $_has(2);
+ @$pb.TagNumber(3)
+ void clearIntValue() => clearField(3);
+
+ @$pb.TagNumber(4)
+ $core.double get floatValue => $_getN(3);
+ @$pb.TagNumber(4)
+ set floatValue($core.double v) { $_setDouble(3, v); }
+ @$pb.TagNumber(4)
+ $core.bool hasFloatValue() => $_has(3);
+ @$pb.TagNumber(4)
+ void clearFloatValue() => clearField(4);
+
+ @$pb.TagNumber(5)
+ $core.bool get boolValue => $_getBF(4);
+ @$pb.TagNumber(5)
+ set boolValue($core.bool v) { $_setBool(4, v); }
+ @$pb.TagNumber(5)
+ $core.bool hasBoolValue() => $_has(4);
+ @$pb.TagNumber(5)
+ void clearBoolValue() => clearField(5);
+}
+
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/kv.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/kv.pbenum.dart
new file mode 100644
index 0000000000..79c2244e07
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/kv.pbenum.dart
@@ -0,0 +1,7 @@
+///
+// Generated code. Do not modify.
+// source: kv.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
+
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/kv.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/kv.pbjson.dart
new file mode 100644
index 0000000000..45152125bb
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/kv.pbjson.dart
@@ -0,0 +1,30 @@
+///
+// Generated code. Do not modify.
+// source: kv.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,deprecated_member_use_from_same_package
+
+import 'dart:core' as $core;
+import 'dart:convert' as $convert;
+import 'dart:typed_data' as $typed_data;
+@$core.Deprecated('Use keyValueDescriptor instead')
+const KeyValue$json = const {
+ '1': 'KeyValue',
+ '2': const [
+ const {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
+ const {'1': 'str_value', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'strValue'},
+ const {'1': 'int_value', '3': 3, '4': 1, '5': 3, '9': 1, '10': 'intValue'},
+ const {'1': 'float_value', '3': 4, '4': 1, '5': 1, '9': 2, '10': 'floatValue'},
+ const {'1': 'bool_value', '3': 5, '4': 1, '5': 8, '9': 3, '10': 'boolValue'},
+ ],
+ '8': const [
+ const {'1': 'one_of_str_value'},
+ const {'1': 'one_of_int_value'},
+ const {'1': 'one_of_float_value'},
+ const {'1': 'one_of_bool_value'},
+ ],
+};
+
+/// Descriptor for `KeyValue`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List keyValueDescriptor = $convert.base64Decode('CghLZXlWYWx1ZRIQCgNrZXkYASABKAlSA2tleRIdCglzdHJfdmFsdWUYAiABKAlIAFIIc3RyVmFsdWUSHQoJaW50X3ZhbHVlGAMgASgDSAFSCGludFZhbHVlEiEKC2Zsb2F0X3ZhbHVlGAQgASgBSAJSCmZsb2F0VmFsdWUSHwoKYm9vbF92YWx1ZRgFIAEoCEgDUglib29sVmFsdWVCEgoQb25lX29mX3N0cl92YWx1ZUISChBvbmVfb2ZfaW50X3ZhbHVlQhQKEm9uZV9vZl9mbG9hdF92YWx1ZUITChFvbmVfb2ZfYm9vbF92YWx1ZQ==');
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/kv.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/kv.pbserver.dart
new file mode 100644
index 0000000000..0daeedf5a6
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/kv.pbserver.dart
@@ -0,0 +1,9 @@
+///
+// Generated code. Do not modify.
+// source: kv.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,deprecated_member_use_from_same_package
+
+export 'kv.pb.dart';
+
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/protobuf.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/protobuf.dart
new file mode 100644
index 0000000000..ccc75e7e37
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-infra/protobuf.dart
@@ -0,0 +1,2 @@
+// Auto-generated, do not edit
+export './kv.pb.dart';
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/errors.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/errors.pb.dart
new file mode 100644
index 0000000000..63c73c28f3
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/errors.pb.dart
@@ -0,0 +1,76 @@
+///
+// Generated code. Do not modify.
+// source: errors.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
+
+import 'dart:core' as $core;
+
+import 'package:protobuf/protobuf.dart' as $pb;
+
+import 'errors.pbenum.dart';
+
+export 'errors.pbenum.dart';
+
+class WsError extends $pb.GeneratedMessage {
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'WsError', createEmptyInstance: create)
+ ..e<ErrorCode>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'code', $pb.PbFieldType.OE, defaultOrMaker: ErrorCode.InternalError, valueOf: ErrorCode.valueOf, enumValues: ErrorCode.values)
+ ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'msg')
+ ..hasRequiredFields = false
+ ;
+
+ WsError._() : super();
+ factory WsError({
+ ErrorCode? code,
+ $core.String? msg,
+ }) {
+ final _result = create();
+ if (code != null) {
+ _result.code = code;
+ }
+ if (msg != null) {
+ _result.msg = msg;
+ }
+ return _result;
+ }
+ factory WsError.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+ factory WsError.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+ 'Will be removed in next major version')
+ WsError clone() => WsError()..mergeFromMessage(this);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+ 'Will be removed in next major version')
+ WsError copyWith(void Function(WsError) updates) => super.copyWith((message) => updates(message as WsError)) as WsError; // ignore: deprecated_member_use
+ $pb.BuilderInfo get info_ => _i;
+ @$core.pragma('dart2js:noInline')
+ static WsError create() => WsError._();
+ WsError createEmptyInstance() => create();
+ static $pb.PbList<WsError> createRepeated() => $pb.PbList<WsError>();
+ @$core.pragma('dart2js:noInline')
+ static WsError getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<WsError>(create);
+ static WsError? _defaultInstance;
+
+ @$pb.TagNumber(1)
+ ErrorCode get code => $_getN(0);
+ @$pb.TagNumber(1)
+ set code(ErrorCode v) { setField(1, v); }
+ @$pb.TagNumber(1)
+ $core.bool hasCode() => $_has(0);
+ @$pb.TagNumber(1)
+ void clearCode() => clearField(1);
+
+ @$pb.TagNumber(2)
+ $core.String get msg => $_getSZ(1);
+ @$pb.TagNumber(2)
+ set msg($core.String v) { $_setString(1, v); }
+ @$pb.TagNumber(2)
+ $core.bool hasMsg() => $_has(1);
+ @$pb.TagNumber(2)
+ void clearMsg() => clearField(2);
+}
+
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/errors.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/errors.pbenum.dart
new file mode 100644
index 0000000000..215409e69c
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/errors.pbenum.dart
@@ -0,0 +1,28 @@
+///
+// Generated code. Do not modify.
+// source: errors.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
+
+// ignore_for_file: UNDEFINED_SHOWN_NAME
+import 'dart:core' as $core;
+import 'package:protobuf/protobuf.dart' as $pb;
+
+class ErrorCode extends $pb.ProtobufEnum {
+ static const ErrorCode InternalError = ErrorCode._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'InternalError');
+ static const ErrorCode UnsupportedMessage = ErrorCode._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UnsupportedMessage');
+ static const ErrorCode Unauthorized = ErrorCode._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Unauthorized');
+
+ static const $core.List<ErrorCode> values = <ErrorCode> [
+ InternalError,
+ UnsupportedMessage,
+ Unauthorized,
+ ];
+
+ static final $core.Map<$core.int, ErrorCode> _byValue = $pb.ProtobufEnum.initByValue(values);
+ static ErrorCode? valueOf($core.int value) => _byValue[value];
+
+ const ErrorCode._($core.int v, $core.String n) : super(v, n);
+}
+
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/errors.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/errors.pbjson.dart
new file mode 100644
index 0000000000..c1039debcf
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/errors.pbjson.dart
@@ -0,0 +1,33 @@
+///
+// Generated code. Do not modify.
+// source: errors.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,deprecated_member_use_from_same_package
+
+import 'dart:core' as $core;
+import 'dart:convert' as $convert;
+import 'dart:typed_data' as $typed_data;
+@$core.Deprecated('Use errorCodeDescriptor instead')
+const ErrorCode$json = const {
+ '1': 'ErrorCode',
+ '2': const [
+ const {'1': 'InternalError', '2': 0},
+ const {'1': 'UnsupportedMessage', '2': 1},
+ const {'1': 'Unauthorized', '2': 2},
+ ],
+};
+
+/// Descriptor for `ErrorCode`. Decode as a `google.protobuf.EnumDescriptorProto`.
+final $typed_data.Uint8List errorCodeDescriptor = $convert.base64Decode('CglFcnJvckNvZGUSEQoNSW50ZXJuYWxFcnJvchAAEhYKElVuc3VwcG9ydGVkTWVzc2FnZRABEhAKDFVuYXV0aG9yaXplZBAC');
+@$core.Deprecated('Use wsErrorDescriptor instead')
+const WsError$json = const {
+ '1': 'WsError',
+ '2': const [
+ const {'1': 'code', '3': 1, '4': 1, '5': 14, '6': '.ErrorCode', '10': 'code'},
+ const {'1': 'msg', '3': 2, '4': 1, '5': 9, '10': 'msg'},
+ ],
+};
+
+/// Descriptor for `WsError`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List wsErrorDescriptor = $convert.base64Decode('CgdXc0Vycm9yEh4KBGNvZGUYASABKA4yCi5FcnJvckNvZGVSBGNvZGUSEAoDbXNnGAIgASgJUgNtc2c=');
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/errors.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/errors.pbserver.dart
new file mode 100644
index 0000000000..18b02b9216
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/errors.pbserver.dart
@@ -0,0 +1,9 @@
+///
+// Generated code. Do not modify.
+// source: errors.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,deprecated_member_use_from_same_package
+
+export 'errors.pb.dart';
+
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/msg.pb.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/msg.pb.dart
new file mode 100644
index 0000000000..0c07e01026
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/msg.pb.dart
@@ -0,0 +1,76 @@
+///
+// Generated code. Do not modify.
+// source: msg.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
+
+import 'dart:core' as $core;
+
+import 'package:protobuf/protobuf.dart' as $pb;
+
+import 'msg.pbenum.dart';
+
+export 'msg.pbenum.dart';
+
+class WsMessage extends $pb.GeneratedMessage {
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'WsMessage', createEmptyInstance: create)
+ ..e<WsModule>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'module', $pb.PbFieldType.OE, defaultOrMaker: WsModule.Doc, valueOf: WsModule.valueOf, enumValues: WsModule.values)
+ ..a<$core.List<$core.int>>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'data', $pb.PbFieldType.OY)
+ ..hasRequiredFields = false
+ ;
+
+ WsMessage._() : super();
+ factory WsMessage({
+ WsModule? module,
+ $core.List<$core.int>? data,
+ }) {
+ final _result = create();
+ if (module != null) {
+ _result.module = module;
+ }
+ if (data != null) {
+ _result.data = data;
+ }
+ return _result;
+ }
+ factory WsMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+ factory WsMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+ 'Will be removed in next major version')
+ WsMessage clone() => WsMessage()..mergeFromMessage(this);
+ @$core.Deprecated(
+ 'Using this can add significant overhead to your binary. '
+ 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+ 'Will be removed in next major version')
+ WsMessage copyWith(void Function(WsMessage) updates) => super.copyWith((message) => updates(message as WsMessage)) as WsMessage; // ignore: deprecated_member_use
+ $pb.BuilderInfo get info_ => _i;
+ @$core.pragma('dart2js:noInline')
+ static WsMessage create() => WsMessage._();
+ WsMessage createEmptyInstance() => create();
+ static $pb.PbList<WsMessage> createRepeated() => $pb.PbList<WsMessage>();
+ @$core.pragma('dart2js:noInline')
+ static WsMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<WsMessage>(create);
+ static WsMessage? _defaultInstance;
+
+ @$pb.TagNumber(1)
+ WsModule get module => $_getN(0);
+ @$pb.TagNumber(1)
+ set module(WsModule v) { setField(1, v); }
+ @$pb.TagNumber(1)
+ $core.bool hasModule() => $_has(0);
+ @$pb.TagNumber(1)
+ void clearModule() => clearField(1);
+
+ @$pb.TagNumber(2)
+ $core.List<$core.int> get data => $_getN(1);
+ @$pb.TagNumber(2)
+ set data($core.List<$core.int> v) { $_setBytes(1, v); }
+ @$pb.TagNumber(2)
+ $core.bool hasData() => $_has(1);
+ @$pb.TagNumber(2)
+ void clearData() => clearField(2);
+}
+
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/msg.pbenum.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/msg.pbenum.dart
new file mode 100644
index 0000000000..dddbfe6eaa
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/msg.pbenum.dart
@@ -0,0 +1,24 @@
+///
+// Generated code. Do not modify.
+// source: msg.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
+
+// ignore_for_file: UNDEFINED_SHOWN_NAME
+import 'dart:core' as $core;
+import 'package:protobuf/protobuf.dart' as $pb;
+
+class WsModule extends $pb.ProtobufEnum {
+ static const WsModule Doc = WsModule._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Doc');
+
+ static const $core.List<WsModule> values = <WsModule> [
+ Doc,
+ ];
+
+ static final $core.Map<$core.int, WsModule> _byValue = $pb.ProtobufEnum.initByValue(values);
+ static WsModule? valueOf($core.int value) => _byValue[value];
+
+ const WsModule._($core.int v, $core.String n) : super(v, n);
+}
+
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/msg.pbjson.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/msg.pbjson.dart
new file mode 100644
index 0000000000..13899cc203
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/msg.pbjson.dart
@@ -0,0 +1,31 @@
+///
+// Generated code. Do not modify.
+// source: msg.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,deprecated_member_use_from_same_package
+
+import 'dart:core' as $core;
+import 'dart:convert' as $convert;
+import 'dart:typed_data' as $typed_data;
+@$core.Deprecated('Use wsModuleDescriptor instead')
+const WsModule$json = const {
+ '1': 'WsModule',
+ '2': const [
+ const {'1': 'Doc', '2': 0},
+ ],
+};
+
+/// Descriptor for `WsModule`. Decode as a `google.protobuf.EnumDescriptorProto`.
+final $typed_data.Uint8List wsModuleDescriptor = $convert.base64Decode('CghXc01vZHVsZRIHCgNEb2MQAA==');
+@$core.Deprecated('Use wsMessageDescriptor instead')
+const WsMessage$json = const {
+ '1': 'WsMessage',
+ '2': const [
+ const {'1': 'module', '3': 1, '4': 1, '5': 14, '6': '.WsModule', '10': 'module'},
+ const {'1': 'data', '3': 2, '4': 1, '5': 12, '10': 'data'},
+ ],
+};
+
+/// Descriptor for `WsMessage`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List wsMessageDescriptor = $convert.base64Decode('CglXc01lc3NhZ2USIQoGbW9kdWxlGAEgASgOMgkuV3NNb2R1bGVSBm1vZHVsZRISCgRkYXRhGAIgASgMUgRkYXRh');
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/msg.pbserver.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/msg.pbserver.dart
new file mode 100644
index 0000000000..e6a7eccb26
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/msg.pbserver.dart
@@ -0,0 +1,9 @@
+///
+// Generated code. Do not modify.
+// source: msg.proto
+//
+// @dart = 2.12
+// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,deprecated_member_use_from_same_package
+
+export 'msg.pb.dart';
+
diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/protobuf.dart b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/protobuf.dart
new file mode 100644
index 0000000000..3d5e1cc240
--- /dev/null
+++ b/frontend/app_flowy/packages/flowy_sdk/lib/protobuf/lib-ws/protobuf.dart
@@ -0,0 +1,3 @@
+// Auto-generated, do not edit
+export './errors.pb.dart';
+export './msg.pb.dart';
diff --git a/app_flowy/packages/flowy_sdk/lib/rust_stream.dart b/frontend/app_flowy/packages/flowy_sdk/lib/rust_stream.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/lib/rust_stream.dart
rename to frontend/app_flowy/packages/flowy_sdk/lib/rust_stream.dart
diff --git a/app_flowy/packages/flowy_sdk/linux/Classes/binding.h b/frontend/app_flowy/packages/flowy_sdk/linux/Classes/binding.h
similarity index 100%
rename from app_flowy/packages/flowy_sdk/linux/Classes/binding.h
rename to frontend/app_flowy/packages/flowy_sdk/linux/Classes/binding.h
diff --git a/app_flowy/packages/flowy_sdk/macos/Classes/FlowySdkPlugin.swift b/frontend/app_flowy/packages/flowy_sdk/macos/Classes/FlowySdkPlugin.swift
similarity index 100%
rename from app_flowy/packages/flowy_sdk/macos/Classes/FlowySdkPlugin.swift
rename to frontend/app_flowy/packages/flowy_sdk/macos/Classes/FlowySdkPlugin.swift
diff --git a/app_flowy/packages/flowy_sdk/macos/Classes/binding.h b/frontend/app_flowy/packages/flowy_sdk/macos/Classes/binding.h
similarity index 100%
rename from app_flowy/packages/flowy_sdk/macos/Classes/binding.h
rename to frontend/app_flowy/packages/flowy_sdk/macos/Classes/binding.h
diff --git a/app_flowy/packages/flowy_sdk/macos/flowy_sdk.podspec b/frontend/app_flowy/packages/flowy_sdk/macos/flowy_sdk.podspec
similarity index 100%
rename from app_flowy/packages/flowy_sdk/macos/flowy_sdk.podspec
rename to frontend/app_flowy/packages/flowy_sdk/macos/flowy_sdk.podspec
diff --git a/app_flowy/packages/flowy_sdk/pubspec.lock b/frontend/app_flowy/packages/flowy_sdk/pubspec.lock
similarity index 100%
rename from app_flowy/packages/flowy_sdk/pubspec.lock
rename to frontend/app_flowy/packages/flowy_sdk/pubspec.lock
diff --git a/app_flowy/packages/flowy_sdk/pubspec.yaml b/frontend/app_flowy/packages/flowy_sdk/pubspec.yaml
similarity index 100%
rename from app_flowy/packages/flowy_sdk/pubspec.yaml
rename to frontend/app_flowy/packages/flowy_sdk/pubspec.yaml
diff --git a/app_flowy/packages/flowy_sdk/test/flowy_sdk_test.dart b/frontend/app_flowy/packages/flowy_sdk/test/flowy_sdk_test.dart
similarity index 100%
rename from app_flowy/packages/flowy_sdk/test/flowy_sdk_test.dart
rename to frontend/app_flowy/packages/flowy_sdk/test/flowy_sdk_test.dart
diff --git a/app_flowy/packages/flowy_sdk/windows/.gitignore b/frontend/app_flowy/packages/flowy_sdk/windows/.gitignore
similarity index 100%
rename from app_flowy/packages/flowy_sdk/windows/.gitignore
rename to frontend/app_flowy/packages/flowy_sdk/windows/.gitignore
diff --git a/app_flowy/packages/flowy_sdk/windows/CMakeLists.txt b/frontend/app_flowy/packages/flowy_sdk/windows/CMakeLists.txt
similarity index 100%
rename from app_flowy/packages/flowy_sdk/windows/CMakeLists.txt
rename to frontend/app_flowy/packages/flowy_sdk/windows/CMakeLists.txt
diff --git a/app_flowy/packages/flowy_sdk/windows/flowy_sdk_plugin.cpp b/frontend/app_flowy/packages/flowy_sdk/windows/flowy_sdk_plugin.cpp
similarity index 100%
rename from app_flowy/packages/flowy_sdk/windows/flowy_sdk_plugin.cpp
rename to frontend/app_flowy/packages/flowy_sdk/windows/flowy_sdk_plugin.cpp
diff --git a/app_flowy/packages/flowy_sdk/windows/include/flowy_sdk/flowy_sdk_plugin.h b/frontend/app_flowy/packages/flowy_sdk/windows/include/flowy_sdk/flowy_sdk_plugin.h
similarity index 100%
rename from app_flowy/packages/flowy_sdk/windows/include/flowy_sdk/flowy_sdk_plugin.h
rename to frontend/app_flowy/packages/flowy_sdk/windows/include/flowy_sdk/flowy_sdk_plugin.h
diff --git a/app_flowy/pubspec.lock b/frontend/app_flowy/pubspec.lock
similarity index 100%
rename from app_flowy/pubspec.lock
rename to frontend/app_flowy/pubspec.lock
diff --git a/app_flowy/pubspec.yaml b/frontend/app_flowy/pubspec.yaml
similarity index 100%
rename from app_flowy/pubspec.yaml
rename to frontend/app_flowy/pubspec.yaml
diff --git a/app_flowy/test/widget_test.dart b/frontend/app_flowy/test/widget_test.dart
similarity index 100%
rename from app_flowy/test/widget_test.dart
rename to frontend/app_flowy/test/widget_test.dart
diff --git a/app_flowy/web/favicon.png b/frontend/app_flowy/web/favicon.png
similarity index 100%
rename from app_flowy/web/favicon.png
rename to frontend/app_flowy/web/favicon.png
diff --git a/app_flowy/web/icons/Icon-192.png b/frontend/app_flowy/web/icons/Icon-192.png
similarity index 100%
rename from app_flowy/web/icons/Icon-192.png
rename to frontend/app_flowy/web/icons/Icon-192.png
diff --git a/app_flowy/web/icons/Icon-512.png b/frontend/app_flowy/web/icons/Icon-512.png
similarity index 100%
rename from app_flowy/web/icons/Icon-512.png
rename to frontend/app_flowy/web/icons/Icon-512.png
diff --git a/app_flowy/web/icons/Icon-maskable-192.png b/frontend/app_flowy/web/icons/Icon-maskable-192.png
similarity index 100%
rename from app_flowy/web/icons/Icon-maskable-192.png
rename to frontend/app_flowy/web/icons/Icon-maskable-192.png
diff --git a/app_flowy/web/icons/Icon-maskable-512.png b/frontend/app_flowy/web/icons/Icon-maskable-512.png
similarity index 100%
rename from app_flowy/web/icons/Icon-maskable-512.png
rename to frontend/app_flowy/web/icons/Icon-maskable-512.png
diff --git a/app_flowy/web/index.html b/frontend/app_flowy/web/index.html
similarity index 100%
rename from app_flowy/web/index.html
rename to frontend/app_flowy/web/index.html
diff --git a/app_flowy/web/manifest.json b/frontend/app_flowy/web/manifest.json
similarity index 100%
rename from app_flowy/web/manifest.json
rename to frontend/app_flowy/web/manifest.json
diff --git a/app_flowy/windows/.gitignore b/frontend/app_flowy/windows/.gitignore
similarity index 100%
rename from app_flowy/windows/.gitignore
rename to frontend/app_flowy/windows/.gitignore
diff --git a/app_flowy/windows/CMakeLists.txt b/frontend/app_flowy/windows/CMakeLists.txt
similarity index 100%
rename from app_flowy/windows/CMakeLists.txt
rename to frontend/app_flowy/windows/CMakeLists.txt
diff --git a/app_flowy/windows/flutter/CMakeLists.txt b/frontend/app_flowy/windows/flutter/CMakeLists.txt
similarity index 100%
rename from app_flowy/windows/flutter/CMakeLists.txt
rename to frontend/app_flowy/windows/flutter/CMakeLists.txt
diff --git a/app_flowy/windows/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/windows/flutter/generated_plugin_registrant.cc
similarity index 100%
rename from app_flowy/windows/flutter/generated_plugin_registrant.cc
rename to frontend/app_flowy/windows/flutter/generated_plugin_registrant.cc
diff --git a/app_flowy/windows/flutter/generated_plugin_registrant.h b/frontend/app_flowy/windows/flutter/generated_plugin_registrant.h
similarity index 100%
rename from app_flowy/windows/flutter/generated_plugin_registrant.h
rename to frontend/app_flowy/windows/flutter/generated_plugin_registrant.h
diff --git a/app_flowy/windows/flutter/generated_plugins.cmake b/frontend/app_flowy/windows/flutter/generated_plugins.cmake
similarity index 100%
rename from app_flowy/windows/flutter/generated_plugins.cmake
rename to frontend/app_flowy/windows/flutter/generated_plugins.cmake
diff --git a/app_flowy/windows/runner/CMakeLists.txt b/frontend/app_flowy/windows/runner/CMakeLists.txt
similarity index 100%
rename from app_flowy/windows/runner/CMakeLists.txt
rename to frontend/app_flowy/windows/runner/CMakeLists.txt
diff --git a/app_flowy/windows/runner/Runner.rc b/frontend/app_flowy/windows/runner/Runner.rc
similarity index 100%
rename from app_flowy/windows/runner/Runner.rc
rename to frontend/app_flowy/windows/runner/Runner.rc
diff --git a/app_flowy/windows/runner/flutter_window.cpp b/frontend/app_flowy/windows/runner/flutter_window.cpp
similarity index 100%
rename from app_flowy/windows/runner/flutter_window.cpp
rename to frontend/app_flowy/windows/runner/flutter_window.cpp
diff --git a/app_flowy/windows/runner/flutter_window.h b/frontend/app_flowy/windows/runner/flutter_window.h
similarity index 100%
rename from app_flowy/windows/runner/flutter_window.h
rename to frontend/app_flowy/windows/runner/flutter_window.h
diff --git a/app_flowy/windows/runner/main.cpp b/frontend/app_flowy/windows/runner/main.cpp
similarity index 100%
rename from app_flowy/windows/runner/main.cpp
rename to frontend/app_flowy/windows/runner/main.cpp
diff --git a/app_flowy/windows/runner/resource.h b/frontend/app_flowy/windows/runner/resource.h
similarity index 100%
rename from app_flowy/windows/runner/resource.h
rename to frontend/app_flowy/windows/runner/resource.h
diff --git a/app_flowy/windows/runner/resources/app_icon.ico b/frontend/app_flowy/windows/runner/resources/app_icon.ico
similarity index 100%
rename from app_flowy/windows/runner/resources/app_icon.ico
rename to frontend/app_flowy/windows/runner/resources/app_icon.ico
diff --git a/app_flowy/windows/runner/runner.exe.manifest b/frontend/app_flowy/windows/runner/runner.exe.manifest
similarity index 100%
rename from app_flowy/windows/runner/runner.exe.manifest
rename to frontend/app_flowy/windows/runner/runner.exe.manifest
diff --git a/app_flowy/windows/runner/utils.cpp b/frontend/app_flowy/windows/runner/utils.cpp
similarity index 100%
rename from app_flowy/windows/runner/utils.cpp
rename to frontend/app_flowy/windows/runner/utils.cpp
diff --git a/app_flowy/windows/runner/utils.h b/frontend/app_flowy/windows/runner/utils.h
similarity index 100%
rename from app_flowy/windows/runner/utils.h
rename to frontend/app_flowy/windows/runner/utils.h
diff --git a/app_flowy/windows/runner/win32_window.cpp b/frontend/app_flowy/windows/runner/win32_window.cpp
similarity index 100%
rename from app_flowy/windows/runner/win32_window.cpp
rename to frontend/app_flowy/windows/runner/win32_window.cpp
diff --git a/app_flowy/windows/runner/win32_window.h b/frontend/app_flowy/windows/runner/win32_window.h
similarity index 100%
rename from app_flowy/windows/runner/win32_window.h
rename to frontend/app_flowy/windows/runner/win32_window.h
diff --git a/rust-lib/.cargo/config.toml b/frontend/rust-lib/.cargo/config.toml
similarity index 100%
rename from rust-lib/.cargo/config.toml
rename to frontend/rust-lib/.cargo/config.toml
diff --git a/rust-lib/.gitignore b/frontend/rust-lib/.gitignore
similarity index 100%
rename from rust-lib/.gitignore
rename to frontend/rust-lib/.gitignore
diff --git a/rust-lib/Cargo.toml b/frontend/rust-lib/Cargo.toml
similarity index 100%
rename from rust-lib/Cargo.toml
rename to frontend/rust-lib/Cargo.toml
diff --git a/rust-lib/backend-service/Cargo.toml b/frontend/rust-lib/backend-service/Cargo.toml
similarity index 100%
rename from rust-lib/backend-service/Cargo.toml
rename to frontend/rust-lib/backend-service/Cargo.toml
diff --git a/rust-lib/backend-service/src/config.rs b/frontend/rust-lib/backend-service/src/config.rs
similarity index 100%
rename from rust-lib/backend-service/src/config.rs
rename to frontend/rust-lib/backend-service/src/config.rs
diff --git a/rust-lib/backend-service/src/errors.rs b/frontend/rust-lib/backend-service/src/errors.rs
similarity index 100%
rename from rust-lib/backend-service/src/errors.rs
rename to frontend/rust-lib/backend-service/src/errors.rs
diff --git a/rust-lib/backend-service/src/lib.rs b/frontend/rust-lib/backend-service/src/lib.rs
similarity index 100%
rename from rust-lib/backend-service/src/lib.rs
rename to frontend/rust-lib/backend-service/src/lib.rs
diff --git a/rust-lib/backend-service/src/middleware.rs b/frontend/rust-lib/backend-service/src/middleware.rs
similarity index 100%
rename from rust-lib/backend-service/src/middleware.rs
rename to frontend/rust-lib/backend-service/src/middleware.rs
diff --git a/rust-lib/backend-service/src/request/mod.rs b/frontend/rust-lib/backend-service/src/request/mod.rs
similarity index 100%
rename from rust-lib/backend-service/src/request/mod.rs
rename to frontend/rust-lib/backend-service/src/request/mod.rs
diff --git a/rust-lib/backend-service/src/request/request.rs b/frontend/rust-lib/backend-service/src/request/request.rs
similarity index 100%
rename from rust-lib/backend-service/src/request/request.rs
rename to frontend/rust-lib/backend-service/src/request/request.rs
diff --git a/rust-lib/backend-service/src/response/mod.rs b/frontend/rust-lib/backend-service/src/response/mod.rs
similarity index 100%
rename from rust-lib/backend-service/src/response/mod.rs
rename to frontend/rust-lib/backend-service/src/response/mod.rs
diff --git a/rust-lib/backend-service/src/response/response.rs b/frontend/rust-lib/backend-service/src/response/response.rs
similarity index 100%
rename from rust-lib/backend-service/src/response/response.rs
rename to frontend/rust-lib/backend-service/src/response/response.rs
diff --git a/rust-lib/backend-service/src/response/response_http.rs b/frontend/rust-lib/backend-service/src/response/response_http.rs
similarity index 100%
rename from rust-lib/backend-service/src/response/response_http.rs
rename to frontend/rust-lib/backend-service/src/response/response_http.rs
diff --git a/rust-lib/backend-service/src/user_request.rs b/frontend/rust-lib/backend-service/src/user_request.rs
similarity index 100%
rename from rust-lib/backend-service/src/user_request.rs
rename to frontend/rust-lib/backend-service/src/user_request.rs
diff --git a/rust-lib/backend-service/src/workspace_request.rs b/frontend/rust-lib/backend-service/src/workspace_request.rs
similarity index 100%
rename from rust-lib/backend-service/src/workspace_request.rs
rename to frontend/rust-lib/backend-service/src/workspace_request.rs
diff --git a/rust-lib/dart-ffi/Cargo.toml b/frontend/rust-lib/dart-ffi/Cargo.toml
similarity index 93%
rename from rust-lib/dart-ffi/Cargo.toml
rename to frontend/rust-lib/dart-ffi/Cargo.toml
index ecd83b239a..bc67e11ad1 100644
--- a/rust-lib/dart-ffi/Cargo.toml
+++ b/frontend/rust-lib/dart-ffi/Cargo.toml
@@ -7,8 +7,8 @@ edition = "2018"
[lib]
name = "dart_ffi"
# this value will change depending on the target os
-# default cdylib
-crate-type = ["cdylib"]
+# default staticlib
+crate-type = ["staticlib"]
[dependencies]
diff --git a/rust-lib/dart-ffi/Flowy.toml b/frontend/rust-lib/dart-ffi/Flowy.toml
similarity index 100%
rename from rust-lib/dart-ffi/Flowy.toml
rename to frontend/rust-lib/dart-ffi/Flowy.toml
diff --git a/rust-lib/dart-ffi/binding.h b/frontend/rust-lib/dart-ffi/binding.h
similarity index 100%
rename from rust-lib/dart-ffi/binding.h
rename to frontend/rust-lib/dart-ffi/binding.h
diff --git a/rust-lib/dart-ffi/src/c.rs b/frontend/rust-lib/dart-ffi/src/c.rs
similarity index 100%
rename from rust-lib/dart-ffi/src/c.rs
rename to frontend/rust-lib/dart-ffi/src/c.rs
diff --git a/rust-lib/dart-ffi/src/lib.rs b/frontend/rust-lib/dart-ffi/src/lib.rs
similarity index 100%
rename from rust-lib/dart-ffi/src/lib.rs
rename to frontend/rust-lib/dart-ffi/src/lib.rs
diff --git a/rust-lib/dart-ffi/src/model/ffi_request.rs b/frontend/rust-lib/dart-ffi/src/model/ffi_request.rs
similarity index 100%
rename from rust-lib/dart-ffi/src/model/ffi_request.rs
rename to frontend/rust-lib/dart-ffi/src/model/ffi_request.rs
diff --git a/rust-lib/dart-ffi/src/model/ffi_response.rs b/frontend/rust-lib/dart-ffi/src/model/ffi_response.rs
similarity index 100%
rename from rust-lib/dart-ffi/src/model/ffi_response.rs
rename to frontend/rust-lib/dart-ffi/src/model/ffi_response.rs
diff --git a/rust-lib/dart-ffi/src/model/mod.rs b/frontend/rust-lib/dart-ffi/src/model/mod.rs
similarity index 100%
rename from rust-lib/dart-ffi/src/model/mod.rs
rename to frontend/rust-lib/dart-ffi/src/model/mod.rs
diff --git a/rust-lib/dart-ffi/src/protobuf/mod.rs b/frontend/rust-lib/dart-ffi/src/protobuf/mod.rs
similarity index 100%
rename from rust-lib/dart-ffi/src/protobuf/mod.rs
rename to frontend/rust-lib/dart-ffi/src/protobuf/mod.rs
diff --git a/rust-lib/dart-ffi/src/protobuf/model/ffi_request.rs b/frontend/rust-lib/dart-ffi/src/protobuf/model/ffi_request.rs
similarity index 100%
rename from rust-lib/dart-ffi/src/protobuf/model/ffi_request.rs
rename to frontend/rust-lib/dart-ffi/src/protobuf/model/ffi_request.rs
diff --git a/rust-lib/dart-ffi/src/protobuf/model/ffi_response.rs b/frontend/rust-lib/dart-ffi/src/protobuf/model/ffi_response.rs
similarity index 100%
rename from rust-lib/dart-ffi/src/protobuf/model/ffi_response.rs
rename to frontend/rust-lib/dart-ffi/src/protobuf/model/ffi_response.rs
diff --git a/rust-lib/dart-ffi/src/protobuf/model/mod.rs b/frontend/rust-lib/dart-ffi/src/protobuf/model/mod.rs
similarity index 100%
rename from rust-lib/dart-ffi/src/protobuf/model/mod.rs
rename to frontend/rust-lib/dart-ffi/src/protobuf/model/mod.rs
diff --git a/rust-lib/dart-ffi/src/protobuf/proto/ffi_request.proto b/frontend/rust-lib/dart-ffi/src/protobuf/proto/ffi_request.proto
similarity index 100%
rename from rust-lib/dart-ffi/src/protobuf/proto/ffi_request.proto
rename to frontend/rust-lib/dart-ffi/src/protobuf/proto/ffi_request.proto
diff --git a/rust-lib/dart-ffi/src/protobuf/proto/ffi_response.proto b/frontend/rust-lib/dart-ffi/src/protobuf/proto/ffi_response.proto
similarity index 100%
rename from rust-lib/dart-ffi/src/protobuf/proto/ffi_response.proto
rename to frontend/rust-lib/dart-ffi/src/protobuf/proto/ffi_response.proto
diff --git a/rust-lib/dart-ffi/src/util.rs b/frontend/rust-lib/dart-ffi/src/util.rs
similarity index 100%
rename from rust-lib/dart-ffi/src/util.rs
rename to frontend/rust-lib/dart-ffi/src/util.rs
diff --git a/rust-lib/dart-notify/Cargo.toml b/frontend/rust-lib/dart-notify/Cargo.toml
similarity index 100%
rename from rust-lib/dart-notify/Cargo.toml
rename to frontend/rust-lib/dart-notify/Cargo.toml
diff --git a/rust-lib/dart-notify/Flowy.toml b/frontend/rust-lib/dart-notify/Flowy.toml
similarity index 100%
rename from rust-lib/dart-notify/Flowy.toml
rename to frontend/rust-lib/dart-notify/Flowy.toml
diff --git a/rust-lib/dart-notify/src/dart/mod.rs b/frontend/rust-lib/dart-notify/src/dart/mod.rs
similarity index 100%
rename from rust-lib/dart-notify/src/dart/mod.rs
rename to frontend/rust-lib/dart-notify/src/dart/mod.rs
diff --git a/rust-lib/dart-notify/src/dart/stream_sender.rs b/frontend/rust-lib/dart-notify/src/dart/stream_sender.rs
similarity index 100%
rename from rust-lib/dart-notify/src/dart/stream_sender.rs
rename to frontend/rust-lib/dart-notify/src/dart/stream_sender.rs
diff --git a/rust-lib/dart-notify/src/entities/mod.rs b/frontend/rust-lib/dart-notify/src/entities/mod.rs
similarity index 100%
rename from rust-lib/dart-notify/src/entities/mod.rs
rename to frontend/rust-lib/dart-notify/src/entities/mod.rs
diff --git a/rust-lib/dart-notify/src/entities/subject.rs b/frontend/rust-lib/dart-notify/src/entities/subject.rs
similarity index 100%
rename from rust-lib/dart-notify/src/entities/subject.rs
rename to frontend/rust-lib/dart-notify/src/entities/subject.rs
diff --git a/rust-lib/dart-notify/src/lib.rs b/frontend/rust-lib/dart-notify/src/lib.rs
similarity index 100%
rename from rust-lib/dart-notify/src/lib.rs
rename to frontend/rust-lib/dart-notify/src/lib.rs
diff --git a/rust-lib/dart-notify/src/protobuf/mod.rs b/frontend/rust-lib/dart-notify/src/protobuf/mod.rs
similarity index 100%
rename from rust-lib/dart-notify/src/protobuf/mod.rs
rename to frontend/rust-lib/dart-notify/src/protobuf/mod.rs
diff --git a/rust-lib/dart-notify/src/protobuf/model/mod.rs b/frontend/rust-lib/dart-notify/src/protobuf/model/mod.rs
similarity index 100%
rename from rust-lib/dart-notify/src/protobuf/model/mod.rs
rename to frontend/rust-lib/dart-notify/src/protobuf/model/mod.rs
diff --git a/rust-lib/dart-notify/src/protobuf/model/subject.rs b/frontend/rust-lib/dart-notify/src/protobuf/model/subject.rs
similarity index 100%
rename from rust-lib/dart-notify/src/protobuf/model/subject.rs
rename to frontend/rust-lib/dart-notify/src/protobuf/model/subject.rs
diff --git a/rust-lib/dart-notify/src/protobuf/proto/subject.proto b/frontend/rust-lib/dart-notify/src/protobuf/proto/subject.proto
similarity index 100%
rename from rust-lib/dart-notify/src/protobuf/proto/subject.proto
rename to frontend/rust-lib/dart-notify/src/protobuf/proto/subject.proto
diff --git a/rust-lib/flowy-ast/Cargo.toml b/frontend/rust-lib/flowy-ast/Cargo.toml
similarity index 100%
rename from rust-lib/flowy-ast/Cargo.toml
rename to frontend/rust-lib/flowy-ast/Cargo.toml
diff --git a/rust-lib/flowy-ast/src/ast.rs b/frontend/rust-lib/flowy-ast/src/ast.rs
similarity index 100%
rename from rust-lib/flowy-ast/src/ast.rs
rename to frontend/rust-lib/flowy-ast/src/ast.rs
diff --git a/rust-lib/flowy-ast/src/attr.rs b/frontend/rust-lib/flowy-ast/src/attr.rs
similarity index 100%
rename from rust-lib/flowy-ast/src/attr.rs
rename to frontend/rust-lib/flowy-ast/src/attr.rs
diff --git a/rust-lib/flowy-ast/src/ctxt.rs b/frontend/rust-lib/flowy-ast/src/ctxt.rs
similarity index 100%
rename from rust-lib/flowy-ast/src/ctxt.rs
rename to frontend/rust-lib/flowy-ast/src/ctxt.rs
diff --git a/rust-lib/flowy-ast/src/event_ast.rs b/frontend/rust-lib/flowy-ast/src/event_ast.rs
similarity index 100%
rename from rust-lib/flowy-ast/src/event_ast.rs
rename to frontend/rust-lib/flowy-ast/src/event_ast.rs
diff --git a/rust-lib/flowy-ast/src/lib.rs b/frontend/rust-lib/flowy-ast/src/lib.rs
similarity index 100%
rename from rust-lib/flowy-ast/src/lib.rs
rename to frontend/rust-lib/flowy-ast/src/lib.rs
diff --git a/rust-lib/flowy-ast/src/symbol.rs b/frontend/rust-lib/flowy-ast/src/symbol.rs
similarity index 100%
rename from rust-lib/flowy-ast/src/symbol.rs
rename to frontend/rust-lib/flowy-ast/src/symbol.rs
diff --git a/rust-lib/flowy-ast/src/ty_ext.rs b/frontend/rust-lib/flowy-ast/src/ty_ext.rs
similarity index 100%
rename from rust-lib/flowy-ast/src/ty_ext.rs
rename to frontend/rust-lib/flowy-ast/src/ty_ext.rs
diff --git a/rust-lib/flowy-database/.env b/frontend/rust-lib/flowy-database/.env
similarity index 100%
rename from rust-lib/flowy-database/.env
rename to frontend/rust-lib/flowy-database/.env
diff --git a/rust-lib/flowy-database/Cargo.toml b/frontend/rust-lib/flowy-database/Cargo.toml
similarity index 100%
rename from rust-lib/flowy-database/Cargo.toml
rename to frontend/rust-lib/flowy-database/Cargo.toml
diff --git a/rust-lib/flowy-database/diesel.toml b/frontend/rust-lib/flowy-database/diesel.toml
similarity index 100%
rename from rust-lib/flowy-database/diesel.toml
rename to frontend/rust-lib/flowy-database/diesel.toml
diff --git a/rust-lib/flowy-database/migrations/.gitkeep b/frontend/rust-lib/flowy-database/migrations/.gitkeep
similarity index 100%
rename from rust-lib/flowy-database/migrations/.gitkeep
rename to frontend/rust-lib/flowy-database/migrations/.gitkeep
diff --git a/rust-lib/flowy-database/migrations/2021-07-09-063045_flowy-user/down.sql b/frontend/rust-lib/flowy-database/migrations/2021-07-09-063045_flowy-user/down.sql
similarity index 100%
rename from rust-lib/flowy-database/migrations/2021-07-09-063045_flowy-user/down.sql
rename to frontend/rust-lib/flowy-database/migrations/2021-07-09-063045_flowy-user/down.sql
diff --git a/rust-lib/flowy-database/migrations/2021-07-09-063045_flowy-user/up.sql b/frontend/rust-lib/flowy-database/migrations/2021-07-09-063045_flowy-user/up.sql
similarity index 100%
rename from rust-lib/flowy-database/migrations/2021-07-09-063045_flowy-user/up.sql
rename to frontend/rust-lib/flowy-database/migrations/2021-07-09-063045_flowy-user/up.sql
diff --git a/rust-lib/flowy-database/migrations/2021-07-14-022241_flowy-user/down.sql b/frontend/rust-lib/flowy-database/migrations/2021-07-14-022241_flowy-user/down.sql
similarity index 100%
rename from rust-lib/flowy-database/migrations/2021-07-14-022241_flowy-user/down.sql
rename to frontend/rust-lib/flowy-database/migrations/2021-07-14-022241_flowy-user/down.sql
diff --git a/rust-lib/flowy-database/migrations/2021-07-14-022241_flowy-user/up.sql b/frontend/rust-lib/flowy-database/migrations/2021-07-14-022241_flowy-user/up.sql
similarity index 100%
rename from rust-lib/flowy-database/migrations/2021-07-14-022241_flowy-user/up.sql
rename to frontend/rust-lib/flowy-database/migrations/2021-07-14-022241_flowy-user/up.sql
diff --git a/rust-lib/flowy-database/migrations/2021-07-22-234458_flowy-editor/down.sql b/frontend/rust-lib/flowy-database/migrations/2021-07-22-234458_flowy-editor/down.sql
similarity index 100%
rename from rust-lib/flowy-database/migrations/2021-07-22-234458_flowy-editor/down.sql
rename to frontend/rust-lib/flowy-database/migrations/2021-07-22-234458_flowy-editor/down.sql
diff --git a/rust-lib/flowy-database/migrations/2021-07-22-234458_flowy-editor/up.sql b/frontend/rust-lib/flowy-database/migrations/2021-07-22-234458_flowy-editor/up.sql
similarity index 100%
rename from rust-lib/flowy-database/migrations/2021-07-22-234458_flowy-editor/up.sql
rename to frontend/rust-lib/flowy-database/migrations/2021-07-22-234458_flowy-editor/up.sql
diff --git a/rust-lib/flowy-database/migrations/2021-09-22-074638_flowy-doc-op/down.sql b/frontend/rust-lib/flowy-database/migrations/2021-09-22-074638_flowy-doc-op/down.sql
similarity index 100%
rename from rust-lib/flowy-database/migrations/2021-09-22-074638_flowy-doc-op/down.sql
rename to frontend/rust-lib/flowy-database/migrations/2021-09-22-074638_flowy-doc-op/down.sql
diff --git a/rust-lib/flowy-database/migrations/2021-09-22-074638_flowy-doc-op/up.sql b/frontend/rust-lib/flowy-database/migrations/2021-09-22-074638_flowy-doc-op/up.sql
similarity index 100%
rename from rust-lib/flowy-database/migrations/2021-09-22-074638_flowy-doc-op/up.sql
rename to frontend/rust-lib/flowy-database/migrations/2021-09-22-074638_flowy-doc-op/up.sql
diff --git a/rust-lib/flowy-database/src/lib.rs b/frontend/rust-lib/flowy-database/src/lib.rs
similarity index 100%
rename from rust-lib/flowy-database/src/lib.rs
rename to frontend/rust-lib/flowy-database/src/lib.rs
diff --git a/rust-lib/flowy-database/src/macros.rs b/frontend/rust-lib/flowy-database/src/macros.rs
similarity index 100%
rename from rust-lib/flowy-database/src/macros.rs
rename to frontend/rust-lib/flowy-database/src/macros.rs
diff --git a/rust-lib/flowy-database/src/schema.rs b/frontend/rust-lib/flowy-database/src/schema.rs
similarity index 100%
rename from rust-lib/flowy-database/src/schema.rs
rename to frontend/rust-lib/flowy-database/src/schema.rs
diff --git a/rust-lib/flowy-derive/.gitignore b/frontend/rust-lib/flowy-derive/.gitignore
similarity index 100%
rename from rust-lib/flowy-derive/.gitignore
rename to frontend/rust-lib/flowy-derive/.gitignore
diff --git a/rust-lib/flowy-derive/Cargo.toml b/frontend/rust-lib/flowy-derive/Cargo.toml
similarity index 100%
rename from rust-lib/flowy-derive/Cargo.toml
rename to frontend/rust-lib/flowy-derive/Cargo.toml
diff --git a/rust-lib/flowy-derive/src/dart_event/mod.rs b/frontend/rust-lib/flowy-derive/src/dart_event/mod.rs
similarity index 100%
rename from rust-lib/flowy-derive/src/dart_event/mod.rs
rename to frontend/rust-lib/flowy-derive/src/dart_event/mod.rs
diff --git a/rust-lib/flowy-derive/src/derive_cache/derive_cache.rs b/frontend/rust-lib/flowy-derive/src/derive_cache/derive_cache.rs
similarity index 100%
rename from rust-lib/flowy-derive/src/derive_cache/derive_cache.rs
rename to frontend/rust-lib/flowy-derive/src/derive_cache/derive_cache.rs
diff --git a/rust-lib/flowy-derive/src/derive_cache/mod.rs b/frontend/rust-lib/flowy-derive/src/derive_cache/mod.rs
similarity index 100%
rename from rust-lib/flowy-derive/src/derive_cache/mod.rs
rename to frontend/rust-lib/flowy-derive/src/derive_cache/mod.rs
diff --git a/rust-lib/flowy-derive/src/lib.rs b/frontend/rust-lib/flowy-derive/src/lib.rs
similarity index 100%
rename from rust-lib/flowy-derive/src/lib.rs
rename to frontend/rust-lib/flowy-derive/src/lib.rs
diff --git a/rust-lib/flowy-derive/src/proto_buf/deserialize.rs b/frontend/rust-lib/flowy-derive/src/proto_buf/deserialize.rs
similarity index 100%
rename from rust-lib/flowy-derive/src/proto_buf/deserialize.rs
rename to frontend/rust-lib/flowy-derive/src/proto_buf/deserialize.rs
diff --git a/rust-lib/flowy-derive/src/proto_buf/enum_serde.rs b/frontend/rust-lib/flowy-derive/src/proto_buf/enum_serde.rs
similarity index 100%
rename from rust-lib/flowy-derive/src/proto_buf/enum_serde.rs
rename to frontend/rust-lib/flowy-derive/src/proto_buf/enum_serde.rs
diff --git a/rust-lib/flowy-derive/src/proto_buf/mod.rs b/frontend/rust-lib/flowy-derive/src/proto_buf/mod.rs
similarity index 100%
rename from rust-lib/flowy-derive/src/proto_buf/mod.rs
rename to frontend/rust-lib/flowy-derive/src/proto_buf/mod.rs
diff --git a/rust-lib/flowy-derive/src/proto_buf/serialize.rs b/frontend/rust-lib/flowy-derive/src/proto_buf/serialize.rs
similarity index 100%
rename from rust-lib/flowy-derive/src/proto_buf/serialize.rs
rename to frontend/rust-lib/flowy-derive/src/proto_buf/serialize.rs
diff --git a/rust-lib/flowy-derive/src/proto_buf/util.rs b/frontend/rust-lib/flowy-derive/src/proto_buf/util.rs
similarity index 100%
rename from rust-lib/flowy-derive/src/proto_buf/util.rs
rename to frontend/rust-lib/flowy-derive/src/proto_buf/util.rs
diff --git a/rust-lib/flowy-derive/tests/progress.rs b/frontend/rust-lib/flowy-derive/tests/progress.rs
similarity index 100%
rename from rust-lib/flowy-derive/tests/progress.rs
rename to frontend/rust-lib/flowy-derive/tests/progress.rs
diff --git a/rust-lib/flowy-document-infra/Cargo.toml b/frontend/rust-lib/flowy-document-infra/Cargo.toml
similarity index 100%
rename from rust-lib/flowy-document-infra/Cargo.toml
rename to frontend/rust-lib/flowy-document-infra/Cargo.toml
diff --git a/rust-lib/flowy-document-infra/Flowy.toml b/frontend/rust-lib/flowy-document-infra/Flowy.toml
similarity index 100%
rename from rust-lib/flowy-document-infra/Flowy.toml
rename to frontend/rust-lib/flowy-document-infra/Flowy.toml
diff --git a/rust-lib/flowy-document-infra/src/READ_ME.json b/frontend/rust-lib/flowy-document-infra/src/READ_ME.json
similarity index 100%
rename from rust-lib/flowy-document-infra/src/READ_ME.json
rename to frontend/rust-lib/flowy-document-infra/src/READ_ME.json
diff --git a/rust-lib/flowy-document-infra/src/core/data.rs b/frontend/rust-lib/flowy-document-infra/src/core/data.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/data.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/data.rs
diff --git a/rust-lib/flowy-document-infra/src/core/document.rs b/frontend/rust-lib/flowy-document-infra/src/core/document.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/document.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/document.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/delete/default_delete.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/delete/default_delete.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/delete/default_delete.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/delete/default_delete.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/delete/mod.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/delete/mod.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/delete/mod.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/delete/mod.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/delete/preserve_line_format_merge.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/delete/preserve_line_format_merge.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/delete/preserve_line_format_merge.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/delete/preserve_line_format_merge.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/format/format_at_position.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/format/format_at_position.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/format/format_at_position.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/format/format_at_position.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/format/helper.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/format/helper.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/format/helper.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/format/helper.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/format/mod.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/format/mod.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/format/mod.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/format/mod.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/format/resolve_block_format.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/format/resolve_block_format.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/format/resolve_block_format.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/format/resolve_block_format.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/format/resolve_inline_format.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/format/resolve_inline_format.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/format/resolve_inline_format.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/format/resolve_inline_format.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/insert/auto_exit_block.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/auto_exit_block.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/insert/auto_exit_block.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/auto_exit_block.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/insert/auto_format.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/auto_format.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/insert/auto_format.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/auto_format.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/insert/default_insert.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/default_insert.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/insert/default_insert.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/default_insert.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/insert/mod.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/mod.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/insert/mod.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/mod.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/insert/preserve_block_format.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/preserve_block_format.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/insert/preserve_block_format.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/preserve_block_format.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/insert/preserve_inline_format.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/preserve_inline_format.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/insert/preserve_inline_format.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/preserve_inline_format.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/insert/reset_format_on_new_line.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/reset_format_on_new_line.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/insert/reset_format_on_new_line.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/insert/reset_format_on_new_line.rs
diff --git a/rust-lib/flowy-document-infra/src/core/extensions/mod.rs b/frontend/rust-lib/flowy-document-infra/src/core/extensions/mod.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/extensions/mod.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/extensions/mod.rs
diff --git a/rust-lib/flowy-document-infra/src/core/history.rs b/frontend/rust-lib/flowy-document-infra/src/core/history.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/history.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/history.rs
diff --git a/rust-lib/flowy-document-infra/src/core/mod.rs b/frontend/rust-lib/flowy-document-infra/src/core/mod.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/mod.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/mod.rs
diff --git a/rust-lib/flowy-document-infra/src/core/view.rs b/frontend/rust-lib/flowy-document-infra/src/core/view.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/core/view.rs
rename to frontend/rust-lib/flowy-document-infra/src/core/view.rs
diff --git a/rust-lib/flowy-document-infra/src/entities/doc/doc.rs b/frontend/rust-lib/flowy-document-infra/src/entities/doc/doc.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/entities/doc/doc.rs
rename to frontend/rust-lib/flowy-document-infra/src/entities/doc/doc.rs
diff --git a/rust-lib/flowy-document-infra/src/entities/doc/mod.rs b/frontend/rust-lib/flowy-document-infra/src/entities/doc/mod.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/entities/doc/mod.rs
rename to frontend/rust-lib/flowy-document-infra/src/entities/doc/mod.rs
diff --git a/rust-lib/flowy-document-infra/src/entities/doc/parser/doc_id.rs b/frontend/rust-lib/flowy-document-infra/src/entities/doc/parser/doc_id.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/entities/doc/parser/doc_id.rs
rename to frontend/rust-lib/flowy-document-infra/src/entities/doc/parser/doc_id.rs
diff --git a/rust-lib/flowy-document-infra/src/entities/doc/parser/mod.rs b/frontend/rust-lib/flowy-document-infra/src/entities/doc/parser/mod.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/entities/doc/parser/mod.rs
rename to frontend/rust-lib/flowy-document-infra/src/entities/doc/parser/mod.rs
diff --git a/rust-lib/flowy-document-infra/src/entities/doc/revision.rs b/frontend/rust-lib/flowy-document-infra/src/entities/doc/revision.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/entities/doc/revision.rs
rename to frontend/rust-lib/flowy-document-infra/src/entities/doc/revision.rs
diff --git a/rust-lib/flowy-document-infra/src/entities/mod.rs b/frontend/rust-lib/flowy-document-infra/src/entities/mod.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/entities/mod.rs
rename to frontend/rust-lib/flowy-document-infra/src/entities/mod.rs
diff --git a/rust-lib/flowy-document-infra/src/entities/ws/mod.rs b/frontend/rust-lib/flowy-document-infra/src/entities/ws/mod.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/entities/ws/mod.rs
rename to frontend/rust-lib/flowy-document-infra/src/entities/ws/mod.rs
diff --git a/rust-lib/flowy-document-infra/src/entities/ws/ws.rs b/frontend/rust-lib/flowy-document-infra/src/entities/ws/ws.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/entities/ws/ws.rs
rename to frontend/rust-lib/flowy-document-infra/src/entities/ws/ws.rs
diff --git a/rust-lib/flowy-document-infra/src/errors.rs b/frontend/rust-lib/flowy-document-infra/src/errors.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/errors.rs
rename to frontend/rust-lib/flowy-document-infra/src/errors.rs
diff --git a/rust-lib/flowy-document-infra/src/lib.rs b/frontend/rust-lib/flowy-document-infra/src/lib.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/lib.rs
rename to frontend/rust-lib/flowy-document-infra/src/lib.rs
diff --git a/rust-lib/flowy-document-infra/src/protobuf/mod.rs b/frontend/rust-lib/flowy-document-infra/src/protobuf/mod.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/protobuf/mod.rs
rename to frontend/rust-lib/flowy-document-infra/src/protobuf/mod.rs
diff --git a/rust-lib/flowy-document-infra/src/protobuf/model/doc.rs b/frontend/rust-lib/flowy-document-infra/src/protobuf/model/doc.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/protobuf/model/doc.rs
rename to frontend/rust-lib/flowy-document-infra/src/protobuf/model/doc.rs
diff --git a/rust-lib/flowy-document-infra/src/protobuf/model/mod.rs b/frontend/rust-lib/flowy-document-infra/src/protobuf/model/mod.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/protobuf/model/mod.rs
rename to frontend/rust-lib/flowy-document-infra/src/protobuf/model/mod.rs
diff --git a/rust-lib/flowy-document-infra/src/protobuf/model/revision.rs b/frontend/rust-lib/flowy-document-infra/src/protobuf/model/revision.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/protobuf/model/revision.rs
rename to frontend/rust-lib/flowy-document-infra/src/protobuf/model/revision.rs
diff --git a/rust-lib/flowy-document-infra/src/protobuf/model/ws.rs b/frontend/rust-lib/flowy-document-infra/src/protobuf/model/ws.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/protobuf/model/ws.rs
rename to frontend/rust-lib/flowy-document-infra/src/protobuf/model/ws.rs
diff --git a/rust-lib/flowy-document-infra/src/protobuf/proto/doc.proto b/frontend/rust-lib/flowy-document-infra/src/protobuf/proto/doc.proto
similarity index 100%
rename from rust-lib/flowy-document-infra/src/protobuf/proto/doc.proto
rename to frontend/rust-lib/flowy-document-infra/src/protobuf/proto/doc.proto
diff --git a/rust-lib/flowy-document-infra/src/protobuf/proto/revision.proto b/frontend/rust-lib/flowy-document-infra/src/protobuf/proto/revision.proto
similarity index 100%
rename from rust-lib/flowy-document-infra/src/protobuf/proto/revision.proto
rename to frontend/rust-lib/flowy-document-infra/src/protobuf/proto/revision.proto
diff --git a/rust-lib/flowy-document-infra/src/protobuf/proto/ws.proto b/frontend/rust-lib/flowy-document-infra/src/protobuf/proto/ws.proto
similarity index 100%
rename from rust-lib/flowy-document-infra/src/protobuf/proto/ws.proto
rename to frontend/rust-lib/flowy-document-infra/src/protobuf/proto/ws.proto
diff --git a/rust-lib/flowy-document-infra/src/user_default.rs b/frontend/rust-lib/flowy-document-infra/src/user_default.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/user_default.rs
rename to frontend/rust-lib/flowy-document-infra/src/user_default.rs
diff --git a/rust-lib/flowy-document-infra/src/util.rs b/frontend/rust-lib/flowy-document-infra/src/util.rs
similarity index 100%
rename from rust-lib/flowy-document-infra/src/util.rs
rename to frontend/rust-lib/flowy-document-infra/src/util.rs
diff --git a/rust-lib/flowy-document/Cargo.toml b/frontend/rust-lib/flowy-document/Cargo.toml
similarity index 100%
rename from rust-lib/flowy-document/Cargo.toml
rename to frontend/rust-lib/flowy-document/Cargo.toml
diff --git a/rust-lib/flowy-document/Flowy.toml b/frontend/rust-lib/flowy-document/Flowy.toml
similarity index 100%
rename from rust-lib/flowy-document/Flowy.toml
rename to frontend/rust-lib/flowy-document/Flowy.toml
diff --git a/rust-lib/flowy-document/src/errors.rs b/frontend/rust-lib/flowy-document/src/errors.rs
similarity index 100%
rename from rust-lib/flowy-document/src/errors.rs
rename to frontend/rust-lib/flowy-document/src/errors.rs
diff --git a/rust-lib/flowy-document/src/lib.rs b/frontend/rust-lib/flowy-document/src/lib.rs
similarity index 100%
rename from rust-lib/flowy-document/src/lib.rs
rename to frontend/rust-lib/flowy-document/src/lib.rs
diff --git a/rust-lib/flowy-document/src/module.rs b/frontend/rust-lib/flowy-document/src/module.rs
similarity index 100%
rename from rust-lib/flowy-document/src/module.rs
rename to frontend/rust-lib/flowy-document/src/module.rs
diff --git a/rust-lib/flowy-document/src/notify/mod.rs b/frontend/rust-lib/flowy-document/src/notify/mod.rs
similarity index 100%
rename from rust-lib/flowy-document/src/notify/mod.rs
rename to frontend/rust-lib/flowy-document/src/notify/mod.rs
diff --git a/rust-lib/flowy-document/src/notify/observable.rs b/frontend/rust-lib/flowy-document/src/notify/observable.rs
similarity index 100%
rename from rust-lib/flowy-document/src/notify/observable.rs
rename to frontend/rust-lib/flowy-document/src/notify/observable.rs
diff --git a/rust-lib/flowy-document/src/protobuf/mod.rs b/frontend/rust-lib/flowy-document/src/protobuf/mod.rs
similarity index 100%
rename from rust-lib/flowy-document/src/protobuf/mod.rs
rename to frontend/rust-lib/flowy-document/src/protobuf/mod.rs
diff --git a/rust-lib/flowy-document/src/protobuf/model/errors.rs b/frontend/rust-lib/flowy-document/src/protobuf/model/errors.rs
similarity index 84%
rename from rust-lib/flowy-document/src/protobuf/model/errors.rs
rename to frontend/rust-lib/flowy-document/src/protobuf/model/errors.rs
index 368ebbb92d..61831522d9 100644
--- a/rust-lib/flowy-document/src/protobuf/model/errors.rs
+++ b/frontend/rust-lib/flowy-document/src/protobuf/model/errors.rs
@@ -218,7 +218,7 @@ pub enum ErrorCode {
WsConnectError = 0,
DocNotfound = 1,
DuplicateRevision = 2,
- UserUnauthorized = 999,
+ UserUnauthorized = 10,
InternalError = 1000,
}
@@ -232,7 +232,7 @@ impl ::protobuf::ProtobufEnum for ErrorCode {
0 => ::std::option::Option::Some(ErrorCode::WsConnectError),
1 => ::std::option::Option::Some(ErrorCode::DocNotfound),
2 => ::std::option::Option::Some(ErrorCode::DuplicateRevision),
- 999 => ::std::option::Option::Some(ErrorCode::UserUnauthorized),
+ 10 => ::std::option::Option::Some(ErrorCode::UserUnauthorized),
1000 => ::std::option::Option::Some(ErrorCode::InternalError),
_ => ::std::option::Option::None
}
@@ -274,29 +274,29 @@ impl ::protobuf::reflect::ProtobufValue for ErrorCode {
static file_descriptor_proto_data: &'static [u8] = b"\
\n\x0cerrors.proto\"<\n\x08DocError\x12\x1e\n\x04code\x18\x01\x20\x01(\
- \x0e2\n.ErrorCodeR\x04code\x12\x10\n\x03msg\x18\x02\x20\x01(\tR\x03msg*r\
+ \x0e2\n.ErrorCodeR\x04code\x12\x10\n\x03msg\x18\x02\x20\x01(\tR\x03msg*q\
\n\tErrorCode\x12\x12\n\x0eWsConnectError\x10\0\x12\x0f\n\x0bDocNotfound\
- \x10\x01\x12\x15\n\x11DuplicateRevision\x10\x02\x12\x15\n\x10UserUnautho\
- rized\x10\xe7\x07\x12\x12\n\rInternalError\x10\xe8\x07J\xfd\x02\n\x06\
- \x12\x04\0\0\x0c\x01\n\x08\n\x01\x0c\x12\x03\0\0\x12\n\n\n\x02\x04\0\x12\
- \x04\x02\0\x05\x01\n\n\n\x03\x04\0\x01\x12\x03\x02\x08\x10\n\x0b\n\x04\
- \x04\0\x02\0\x12\x03\x03\x04\x17\n\x0c\n\x05\x04\0\x02\0\x06\x12\x03\x03\
- \x04\r\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03\x03\x0e\x12\n\x0c\n\x05\x04\0\
- \x02\0\x03\x12\x03\x03\x15\x16\n\x0b\n\x04\x04\0\x02\x01\x12\x03\x04\x04\
- \x13\n\x0c\n\x05\x04\0\x02\x01\x05\x12\x03\x04\x04\n\n\x0c\n\x05\x04\0\
- \x02\x01\x01\x12\x03\x04\x0b\x0e\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03\
- \x04\x11\x12\n\n\n\x02\x05\0\x12\x04\x06\0\x0c\x01\n\n\n\x03\x05\0\x01\
- \x12\x03\x06\x05\x0e\n\x0b\n\x04\x05\0\x02\0\x12\x03\x07\x04\x17\n\x0c\n\
- \x05\x05\0\x02\0\x01\x12\x03\x07\x04\x12\n\x0c\n\x05\x05\0\x02\0\x02\x12\
- \x03\x07\x15\x16\n\x0b\n\x04\x05\0\x02\x01\x12\x03\x08\x04\x14\n\x0c\n\
- \x05\x05\0\x02\x01\x01\x12\x03\x08\x04\x0f\n\x0c\n\x05\x05\0\x02\x01\x02\
- \x12\x03\x08\x12\x13\n\x0b\n\x04\x05\0\x02\x02\x12\x03\t\x04\x1a\n\x0c\n\
- \x05\x05\0\x02\x02\x01\x12\x03\t\x04\x15\n\x0c\n\x05\x05\0\x02\x02\x02\
- \x12\x03\t\x18\x19\n\x0b\n\x04\x05\0\x02\x03\x12\x03\n\x04\x1b\n\x0c\n\
- \x05\x05\0\x02\x03\x01\x12\x03\n\x04\x14\n\x0c\n\x05\x05\0\x02\x03\x02\
- \x12\x03\n\x17\x1a\n\x0b\n\x04\x05\0\x02\x04\x12\x03\x0b\x04\x19\n\x0c\n\
- \x05\x05\0\x02\x04\x01\x12\x03\x0b\x04\x11\n\x0c\n\x05\x05\0\x02\x04\x02\
- \x12\x03\x0b\x14\x18b\x06proto3\
+ \x10\x01\x12\x15\n\x11DuplicateRevision\x10\x02\x12\x14\n\x10UserUnautho\
+ rized\x10\n\x12\x12\n\rInternalError\x10\xe8\x07J\xfd\x02\n\x06\x12\x04\
+ \0\0\x0c\x01\n\x08\n\x01\x0c\x12\x03\0\0\x12\n\n\n\x02\x04\0\x12\x04\x02\
+ \0\x05\x01\n\n\n\x03\x04\0\x01\x12\x03\x02\x08\x10\n\x0b\n\x04\x04\0\x02\
+ \0\x12\x03\x03\x04\x17\n\x0c\n\x05\x04\0\x02\0\x06\x12\x03\x03\x04\r\n\
+ \x0c\n\x05\x04\0\x02\0\x01\x12\x03\x03\x0e\x12\n\x0c\n\x05\x04\0\x02\0\
+ \x03\x12\x03\x03\x15\x16\n\x0b\n\x04\x04\0\x02\x01\x12\x03\x04\x04\x13\n\
+ \x0c\n\x05\x04\0\x02\x01\x05\x12\x03\x04\x04\n\n\x0c\n\x05\x04\0\x02\x01\
+ \x01\x12\x03\x04\x0b\x0e\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03\x04\x11\
+ \x12\n\n\n\x02\x05\0\x12\x04\x06\0\x0c\x01\n\n\n\x03\x05\0\x01\x12\x03\
+ \x06\x05\x0e\n\x0b\n\x04\x05\0\x02\0\x12\x03\x07\x04\x17\n\x0c\n\x05\x05\
+ \0\x02\0\x01\x12\x03\x07\x04\x12\n\x0c\n\x05\x05\0\x02\0\x02\x12\x03\x07\
+ \x15\x16\n\x0b\n\x04\x05\0\x02\x01\x12\x03\x08\x04\x14\n\x0c\n\x05\x05\0\
+ \x02\x01\x01\x12\x03\x08\x04\x0f\n\x0c\n\x05\x05\0\x02\x01\x02\x12\x03\
+ \x08\x12\x13\n\x0b\n\x04\x05\0\x02\x02\x12\x03\t\x04\x1a\n\x0c\n\x05\x05\
+ \0\x02\x02\x01\x12\x03\t\x04\x15\n\x0c\n\x05\x05\0\x02\x02\x02\x12\x03\t\
+ \x18\x19\n\x0b\n\x04\x05\0\x02\x03\x12\x03\n\x04\x1a\n\x0c\n\x05\x05\0\
+ \x02\x03\x01\x12\x03\n\x04\x14\n\x0c\n\x05\x05\0\x02\x03\x02\x12\x03\n\
+ \x17\x19\n\x0b\n\x04\x05\0\x02\x04\x12\x03\x0b\x04\x19\n\x0c\n\x05\x05\0\
+ \x02\x04\x01\x12\x03\x0b\x04\x11\n\x0c\n\x05\x05\0\x02\x04\x02\x12\x03\
+ \x0b\x14\x18b\x06proto3\
";
static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
diff --git a/rust-lib/flowy-document/src/protobuf/model/mod.rs b/frontend/rust-lib/flowy-document/src/protobuf/model/mod.rs
similarity index 100%
rename from rust-lib/flowy-document/src/protobuf/model/mod.rs
rename to frontend/rust-lib/flowy-document/src/protobuf/model/mod.rs
diff --git a/rust-lib/flowy-document/src/protobuf/model/observable.rs b/frontend/rust-lib/flowy-document/src/protobuf/model/observable.rs
similarity index 100%
rename from rust-lib/flowy-document/src/protobuf/model/observable.rs
rename to frontend/rust-lib/flowy-document/src/protobuf/model/observable.rs
diff --git a/rust-lib/flowy-document/src/protobuf/proto/errors.proto b/frontend/rust-lib/flowy-document/src/protobuf/proto/errors.proto
similarity index 87%
rename from rust-lib/flowy-document/src/protobuf/proto/errors.proto
rename to frontend/rust-lib/flowy-document/src/protobuf/proto/errors.proto
index 4712cc16a7..b2bbb6dd62 100644
--- a/rust-lib/flowy-document/src/protobuf/proto/errors.proto
+++ b/frontend/rust-lib/flowy-document/src/protobuf/proto/errors.proto
@@ -8,6 +8,6 @@ enum ErrorCode {
WsConnectError = 0;
DocNotfound = 1;
DuplicateRevision = 2;
- UserUnauthorized = 999;
+ UserUnauthorized = 10;
InternalError = 1000;
}
diff --git a/rust-lib/flowy-document/src/protobuf/proto/observable.proto b/frontend/rust-lib/flowy-document/src/protobuf/proto/observable.proto
similarity index 100%
rename from rust-lib/flowy-document/src/protobuf/proto/observable.proto
rename to frontend/rust-lib/flowy-document/src/protobuf/proto/observable.proto
diff --git a/rust-lib/flowy-document/src/services/cache.rs b/frontend/rust-lib/flowy-document/src/services/cache.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/cache.rs
rename to frontend/rust-lib/flowy-document/src/services/cache.rs
diff --git a/rust-lib/flowy-document/src/services/doc/doc_controller.rs b/frontend/rust-lib/flowy-document/src/services/doc/doc_controller.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/doc/doc_controller.rs
rename to frontend/rust-lib/flowy-document/src/services/doc/doc_controller.rs
diff --git a/rust-lib/flowy-document/src/services/doc/edit/doc_actor.rs b/frontend/rust-lib/flowy-document/src/services/doc/edit/doc_actor.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/doc/edit/doc_actor.rs
rename to frontend/rust-lib/flowy-document/src/services/doc/edit/doc_actor.rs
diff --git a/rust-lib/flowy-document/src/services/doc/edit/edit_doc.rs b/frontend/rust-lib/flowy-document/src/services/doc/edit/edit_doc.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/doc/edit/edit_doc.rs
rename to frontend/rust-lib/flowy-document/src/services/doc/edit/edit_doc.rs
diff --git a/rust-lib/flowy-document/src/services/doc/edit/mod.rs b/frontend/rust-lib/flowy-document/src/services/doc/edit/mod.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/doc/edit/mod.rs
rename to frontend/rust-lib/flowy-document/src/services/doc/edit/mod.rs
diff --git a/rust-lib/flowy-document/src/services/doc/edit/model.rs b/frontend/rust-lib/flowy-document/src/services/doc/edit/model.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/doc/edit/model.rs
rename to frontend/rust-lib/flowy-document/src/services/doc/edit/model.rs
diff --git a/rust-lib/flowy-document/src/services/doc/mod.rs b/frontend/rust-lib/flowy-document/src/services/doc/mod.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/doc/mod.rs
rename to frontend/rust-lib/flowy-document/src/services/doc/mod.rs
diff --git a/rust-lib/flowy-document/src/services/doc/revision/manager.rs b/frontend/rust-lib/flowy-document/src/services/doc/revision/manager.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/doc/revision/manager.rs
rename to frontend/rust-lib/flowy-document/src/services/doc/revision/manager.rs
diff --git a/rust-lib/flowy-document/src/services/doc/revision/mod.rs b/frontend/rust-lib/flowy-document/src/services/doc/revision/mod.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/doc/revision/mod.rs
rename to frontend/rust-lib/flowy-document/src/services/doc/revision/mod.rs
diff --git a/rust-lib/flowy-document/src/services/doc/revision/model.rs b/frontend/rust-lib/flowy-document/src/services/doc/revision/model.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/doc/revision/model.rs
rename to frontend/rust-lib/flowy-document/src/services/doc/revision/model.rs
diff --git a/rust-lib/flowy-document/src/services/doc/revision/persistence.rs b/frontend/rust-lib/flowy-document/src/services/doc/revision/persistence.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/doc/revision/persistence.rs
rename to frontend/rust-lib/flowy-document/src/services/doc/revision/persistence.rs
diff --git a/rust-lib/flowy-document/src/services/file/file.rs b/frontend/rust-lib/flowy-document/src/services/file/file.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/file/file.rs
rename to frontend/rust-lib/flowy-document/src/services/file/file.rs
diff --git a/rust-lib/flowy-document/src/services/file/manager.rs b/frontend/rust-lib/flowy-document/src/services/file/manager.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/file/manager.rs
rename to frontend/rust-lib/flowy-document/src/services/file/manager.rs
diff --git a/rust-lib/flowy-document/src/services/file/mod.rs b/frontend/rust-lib/flowy-document/src/services/file/mod.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/file/mod.rs
rename to frontend/rust-lib/flowy-document/src/services/file/mod.rs
diff --git a/rust-lib/flowy-document/src/services/mod.rs b/frontend/rust-lib/flowy-document/src/services/mod.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/mod.rs
rename to frontend/rust-lib/flowy-document/src/services/mod.rs
diff --git a/rust-lib/flowy-document/src/services/server/middleware.rs b/frontend/rust-lib/flowy-document/src/services/server/middleware.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/server/middleware.rs
rename to frontend/rust-lib/flowy-document/src/services/server/middleware.rs
diff --git a/rust-lib/flowy-document/src/services/server/mod.rs b/frontend/rust-lib/flowy-document/src/services/server/mod.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/server/mod.rs
rename to frontend/rust-lib/flowy-document/src/services/server/mod.rs
diff --git a/rust-lib/flowy-document/src/services/server/server_api.rs b/frontend/rust-lib/flowy-document/src/services/server/server_api.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/server/server_api.rs
rename to frontend/rust-lib/flowy-document/src/services/server/server_api.rs
diff --git a/rust-lib/flowy-document/src/services/server/server_api_mock.rs b/frontend/rust-lib/flowy-document/src/services/server/server_api_mock.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/server/server_api_mock.rs
rename to frontend/rust-lib/flowy-document/src/services/server/server_api_mock.rs
diff --git a/rust-lib/flowy-document/src/services/ws/mod.rs b/frontend/rust-lib/flowy-document/src/services/ws/mod.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/ws/mod.rs
rename to frontend/rust-lib/flowy-document/src/services/ws/mod.rs
diff --git a/rust-lib/flowy-document/src/services/ws/ws_manager.rs b/frontend/rust-lib/flowy-document/src/services/ws/ws_manager.rs
similarity index 100%
rename from rust-lib/flowy-document/src/services/ws/ws_manager.rs
rename to frontend/rust-lib/flowy-document/src/services/ws/ws_manager.rs
diff --git a/rust-lib/flowy-document/src/sql_tables/doc/doc_sql.rs b/frontend/rust-lib/flowy-document/src/sql_tables/doc/doc_sql.rs
similarity index 100%
rename from rust-lib/flowy-document/src/sql_tables/doc/doc_sql.rs
rename to frontend/rust-lib/flowy-document/src/sql_tables/doc/doc_sql.rs
diff --git a/rust-lib/flowy-document/src/sql_tables/doc/doc_table.rs b/frontend/rust-lib/flowy-document/src/sql_tables/doc/doc_table.rs
similarity index 100%
rename from rust-lib/flowy-document/src/sql_tables/doc/doc_table.rs
rename to frontend/rust-lib/flowy-document/src/sql_tables/doc/doc_table.rs
diff --git a/rust-lib/flowy-document/src/sql_tables/doc/mod.rs b/frontend/rust-lib/flowy-document/src/sql_tables/doc/mod.rs
similarity index 100%
rename from rust-lib/flowy-document/src/sql_tables/doc/mod.rs
rename to frontend/rust-lib/flowy-document/src/sql_tables/doc/mod.rs
diff --git a/rust-lib/flowy-document/src/sql_tables/doc/rev_sql.rs b/frontend/rust-lib/flowy-document/src/sql_tables/doc/rev_sql.rs
similarity index 100%
rename from rust-lib/flowy-document/src/sql_tables/doc/rev_sql.rs
rename to frontend/rust-lib/flowy-document/src/sql_tables/doc/rev_sql.rs
diff --git a/rust-lib/flowy-document/src/sql_tables/doc/rev_table.rs b/frontend/rust-lib/flowy-document/src/sql_tables/doc/rev_table.rs
similarity index 100%
rename from rust-lib/flowy-document/src/sql_tables/doc/rev_table.rs
rename to frontend/rust-lib/flowy-document/src/sql_tables/doc/rev_table.rs
diff --git a/rust-lib/flowy-document/src/sql_tables/mod.rs b/frontend/rust-lib/flowy-document/src/sql_tables/mod.rs
similarity index 100%
rename from rust-lib/flowy-document/src/sql_tables/mod.rs
rename to frontend/rust-lib/flowy-document/src/sql_tables/mod.rs
diff --git a/rust-lib/flowy-document/tests/editor/attribute_test.rs b/frontend/rust-lib/flowy-document/tests/editor/attribute_test.rs
similarity index 100%
rename from rust-lib/flowy-document/tests/editor/attribute_test.rs
rename to frontend/rust-lib/flowy-document/tests/editor/attribute_test.rs
diff --git a/rust-lib/flowy-document/tests/editor/mod.rs b/frontend/rust-lib/flowy-document/tests/editor/mod.rs
similarity index 100%
rename from rust-lib/flowy-document/tests/editor/mod.rs
rename to frontend/rust-lib/flowy-document/tests/editor/mod.rs
diff --git a/rust-lib/flowy-document/tests/editor/op_test.rs b/frontend/rust-lib/flowy-document/tests/editor/op_test.rs
similarity index 100%
rename from rust-lib/flowy-document/tests/editor/op_test.rs
rename to frontend/rust-lib/flowy-document/tests/editor/op_test.rs
diff --git a/rust-lib/flowy-document/tests/editor/serde_test.rs b/frontend/rust-lib/flowy-document/tests/editor/serde_test.rs
similarity index 100%
rename from rust-lib/flowy-document/tests/editor/serde_test.rs
rename to frontend/rust-lib/flowy-document/tests/editor/serde_test.rs
diff --git a/rust-lib/flowy-document/tests/editor/undo_redo_test.rs b/frontend/rust-lib/flowy-document/tests/editor/undo_redo_test.rs
similarity index 100%
rename from rust-lib/flowy-document/tests/editor/undo_redo_test.rs
rename to frontend/rust-lib/flowy-document/tests/editor/undo_redo_test.rs
diff --git a/rust-lib/flowy-document/tests/main.rs b/frontend/rust-lib/flowy-document/tests/main.rs
similarity index 100%
rename from rust-lib/flowy-document/tests/main.rs
rename to frontend/rust-lib/flowy-document/tests/main.rs
diff --git a/rust-lib/flowy-sdk/.gitignore b/frontend/rust-lib/flowy-sdk/.gitignore
similarity index 100%
rename from rust-lib/flowy-sdk/.gitignore
rename to frontend/rust-lib/flowy-sdk/.gitignore
diff --git a/rust-lib/flowy-sdk/Cargo.toml b/frontend/rust-lib/flowy-sdk/Cargo.toml
similarity index 100%
rename from rust-lib/flowy-sdk/Cargo.toml
rename to frontend/rust-lib/flowy-sdk/Cargo.toml
diff --git a/rust-lib/flowy-sdk/src/deps_resolve/document_deps.rs b/frontend/rust-lib/flowy-sdk/src/deps_resolve/document_deps.rs
similarity index 100%
rename from rust-lib/flowy-sdk/src/deps_resolve/document_deps.rs
rename to frontend/rust-lib/flowy-sdk/src/deps_resolve/document_deps.rs
diff --git a/rust-lib/flowy-sdk/src/deps_resolve/mod.rs b/frontend/rust-lib/flowy-sdk/src/deps_resolve/mod.rs
similarity index 100%
rename from rust-lib/flowy-sdk/src/deps_resolve/mod.rs
rename to frontend/rust-lib/flowy-sdk/src/deps_resolve/mod.rs
diff --git a/rust-lib/flowy-sdk/src/deps_resolve/workspace_deps.rs b/frontend/rust-lib/flowy-sdk/src/deps_resolve/workspace_deps.rs
similarity index 100%
rename from rust-lib/flowy-sdk/src/deps_resolve/workspace_deps.rs
rename to frontend/rust-lib/flowy-sdk/src/deps_resolve/workspace_deps.rs
diff --git a/rust-lib/flowy-sdk/src/lib.rs b/frontend/rust-lib/flowy-sdk/src/lib.rs
similarity index 100%
rename from rust-lib/flowy-sdk/src/lib.rs
rename to frontend/rust-lib/flowy-sdk/src/lib.rs
diff --git a/rust-lib/flowy-sdk/src/module.rs b/frontend/rust-lib/flowy-sdk/src/module.rs
similarity index 100%
rename from rust-lib/flowy-sdk/src/module.rs
rename to frontend/rust-lib/flowy-sdk/src/module.rs
diff --git a/rust-lib/flowy-test/Cargo.toml b/frontend/rust-lib/flowy-test/Cargo.toml
similarity index 100%
rename from rust-lib/flowy-test/Cargo.toml
rename to frontend/rust-lib/flowy-test/Cargo.toml
diff --git a/rust-lib/flowy-test/src/builder.rs b/frontend/rust-lib/flowy-test/src/builder.rs
similarity index 100%
rename from rust-lib/flowy-test/src/builder.rs
rename to frontend/rust-lib/flowy-test/src/builder.rs
diff --git a/rust-lib/flowy-test/src/helper.rs b/frontend/rust-lib/flowy-test/src/helper.rs
similarity index 100%
rename from rust-lib/flowy-test/src/helper.rs
rename to frontend/rust-lib/flowy-test/src/helper.rs
diff --git a/rust-lib/flowy-test/src/lib.rs b/frontend/rust-lib/flowy-test/src/lib.rs
similarity index 100%
rename from rust-lib/flowy-test/src/lib.rs
rename to frontend/rust-lib/flowy-test/src/lib.rs
diff --git a/rust-lib/flowy-test/src/workspace.rs b/frontend/rust-lib/flowy-test/src/workspace.rs
similarity index 100%
rename from rust-lib/flowy-test/src/workspace.rs
rename to frontend/rust-lib/flowy-test/src/workspace.rs
diff --git a/rust-lib/flowy-user-infra/Cargo.toml b/frontend/rust-lib/flowy-user-infra/Cargo.toml
similarity index 100%
rename from rust-lib/flowy-user-infra/Cargo.toml
rename to frontend/rust-lib/flowy-user-infra/Cargo.toml
diff --git a/rust-lib/flowy-user-infra/Flowy.toml b/frontend/rust-lib/flowy-user-infra/Flowy.toml
similarity index 100%
rename from rust-lib/flowy-user-infra/Flowy.toml
rename to frontend/rust-lib/flowy-user-infra/Flowy.toml
diff --git a/rust-lib/flowy-user-infra/src/entities/auth.rs b/frontend/rust-lib/flowy-user-infra/src/entities/auth.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/entities/auth.rs
rename to frontend/rust-lib/flowy-user-infra/src/entities/auth.rs
diff --git a/rust-lib/flowy-user-infra/src/entities/mod.rs b/frontend/rust-lib/flowy-user-infra/src/entities/mod.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/entities/mod.rs
rename to frontend/rust-lib/flowy-user-infra/src/entities/mod.rs
diff --git a/rust-lib/flowy-user-infra/src/entities/user_profile.rs b/frontend/rust-lib/flowy-user-infra/src/entities/user_profile.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/entities/user_profile.rs
rename to frontend/rust-lib/flowy-user-infra/src/entities/user_profile.rs
diff --git a/rust-lib/flowy-user-infra/src/errors.rs b/frontend/rust-lib/flowy-user-infra/src/errors.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/errors.rs
rename to frontend/rust-lib/flowy-user-infra/src/errors.rs
diff --git a/rust-lib/flowy-user-infra/src/lib.rs b/frontend/rust-lib/flowy-user-infra/src/lib.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/lib.rs
rename to frontend/rust-lib/flowy-user-infra/src/lib.rs
diff --git a/rust-lib/flowy-user-infra/src/parser/mod.rs b/frontend/rust-lib/flowy-user-infra/src/parser/mod.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/parser/mod.rs
rename to frontend/rust-lib/flowy-user-infra/src/parser/mod.rs
diff --git a/rust-lib/flowy-user-infra/src/parser/user_email.rs b/frontend/rust-lib/flowy-user-infra/src/parser/user_email.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/parser/user_email.rs
rename to frontend/rust-lib/flowy-user-infra/src/parser/user_email.rs
diff --git a/rust-lib/flowy-user-infra/src/parser/user_id.rs b/frontend/rust-lib/flowy-user-infra/src/parser/user_id.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/parser/user_id.rs
rename to frontend/rust-lib/flowy-user-infra/src/parser/user_id.rs
diff --git a/rust-lib/flowy-user-infra/src/parser/user_name.rs b/frontend/rust-lib/flowy-user-infra/src/parser/user_name.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/parser/user_name.rs
rename to frontend/rust-lib/flowy-user-infra/src/parser/user_name.rs
diff --git a/rust-lib/flowy-user-infra/src/parser/user_password.rs b/frontend/rust-lib/flowy-user-infra/src/parser/user_password.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/parser/user_password.rs
rename to frontend/rust-lib/flowy-user-infra/src/parser/user_password.rs
diff --git a/rust-lib/flowy-user-infra/src/parser/user_workspace.rs b/frontend/rust-lib/flowy-user-infra/src/parser/user_workspace.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/parser/user_workspace.rs
rename to frontend/rust-lib/flowy-user-infra/src/parser/user_workspace.rs
diff --git a/rust-lib/flowy-user-infra/src/protobuf/mod.rs b/frontend/rust-lib/flowy-user-infra/src/protobuf/mod.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/protobuf/mod.rs
rename to frontend/rust-lib/flowy-user-infra/src/protobuf/mod.rs
diff --git a/rust-lib/flowy-user-infra/src/protobuf/model/auth.rs b/frontend/rust-lib/flowy-user-infra/src/protobuf/model/auth.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/protobuf/model/auth.rs
rename to frontend/rust-lib/flowy-user-infra/src/protobuf/model/auth.rs
diff --git a/rust-lib/flowy-user-infra/src/protobuf/model/errors.rs b/frontend/rust-lib/flowy-user-infra/src/protobuf/model/errors.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/protobuf/model/errors.rs
rename to frontend/rust-lib/flowy-user-infra/src/protobuf/model/errors.rs
diff --git a/rust-lib/flowy-user-infra/src/protobuf/model/mod.rs b/frontend/rust-lib/flowy-user-infra/src/protobuf/model/mod.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/protobuf/model/mod.rs
rename to frontend/rust-lib/flowy-user-infra/src/protobuf/model/mod.rs
diff --git a/rust-lib/flowy-user-infra/src/protobuf/model/user_profile.rs b/frontend/rust-lib/flowy-user-infra/src/protobuf/model/user_profile.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/protobuf/model/user_profile.rs
rename to frontend/rust-lib/flowy-user-infra/src/protobuf/model/user_profile.rs
diff --git a/rust-lib/flowy-user-infra/src/protobuf/proto/auth.proto b/frontend/rust-lib/flowy-user-infra/src/protobuf/proto/auth.proto
similarity index 100%
rename from rust-lib/flowy-user-infra/src/protobuf/proto/auth.proto
rename to frontend/rust-lib/flowy-user-infra/src/protobuf/proto/auth.proto
diff --git a/rust-lib/flowy-user-infra/src/protobuf/proto/errors.proto b/frontend/rust-lib/flowy-user-infra/src/protobuf/proto/errors.proto
similarity index 100%
rename from rust-lib/flowy-user-infra/src/protobuf/proto/errors.proto
rename to frontend/rust-lib/flowy-user-infra/src/protobuf/proto/errors.proto
diff --git a/rust-lib/flowy-user-infra/src/protobuf/proto/user_profile.proto b/frontend/rust-lib/flowy-user-infra/src/protobuf/proto/user_profile.proto
similarity index 100%
rename from rust-lib/flowy-user-infra/src/protobuf/proto/user_profile.proto
rename to frontend/rust-lib/flowy-user-infra/src/protobuf/proto/user_profile.proto
diff --git a/rust-lib/flowy-user-infra/src/user_default.rs b/frontend/rust-lib/flowy-user-infra/src/user_default.rs
similarity index 100%
rename from rust-lib/flowy-user-infra/src/user_default.rs
rename to frontend/rust-lib/flowy-user-infra/src/user_default.rs
diff --git a/rust-lib/flowy-user/Cargo.toml b/frontend/rust-lib/flowy-user/Cargo.toml
similarity index 100%
rename from rust-lib/flowy-user/Cargo.toml
rename to frontend/rust-lib/flowy-user/Cargo.toml
diff --git a/rust-lib/flowy-user/Flowy.toml b/frontend/rust-lib/flowy-user/Flowy.toml
similarity index 100%
rename from rust-lib/flowy-user/Flowy.toml
rename to frontend/rust-lib/flowy-user/Flowy.toml
diff --git a/rust-lib/flowy-user/src/errors.rs b/frontend/rust-lib/flowy-user/src/errors.rs
similarity index 100%
rename from rust-lib/flowy-user/src/errors.rs
rename to frontend/rust-lib/flowy-user/src/errors.rs
diff --git a/rust-lib/flowy-user/src/event.rs b/frontend/rust-lib/flowy-user/src/event.rs
similarity index 100%
rename from rust-lib/flowy-user/src/event.rs
rename to frontend/rust-lib/flowy-user/src/event.rs
diff --git a/rust-lib/flowy-user/src/handlers/auth_handler.rs b/frontend/rust-lib/flowy-user/src/handlers/auth_handler.rs
similarity index 100%
rename from rust-lib/flowy-user/src/handlers/auth_handler.rs
rename to frontend/rust-lib/flowy-user/src/handlers/auth_handler.rs
diff --git a/rust-lib/flowy-user/src/handlers/mod.rs b/frontend/rust-lib/flowy-user/src/handlers/mod.rs
similarity index 100%
rename from rust-lib/flowy-user/src/handlers/mod.rs
rename to frontend/rust-lib/flowy-user/src/handlers/mod.rs
diff --git a/rust-lib/flowy-user/src/handlers/user_handler.rs b/frontend/rust-lib/flowy-user/src/handlers/user_handler.rs
similarity index 100%
rename from rust-lib/flowy-user/src/handlers/user_handler.rs
rename to frontend/rust-lib/flowy-user/src/handlers/user_handler.rs
diff --git a/rust-lib/flowy-user/src/lib.rs b/frontend/rust-lib/flowy-user/src/lib.rs
similarity index 100%
rename from rust-lib/flowy-user/src/lib.rs
rename to frontend/rust-lib/flowy-user/src/lib.rs
diff --git a/rust-lib/flowy-user/src/module.rs b/frontend/rust-lib/flowy-user/src/module.rs
similarity index 100%
rename from rust-lib/flowy-user/src/module.rs
rename to frontend/rust-lib/flowy-user/src/module.rs
diff --git a/rust-lib/flowy-user/src/notify/mod.rs b/frontend/rust-lib/flowy-user/src/notify/mod.rs
similarity index 100%
rename from rust-lib/flowy-user/src/notify/mod.rs
rename to frontend/rust-lib/flowy-user/src/notify/mod.rs
diff --git a/rust-lib/flowy-user/src/notify/observable.rs b/frontend/rust-lib/flowy-user/src/notify/observable.rs
similarity index 100%
rename from rust-lib/flowy-user/src/notify/observable.rs
rename to frontend/rust-lib/flowy-user/src/notify/observable.rs
diff --git a/rust-lib/flowy-user/src/protobuf/mod.rs b/frontend/rust-lib/flowy-user/src/protobuf/mod.rs
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/mod.rs
rename to frontend/rust-lib/flowy-user/src/protobuf/mod.rs
diff --git a/rust-lib/flowy-user/src/protobuf/model/auth.rs b/frontend/rust-lib/flowy-user/src/protobuf/model/auth.rs
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/model/auth.rs
rename to frontend/rust-lib/flowy-user/src/protobuf/model/auth.rs
diff --git a/rust-lib/flowy-user/src/protobuf/model/errors.rs b/frontend/rust-lib/flowy-user/src/protobuf/model/errors.rs
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/model/errors.rs
rename to frontend/rust-lib/flowy-user/src/protobuf/model/errors.rs
diff --git a/rust-lib/flowy-user/src/protobuf/model/event.rs b/frontend/rust-lib/flowy-user/src/protobuf/model/event.rs
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/model/event.rs
rename to frontend/rust-lib/flowy-user/src/protobuf/model/event.rs
diff --git a/rust-lib/flowy-user/src/protobuf/model/mod.rs b/frontend/rust-lib/flowy-user/src/protobuf/model/mod.rs
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/model/mod.rs
rename to frontend/rust-lib/flowy-user/src/protobuf/model/mod.rs
diff --git a/rust-lib/flowy-user/src/protobuf/model/observable.rs b/frontend/rust-lib/flowy-user/src/protobuf/model/observable.rs
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/model/observable.rs
rename to frontend/rust-lib/flowy-user/src/protobuf/model/observable.rs
diff --git a/rust-lib/flowy-user/src/protobuf/model/user_profile.rs b/frontend/rust-lib/flowy-user/src/protobuf/model/user_profile.rs
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/model/user_profile.rs
rename to frontend/rust-lib/flowy-user/src/protobuf/model/user_profile.rs
diff --git a/rust-lib/flowy-user/src/protobuf/model/user_table.rs b/frontend/rust-lib/flowy-user/src/protobuf/model/user_table.rs
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/model/user_table.rs
rename to frontend/rust-lib/flowy-user/src/protobuf/model/user_table.rs
diff --git a/rust-lib/flowy-user/src/protobuf/proto/auth.proto b/frontend/rust-lib/flowy-user/src/protobuf/proto/auth.proto
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/proto/auth.proto
rename to frontend/rust-lib/flowy-user/src/protobuf/proto/auth.proto
diff --git a/rust-lib/flowy-user/src/protobuf/proto/errors.proto b/frontend/rust-lib/flowy-user/src/protobuf/proto/errors.proto
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/proto/errors.proto
rename to frontend/rust-lib/flowy-user/src/protobuf/proto/errors.proto
diff --git a/rust-lib/flowy-user/src/protobuf/proto/event.proto b/frontend/rust-lib/flowy-user/src/protobuf/proto/event.proto
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/proto/event.proto
rename to frontend/rust-lib/flowy-user/src/protobuf/proto/event.proto
diff --git a/rust-lib/flowy-user/src/protobuf/proto/observable.proto b/frontend/rust-lib/flowy-user/src/protobuf/proto/observable.proto
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/proto/observable.proto
rename to frontend/rust-lib/flowy-user/src/protobuf/proto/observable.proto
diff --git a/rust-lib/flowy-user/src/protobuf/proto/user_profile.proto b/frontend/rust-lib/flowy-user/src/protobuf/proto/user_profile.proto
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/proto/user_profile.proto
rename to frontend/rust-lib/flowy-user/src/protobuf/proto/user_profile.proto
diff --git a/rust-lib/flowy-user/src/protobuf/proto/user_table.proto b/frontend/rust-lib/flowy-user/src/protobuf/proto/user_table.proto
similarity index 100%
rename from rust-lib/flowy-user/src/protobuf/proto/user_table.proto
rename to frontend/rust-lib/flowy-user/src/protobuf/proto/user_table.proto
diff --git a/rust-lib/flowy-user/src/services/mod.rs b/frontend/rust-lib/flowy-user/src/services/mod.rs
similarity index 100%
rename from rust-lib/flowy-user/src/services/mod.rs
rename to frontend/rust-lib/flowy-user/src/services/mod.rs
diff --git a/rust-lib/flowy-user/src/services/server/mod.rs b/frontend/rust-lib/flowy-user/src/services/server/mod.rs
similarity index 100%
rename from rust-lib/flowy-user/src/services/server/mod.rs
rename to frontend/rust-lib/flowy-user/src/services/server/mod.rs
diff --git a/rust-lib/flowy-user/src/services/server/server_api.rs b/frontend/rust-lib/flowy-user/src/services/server/server_api.rs
similarity index 100%
rename from rust-lib/flowy-user/src/services/server/server_api.rs
rename to frontend/rust-lib/flowy-user/src/services/server/server_api.rs
diff --git a/rust-lib/flowy-user/src/services/server/server_api_mock.rs b/frontend/rust-lib/flowy-user/src/services/server/server_api_mock.rs
similarity index 100%
rename from rust-lib/flowy-user/src/services/server/server_api_mock.rs
rename to frontend/rust-lib/flowy-user/src/services/server/server_api_mock.rs
diff --git a/rust-lib/flowy-user/src/services/user/builder.rs b/frontend/rust-lib/flowy-user/src/services/user/builder.rs
similarity index 100%
rename from rust-lib/flowy-user/src/services/user/builder.rs
rename to frontend/rust-lib/flowy-user/src/services/user/builder.rs
diff --git a/rust-lib/flowy-user/src/services/user/database.rs b/frontend/rust-lib/flowy-user/src/services/user/database.rs
similarity index 100%
rename from rust-lib/flowy-user/src/services/user/database.rs
rename to frontend/rust-lib/flowy-user/src/services/user/database.rs
diff --git a/rust-lib/flowy-user/src/services/user/mod.rs b/frontend/rust-lib/flowy-user/src/services/user/mod.rs
similarity index 100%
rename from rust-lib/flowy-user/src/services/user/mod.rs
rename to frontend/rust-lib/flowy-user/src/services/user/mod.rs
diff --git a/rust-lib/flowy-user/src/services/user/user_session.rs b/frontend/rust-lib/flowy-user/src/services/user/user_session.rs
similarity index 100%
rename from rust-lib/flowy-user/src/services/user/user_session.rs
rename to frontend/rust-lib/flowy-user/src/services/user/user_session.rs
diff --git a/rust-lib/flowy-user/src/sql_tables/mod.rs b/frontend/rust-lib/flowy-user/src/sql_tables/mod.rs
similarity index 100%
rename from rust-lib/flowy-user/src/sql_tables/mod.rs
rename to frontend/rust-lib/flowy-user/src/sql_tables/mod.rs
diff --git a/rust-lib/flowy-user/src/sql_tables/user.rs b/frontend/rust-lib/flowy-user/src/sql_tables/user.rs
similarity index 100%
rename from rust-lib/flowy-user/src/sql_tables/user.rs
rename to frontend/rust-lib/flowy-user/src/sql_tables/user.rs
diff --git a/rust-lib/flowy-user/tests/event/auth_test.rs b/frontend/rust-lib/flowy-user/tests/event/auth_test.rs
similarity index 100%
rename from rust-lib/flowy-user/tests/event/auth_test.rs
rename to frontend/rust-lib/flowy-user/tests/event/auth_test.rs
diff --git a/rust-lib/flowy-user/tests/event/helper.rs b/frontend/rust-lib/flowy-user/tests/event/helper.rs
similarity index 100%
rename from rust-lib/flowy-user/tests/event/helper.rs
rename to frontend/rust-lib/flowy-user/tests/event/helper.rs
diff --git a/rust-lib/flowy-user/tests/event/main.rs b/frontend/rust-lib/flowy-user/tests/event/main.rs
similarity index 100%
rename from rust-lib/flowy-user/tests/event/main.rs
rename to frontend/rust-lib/flowy-user/tests/event/main.rs
diff --git a/rust-lib/flowy-user/tests/event/user_profile_test.rs b/frontend/rust-lib/flowy-user/tests/event/user_profile_test.rs
similarity index 100%
rename from rust-lib/flowy-user/tests/event/user_profile_test.rs
rename to frontend/rust-lib/flowy-user/tests/event/user_profile_test.rs
diff --git a/rust-lib/flowy-workspace-infra/Cargo.toml b/frontend/rust-lib/flowy-workspace-infra/Cargo.toml
similarity index 100%
rename from rust-lib/flowy-workspace-infra/Cargo.toml
rename to frontend/rust-lib/flowy-workspace-infra/Cargo.toml
diff --git a/rust-lib/flowy-workspace-infra/Flowy.toml b/frontend/rust-lib/flowy-workspace-infra/Flowy.toml
similarity index 100%
rename from rust-lib/flowy-workspace-infra/Flowy.toml
rename to frontend/rust-lib/flowy-workspace-infra/Flowy.toml
diff --git a/rust-lib/flowy-workspace-infra/src/entities/app/app_create.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/app/app_create.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/app/app_create.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/app/app_create.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/app/app_query.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/app/app_query.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/app/app_query.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/app/app_query.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/app/app_update.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/app/app_update.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/app/app_update.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/app/app_update.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/app/mod.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/app/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/app/mod.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/app/mod.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/mod.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/mod.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/mod.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/share/export.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/share/export.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/share/export.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/share/export.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/share/mod.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/share/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/share/mod.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/share/mod.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/trash/mod.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/trash/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/trash/mod.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/trash/mod.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/trash/trash_create.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/trash/trash_create.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/trash/trash_create.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/trash/trash_create.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/view/mod.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/view/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/view/mod.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/view/mod.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/view/view_create.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/view/view_create.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/view/view_create.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/view/view_create.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/view/view_query.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/view/view_query.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/view/view_query.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/view/view_query.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/view/view_update.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/view/view_update.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/view/view_update.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/view/view_update.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/workspace/mod.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/workspace/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/workspace/mod.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/workspace/mod.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_create.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_create.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_create.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_create.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_query.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_query.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_query.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_query.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_setting.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_setting.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_setting.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_setting.rs
diff --git a/rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_update.rs b/frontend/rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_update.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_update.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/entities/workspace/workspace_update.rs
diff --git a/rust-lib/flowy-workspace-infra/src/errors.rs b/frontend/rust-lib/flowy-workspace-infra/src/errors.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/errors.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/errors.rs
diff --git a/rust-lib/flowy-workspace-infra/src/lib.rs b/frontend/rust-lib/flowy-workspace-infra/src/lib.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/lib.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/lib.rs
diff --git a/rust-lib/flowy-workspace-infra/src/macros.rs b/frontend/rust-lib/flowy-workspace-infra/src/macros.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/macros.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/macros.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/app/app_color_style.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/app/app_color_style.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/app/app_color_style.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/app/app_color_style.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/app/app_desc.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/app/app_desc.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/app/app_desc.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/app/app_desc.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/app/app_id.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/app/app_id.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/app/app_id.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/app/app_id.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/app/app_name.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/app/app_name.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/app/app_name.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/app/app_name.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/app/mod.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/app/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/app/mod.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/app/mod.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/mod.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/mod.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/mod.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/trash/mod.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/trash/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/trash/mod.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/trash/mod.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/trash/trash_id.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/trash/trash_id.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/trash/trash_id.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/trash/trash_id.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/view/delta_data.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/view/delta_data.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/view/delta_data.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/view/delta_data.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/view/mod.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/view/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/view/mod.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/view/mod.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/view/view_desc.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/view/view_desc.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/view/view_desc.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/view/view_desc.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/view/view_id.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/view/view_id.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/view/view_id.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/view/view_id.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/view/view_name.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/view/view_name.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/view/view_name.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/view/view_name.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/view/view_thumbnail.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/view/view_thumbnail.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/view/view_thumbnail.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/view/view_thumbnail.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/workspace/mod.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/workspace/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/workspace/mod.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/workspace/mod.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/workspace/workspace_desc.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/workspace/workspace_desc.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/workspace/workspace_desc.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/workspace/workspace_desc.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/workspace/workspace_id.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/workspace/workspace_id.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/workspace/workspace_id.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/workspace/workspace_id.rs
diff --git a/rust-lib/flowy-workspace-infra/src/parser/workspace/workspace_name.rs b/frontend/rust-lib/flowy-workspace-infra/src/parser/workspace/workspace_name.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/parser/workspace/workspace_name.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/parser/workspace/workspace_name.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/mod.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/mod.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/mod.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/app_create.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/app_create.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/app_create.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/app_create.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/app_query.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/app_query.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/app_query.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/app_query.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/app_update.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/app_update.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/app_update.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/app_update.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/errors.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/errors.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/errors.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/errors.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/export.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/export.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/export.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/export.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/mod.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/mod.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/mod.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/trash_create.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/trash_create.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/trash_create.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/trash_create.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/view_create.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/view_create.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/view_create.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/view_create.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/view_query.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/view_query.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/view_query.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/view_query.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/view_update.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/view_update.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/view_update.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/view_update.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_create.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_create.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_create.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_create.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_query.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_query.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_query.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_query.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_setting.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_setting.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_setting.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_setting.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_update.rs b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_update.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_update.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/model/workspace_update.rs
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/proto/app_create.proto b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/app_create.proto
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/proto/app_create.proto
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/app_create.proto
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/proto/app_query.proto b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/app_query.proto
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/proto/app_query.proto
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/app_query.proto
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/proto/app_update.proto b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/app_update.proto
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/proto/app_update.proto
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/app_update.proto
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/proto/errors.proto b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/errors.proto
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/proto/errors.proto
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/errors.proto
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/proto/export.proto b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/export.proto
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/proto/export.proto
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/export.proto
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/proto/trash_create.proto b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/trash_create.proto
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/proto/trash_create.proto
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/trash_create.proto
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/proto/view_create.proto b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/view_create.proto
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/proto/view_create.proto
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/view_create.proto
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/proto/view_query.proto b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/view_query.proto
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/proto/view_query.proto
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/view_query.proto
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/proto/view_update.proto b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/view_update.proto
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/proto/view_update.proto
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/view_update.proto
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_create.proto b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_create.proto
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_create.proto
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_create.proto
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_query.proto b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_query.proto
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_query.proto
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_query.proto
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_setting.proto b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_setting.proto
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_setting.proto
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_setting.proto
diff --git a/rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_update.proto b/frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_update.proto
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_update.proto
rename to frontend/rust-lib/flowy-workspace-infra/src/protobuf/proto/workspace_update.proto
diff --git a/rust-lib/flowy-workspace-infra/src/user_default.rs b/frontend/rust-lib/flowy-workspace-infra/src/user_default.rs
similarity index 100%
rename from rust-lib/flowy-workspace-infra/src/user_default.rs
rename to frontend/rust-lib/flowy-workspace-infra/src/user_default.rs
diff --git a/rust-lib/flowy-workspace/Cargo.toml b/frontend/rust-lib/flowy-workspace/Cargo.toml
similarity index 100%
rename from rust-lib/flowy-workspace/Cargo.toml
rename to frontend/rust-lib/flowy-workspace/Cargo.toml
diff --git a/rust-lib/flowy-workspace/Flowy.toml b/frontend/rust-lib/flowy-workspace/Flowy.toml
similarity index 100%
rename from rust-lib/flowy-workspace/Flowy.toml
rename to frontend/rust-lib/flowy-workspace/Flowy.toml
diff --git a/rust-lib/flowy-workspace/src/errors.rs b/frontend/rust-lib/flowy-workspace/src/errors.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/errors.rs
rename to frontend/rust-lib/flowy-workspace/src/errors.rs
diff --git a/rust-lib/flowy-workspace/src/event.rs b/frontend/rust-lib/flowy-workspace/src/event.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/event.rs
rename to frontend/rust-lib/flowy-workspace/src/event.rs
diff --git a/rust-lib/flowy-workspace/src/handlers/app_handler.rs b/frontend/rust-lib/flowy-workspace/src/handlers/app_handler.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/handlers/app_handler.rs
rename to frontend/rust-lib/flowy-workspace/src/handlers/app_handler.rs
diff --git a/rust-lib/flowy-workspace/src/handlers/mod.rs b/frontend/rust-lib/flowy-workspace/src/handlers/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/handlers/mod.rs
rename to frontend/rust-lib/flowy-workspace/src/handlers/mod.rs
diff --git a/rust-lib/flowy-workspace/src/handlers/trash_handler.rs b/frontend/rust-lib/flowy-workspace/src/handlers/trash_handler.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/handlers/trash_handler.rs
rename to frontend/rust-lib/flowy-workspace/src/handlers/trash_handler.rs
diff --git a/rust-lib/flowy-workspace/src/handlers/view_handler.rs b/frontend/rust-lib/flowy-workspace/src/handlers/view_handler.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/handlers/view_handler.rs
rename to frontend/rust-lib/flowy-workspace/src/handlers/view_handler.rs
diff --git a/rust-lib/flowy-workspace/src/handlers/workspace_handler.rs b/frontend/rust-lib/flowy-workspace/src/handlers/workspace_handler.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/handlers/workspace_handler.rs
rename to frontend/rust-lib/flowy-workspace/src/handlers/workspace_handler.rs
diff --git a/rust-lib/flowy-workspace/src/lib.rs b/frontend/rust-lib/flowy-workspace/src/lib.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/lib.rs
rename to frontend/rust-lib/flowy-workspace/src/lib.rs
diff --git a/rust-lib/flowy-workspace/src/macros.rs b/frontend/rust-lib/flowy-workspace/src/macros.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/macros.rs
rename to frontend/rust-lib/flowy-workspace/src/macros.rs
diff --git a/rust-lib/flowy-workspace/src/module.rs b/frontend/rust-lib/flowy-workspace/src/module.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/module.rs
rename to frontend/rust-lib/flowy-workspace/src/module.rs
diff --git a/rust-lib/flowy-workspace/src/notify/mod.rs b/frontend/rust-lib/flowy-workspace/src/notify/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/notify/mod.rs
rename to frontend/rust-lib/flowy-workspace/src/notify/mod.rs
diff --git a/rust-lib/flowy-workspace/src/notify/observable.rs b/frontend/rust-lib/flowy-workspace/src/notify/observable.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/notify/observable.rs
rename to frontend/rust-lib/flowy-workspace/src/notify/observable.rs
diff --git a/rust-lib/flowy-workspace/src/protobuf/mod.rs b/frontend/rust-lib/flowy-workspace/src/protobuf/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/protobuf/mod.rs
rename to frontend/rust-lib/flowy-workspace/src/protobuf/mod.rs
diff --git a/rust-lib/flowy-workspace/src/protobuf/model/errors.rs b/frontend/rust-lib/flowy-workspace/src/protobuf/model/errors.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/protobuf/model/errors.rs
rename to frontend/rust-lib/flowy-workspace/src/protobuf/model/errors.rs
diff --git a/rust-lib/flowy-workspace/src/protobuf/model/event.rs b/frontend/rust-lib/flowy-workspace/src/protobuf/model/event.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/protobuf/model/event.rs
rename to frontend/rust-lib/flowy-workspace/src/protobuf/model/event.rs
diff --git a/rust-lib/flowy-workspace/src/protobuf/model/mod.rs b/frontend/rust-lib/flowy-workspace/src/protobuf/model/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/protobuf/model/mod.rs
rename to frontend/rust-lib/flowy-workspace/src/protobuf/model/mod.rs
diff --git a/rust-lib/flowy-workspace/src/protobuf/model/observable.rs b/frontend/rust-lib/flowy-workspace/src/protobuf/model/observable.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/protobuf/model/observable.rs
rename to frontend/rust-lib/flowy-workspace/src/protobuf/model/observable.rs
diff --git a/rust-lib/flowy-workspace/src/protobuf/proto/errors.proto b/frontend/rust-lib/flowy-workspace/src/protobuf/proto/errors.proto
similarity index 100%
rename from rust-lib/flowy-workspace/src/protobuf/proto/errors.proto
rename to frontend/rust-lib/flowy-workspace/src/protobuf/proto/errors.proto
diff --git a/rust-lib/flowy-workspace/src/protobuf/proto/event.proto b/frontend/rust-lib/flowy-workspace/src/protobuf/proto/event.proto
similarity index 100%
rename from rust-lib/flowy-workspace/src/protobuf/proto/event.proto
rename to frontend/rust-lib/flowy-workspace/src/protobuf/proto/event.proto
diff --git a/rust-lib/flowy-workspace/src/protobuf/proto/observable.proto b/frontend/rust-lib/flowy-workspace/src/protobuf/proto/observable.proto
similarity index 100%
rename from rust-lib/flowy-workspace/src/protobuf/proto/observable.proto
rename to frontend/rust-lib/flowy-workspace/src/protobuf/proto/observable.proto
diff --git a/rust-lib/flowy-workspace/src/services/app_controller.rs b/frontend/rust-lib/flowy-workspace/src/services/app_controller.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/services/app_controller.rs
rename to frontend/rust-lib/flowy-workspace/src/services/app_controller.rs
diff --git a/rust-lib/flowy-workspace/src/services/database.rs b/frontend/rust-lib/flowy-workspace/src/services/database.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/services/database.rs
rename to frontend/rust-lib/flowy-workspace/src/services/database.rs
diff --git a/rust-lib/flowy-workspace/src/services/mod.rs b/frontend/rust-lib/flowy-workspace/src/services/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/services/mod.rs
rename to frontend/rust-lib/flowy-workspace/src/services/mod.rs
diff --git a/rust-lib/flowy-workspace/src/services/server/mod.rs b/frontend/rust-lib/flowy-workspace/src/services/server/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/services/server/mod.rs
rename to frontend/rust-lib/flowy-workspace/src/services/server/mod.rs
diff --git a/rust-lib/flowy-workspace/src/services/server/server_api.rs b/frontend/rust-lib/flowy-workspace/src/services/server/server_api.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/services/server/server_api.rs
rename to frontend/rust-lib/flowy-workspace/src/services/server/server_api.rs
diff --git a/rust-lib/flowy-workspace/src/services/server/server_api_mock.rs b/frontend/rust-lib/flowy-workspace/src/services/server/server_api_mock.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/services/server/server_api_mock.rs
rename to frontend/rust-lib/flowy-workspace/src/services/server/server_api_mock.rs
diff --git a/rust-lib/flowy-workspace/src/services/trash_can.rs b/frontend/rust-lib/flowy-workspace/src/services/trash_can.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/services/trash_can.rs
rename to frontend/rust-lib/flowy-workspace/src/services/trash_can.rs
diff --git a/rust-lib/flowy-workspace/src/services/view_controller.rs b/frontend/rust-lib/flowy-workspace/src/services/view_controller.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/services/view_controller.rs
rename to frontend/rust-lib/flowy-workspace/src/services/view_controller.rs
diff --git a/rust-lib/flowy-workspace/src/services/workspace_controller.rs b/frontend/rust-lib/flowy-workspace/src/services/workspace_controller.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/services/workspace_controller.rs
rename to frontend/rust-lib/flowy-workspace/src/services/workspace_controller.rs
diff --git a/rust-lib/flowy-workspace/src/sql_tables/app/app_sql.rs b/frontend/rust-lib/flowy-workspace/src/sql_tables/app/app_sql.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/sql_tables/app/app_sql.rs
rename to frontend/rust-lib/flowy-workspace/src/sql_tables/app/app_sql.rs
diff --git a/rust-lib/flowy-workspace/src/sql_tables/app/app_table.rs b/frontend/rust-lib/flowy-workspace/src/sql_tables/app/app_table.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/sql_tables/app/app_table.rs
rename to frontend/rust-lib/flowy-workspace/src/sql_tables/app/app_table.rs
diff --git a/rust-lib/flowy-workspace/src/sql_tables/app/mod.rs b/frontend/rust-lib/flowy-workspace/src/sql_tables/app/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/sql_tables/app/mod.rs
rename to frontend/rust-lib/flowy-workspace/src/sql_tables/app/mod.rs
diff --git a/rust-lib/flowy-workspace/src/sql_tables/mod.rs b/frontend/rust-lib/flowy-workspace/src/sql_tables/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/sql_tables/mod.rs
rename to frontend/rust-lib/flowy-workspace/src/sql_tables/mod.rs
diff --git a/rust-lib/flowy-workspace/src/sql_tables/trash/mod.rs b/frontend/rust-lib/flowy-workspace/src/sql_tables/trash/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/sql_tables/trash/mod.rs
rename to frontend/rust-lib/flowy-workspace/src/sql_tables/trash/mod.rs
diff --git a/rust-lib/flowy-workspace/src/sql_tables/trash/trash_sql.rs b/frontend/rust-lib/flowy-workspace/src/sql_tables/trash/trash_sql.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/sql_tables/trash/trash_sql.rs
rename to frontend/rust-lib/flowy-workspace/src/sql_tables/trash/trash_sql.rs
diff --git a/rust-lib/flowy-workspace/src/sql_tables/trash/trash_table.rs b/frontend/rust-lib/flowy-workspace/src/sql_tables/trash/trash_table.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/sql_tables/trash/trash_table.rs
rename to frontend/rust-lib/flowy-workspace/src/sql_tables/trash/trash_table.rs
diff --git a/rust-lib/flowy-workspace/src/sql_tables/view/mod.rs b/frontend/rust-lib/flowy-workspace/src/sql_tables/view/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/sql_tables/view/mod.rs
rename to frontend/rust-lib/flowy-workspace/src/sql_tables/view/mod.rs
diff --git a/rust-lib/flowy-workspace/src/sql_tables/view/view_sql.rs b/frontend/rust-lib/flowy-workspace/src/sql_tables/view/view_sql.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/sql_tables/view/view_sql.rs
rename to frontend/rust-lib/flowy-workspace/src/sql_tables/view/view_sql.rs
diff --git a/rust-lib/flowy-workspace/src/sql_tables/view/view_table.rs b/frontend/rust-lib/flowy-workspace/src/sql_tables/view/view_table.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/sql_tables/view/view_table.rs
rename to frontend/rust-lib/flowy-workspace/src/sql_tables/view/view_table.rs
diff --git a/rust-lib/flowy-workspace/src/sql_tables/workspace/mod.rs b/frontend/rust-lib/flowy-workspace/src/sql_tables/workspace/mod.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/sql_tables/workspace/mod.rs
rename to frontend/rust-lib/flowy-workspace/src/sql_tables/workspace/mod.rs
diff --git a/rust-lib/flowy-workspace/src/sql_tables/workspace/workspace_sql.rs b/frontend/rust-lib/flowy-workspace/src/sql_tables/workspace/workspace_sql.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/sql_tables/workspace/workspace_sql.rs
rename to frontend/rust-lib/flowy-workspace/src/sql_tables/workspace/workspace_sql.rs
diff --git a/rust-lib/flowy-workspace/src/sql_tables/workspace/workspace_table.rs b/frontend/rust-lib/flowy-workspace/src/sql_tables/workspace/workspace_table.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/sql_tables/workspace/workspace_table.rs
rename to frontend/rust-lib/flowy-workspace/src/sql_tables/workspace/workspace_table.rs
diff --git a/rust-lib/flowy-workspace/src/util.rs b/frontend/rust-lib/flowy-workspace/src/util.rs
similarity index 100%
rename from rust-lib/flowy-workspace/src/util.rs
rename to frontend/rust-lib/flowy-workspace/src/util.rs
diff --git a/rust-lib/flowy-workspace/tests/workspace/app_test.rs b/frontend/rust-lib/flowy-workspace/tests/workspace/app_test.rs
similarity index 100%
rename from rust-lib/flowy-workspace/tests/workspace/app_test.rs
rename to frontend/rust-lib/flowy-workspace/tests/workspace/app_test.rs
diff --git a/rust-lib/flowy-workspace/tests/workspace/main.rs b/frontend/rust-lib/flowy-workspace/tests/workspace/main.rs
similarity index 100%
rename from rust-lib/flowy-workspace/tests/workspace/main.rs
rename to frontend/rust-lib/flowy-workspace/tests/workspace/main.rs
diff --git a/rust-lib/flowy-workspace/tests/workspace/view_test.rs b/frontend/rust-lib/flowy-workspace/tests/workspace/view_test.rs
similarity index 100%
rename from rust-lib/flowy-workspace/tests/workspace/view_test.rs
rename to frontend/rust-lib/flowy-workspace/tests/workspace/view_test.rs
diff --git a/rust-lib/flowy-workspace/tests/workspace/workspace_test.rs b/frontend/rust-lib/flowy-workspace/tests/workspace/workspace_test.rs
similarity index 100%
rename from rust-lib/flowy-workspace/tests/workspace/workspace_test.rs
rename to frontend/rust-lib/flowy-workspace/tests/workspace/workspace_test.rs
diff --git a/rust-lib/lib-dispatch/Cargo.toml b/frontend/rust-lib/lib-dispatch/Cargo.toml
similarity index 100%
rename from rust-lib/lib-dispatch/Cargo.toml
rename to frontend/rust-lib/lib-dispatch/Cargo.toml
diff --git a/rust-lib/lib-dispatch/src/byte_trait.rs b/frontend/rust-lib/lib-dispatch/src/byte_trait.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/byte_trait.rs
rename to frontend/rust-lib/lib-dispatch/src/byte_trait.rs
diff --git a/rust-lib/lib-dispatch/src/data.rs b/frontend/rust-lib/lib-dispatch/src/data.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/data.rs
rename to frontend/rust-lib/lib-dispatch/src/data.rs
diff --git a/rust-lib/lib-dispatch/src/dispatch.rs b/frontend/rust-lib/lib-dispatch/src/dispatch.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/dispatch.rs
rename to frontend/rust-lib/lib-dispatch/src/dispatch.rs
diff --git a/rust-lib/lib-dispatch/src/errors/errors.rs b/frontend/rust-lib/lib-dispatch/src/errors/errors.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/errors/errors.rs
rename to frontend/rust-lib/lib-dispatch/src/errors/errors.rs
diff --git a/rust-lib/lib-dispatch/src/errors/mod.rs b/frontend/rust-lib/lib-dispatch/src/errors/mod.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/errors/mod.rs
rename to frontend/rust-lib/lib-dispatch/src/errors/mod.rs
diff --git a/rust-lib/lib-dispatch/src/lib.rs b/frontend/rust-lib/lib-dispatch/src/lib.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/lib.rs
rename to frontend/rust-lib/lib-dispatch/src/lib.rs
diff --git a/rust-lib/lib-dispatch/src/macros.rs b/frontend/rust-lib/lib-dispatch/src/macros.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/macros.rs
rename to frontend/rust-lib/lib-dispatch/src/macros.rs
diff --git a/rust-lib/lib-dispatch/src/module/container.rs b/frontend/rust-lib/lib-dispatch/src/module/container.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/module/container.rs
rename to frontend/rust-lib/lib-dispatch/src/module/container.rs
diff --git a/rust-lib/lib-dispatch/src/module/data.rs b/frontend/rust-lib/lib-dispatch/src/module/data.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/module/data.rs
rename to frontend/rust-lib/lib-dispatch/src/module/data.rs
diff --git a/rust-lib/lib-dispatch/src/module/mod.rs b/frontend/rust-lib/lib-dispatch/src/module/mod.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/module/mod.rs
rename to frontend/rust-lib/lib-dispatch/src/module/mod.rs
diff --git a/rust-lib/lib-dispatch/src/module/module.rs b/frontend/rust-lib/lib-dispatch/src/module/module.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/module/module.rs
rename to frontend/rust-lib/lib-dispatch/src/module/module.rs
diff --git a/rust-lib/lib-dispatch/src/request/mod.rs b/frontend/rust-lib/lib-dispatch/src/request/mod.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/request/mod.rs
rename to frontend/rust-lib/lib-dispatch/src/request/mod.rs
diff --git a/rust-lib/lib-dispatch/src/request/payload.rs b/frontend/rust-lib/lib-dispatch/src/request/payload.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/request/payload.rs
rename to frontend/rust-lib/lib-dispatch/src/request/payload.rs
diff --git a/rust-lib/lib-dispatch/src/request/request.rs b/frontend/rust-lib/lib-dispatch/src/request/request.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/request/request.rs
rename to frontend/rust-lib/lib-dispatch/src/request/request.rs
diff --git a/rust-lib/lib-dispatch/src/response/builder.rs b/frontend/rust-lib/lib-dispatch/src/response/builder.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/response/builder.rs
rename to frontend/rust-lib/lib-dispatch/src/response/builder.rs
diff --git a/rust-lib/lib-dispatch/src/response/mod.rs b/frontend/rust-lib/lib-dispatch/src/response/mod.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/response/mod.rs
rename to frontend/rust-lib/lib-dispatch/src/response/mod.rs
diff --git a/rust-lib/lib-dispatch/src/response/responder.rs b/frontend/rust-lib/lib-dispatch/src/response/responder.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/response/responder.rs
rename to frontend/rust-lib/lib-dispatch/src/response/responder.rs
diff --git a/rust-lib/lib-dispatch/src/response/response.rs b/frontend/rust-lib/lib-dispatch/src/response/response.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/response/response.rs
rename to frontend/rust-lib/lib-dispatch/src/response/response.rs
diff --git a/rust-lib/lib-dispatch/src/service/boxed.rs b/frontend/rust-lib/lib-dispatch/src/service/boxed.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/service/boxed.rs
rename to frontend/rust-lib/lib-dispatch/src/service/boxed.rs
diff --git a/rust-lib/lib-dispatch/src/service/handler.rs b/frontend/rust-lib/lib-dispatch/src/service/handler.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/service/handler.rs
rename to frontend/rust-lib/lib-dispatch/src/service/handler.rs
diff --git a/rust-lib/lib-dispatch/src/service/mod.rs b/frontend/rust-lib/lib-dispatch/src/service/mod.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/service/mod.rs
rename to frontend/rust-lib/lib-dispatch/src/service/mod.rs
diff --git a/rust-lib/lib-dispatch/src/service/service.rs b/frontend/rust-lib/lib-dispatch/src/service/service.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/service/service.rs
rename to frontend/rust-lib/lib-dispatch/src/service/service.rs
diff --git a/rust-lib/lib-dispatch/src/system.rs b/frontend/rust-lib/lib-dispatch/src/system.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/system.rs
rename to frontend/rust-lib/lib-dispatch/src/system.rs
diff --git a/rust-lib/lib-dispatch/src/util/mod.rs b/frontend/rust-lib/lib-dispatch/src/util/mod.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/util/mod.rs
rename to frontend/rust-lib/lib-dispatch/src/util/mod.rs
diff --git a/rust-lib/lib-dispatch/src/util/ready.rs b/frontend/rust-lib/lib-dispatch/src/util/ready.rs
similarity index 100%
rename from rust-lib/lib-dispatch/src/util/ready.rs
rename to frontend/rust-lib/lib-dispatch/src/util/ready.rs
diff --git a/rust-lib/lib-dispatch/tests/api/main.rs b/frontend/rust-lib/lib-dispatch/tests/api/main.rs
similarity index 100%
rename from rust-lib/lib-dispatch/tests/api/main.rs
rename to frontend/rust-lib/lib-dispatch/tests/api/main.rs
diff --git a/rust-lib/lib-dispatch/tests/api/module.rs b/frontend/rust-lib/lib-dispatch/tests/api/module.rs
similarity index 100%
rename from rust-lib/lib-dispatch/tests/api/module.rs
rename to frontend/rust-lib/lib-dispatch/tests/api/module.rs
diff --git a/rust-lib/lib-infra/Cargo.toml b/frontend/rust-lib/lib-infra/Cargo.toml
similarity index 100%
rename from rust-lib/lib-infra/Cargo.toml
rename to frontend/rust-lib/lib-infra/Cargo.toml
diff --git a/rust-lib/lib-infra/Flowy.toml b/frontend/rust-lib/lib-infra/Flowy.toml
similarity index 100%
rename from rust-lib/lib-infra/Flowy.toml
rename to frontend/rust-lib/lib-infra/Flowy.toml
diff --git a/rust-lib/lib-infra/src/future.rs b/frontend/rust-lib/lib-infra/src/future.rs
similarity index 100%
rename from rust-lib/lib-infra/src/future.rs
rename to frontend/rust-lib/lib-infra/src/future.rs
diff --git a/rust-lib/lib-infra/src/kv/kv.rs b/frontend/rust-lib/lib-infra/src/kv/kv.rs
similarity index 100%
rename from rust-lib/lib-infra/src/kv/kv.rs
rename to frontend/rust-lib/lib-infra/src/kv/kv.rs
diff --git a/rust-lib/lib-infra/src/kv/mod.rs b/frontend/rust-lib/lib-infra/src/kv/mod.rs
similarity index 100%
rename from rust-lib/lib-infra/src/kv/mod.rs
rename to frontend/rust-lib/lib-infra/src/kv/mod.rs
diff --git a/rust-lib/lib-infra/src/kv/schema.rs b/frontend/rust-lib/lib-infra/src/kv/schema.rs
similarity index 100%
rename from rust-lib/lib-infra/src/kv/schema.rs
rename to frontend/rust-lib/lib-infra/src/kv/schema.rs
diff --git a/rust-lib/lib-infra/src/lib.rs b/frontend/rust-lib/lib-infra/src/lib.rs
similarity index 100%
rename from rust-lib/lib-infra/src/lib.rs
rename to frontend/rust-lib/lib-infra/src/lib.rs
diff --git a/rust-lib/lib-infra/src/protobuf/mod.rs b/frontend/rust-lib/lib-infra/src/protobuf/mod.rs
similarity index 100%
rename from rust-lib/lib-infra/src/protobuf/mod.rs
rename to frontend/rust-lib/lib-infra/src/protobuf/mod.rs
diff --git a/rust-lib/lib-infra/src/protobuf/model/kv.rs b/frontend/rust-lib/lib-infra/src/protobuf/model/kv.rs
similarity index 100%
rename from rust-lib/lib-infra/src/protobuf/model/kv.rs
rename to frontend/rust-lib/lib-infra/src/protobuf/model/kv.rs
diff --git a/rust-lib/lib-infra/src/protobuf/model/mod.rs b/frontend/rust-lib/lib-infra/src/protobuf/model/mod.rs
similarity index 100%
rename from rust-lib/lib-infra/src/protobuf/model/mod.rs
rename to frontend/rust-lib/lib-infra/src/protobuf/model/mod.rs
diff --git a/rust-lib/lib-infra/src/protobuf/proto/kv.proto b/frontend/rust-lib/lib-infra/src/protobuf/proto/kv.proto
similarity index 100%
rename from rust-lib/lib-infra/src/protobuf/proto/kv.proto
rename to frontend/rust-lib/lib-infra/src/protobuf/proto/kv.proto
diff --git a/rust-lib/lib-infra/src/retry/future.rs b/frontend/rust-lib/lib-infra/src/retry/future.rs
similarity index 100%
rename from rust-lib/lib-infra/src/retry/future.rs
rename to frontend/rust-lib/lib-infra/src/retry/future.rs
diff --git a/rust-lib/lib-infra/src/retry/mod.rs b/frontend/rust-lib/lib-infra/src/retry/mod.rs
similarity index 100%
rename from rust-lib/lib-infra/src/retry/mod.rs
rename to frontend/rust-lib/lib-infra/src/retry/mod.rs
diff --git a/rust-lib/lib-infra/src/retry/strategy/exponential_backoff.rs b/frontend/rust-lib/lib-infra/src/retry/strategy/exponential_backoff.rs
similarity index 100%
rename from rust-lib/lib-infra/src/retry/strategy/exponential_backoff.rs
rename to frontend/rust-lib/lib-infra/src/retry/strategy/exponential_backoff.rs
diff --git a/rust-lib/lib-infra/src/retry/strategy/fixed_interval.rs b/frontend/rust-lib/lib-infra/src/retry/strategy/fixed_interval.rs
similarity index 100%
rename from rust-lib/lib-infra/src/retry/strategy/fixed_interval.rs
rename to frontend/rust-lib/lib-infra/src/retry/strategy/fixed_interval.rs
diff --git a/rust-lib/lib-infra/src/retry/strategy/jitter.rs b/frontend/rust-lib/lib-infra/src/retry/strategy/jitter.rs
similarity index 100%
rename from rust-lib/lib-infra/src/retry/strategy/jitter.rs
rename to frontend/rust-lib/lib-infra/src/retry/strategy/jitter.rs
diff --git a/rust-lib/lib-infra/src/retry/strategy/mod.rs b/frontend/rust-lib/lib-infra/src/retry/strategy/mod.rs
similarity index 100%
rename from rust-lib/lib-infra/src/retry/strategy/mod.rs
rename to frontend/rust-lib/lib-infra/src/retry/strategy/mod.rs
diff --git a/rust-lib/lib-log/Cargo.toml b/frontend/rust-lib/lib-log/Cargo.toml
similarity index 100%
rename from rust-lib/lib-log/Cargo.toml
rename to frontend/rust-lib/lib-log/Cargo.toml
diff --git a/rust-lib/lib-log/flowy_log_test.2021-11-09 b/frontend/rust-lib/lib-log/flowy_log_test.2021-11-09
similarity index 100%
rename from rust-lib/lib-log/flowy_log_test.2021-11-09
rename to frontend/rust-lib/lib-log/flowy_log_test.2021-11-09
diff --git a/rust-lib/lib-log/src/layer.rs b/frontend/rust-lib/lib-log/src/layer.rs
similarity index 100%
rename from rust-lib/lib-log/src/layer.rs
rename to frontend/rust-lib/lib-log/src/layer.rs
diff --git a/rust-lib/lib-log/src/lib.rs b/frontend/rust-lib/lib-log/src/lib.rs
similarity index 100%
rename from rust-lib/lib-log/src/lib.rs
rename to frontend/rust-lib/lib-log/src/lib.rs
diff --git a/rust-lib/lib-ot/Cargo.toml b/frontend/rust-lib/lib-ot/Cargo.toml
similarity index 100%
rename from rust-lib/lib-ot/Cargo.toml
rename to frontend/rust-lib/lib-ot/Cargo.toml
diff --git a/rust-lib/lib-ot/src/core/attributes/attribute.rs b/frontend/rust-lib/lib-ot/src/core/attributes/attribute.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/attributes/attribute.rs
rename to frontend/rust-lib/lib-ot/src/core/attributes/attribute.rs
diff --git a/rust-lib/lib-ot/src/core/attributes/attributes.rs b/frontend/rust-lib/lib-ot/src/core/attributes/attributes.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/attributes/attributes.rs
rename to frontend/rust-lib/lib-ot/src/core/attributes/attributes.rs
diff --git a/rust-lib/lib-ot/src/core/attributes/attributes_serde.rs b/frontend/rust-lib/lib-ot/src/core/attributes/attributes_serde.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/attributes/attributes_serde.rs
rename to frontend/rust-lib/lib-ot/src/core/attributes/attributes_serde.rs
diff --git a/rust-lib/lib-ot/src/core/attributes/builder.rs b/frontend/rust-lib/lib-ot/src/core/attributes/builder.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/attributes/builder.rs
rename to frontend/rust-lib/lib-ot/src/core/attributes/builder.rs
diff --git a/rust-lib/lib-ot/src/core/attributes/macros.rs b/frontend/rust-lib/lib-ot/src/core/attributes/macros.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/attributes/macros.rs
rename to frontend/rust-lib/lib-ot/src/core/attributes/macros.rs
diff --git a/rust-lib/lib-ot/src/core/attributes/mod.rs b/frontend/rust-lib/lib-ot/src/core/attributes/mod.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/attributes/mod.rs
rename to frontend/rust-lib/lib-ot/src/core/attributes/mod.rs
diff --git a/rust-lib/lib-ot/src/core/delta/builder.rs b/frontend/rust-lib/lib-ot/src/core/delta/builder.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/delta/builder.rs
rename to frontend/rust-lib/lib-ot/src/core/delta/builder.rs
diff --git a/rust-lib/lib-ot/src/core/delta/cursor.rs b/frontend/rust-lib/lib-ot/src/core/delta/cursor.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/delta/cursor.rs
rename to frontend/rust-lib/lib-ot/src/core/delta/cursor.rs
diff --git a/rust-lib/lib-ot/src/core/delta/delta.rs b/frontend/rust-lib/lib-ot/src/core/delta/delta.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/delta/delta.rs
rename to frontend/rust-lib/lib-ot/src/core/delta/delta.rs
diff --git a/rust-lib/lib-ot/src/core/delta/delta_serde.rs b/frontend/rust-lib/lib-ot/src/core/delta/delta_serde.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/delta/delta_serde.rs
rename to frontend/rust-lib/lib-ot/src/core/delta/delta_serde.rs
diff --git a/rust-lib/lib-ot/src/core/delta/iterator.rs b/frontend/rust-lib/lib-ot/src/core/delta/iterator.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/delta/iterator.rs
rename to frontend/rust-lib/lib-ot/src/core/delta/iterator.rs
diff --git a/rust-lib/lib-ot/src/core/delta/mod.rs b/frontend/rust-lib/lib-ot/src/core/delta/mod.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/delta/mod.rs
rename to frontend/rust-lib/lib-ot/src/core/delta/mod.rs
diff --git a/rust-lib/lib-ot/src/core/flowy_str.rs b/frontend/rust-lib/lib-ot/src/core/flowy_str.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/flowy_str.rs
rename to frontend/rust-lib/lib-ot/src/core/flowy_str.rs
diff --git a/rust-lib/lib-ot/src/core/interval.rs b/frontend/rust-lib/lib-ot/src/core/interval.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/interval.rs
rename to frontend/rust-lib/lib-ot/src/core/interval.rs
diff --git a/rust-lib/lib-ot/src/core/mod.rs b/frontend/rust-lib/lib-ot/src/core/mod.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/mod.rs
rename to frontend/rust-lib/lib-ot/src/core/mod.rs
diff --git a/rust-lib/lib-ot/src/core/operation/builder.rs b/frontend/rust-lib/lib-ot/src/core/operation/builder.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/operation/builder.rs
rename to frontend/rust-lib/lib-ot/src/core/operation/builder.rs
diff --git a/rust-lib/lib-ot/src/core/operation/mod.rs b/frontend/rust-lib/lib-ot/src/core/operation/mod.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/operation/mod.rs
rename to frontend/rust-lib/lib-ot/src/core/operation/mod.rs
diff --git a/rust-lib/lib-ot/src/core/operation/operation.rs b/frontend/rust-lib/lib-ot/src/core/operation/operation.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/operation/operation.rs
rename to frontend/rust-lib/lib-ot/src/core/operation/operation.rs
diff --git a/rust-lib/lib-ot/src/core/operation/operation_serde.rs b/frontend/rust-lib/lib-ot/src/core/operation/operation_serde.rs
similarity index 100%
rename from rust-lib/lib-ot/src/core/operation/operation_serde.rs
rename to frontend/rust-lib/lib-ot/src/core/operation/operation_serde.rs
diff --git a/rust-lib/lib-ot/src/errors.rs b/frontend/rust-lib/lib-ot/src/errors.rs
similarity index 100%
rename from rust-lib/lib-ot/src/errors.rs
rename to frontend/rust-lib/lib-ot/src/errors.rs
diff --git a/rust-lib/lib-ot/src/lib.rs b/frontend/rust-lib/lib-ot/src/lib.rs
similarity index 100%
rename from rust-lib/lib-ot/src/lib.rs
rename to frontend/rust-lib/lib-ot/src/lib.rs
diff --git a/rust-lib/lib-sqlite/Cargo.toml b/frontend/rust-lib/lib-sqlite/Cargo.toml
similarity index 100%
rename from rust-lib/lib-sqlite/Cargo.toml
rename to frontend/rust-lib/lib-sqlite/Cargo.toml
diff --git a/rust-lib/lib-sqlite/src/conn_ext.rs b/frontend/rust-lib/lib-sqlite/src/conn_ext.rs
similarity index 100%
rename from rust-lib/lib-sqlite/src/conn_ext.rs
rename to frontend/rust-lib/lib-sqlite/src/conn_ext.rs
diff --git a/rust-lib/lib-sqlite/src/database.rs b/frontend/rust-lib/lib-sqlite/src/database.rs
similarity index 100%
rename from rust-lib/lib-sqlite/src/database.rs
rename to frontend/rust-lib/lib-sqlite/src/database.rs
diff --git a/rust-lib/lib-sqlite/src/errors.rs b/frontend/rust-lib/lib-sqlite/src/errors.rs
similarity index 100%
rename from rust-lib/lib-sqlite/src/errors.rs
rename to frontend/rust-lib/lib-sqlite/src/errors.rs
diff --git a/rust-lib/lib-sqlite/src/lib.rs b/frontend/rust-lib/lib-sqlite/src/lib.rs
similarity index 100%
rename from rust-lib/lib-sqlite/src/lib.rs
rename to frontend/rust-lib/lib-sqlite/src/lib.rs
diff --git a/rust-lib/lib-sqlite/src/pool.rs b/frontend/rust-lib/lib-sqlite/src/pool.rs
similarity index 100%
rename from rust-lib/lib-sqlite/src/pool.rs
rename to frontend/rust-lib/lib-sqlite/src/pool.rs
diff --git a/rust-lib/lib-sqlite/src/pragma.rs b/frontend/rust-lib/lib-sqlite/src/pragma.rs
similarity index 100%
rename from rust-lib/lib-sqlite/src/pragma.rs
rename to frontend/rust-lib/lib-sqlite/src/pragma.rs
diff --git a/rust-lib/lib-ws/Cargo.toml b/frontend/rust-lib/lib-ws/Cargo.toml
similarity index 100%
rename from rust-lib/lib-ws/Cargo.toml
rename to frontend/rust-lib/lib-ws/Cargo.toml
diff --git a/rust-lib/lib-ws/Flowy.toml b/frontend/rust-lib/lib-ws/Flowy.toml
similarity index 100%
rename from rust-lib/lib-ws/Flowy.toml
rename to frontend/rust-lib/lib-ws/Flowy.toml
diff --git a/rust-lib/lib-ws/src/connect.rs b/frontend/rust-lib/lib-ws/src/connect.rs
similarity index 100%
rename from rust-lib/lib-ws/src/connect.rs
rename to frontend/rust-lib/lib-ws/src/connect.rs
diff --git a/rust-lib/lib-ws/src/errors.rs b/frontend/rust-lib/lib-ws/src/errors.rs
similarity index 100%
rename from rust-lib/lib-ws/src/errors.rs
rename to frontend/rust-lib/lib-ws/src/errors.rs
diff --git a/rust-lib/lib-ws/src/lib.rs b/frontend/rust-lib/lib-ws/src/lib.rs
similarity index 100%
rename from rust-lib/lib-ws/src/lib.rs
rename to frontend/rust-lib/lib-ws/src/lib.rs
diff --git a/rust-lib/lib-ws/src/msg.rs b/frontend/rust-lib/lib-ws/src/msg.rs
similarity index 100%
rename from rust-lib/lib-ws/src/msg.rs
rename to frontend/rust-lib/lib-ws/src/msg.rs
diff --git a/rust-lib/lib-ws/src/protobuf/mod.rs b/frontend/rust-lib/lib-ws/src/protobuf/mod.rs
similarity index 100%
rename from rust-lib/lib-ws/src/protobuf/mod.rs
rename to frontend/rust-lib/lib-ws/src/protobuf/mod.rs
diff --git a/rust-lib/lib-ws/src/protobuf/model/errors.rs b/frontend/rust-lib/lib-ws/src/protobuf/model/errors.rs
similarity index 100%
rename from rust-lib/lib-ws/src/protobuf/model/errors.rs
rename to frontend/rust-lib/lib-ws/src/protobuf/model/errors.rs
diff --git a/rust-lib/lib-ws/src/protobuf/model/mod.rs b/frontend/rust-lib/lib-ws/src/protobuf/model/mod.rs
similarity index 100%
rename from rust-lib/lib-ws/src/protobuf/model/mod.rs
rename to frontend/rust-lib/lib-ws/src/protobuf/model/mod.rs
diff --git a/rust-lib/lib-ws/src/protobuf/model/msg.rs b/frontend/rust-lib/lib-ws/src/protobuf/model/msg.rs
similarity index 100%
rename from rust-lib/lib-ws/src/protobuf/model/msg.rs
rename to frontend/rust-lib/lib-ws/src/protobuf/model/msg.rs
diff --git a/rust-lib/lib-ws/src/protobuf/proto/errors.proto b/frontend/rust-lib/lib-ws/src/protobuf/proto/errors.proto
similarity index 100%
rename from rust-lib/lib-ws/src/protobuf/proto/errors.proto
rename to frontend/rust-lib/lib-ws/src/protobuf/proto/errors.proto
diff --git a/rust-lib/lib-ws/src/protobuf/proto/msg.proto b/frontend/rust-lib/lib-ws/src/protobuf/proto/msg.proto
similarity index 100%
rename from rust-lib/lib-ws/src/protobuf/proto/msg.proto
rename to frontend/rust-lib/lib-ws/src/protobuf/proto/msg.proto
diff --git a/rust-lib/lib-ws/src/ws.rs b/frontend/rust-lib/lib-ws/src/ws.rs
similarity index 100%
rename from rust-lib/lib-ws/src/ws.rs
rename to frontend/rust-lib/lib-ws/src/ws.rs
diff --git a/rust-lib/rust-toolchain b/frontend/rust-lib/rust-toolchain
similarity index 100%
rename from rust-lib/rust-toolchain
rename to frontend/rust-lib/rust-toolchain
diff --git a/rust-lib/rustfmt.toml b/frontend/rust-lib/rustfmt.toml
similarity index 100%
rename from rust-lib/rustfmt.toml
rename to frontend/rust-lib/rustfmt.toml
diff --git a/scripts/build_sdk.sh b/frontend/scripts/build_sdk.sh
similarity index 100%
rename from scripts/build_sdk.sh
rename to frontend/scripts/build_sdk.sh
diff --git a/scripts/flowy-tool/.gitignore b/frontend/scripts/flowy-tool/.gitignore
similarity index 100%
rename from scripts/flowy-tool/.gitignore
rename to frontend/scripts/flowy-tool/.gitignore
diff --git a/scripts/flowy-tool/Cargo.toml b/frontend/scripts/flowy-tool/Cargo.toml
similarity index 100%
rename from scripts/flowy-tool/Cargo.toml
rename to frontend/scripts/flowy-tool/Cargo.toml
diff --git a/scripts/flowy-tool/src/config/mod.rs b/frontend/scripts/flowy-tool/src/config/mod.rs
similarity index 100%
rename from scripts/flowy-tool/src/config/mod.rs
rename to frontend/scripts/flowy-tool/src/config/mod.rs
diff --git a/scripts/flowy-tool/src/dart_event/dart_event.rs b/frontend/scripts/flowy-tool/src/dart_event/dart_event.rs
similarity index 100%
rename from scripts/flowy-tool/src/dart_event/dart_event.rs
rename to frontend/scripts/flowy-tool/src/dart_event/dart_event.rs
diff --git a/scripts/flowy-tool/src/dart_event/event_template.rs b/frontend/scripts/flowy-tool/src/dart_event/event_template.rs
similarity index 100%
rename from scripts/flowy-tool/src/dart_event/event_template.rs
rename to frontend/scripts/flowy-tool/src/dart_event/event_template.rs
diff --git a/scripts/flowy-tool/src/dart_event/event_template.tera b/frontend/scripts/flowy-tool/src/dart_event/event_template.tera
similarity index 100%
rename from scripts/flowy-tool/src/dart_event/event_template.tera
rename to frontend/scripts/flowy-tool/src/dart_event/event_template.tera
diff --git a/scripts/flowy-tool/src/dart_event/mod.rs b/frontend/scripts/flowy-tool/src/dart_event/mod.rs
similarity index 100%
rename from scripts/flowy-tool/src/dart_event/mod.rs
rename to frontend/scripts/flowy-tool/src/dart_event/mod.rs
diff --git a/scripts/flowy-tool/src/main.rs b/frontend/scripts/flowy-tool/src/main.rs
similarity index 100%
rename from scripts/flowy-tool/src/main.rs
rename to frontend/scripts/flowy-tool/src/main.rs
diff --git a/scripts/flowy-tool/src/proto/ast.rs b/frontend/scripts/flowy-tool/src/proto/ast.rs
similarity index 100%
rename from scripts/flowy-tool/src/proto/ast.rs
rename to frontend/scripts/flowy-tool/src/proto/ast.rs
diff --git a/scripts/flowy-tool/src/proto/builder.rs b/frontend/scripts/flowy-tool/src/proto/builder.rs
similarity index 100%
rename from scripts/flowy-tool/src/proto/builder.rs
rename to frontend/scripts/flowy-tool/src/proto/builder.rs
diff --git a/scripts/flowy-tool/src/proto/mod.rs b/frontend/scripts/flowy-tool/src/proto/mod.rs
similarity index 100%
rename from scripts/flowy-tool/src/proto/mod.rs
rename to frontend/scripts/flowy-tool/src/proto/mod.rs
diff --git a/scripts/flowy-tool/src/proto/proto_gen.rs b/frontend/scripts/flowy-tool/src/proto/proto_gen.rs
similarity index 100%
rename from scripts/flowy-tool/src/proto/proto_gen.rs
rename to frontend/scripts/flowy-tool/src/proto/proto_gen.rs
diff --git a/scripts/flowy-tool/src/proto/proto_info.rs b/frontend/scripts/flowy-tool/src/proto/proto_info.rs
similarity index 100%
rename from scripts/flowy-tool/src/proto/proto_info.rs
rename to frontend/scripts/flowy-tool/src/proto/proto_info.rs
diff --git a/scripts/flowy-tool/src/proto/template/derive_meta/derive_meta.rs b/frontend/scripts/flowy-tool/src/proto/template/derive_meta/derive_meta.rs
similarity index 100%
rename from scripts/flowy-tool/src/proto/template/derive_meta/derive_meta.rs
rename to frontend/scripts/flowy-tool/src/proto/template/derive_meta/derive_meta.rs
diff --git a/scripts/flowy-tool/src/proto/template/derive_meta/derive_meta.tera b/frontend/scripts/flowy-tool/src/proto/template/derive_meta/derive_meta.tera
similarity index 100%
rename from scripts/flowy-tool/src/proto/template/derive_meta/derive_meta.tera
rename to frontend/scripts/flowy-tool/src/proto/template/derive_meta/derive_meta.tera
diff --git a/scripts/flowy-tool/src/proto/template/derive_meta/mod.rs b/frontend/scripts/flowy-tool/src/proto/template/derive_meta/mod.rs
similarity index 100%
rename from scripts/flowy-tool/src/proto/template/derive_meta/mod.rs
rename to frontend/scripts/flowy-tool/src/proto/template/derive_meta/mod.rs
diff --git a/scripts/flowy-tool/src/proto/template/mod.rs b/frontend/scripts/flowy-tool/src/proto/template/mod.rs
similarity index 100%
rename from scripts/flowy-tool/src/proto/template/mod.rs
rename to frontend/scripts/flowy-tool/src/proto/template/mod.rs
diff --git a/scripts/flowy-tool/src/proto/template/proto_file/enum.tera b/frontend/scripts/flowy-tool/src/proto/template/proto_file/enum.tera
similarity index 100%
rename from scripts/flowy-tool/src/proto/template/proto_file/enum.tera
rename to frontend/scripts/flowy-tool/src/proto/template/proto_file/enum.tera
diff --git a/scripts/flowy-tool/src/proto/template/proto_file/enum_template.rs b/frontend/scripts/flowy-tool/src/proto/template/proto_file/enum_template.rs
similarity index 100%
rename from scripts/flowy-tool/src/proto/template/proto_file/enum_template.rs
rename to frontend/scripts/flowy-tool/src/proto/template/proto_file/enum_template.rs
diff --git a/scripts/flowy-tool/src/proto/template/proto_file/mod.rs b/frontend/scripts/flowy-tool/src/proto/template/proto_file/mod.rs
similarity index 100%
rename from scripts/flowy-tool/src/proto/template/proto_file/mod.rs
rename to frontend/scripts/flowy-tool/src/proto/template/proto_file/mod.rs
diff --git a/scripts/flowy-tool/src/proto/template/proto_file/struct.tera b/frontend/scripts/flowy-tool/src/proto/template/proto_file/struct.tera
similarity index 100%
rename from scripts/flowy-tool/src/proto/template/proto_file/struct.tera
rename to frontend/scripts/flowy-tool/src/proto/template/proto_file/struct.tera
diff --git a/scripts/flowy-tool/src/proto/template/proto_file/struct_template.rs b/frontend/scripts/flowy-tool/src/proto/template/proto_file/struct_template.rs
similarity index 100%
rename from scripts/flowy-tool/src/proto/template/proto_file/struct_template.rs
rename to frontend/scripts/flowy-tool/src/proto/template/proto_file/struct_template.rs
diff --git a/scripts/flowy-tool/src/util/crate_config.rs b/frontend/scripts/flowy-tool/src/util/crate_config.rs
similarity index 100%
rename from scripts/flowy-tool/src/util/crate_config.rs
rename to frontend/scripts/flowy-tool/src/util/crate_config.rs
diff --git a/scripts/flowy-tool/src/util/file.rs b/frontend/scripts/flowy-tool/src/util/file.rs
similarity index 100%
rename from scripts/flowy-tool/src/util/file.rs
rename to frontend/scripts/flowy-tool/src/util/file.rs
diff --git a/scripts/flowy-tool/src/util/mod.rs b/frontend/scripts/flowy-tool/src/util/mod.rs
similarity index 100%
rename from scripts/flowy-tool/src/util/mod.rs
rename to frontend/scripts/flowy-tool/src/util/mod.rs
diff --git a/scripts/makefile/desktop.toml b/frontend/scripts/makefile/desktop.toml
similarity index 97%
rename from scripts/makefile/desktop.toml
rename to frontend/scripts/makefile/desktop.toml
index 0293d67ee2..895de94a1d 100644
--- a/scripts/makefile/desktop.toml
+++ b/frontend/scripts/makefile/desktop.toml
@@ -34,6 +34,7 @@ private = true
script = [
"""
cd rust-lib/
+ echo cargo build --package=dart-ffi --target ${RUST_COMPILE_TARGET} --features=${FEATURES}
cargo build --package=dart-ffi --target ${RUST_COMPILE_TARGET} --features=${FEATURES}
cd ../
""",
@@ -69,6 +70,7 @@ private = true
script = [
"""
echo "🚀 🚀 🚀 Flowy-SDK(macOS) build success"
+
cp ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/target/${RUST_COMPILE_TARGET}/${BUILD_FLAG}/lib${CARGO_MAKE_CRATE_FS_NAME}.${SDK_EXT} \
${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/app_flowy/packages/flowy_sdk/${TARGET_OS}/lib${CARGO_MAKE_CRATE_FS_NAME}.${SDK_EXT}
diff --git a/scripts/makefile/docker.toml b/frontend/scripts/makefile/docker.toml
similarity index 100%
rename from scripts/makefile/docker.toml
rename to frontend/scripts/makefile/docker.toml
diff --git a/scripts/makefile/env.toml b/frontend/scripts/makefile/env.toml
similarity index 100%
rename from scripts/makefile/env.toml
rename to frontend/scripts/makefile/env.toml
diff --git a/scripts/makefile/flutter.toml b/frontend/scripts/makefile/flutter.toml
similarity index 100%
rename from scripts/makefile/flutter.toml
rename to frontend/scripts/makefile/flutter.toml
diff --git a/scripts/makefile/protobuf.toml b/frontend/scripts/makefile/protobuf.toml
similarity index 100%
rename from scripts/makefile/protobuf.toml
rename to frontend/scripts/makefile/protobuf.toml
diff --git a/scripts/makefile/tests.toml b/frontend/scripts/makefile/tests.toml
similarity index 100%
rename from scripts/makefile/tests.toml
rename to frontend/scripts/makefile/tests.toml