From 1ee1f9c775f392f6c916c9bed0a634bff57ca658 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 15 Nov 2022 10:46:26 +0800 Subject: [PATCH] chore: fix ref --- .../lib/plugins/document/application/doc_bloc.dart | 2 +- .../lib/plugins/document/application/share_bloc.dart | 2 +- frontend/app_flowy/lib/plugins/document/document.dart | 2 +- frontend/app_flowy/lib/plugins/document/document_page.dart | 6 +++--- frontend/app_flowy/lib/startup/deps_resolver.dart | 2 +- frontend/app_flowy/lib/startup/tasks/load_plugin.dart | 2 +- .../app_flowy/test/bloc_test/home_test/app_bloc_test.dart | 4 ++-- .../app_flowy/test/bloc_test/home_test/home_bloc_test.dart | 4 ++-- .../app_flowy/test/bloc_test/home_test/trash_bloc_test.dart | 2 +- .../app_flowy/test/bloc_test/home_test/view_bloc_test.dart | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/frontend/app_flowy/lib/plugins/document/application/doc_bloc.dart b/frontend/app_flowy/lib/plugins/document/application/doc_bloc.dart index 585d4207b8..322f253447 100644 --- a/frontend/app_flowy/lib/plugins/document/application/doc_bloc.dart +++ b/frontend/app_flowy/lib/plugins/document/application/doc_bloc.dart @@ -1,7 +1,7 @@ import 'dart:convert'; import 'package:app_flowy/plugins/trash/application/trash_service.dart'; import 'package:app_flowy/workspace/application/view/view_listener.dart'; -import 'package:app_flowy/plugins/doc/application/doc_service.dart'; +import 'package:app_flowy/plugins/document/application/doc_service.dart'; import 'package:appflowy_editor/appflowy_editor.dart' show EditorState, Document, Transaction; import 'package:flowy_sdk/protobuf/flowy-folder/trash.pb.dart'; diff --git a/frontend/app_flowy/lib/plugins/document/application/share_bloc.dart b/frontend/app_flowy/lib/plugins/document/application/share_bloc.dart index eb18257988..c74cdb8471 100644 --- a/frontend/app_flowy/lib/plugins/document/application/share_bloc.dart +++ b/frontend/app_flowy/lib/plugins/document/application/share_bloc.dart @@ -1,6 +1,6 @@ import 'dart:convert'; import 'dart:io'; -import 'package:app_flowy/plugins/doc/application/share_service.dart'; +import 'package:app_flowy/plugins/document/application/share_service.dart'; import 'package:flowy_sdk/protobuf/flowy-document/entities.pb.dart'; import 'package:flowy_sdk/protobuf/flowy-folder/view.pb.dart'; import 'package:flowy_sdk/protobuf/flowy-error/errors.pb.dart'; diff --git a/frontend/app_flowy/lib/plugins/document/document.dart b/frontend/app_flowy/lib/plugins/document/document.dart index 189d3d7247..eec82cab5a 100644 --- a/frontend/app_flowy/lib/plugins/document/document.dart +++ b/frontend/app_flowy/lib/plugins/document/document.dart @@ -4,7 +4,7 @@ import 'package:app_flowy/generated/locale_keys.g.dart'; import 'package:app_flowy/plugins/util.dart'; import 'package:app_flowy/startup/plugin/plugin.dart'; import 'package:app_flowy/startup/startup.dart'; -import 'package:app_flowy/plugins/doc/application/share_bloc.dart'; +import 'package:app_flowy/plugins/document/application/share_bloc.dart'; import 'package:app_flowy/workspace/presentation/home/home_stack.dart'; import 'package:app_flowy/workspace/presentation/home/toast.dart'; import 'package:app_flowy/workspace/presentation/widgets/left_bar_item.dart'; diff --git a/frontend/app_flowy/lib/plugins/document/document_page.dart b/frontend/app_flowy/lib/plugins/document/document_page.dart index abdc3842e0..cc4b31f582 100644 --- a/frontend/app_flowy/lib/plugins/document/document_page.dart +++ b/frontend/app_flowy/lib/plugins/document/document_page.dart @@ -1,7 +1,7 @@ -import 'package:app_flowy/plugins/doc/editor_styles.dart'; -import 'package:app_flowy/plugins/doc/presentation/plugins/horizontal_rule_node_widget.dart'; +import 'package:app_flowy/plugins/document/editor_styles.dart'; +import 'package:app_flowy/plugins/document/presentation/plugins/horizontal_rule_node_widget.dart'; import 'package:app_flowy/startup/startup.dart'; -import 'package:app_flowy/plugins/doc/presentation/banner.dart'; +import 'package:app_flowy/plugins/document/presentation/banner.dart'; import 'package:appflowy_editor/appflowy_editor.dart'; import 'package:flowy_infra_ui/widget/error_page.dart'; import 'package:flowy_sdk/protobuf/flowy-folder/view.pb.dart'; diff --git a/frontend/app_flowy/lib/startup/deps_resolver.dart b/frontend/app_flowy/lib/startup/deps_resolver.dart index 1deaf508fd..9ea40681e0 100644 --- a/frontend/app_flowy/lib/startup/deps_resolver.dart +++ b/frontend/app_flowy/lib/startup/deps_resolver.dart @@ -2,7 +2,7 @@ import 'package:app_flowy/core/network_monitor.dart'; import 'package:app_flowy/user/application/user_listener.dart'; import 'package:app_flowy/user/application/user_service.dart'; import 'package:app_flowy/workspace/application/app/prelude.dart'; -import 'package:app_flowy/plugins/doc/application/prelude.dart'; +import 'package:app_flowy/plugins/document/application/prelude.dart'; import 'package:app_flowy/plugins/grid/application/prelude.dart'; import 'package:app_flowy/workspace/application/user/prelude.dart'; import 'package:app_flowy/workspace/application/workspace/prelude.dart'; diff --git a/frontend/app_flowy/lib/startup/tasks/load_plugin.dart b/frontend/app_flowy/lib/startup/tasks/load_plugin.dart index 5eabc18064..5ee25b2286 100644 --- a/frontend/app_flowy/lib/startup/tasks/load_plugin.dart +++ b/frontend/app_flowy/lib/startup/tasks/load_plugin.dart @@ -2,7 +2,7 @@ import 'package:app_flowy/startup/plugin/plugin.dart'; import 'package:app_flowy/startup/startup.dart'; import 'package:app_flowy/plugins/blank/blank.dart'; import 'package:app_flowy/plugins/board/board.dart'; -import 'package:app_flowy/plugins/doc/document.dart'; +import 'package:app_flowy/plugins/document/document.dart'; import 'package:app_flowy/plugins/grid/grid.dart'; import 'package:app_flowy/plugins/trash/trash.dart'; diff --git a/frontend/app_flowy/test/bloc_test/home_test/app_bloc_test.dart b/frontend/app_flowy/test/bloc_test/home_test/app_bloc_test.dart index 9a4e715355..c950b95939 100644 --- a/frontend/app_flowy/test/bloc_test/home_test/app_bloc_test.dart +++ b/frontend/app_flowy/test/bloc_test/home_test/app_bloc_test.dart @@ -1,7 +1,7 @@ import 'package:app_flowy/plugins/board/application/board_bloc.dart'; import 'package:app_flowy/plugins/board/board.dart'; -import 'package:app_flowy/plugins/doc/application/doc_bloc.dart'; -import 'package:app_flowy/plugins/doc/document.dart'; +import 'package:app_flowy/plugins/document/application/doc_bloc.dart'; +import 'package:app_flowy/plugins/document/document.dart'; import 'package:app_flowy/plugins/grid/application/grid_bloc.dart'; import 'package:app_flowy/plugins/grid/grid.dart'; import 'package:app_flowy/workspace/application/app/app_bloc.dart'; diff --git a/frontend/app_flowy/test/bloc_test/home_test/home_bloc_test.dart b/frontend/app_flowy/test/bloc_test/home_test/home_bloc_test.dart index 97a6f5f506..abd43a03b4 100644 --- a/frontend/app_flowy/test/bloc_test/home_test/home_bloc_test.dart +++ b/frontend/app_flowy/test/bloc_test/home_test/home_bloc_test.dart @@ -1,5 +1,5 @@ -import 'package:app_flowy/plugins/doc/application/doc_bloc.dart'; -import 'package:app_flowy/plugins/doc/document.dart'; +import 'package:app_flowy/plugins/document/application/doc_bloc.dart'; +import 'package:app_flowy/plugins/document/document.dart'; import 'package:app_flowy/workspace/application/app/app_bloc.dart'; import 'package:app_flowy/workspace/application/home/home_bloc.dart'; import 'package:bloc_test/bloc_test.dart'; diff --git a/frontend/app_flowy/test/bloc_test/home_test/trash_bloc_test.dart b/frontend/app_flowy/test/bloc_test/home_test/trash_bloc_test.dart index bebe459a52..41d226cd88 100644 --- a/frontend/app_flowy/test/bloc_test/home_test/trash_bloc_test.dart +++ b/frontend/app_flowy/test/bloc_test/home_test/trash_bloc_test.dart @@ -1,4 +1,4 @@ -import 'package:app_flowy/plugins/doc/document.dart'; +import 'package:app_flowy/plugins/document/document.dart'; import 'package:app_flowy/plugins/trash/application/trash_bloc.dart'; import 'package:app_flowy/workspace/application/app/app_bloc.dart'; import 'package:bloc_test/bloc_test.dart'; diff --git a/frontend/app_flowy/test/bloc_test/home_test/view_bloc_test.dart b/frontend/app_flowy/test/bloc_test/home_test/view_bloc_test.dart index b80e3e5282..a702d653cf 100644 --- a/frontend/app_flowy/test/bloc_test/home_test/view_bloc_test.dart +++ b/frontend/app_flowy/test/bloc_test/home_test/view_bloc_test.dart @@ -1,4 +1,4 @@ -import 'package:app_flowy/plugins/doc/document.dart'; +import 'package:app_flowy/plugins/document/document.dart'; import 'package:app_flowy/workspace/application/app/app_bloc.dart'; import 'package:app_flowy/workspace/application/view/view_bloc.dart'; import 'package:bloc_test/bloc_test.dart';