mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
13 lines
383 B
Dart
13 lines
383 B
Dart
import 'package:flowy_sdk/protobuf/flowy-workspace/protobuf.dart';
|
|
import 'package:dartz/dartz.dart';
|
|
|
|
abstract class IApp {
|
|
Future<Either<List<View>, WorkspaceError>> getViews({required String appId});
|
|
|
|
Future<Either<View, WorkspaceError>> createView(
|
|
{required String appId,
|
|
required String name,
|
|
String? desc,
|
|
required ViewTypeIdentifier viewType});
|
|
}
|