mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
16 lines
453 B
Dart
16 lines
453 B
Dart
import 'package:flowy_sdk/protobuf/flowy-user/protobuf.dart';
|
|
import 'package:flutter/widgets.dart';
|
|
|
|
import 'auth_state.dart';
|
|
|
|
abstract class ISplashAuth {
|
|
Future<AuthState> currentUserProfile();
|
|
}
|
|
|
|
abstract class IWelcomeRoute {
|
|
void pushSignInScreen(BuildContext context);
|
|
Future<void> pushWelcomeScreen(BuildContext context, UserProfile profile);
|
|
void pushHomeScreen(
|
|
BuildContext context, UserProfile profile, String workspaceId);
|
|
}
|