feat: listInvocationsFull — monitor payload incl. detachedEnabled
Some checks failed
Security / Security check (push) Failing after 1s
Some checks failed
Security / Security check (push) Failing after 1s
Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
ca9d8f2879
commit
d9ef3ecdb6
1 changed files with 7 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ typedef SubmitResponse = pb.SubmitResponse;
|
|||
typedef SubmitStreamEvent = pb.SubmitStreamEvent;
|
||||
typedef InvocationStatus = pb.InvocationStatus;
|
||||
typedef InvocationEntry = pb.InvocationEntry;
|
||||
typedef InvocationList = pb.InvocationList;
|
||||
|
||||
/// Typed client for the F∆I Hub gRPC surface. Construct once,
|
||||
/// reuse for the process lifetime, call [close] on shutdown.
|
||||
|
|
@ -958,6 +959,12 @@ class HubClient {
|
|||
return r.invocations;
|
||||
}
|
||||
|
||||
/// The full detached-runs monitor payload: tracked invocations
|
||||
/// plus [InvocationList.detachedEnabled], so a UI can distinguish
|
||||
/// "feature off" from "on, but no runs yet".
|
||||
Future<InvocationList> listInvocationsFull() =>
|
||||
_hub.listInvocations(Empty());
|
||||
|
||||
pb.SubmitRequest _buildSubmitRequest({
|
||||
required String flowYaml,
|
||||
required Map<String, String> textInputs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue