π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add typedefs to base
vishnukvmd9bb084d61078
diff --git a/mobile/packages/base/lib/ente_base.dart b/mobile/packages/base/lib/ente_base.dartindex 6f9e6961da..ed2182bd4d 100644--- a/mobile/packages/base/lib/ente_base.dart+++ b/mobile/packages/base/lib/ente_base.dart@@ -4,3 +4,5 @@ export 'models/database.dart';export 'models/key_attributes.dart';export 'models/key_gen_result.dart';export 'models/private_key_attributes.dart';++export 'typedefs.dart';diff --git a/mobile/packages/base/lib/typedefs.dart b/mobile/packages/base/lib/typedefs.dartnew file mode 100644index 0000000000..7a42a1fe5e--- /dev/null+++ b/mobile/packages/base/lib/typedefs.dart@@ -0,0 +1,7 @@+import 'dart:async';++typedef FutureVoidCallback = Future<void> Function();+typedef BoolCallBack = bool Function();+typedef FutureVoidCallbackParamStr = Future<void> Function(String);+typedef VoidCallbackParamStr = void Function(String);+typedef FutureOrVoidCallback = FutureOr<void> Function();