What every Halkyon app's shell needs, taken from Halkyon Learn's and set on halkyon_base's client: the instances a device keeps an account on, the first start's tiles and where an instance keeps people's data, the account switcher; signing in anonymously, with GitHub or an email code, switching person and the start screen; the gates that build an app's dependencies per instance and per person; and the sync service with its status, Settings card and banner. Texts of its own in English and German take the app's name; what only the app can say, it passes in. Fakes for apps' tests are in testing.dart. An instance's basics now name the app it serves (`app`, set by the host's configuration), and an app accepts only an instance of its own. SerialQueue and CoalescingRunner move into halkyon_core. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
12 lines
560 B
Dart
12 lines
560 B
Dart
/// Fakes of halkyon_app's boundaries, and a frame and dependencies built on
|
|
/// them, for an app's tests and this package's own: nothing here reaches a
|
|
/// server, the system's secure storage or the file system.
|
|
library;
|
|
|
|
export 'src/testing/fake_auth_gateway.dart';
|
|
export 'src/testing/fake_instance_checker.dart';
|
|
export 'src/testing/memory_instance_store.dart';
|
|
export 'src/testing/memory_pending_changes_store.dart';
|
|
export 'src/testing/memory_sign_in_addresses.dart';
|
|
export 'src/testing/memory_signed_out_mark.dart';
|
|
export 'src/testing/test_app.dart';
|