mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-30 12:31:08 +00:00
11 lines
396 B
Dart
11 lines
396 B
Dart
![]() |
import 'package:flowy_sdk/protobuf/flowy-editor/doc_create.pb.dart';
|
||
|
import 'package:dartz/dartz.dart';
|
||
|
import 'package:flowy_sdk/protobuf/flowy-editor/errors.pb.dart';
|
||
|
|
||
|
abstract class IDoc {
|
||
|
Future<Either<DocDescription, EditorError>> createDoc();
|
||
|
Future<Either<Doc, EditorError>> readDoc();
|
||
|
Future<Either<Unit, EditorError>> updateDoc();
|
||
|
Future<Either<Unit, EditorError>> closeDoc();
|
||
|
}
|