feat(watch): phone session projection to watch (#91-B)

This commit is contained in:
2026-07-25 17:43:09 +02:00
parent cf68a72403
commit d1c6076899
5 changed files with 1217 additions and 0 deletions

View File

@ -0,0 +1,20 @@
import 'package:watch_bridge_contract/watch_bridge_contract.dart';
abstract interface class WatchCommandIngress {
Future<WatchCommandAck> dispatch(WatchCommandEnvelope command);
}
abstract interface class WatchProjectionPublisher {
Future<void> publish(WatchSessionProjection projection);
}
abstract interface class WatchProjectionSource {
Stream<WatchSessionProjection> get projections;
Future<WatchSessionProjection> currentProjection();
Future<WatchSessionProjection> emitCurrentProjection();
}
abstract interface class WatchCompanionUseCases
implements WatchCommandIngress, WatchProjectionSource {}