diff --git a/lib/src/generated/fai/v1/hub.pb.dart b/lib/src/generated/fai/v1/hub.pb.dart index d20fef6..dda413a 100644 --- a/lib/src/generated/fai/v1/hub.pb.dart +++ b/lib/src/generated/fai/v1/hub.pb.dart @@ -1230,6 +1230,7 @@ class FlowSummary extends $pb.GeneratedMessage { $core.String? name, $core.String? path, $fixnum.Int64? sizeBytes, + $core.Iterable<$core.String>? requiredCapabilities, }) { final $result = create(); if (name != null) { @@ -1241,6 +1242,9 @@ class FlowSummary extends $pb.GeneratedMessage { if (sizeBytes != null) { $result.sizeBytes = sizeBytes; } + if (requiredCapabilities != null) { + $result.requiredCapabilities.addAll(requiredCapabilities); + } return $result; } FlowSummary._() : super(); @@ -1251,6 +1255,7 @@ class FlowSummary extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'path') ..aInt64(3, _omitFieldNames ? '' : 'sizeBytes') + ..pPS(4, _omitFieldNames ? '' : 'requiredCapabilities') ..hasRequiredFields = false ; @@ -1297,6 +1302,13 @@ class FlowSummary extends $pb.GeneratedMessage { $core.bool hasSizeBytes() => $_has(2); @$pb.TagNumber(3) void clearSizeBytes() => $_clearField(3); + + /// Verbatim `use:` strings of every step in the flow, + /// deduplicated and sorted. Lets a GUI client decide whether + /// a flow is currently runnable (every entry resolves to an + /// installed module) without parsing the YAML itself. + @$pb.TagNumber(4) + $pb.PbList<$core.String> get requiredCapabilities => $_getList(3); } class RunSavedFlowRequest extends $pb.GeneratedMessage { diff --git a/lib/src/generated/fai/v1/hub.pbjson.dart b/lib/src/generated/fai/v1/hub.pbjson.dart index d557faf..7c991e3 100644 --- a/lib/src/generated/fai/v1/hub.pbjson.dart +++ b/lib/src/generated/fai/v1/hub.pbjson.dart @@ -339,13 +339,15 @@ const FlowSummary$json = { {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, {'1': 'path', '3': 2, '4': 1, '5': 9, '10': 'path'}, {'1': 'size_bytes', '3': 3, '4': 1, '5': 3, '10': 'sizeBytes'}, + {'1': 'required_capabilities', '3': 4, '4': 3, '5': 9, '10': 'requiredCapabilities'}, ], }; /// Descriptor for `FlowSummary`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List flowSummaryDescriptor = $convert.base64Decode( 'CgtGbG93U3VtbWFyeRISCgRuYW1lGAEgASgJUgRuYW1lEhIKBHBhdGgYAiABKAlSBHBhdGgSHQ' - 'oKc2l6ZV9ieXRlcxgDIAEoA1IJc2l6ZUJ5dGVz'); + 'oKc2l6ZV9ieXRlcxgDIAEoA1IJc2l6ZUJ5dGVzEjMKFXJlcXVpcmVkX2NhcGFiaWxpdGllcxgE' + 'IAMoCVIUcmVxdWlyZWRDYXBhYmlsaXRpZXM='); @$core.Deprecated('Use runSavedFlowRequestDescriptor instead') const RunSavedFlowRequest$json = { diff --git a/pubspec.yaml b/pubspec.yaml index 8b23a19..137aaba 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: fai_dart_sdk description: gRPC client SDK for the F∆I Platform hub. Used by F∆I Studio and Tier-3 domain apps. -version: 0.15.0 +version: 0.16.0 publish_to: 'none' repository: https://git.flemming.ws/fai/dart-sdk