feat: fai_dart_sdk scaffold

Dart package skeleton for the F∆I gRPC client. Used by F∆I
Studio (Tier-2) and Tier-3 domain apps (DigiScout / J∆I /
Scout). Public surface — HubClient, HubEndpoint — is committed
as a typed stub so downstream apps can compile against it
immediately. Generated proto bindings land in a follow-up
commit once the codegen step (planned: tools/generate.sh
wrapping protoc-gen-dart against ../fai_platform/proto) is
wired in.

Future Forgejo path: fai/dart-sdk.

dart analyze: clean. dart test: 4/4.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-05-05 14:19:39 +02:00
commit d405a6a9bd
9 changed files with 216 additions and 0 deletions

14
lib/fai_dart_sdk.dart Normal file
View file

@ -0,0 +1,14 @@
/// gRPC client for the FI Platform hub.
///
/// Provides a typed Dart wrapper around the hub's gRPC services
/// (Hub, HubAdmin) defined in `fai/platform`'s `proto/fai/v1/`
/// directory. Used by FI Studio and any Tier-3 Dart/Flutter
/// app (DigiScout, JI, Scout, ) that wants to talk to a hub.
///
/// Status (2026-05-05): scaffold only. Generated proto bindings
/// land in `lib/src/generated/` once the codegen step is wired
/// in (`tools/generate.sh`). Until then, [HubClient] is a stub
/// type that documents the intended surface.
library;
export 'src/hub_client.dart';