Compare commits

..

No commits in common. "408f0eb850027782e410d0bad015ec71d5ca6f83" and "51cdd6ea91b154052cd8130af332ea2205251105" have entirely different histories.

9 changed files with 81 additions and 164 deletions

View file

@ -434,9 +434,9 @@ class FileRef extends $pb.GeneratedMessage {
} }
/// Standard error shape for hub and module responses. /// Standard error shape for hub and module responses.
class ChainError extends $pb.GeneratedMessage { class FaiError extends $pb.GeneratedMessage {
factory ChainError({ factory FaiError({
ChainError_Code? code, FaiError_Code? code,
$core.String? message, $core.String? message,
$core.String? details, $core.String? details,
}) { }) {
@ -447,47 +447,47 @@ class ChainError extends $pb.GeneratedMessage {
return result; return result;
} }
ChainError._(); FaiError._();
factory ChainError.fromBuffer($core.List<$core.int> data, factory FaiError.fromBuffer($core.List<$core.int> data,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(data, registry); create()..mergeFromBuffer(data, registry);
factory ChainError.fromJson($core.String json, factory FaiError.fromJson($core.String json,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(json, registry); create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo( static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'ChainError', _omitMessageNames ? '' : 'FaiError',
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'), package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
createEmptyInstance: create) createEmptyInstance: create)
..aE<ChainError_Code>(1, _omitFieldNames ? '' : 'code', ..aE<FaiError_Code>(1, _omitFieldNames ? '' : 'code',
enumValues: ChainError_Code.values) enumValues: FaiError_Code.values)
..aOS(2, _omitFieldNames ? '' : 'message') ..aOS(2, _omitFieldNames ? '' : 'message')
..aOS(3, _omitFieldNames ? '' : 'details') ..aOS(3, _omitFieldNames ? '' : 'details')
..hasRequiredFields = false; ..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ChainError clone() => deepCopy(); FaiError clone() => deepCopy();
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ChainError copyWith(void Function(ChainError) updates) => FaiError copyWith(void Function(FaiError) updates) =>
super.copyWith((message) => updates(message as ChainError)) as ChainError; super.copyWith((message) => updates(message as FaiError)) as FaiError;
@$core.override @$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static ChainError create() => ChainError._(); static FaiError create() => FaiError._();
@$core.override @$core.override
ChainError createEmptyInstance() => create(); FaiError createEmptyInstance() => create();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static ChainError getDefault() => _defaultInstance ??= static FaiError getDefault() =>
$pb.GeneratedMessage.$_defaultFor<ChainError>(create); _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FaiError>(create);
static ChainError? _defaultInstance; static FaiError? _defaultInstance;
@$pb.TagNumber(1) @$pb.TagNumber(1)
ChainError_Code get code => $_getN(0); FaiError_Code get code => $_getN(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set code(ChainError_Code value) => $_setField(1, value); set code(FaiError_Code value) => $_setField(1, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasCode() => $_has(0); $core.bool hasCode() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)

View file

@ -14,23 +14,23 @@ import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
class ChainError_Code extends $pb.ProtobufEnum { class FaiError_Code extends $pb.ProtobufEnum {
static const ChainError_Code UNKNOWN = static const FaiError_Code UNKNOWN =
ChainError_Code._(0, _omitEnumNames ? '' : 'UNKNOWN'); FaiError_Code._(0, _omitEnumNames ? '' : 'UNKNOWN');
static const ChainError_Code INVALID_INPUT = static const FaiError_Code INVALID_INPUT =
ChainError_Code._(1, _omitEnumNames ? '' : 'INVALID_INPUT'); FaiError_Code._(1, _omitEnumNames ? '' : 'INVALID_INPUT');
static const ChainError_Code CAPABILITY_NOT_SUPPORTED = static const FaiError_Code CAPABILITY_NOT_SUPPORTED =
ChainError_Code._(2, _omitEnumNames ? '' : 'CAPABILITY_NOT_SUPPORTED'); FaiError_Code._(2, _omitEnumNames ? '' : 'CAPABILITY_NOT_SUPPORTED');
static const ChainError_Code PERMISSION_DENIED = static const FaiError_Code PERMISSION_DENIED =
ChainError_Code._(3, _omitEnumNames ? '' : 'PERMISSION_DENIED'); FaiError_Code._(3, _omitEnumNames ? '' : 'PERMISSION_DENIED');
static const ChainError_Code RESOURCE_EXHAUSTED = static const FaiError_Code RESOURCE_EXHAUSTED =
ChainError_Code._(4, _omitEnumNames ? '' : 'RESOURCE_EXHAUSTED'); FaiError_Code._(4, _omitEnumNames ? '' : 'RESOURCE_EXHAUSTED');
static const ChainError_Code DEADLINE_EXCEEDED = static const FaiError_Code DEADLINE_EXCEEDED =
ChainError_Code._(5, _omitEnumNames ? '' : 'DEADLINE_EXCEEDED'); FaiError_Code._(5, _omitEnumNames ? '' : 'DEADLINE_EXCEEDED');
static const ChainError_Code INTERNAL = static const FaiError_Code INTERNAL =
ChainError_Code._(6, _omitEnumNames ? '' : 'INTERNAL'); FaiError_Code._(6, _omitEnumNames ? '' : 'INTERNAL');
static const $core.List<ChainError_Code> values = <ChainError_Code>[ static const $core.List<FaiError_Code> values = <FaiError_Code>[
UNKNOWN, UNKNOWN,
INVALID_INPUT, INVALID_INPUT,
CAPABILITY_NOT_SUPPORTED, CAPABILITY_NOT_SUPPORTED,
@ -40,12 +40,12 @@ class ChainError_Code extends $pb.ProtobufEnum {
INTERNAL, INTERNAL,
]; ];
static final $core.List<ChainError_Code?> _byValue = static final $core.List<FaiError_Code?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 6); $pb.ProtobufEnum.$_initByValueList(values, 6);
static ChainError_Code? valueOf($core.int value) => static FaiError_Code? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value]; value < 0 || value >= _byValue.length ? null : _byValue[value];
const ChainError_Code._(super.value, super.name); const FaiError_Code._(super.value, super.name);
} }
const $core.bool _omitEnumNames = const $core.bool _omitEnumNames =

View file

@ -117,26 +117,26 @@ final $typed_data.Uint8List fileRefDescriptor = $convert.base64Decode(
'CgdGaWxlUmVmEhAKA3VyaRgBIAEoCVIDdXJpEhsKCW1pbWVfdHlwZRgCIAEoCVIIbWltZVR5cG' 'CgdGaWxlUmVmEhAKA3VyaRgBIAEoCVIDdXJpEhsKCW1pbWVfdHlwZRgCIAEoCVIIbWltZVR5cG'
'USHQoKc2l6ZV9ieXRlcxgDIAEoBFIJc2l6ZUJ5dGVzEhYKBnNoYTI1NhgEIAEoCVIGc2hhMjU2'); 'USHQoKc2l6ZV9ieXRlcxgDIAEoBFIJc2l6ZUJ5dGVzEhYKBnNoYTI1NhgEIAEoCVIGc2hhMjU2');
@$core.Deprecated('Use chainErrorDescriptor instead') @$core.Deprecated('Use faiErrorDescriptor instead')
const ChainError$json = { const FaiError$json = {
'1': 'ChainError', '1': 'FaiError',
'2': [ '2': [
{ {
'1': 'code', '1': 'code',
'3': 1, '3': 1,
'4': 1, '4': 1,
'5': 14, '5': 14,
'6': '.chain.v1.ChainError.Code', '6': '.chain.v1.FaiError.Code',
'10': 'code' '10': 'code'
}, },
{'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'}, {'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'},
{'1': 'details', '3': 3, '4': 1, '5': 9, '10': 'details'}, {'1': 'details', '3': 3, '4': 1, '5': 9, '10': 'details'},
], ],
'4': [ChainError_Code$json], '4': [FaiError_Code$json],
}; };
@$core.Deprecated('Use chainErrorDescriptor instead') @$core.Deprecated('Use faiErrorDescriptor instead')
const ChainError_Code$json = { const FaiError_Code$json = {
'1': 'Code', '1': 'Code',
'2': [ '2': [
{'1': 'UNKNOWN', '2': 0}, {'1': 'UNKNOWN', '2': 0},
@ -149,10 +149,10 @@ const ChainError_Code$json = {
], ],
}; };
/// Descriptor for `ChainError`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `FaiError`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List chainErrorDescriptor = $convert.base64Decode( final $typed_data.Uint8List faiErrorDescriptor = $convert.base64Decode(
'CgpDaGFpbkVycm9yEi0KBGNvZGUYASABKA4yGS5jaGFpbi52MS5DaGFpbkVycm9yLkNvZGVSBG' 'CghGYWlFcnJvchIrCgRjb2RlGAEgASgOMhcuY2hhaW4udjEuRmFpRXJyb3IuQ29kZVIEY29kZR'
'NvZGUSGAoHbWVzc2FnZRgCIAEoCVIHbWVzc2FnZRIYCgdkZXRhaWxzGAMgASgJUgdkZXRhaWxz' 'IYCgdtZXNzYWdlGAIgASgJUgdtZXNzYWdlEhgKB2RldGFpbHMYAyABKAlSB2RldGFpbHMimAEK'
'IpgBCgRDb2RlEgsKB1VOS05PV04QABIRCg1JTlZBTElEX0lOUFVUEAESHAoYQ0FQQUJJTElUWV' 'BENvZGUSCwoHVU5LTk9XThAAEhEKDUlOVkFMSURfSU5QVVQQARIcChhDQVBBQklMSVRZX05PVF'
'9OT1RfU1VQUE9SVEVEEAISFQoRUEVSTUlTU0lPTl9ERU5JRUQQAxIWChJSRVNPVVJDRV9FWEhB' '9TVVBQT1JURUQQAhIVChFQRVJNSVNTSU9OX0RFTklFRBADEhYKElJFU09VUkNFX0VYSEFVU1RF'
'VVNURUQQBBIVChFERUFETElORV9FWENFRURFRBAFEgwKCElOVEVSTkFMEAY='); 'RBAEEhUKEURFQURMSU5FX0VYQ0VFREVEEAUSDAoISU5URVJOQUwQBg==');

View file

@ -1640,7 +1640,7 @@ class DispatchRequest extends $pb.GeneratedMessage {
class DispatchResponse extends $pb.GeneratedMessage { class DispatchResponse extends $pb.GeneratedMessage {
factory DispatchResponse({ factory DispatchResponse({
$core.Iterable<$core.MapEntry<$core.String, $1.Payload>>? outputs, $core.Iterable<$core.MapEntry<$core.String, $1.Payload>>? outputs,
$1.ChainError? error, $1.FaiError? error,
$core.int? durationMs, $core.int? durationMs,
$core.String? executedAtHubId, $core.String? executedAtHubId,
}) { }) {
@ -1672,8 +1672,8 @@ class DispatchResponse extends $pb.GeneratedMessage {
valueCreator: $1.Payload.create, valueCreator: $1.Payload.create,
valueDefaultOrMaker: $1.Payload.getDefault, valueDefaultOrMaker: $1.Payload.getDefault,
packageName: const $pb.PackageName('chain.v1')) packageName: const $pb.PackageName('chain.v1'))
..aOM<$1.ChainError>(2, _omitFieldNames ? '' : 'error', ..aOM<$1.FaiError>(2, _omitFieldNames ? '' : 'error',
subBuilder: $1.ChainError.create) subBuilder: $1.FaiError.create)
..aI(3, _omitFieldNames ? '' : 'durationMs', fieldType: $pb.PbFieldType.OU3) ..aI(3, _omitFieldNames ? '' : 'durationMs', fieldType: $pb.PbFieldType.OU3)
..aOS(4, _omitFieldNames ? '' : 'executedAtHubId') ..aOS(4, _omitFieldNames ? '' : 'executedAtHubId')
..hasRequiredFields = false; ..hasRequiredFields = false;
@ -1701,18 +1701,18 @@ class DispatchResponse extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$pb.PbMap<$core.String, $1.Payload> get outputs => $_getMap(0); $pb.PbMap<$core.String, $1.Payload> get outputs => $_getMap(0);
/// Error shape on failure. The `code` mirrors common.ChainError /// Error shape on failure. The `code` mirrors common.FaiError
/// codes; the satellite maps its local ChainError to this wire. /// codes; the satellite maps its local FaiError to this wire.
@$pb.TagNumber(2) @$pb.TagNumber(2)
$1.ChainError get error => $_getN(1); $1.FaiError get error => $_getN(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set error($1.ChainError value) => $_setField(2, value); set error($1.FaiError value) => $_setField(2, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasError() => $_has(1); $core.bool hasError() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
void clearError() => $_clearField(2); void clearError() => $_clearField(2);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$1.ChainError ensureError() => $_ensure(1); $1.FaiError ensureError() => $_ensure(1);
/// Wall-clock duration of the actual module invocation at the /// Wall-clock duration of the actual module invocation at the
/// satellite, in milliseconds. Excludes federation transport. /// satellite, in milliseconds. Excludes federation transport.

View file

@ -485,7 +485,7 @@ const DispatchResponse$json = {
'3': 2, '3': 2,
'4': 1, '4': 1,
'5': 11, '5': 11,
'6': '.chain.v1.ChainError', '6': '.chain.v1.FaiError',
'10': 'error' '10': 'error'
}, },
{'1': 'duration_ms', '3': 3, '4': 1, '5': 13, '10': 'durationMs'}, {'1': 'duration_ms', '3': 3, '4': 1, '5': 13, '10': 'durationMs'},
@ -520,11 +520,11 @@ const DispatchResponse_OutputsEntry$json = {
/// Descriptor for `DispatchResponse`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `DispatchResponse`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List dispatchResponseDescriptor = $convert.base64Decode( final $typed_data.Uint8List dispatchResponseDescriptor = $convert.base64Decode(
'ChBEaXNwYXRjaFJlc3BvbnNlEkEKB291dHB1dHMYASADKAsyJy5jaGFpbi52MS5EaXNwYXRjaF' 'ChBEaXNwYXRjaFJlc3BvbnNlEkEKB291dHB1dHMYASADKAsyJy5jaGFpbi52MS5EaXNwYXRjaF'
'Jlc3BvbnNlLk91dHB1dHNFbnRyeVIHb3V0cHV0cxIqCgVlcnJvchgCIAEoCzIULmNoYWluLnYx' 'Jlc3BvbnNlLk91dHB1dHNFbnRyeVIHb3V0cHV0cxIoCgVlcnJvchgCIAEoCzISLmNoYWluLnYx'
'LkNoYWluRXJyb3JSBWVycm9yEh8KC2R1cmF0aW9uX21zGAMgASgNUgpkdXJhdGlvbk1zEisKEm' 'LkZhaUVycm9yUgVlcnJvchIfCgtkdXJhdGlvbl9tcxgDIAEoDVIKZHVyYXRpb25NcxIrChJleG'
'V4ZWN1dGVkX2F0X2h1Yl9pZBgEIAEoCVIPZXhlY3V0ZWRBdEh1YklkGk0KDE91dHB1dHNFbnRy' 'VjdXRlZF9hdF9odWJfaWQYBCABKAlSD2V4ZWN1dGVkQXRIdWJJZBpNCgxPdXRwdXRzRW50cnkS'
'eRIQCgNrZXkYASABKAlSA2tleRInCgV2YWx1ZRgCIAEoCzIRLmNoYWluLnYxLlBheWxvYWRSBX' 'EAoDa2V5GAEgASgJUgNrZXkSJwoFdmFsdWUYAiABKAsyES5jaGFpbi52MS5QYXlsb2FkUgV2YW'
'ZhbHVlOgI4AQ=='); 'x1ZToCOAE=');
@$core.Deprecated('Use blobChunkDescriptor instead') @$core.Deprecated('Use blobChunkDescriptor instead')
const BlobChunk$json = { const BlobChunk$json = {

View file

@ -83,13 +83,11 @@ class SubmitRequest extends $pb.GeneratedMessage {
$core.List<$core.int>? flowYaml, $core.List<$core.int>? flowYaml,
$core.Iterable<$core.MapEntry<$core.String, $2.Payload>>? inputs, $core.Iterable<$core.MapEntry<$core.String, $2.Payload>>? inputs,
$core.bool? detach, $core.bool? detach,
$core.String? project,
}) { }) {
final result = create(); final result = create();
if (flowYaml != null) result.flowYaml = flowYaml; if (flowYaml != null) result.flowYaml = flowYaml;
if (inputs != null) result.inputs.addEntries(inputs); if (inputs != null) result.inputs.addEntries(inputs);
if (detach != null) result.detach = detach; if (detach != null) result.detach = detach;
if (project != null) result.project = project;
return result; return result;
} }
@ -116,7 +114,6 @@ class SubmitRequest extends $pb.GeneratedMessage {
valueDefaultOrMaker: $2.Payload.getDefault, valueDefaultOrMaker: $2.Payload.getDefault,
packageName: const $pb.PackageName('chain.v1')) packageName: const $pb.PackageName('chain.v1'))
..aOB(3, _omitFieldNames ? '' : 'detach') ..aOB(3, _omitFieldNames ? '' : 'detach')
..aOS(4, _omitFieldNames ? '' : 'project')
..hasRequiredFields = false; ..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@ -165,20 +162,6 @@ class SubmitRequest extends $pb.GeneratedMessage {
$core.bool hasDetach() => $_has(2); $core.bool hasDetach() => $_has(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
void clearDetach() => $_clearField(3); void clearDetach() => $_clearField(3);
/// Project slug this run belongs to (added phase 2). Overrides the
/// flow YAML's `project:`; empty → the flow's project, then
/// `general`. Every audit event, approval and detached row from this
/// run is stamped (and hashed) with it. Grouping/filtering only
/// not tenancy.
@$pb.TagNumber(4)
$core.String get project => $_getSZ(3);
@$pb.TagNumber(4)
set project($core.String value) => $_setString(3, value);
@$pb.TagNumber(4)
$core.bool hasProject() => $_has(3);
@$pb.TagNumber(4)
void clearProject() => $_clearField(4);
} }
class SubmitResponse extends $pb.GeneratedMessage { class SubmitResponse extends $pb.GeneratedMessage {
@ -2542,12 +2525,10 @@ class RunSavedFlowRequest extends $pb.GeneratedMessage {
factory RunSavedFlowRequest({ factory RunSavedFlowRequest({
$core.String? name, $core.String? name,
$core.Iterable<$core.MapEntry<$core.String, $2.Payload>>? inputs, $core.Iterable<$core.MapEntry<$core.String, $2.Payload>>? inputs,
$core.String? project,
}) { }) {
final result = create(); final result = create();
if (name != null) result.name = name; if (name != null) result.name = name;
if (inputs != null) result.inputs.addEntries(inputs); if (inputs != null) result.inputs.addEntries(inputs);
if (project != null) result.project = project;
return result; return result;
} }
@ -2572,7 +2553,6 @@ class RunSavedFlowRequest extends $pb.GeneratedMessage {
valueCreator: $2.Payload.create, valueCreator: $2.Payload.create,
valueDefaultOrMaker: $2.Payload.getDefault, valueDefaultOrMaker: $2.Payload.getDefault,
packageName: const $pb.PackageName('chain.v1')) packageName: const $pb.PackageName('chain.v1'))
..aOS(3, _omitFieldNames ? '' : 'project')
..hasRequiredFields = false; ..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@ -2605,17 +2585,6 @@ class RunSavedFlowRequest extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$pb.PbMap<$core.String, $2.Payload> get inputs => $_getMap(1); $pb.PbMap<$core.String, $2.Payload> get inputs => $_getMap(1);
/// Project slug override (added phase 2); empty the saved flow's
/// own `project:`, then `general`.
@$pb.TagNumber(3)
$core.String get project => $_getSZ(2);
@$pb.TagNumber(3)
set project($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasProject() => $_has(2);
@$pb.TagNumber(3)
void clearProject() => $_clearField(3);
} }
class GetFlowDefinitionRequest extends $pb.GeneratedMessage { class GetFlowDefinitionRequest extends $pb.GeneratedMessage {
@ -4639,8 +4608,6 @@ class StoreEntry extends $pb.GeneratedMessage {
$core.String? provider, $core.String? provider,
$core.String? sourceKind, $core.String? sourceKind,
$core.String? source, $core.String? source,
$core.String? canonicalCategory,
$core.String? canonicalCategoryLabel,
}) { }) {
final result = create(); final result = create();
if (name != null) result.name = name; if (name != null) result.name = name;
@ -4667,9 +4634,6 @@ class StoreEntry extends $pb.GeneratedMessage {
if (provider != null) result.provider = provider; if (provider != null) result.provider = provider;
if (sourceKind != null) result.sourceKind = sourceKind; if (sourceKind != null) result.sourceKind = sourceKind;
if (source != null) result.source = source; if (source != null) result.source = source;
if (canonicalCategory != null) result.canonicalCategory = canonicalCategory;
if (canonicalCategoryLabel != null)
result.canonicalCategoryLabel = canonicalCategoryLabel;
return result; return result;
} }
@ -4708,8 +4672,6 @@ class StoreEntry extends $pb.GeneratedMessage {
..aOS(20, _omitFieldNames ? '' : 'provider') ..aOS(20, _omitFieldNames ? '' : 'provider')
..aOS(21, _omitFieldNames ? '' : 'sourceKind') ..aOS(21, _omitFieldNames ? '' : 'sourceKind')
..aOS(22, _omitFieldNames ? '' : 'source') ..aOS(22, _omitFieldNames ? '' : 'source')
..aOS(23, _omitFieldNames ? '' : 'canonicalCategory')
..aOS(24, _omitFieldNames ? '' : 'canonicalCategoryLabel')
..hasRequiredFields = false; ..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@ -4944,32 +4906,6 @@ class StoreEntry extends $pb.GeneratedMessage {
$core.bool hasSource() => $_has(21); $core.bool hasSource() => $_has(21);
@$pb.TagNumber(22) @$pb.TagNumber(22)
void clearSource() => $_clearField(22); void clearSource() => $_clearField(22);
/// Canonical, normalized category slug (e.g. "data", "text-language",
/// "studio-themes"). The hub maps the free-form `category` onto a
/// fixed taxonomy by capability namespace, so different stores using
/// different labels ("data" vs "data-processing") land in ONE bucket.
/// Studio groups + filters by this, not the raw `category`. Empty
/// from pre-0.21 hubs Studio falls back to `category`.
@$pb.TagNumber(23)
$core.String get canonicalCategory => $_getSZ(22);
@$pb.TagNumber(23)
set canonicalCategory($core.String value) => $_setString(22, value);
@$pb.TagNumber(23)
$core.bool hasCanonicalCategory() => $_has(22);
@$pb.TagNumber(23)
void clearCanonicalCategory() => $_clearField(23);
/// Human-readable label for `canonical_category` (e.g. "Data &
/// Formats"). English; Studio may localize via the slug.
@$pb.TagNumber(24)
$core.String get canonicalCategoryLabel => $_getSZ(23);
@$pb.TagNumber(24)
set canonicalCategoryLabel($core.String value) => $_setString(23, value);
@$pb.TagNumber(24)
$core.bool hasCanonicalCategoryLabel() => $_has(23);
@$pb.TagNumber(24)
void clearCanonicalCategoryLabel() => $_clearField(24);
} }
class ChannelStatusResponse extends $pb.GeneratedMessage { class ChannelStatusResponse extends $pb.GeneratedMessage {

View file

@ -42,7 +42,6 @@ const SubmitRequest$json = {
'10': 'inputs' '10': 'inputs'
}, },
{'1': 'detach', '3': 3, '4': 1, '5': 8, '10': 'detach'}, {'1': 'detach', '3': 3, '4': 1, '5': 8, '10': 'detach'},
{'1': 'project', '3': 4, '4': 1, '5': 9, '10': 'project'},
], ],
'3': [SubmitRequest_InputsEntry$json], '3': [SubmitRequest_InputsEntry$json],
}; };
@ -68,9 +67,8 @@ const SubmitRequest_InputsEntry$json = {
final $typed_data.Uint8List submitRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List submitRequestDescriptor = $convert.base64Decode(
'Cg1TdWJtaXRSZXF1ZXN0EhsKCWZsb3dfeWFtbBgBIAEoDFIIZmxvd1lhbWwSOwoGaW5wdXRzGA' 'Cg1TdWJtaXRSZXF1ZXN0EhsKCWZsb3dfeWFtbBgBIAEoDFIIZmxvd1lhbWwSOwoGaW5wdXRzGA'
'IgAygLMiMuY2hhaW4udjEuU3VibWl0UmVxdWVzdC5JbnB1dHNFbnRyeVIGaW5wdXRzEhYKBmRl' 'IgAygLMiMuY2hhaW4udjEuU3VibWl0UmVxdWVzdC5JbnB1dHNFbnRyeVIGaW5wdXRzEhYKBmRl'
'dGFjaBgDIAEoCFIGZGV0YWNoEhgKB3Byb2plY3QYBCABKAlSB3Byb2plY3QaTAoLSW5wdXRzRW' 'dGFjaBgDIAEoCFIGZGV0YWNoGkwKC0lucHV0c0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EicKBX'
'50cnkSEAoDa2V5GAEgASgJUgNrZXkSJwoFdmFsdWUYAiABKAsyES5jaGFpbi52MS5QYXlsb2Fk' 'ZhbHVlGAIgASgLMhEuY2hhaW4udjEuUGF5bG9hZFIFdmFsdWU6AjgB');
'UgV2YWx1ZToCOAE=');
@$core.Deprecated('Use submitResponseDescriptor instead') @$core.Deprecated('Use submitResponseDescriptor instead')
const SubmitResponse$json = { const SubmitResponse$json = {
@ -756,7 +754,6 @@ const RunSavedFlowRequest$json = {
'6': '.chain.v1.RunSavedFlowRequest.InputsEntry', '6': '.chain.v1.RunSavedFlowRequest.InputsEntry',
'10': 'inputs' '10': 'inputs'
}, },
{'1': 'project', '3': 3, '4': 1, '5': 9, '10': 'project'},
], ],
'3': [RunSavedFlowRequest_InputsEntry$json], '3': [RunSavedFlowRequest_InputsEntry$json],
}; };
@ -781,9 +778,9 @@ const RunSavedFlowRequest_InputsEntry$json = {
/// Descriptor for `RunSavedFlowRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `RunSavedFlowRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List runSavedFlowRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List runSavedFlowRequestDescriptor = $convert.base64Decode(
'ChNSdW5TYXZlZEZsb3dSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSQQoGaW5wdXRzGAIgAy' 'ChNSdW5TYXZlZEZsb3dSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSQQoGaW5wdXRzGAIgAy'
'gLMikuY2hhaW4udjEuUnVuU2F2ZWRGbG93UmVxdWVzdC5JbnB1dHNFbnRyeVIGaW5wdXRzEhgK' 'gLMikuY2hhaW4udjEuUnVuU2F2ZWRGbG93UmVxdWVzdC5JbnB1dHNFbnRyeVIGaW5wdXRzGkwK'
'B3Byb2plY3QYAyABKAlSB3Byb2plY3QaTAoLSW5wdXRzRW50cnkSEAoDa2V5GAEgASgJUgNrZX' 'C0lucHV0c0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EicKBXZhbHVlGAIgASgLMhEuY2hhaW4udj'
'kSJwoFdmFsdWUYAiABKAsyES5jaGFpbi52MS5QYXlsb2FkUgV2YWx1ZToCOAE='); 'EuUGF5bG9hZFIFdmFsdWU6AjgB');
@$core.Deprecated('Use getFlowDefinitionRequestDescriptor instead') @$core.Deprecated('Use getFlowDefinitionRequestDescriptor instead')
const GetFlowDefinitionRequest$json = { const GetFlowDefinitionRequest$json = {
@ -1265,20 +1262,6 @@ const StoreEntry$json = {
{'1': 'provider', '3': 20, '4': 1, '5': 9, '10': 'provider'}, {'1': 'provider', '3': 20, '4': 1, '5': 9, '10': 'provider'},
{'1': 'source_kind', '3': 21, '4': 1, '5': 9, '10': 'sourceKind'}, {'1': 'source_kind', '3': 21, '4': 1, '5': 9, '10': 'sourceKind'},
{'1': 'source', '3': 22, '4': 1, '5': 9, '10': 'source'}, {'1': 'source', '3': 22, '4': 1, '5': 9, '10': 'source'},
{
'1': 'canonical_category',
'3': 23,
'4': 1,
'5': 9,
'10': 'canonicalCategory'
},
{
'1': 'canonical_category_label',
'3': 24,
'4': 1,
'5': 9,
'10': 'canonicalCategoryLabel'
},
], ],
}; };
@ -1296,9 +1279,7 @@ final $typed_data.Uint8List storeEntryDescriptor = $convert.base64Decode(
'9uX3VybBgQIAEoCVIHaWNvblVybBInCg9zY3JlZW5zaG90X3VybHMYESADKAlSDnNjcmVlbnNo' '9uX3VybBgQIAEoCVIHaWNvblVybBInCg9zY3JlZW5zaG90X3VybHMYESADKAlSDnNjcmVlbnNo'
'b3RVcmxzEhkKCGRvY3NfdXJsGBIgASgJUgdkb2NzVXJsEhIKBGtpbmQYEyABKAlSBGtpbmQSGg' 'b3RVcmxzEhkKCGRvY3NfdXJsGBIgASgJUgdkb2NzVXJsEhIKBGtpbmQYEyABKAlSBGtpbmQSGg'
'oIcHJvdmlkZXIYFCABKAlSCHByb3ZpZGVyEh8KC3NvdXJjZV9raW5kGBUgASgJUgpzb3VyY2VL' 'oIcHJvdmlkZXIYFCABKAlSCHByb3ZpZGVyEh8KC3NvdXJjZV9raW5kGBUgASgJUgpzb3VyY2VL'
'aW5kEhYKBnNvdXJjZRgWIAEoCVIGc291cmNlEi0KEmNhbm9uaWNhbF9jYXRlZ29yeRgXIAEoCV' 'aW5kEhYKBnNvdXJjZRgWIAEoCVIGc291cmNl');
'IRY2Fub25pY2FsQ2F0ZWdvcnkSOAoYY2Fub25pY2FsX2NhdGVnb3J5X2xhYmVsGBggASgJUhZj'
'YW5vbmljYWxDYXRlZ29yeUxhYmVs');
@$core.Deprecated('Use channelStatusResponseDescriptor instead') @$core.Deprecated('Use channelStatusResponseDescriptor instead')
const ChannelStatusResponse$json = { const ChannelStatusResponse$json = {

View file

@ -122,7 +122,7 @@ enum InvokeResponse_Result { success, error, notSet }
class InvokeResponse extends $pb.GeneratedMessage { class InvokeResponse extends $pb.GeneratedMessage {
factory InvokeResponse({ factory InvokeResponse({
Success? success, Success? success,
$2.ChainError? error, $2.FaiError? error,
}) { }) {
final result = create(); final result = create();
if (success != null) result.success = success; if (success != null) result.success = success;
@ -152,8 +152,8 @@ class InvokeResponse extends $pb.GeneratedMessage {
..oo(0, [1, 2]) ..oo(0, [1, 2])
..aOM<Success>(1, _omitFieldNames ? '' : 'success', ..aOM<Success>(1, _omitFieldNames ? '' : 'success',
subBuilder: Success.create) subBuilder: Success.create)
..aOM<$2.ChainError>(2, _omitFieldNames ? '' : 'error', ..aOM<$2.FaiError>(2, _omitFieldNames ? '' : 'error',
subBuilder: $2.ChainError.create) subBuilder: $2.FaiError.create)
..hasRequiredFields = false; ..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@ -195,15 +195,15 @@ class InvokeResponse extends $pb.GeneratedMessage {
Success ensureSuccess() => $_ensure(0); Success ensureSuccess() => $_ensure(0);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$2.ChainError get error => $_getN(1); $2.FaiError get error => $_getN(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set error($2.ChainError value) => $_setField(2, value); set error($2.FaiError value) => $_setField(2, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasError() => $_has(1); $core.bool hasError() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
void clearError() => $_clearField(2); void clearError() => $_clearField(2);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$2.ChainError ensureError() => $_ensure(1); $2.FaiError ensureError() => $_ensure(1);
} }
class Success extends $pb.GeneratedMessage { class Success extends $pb.GeneratedMessage {

View file

@ -92,7 +92,7 @@ const InvokeResponse$json = {
'3': 2, '3': 2,
'4': 1, '4': 1,
'5': 11, '5': 11,
'6': '.chain.v1.ChainError', '6': '.chain.v1.FaiError',
'9': 0, '9': 0,
'10': 'error' '10': 'error'
}, },
@ -105,8 +105,8 @@ const InvokeResponse$json = {
/// Descriptor for `InvokeResponse`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `InvokeResponse`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List invokeResponseDescriptor = $convert.base64Decode( final $typed_data.Uint8List invokeResponseDescriptor = $convert.base64Decode(
'Cg5JbnZva2VSZXNwb25zZRItCgdzdWNjZXNzGAEgASgLMhEuY2hhaW4udjEuU3VjY2Vzc0gAUg' 'Cg5JbnZva2VSZXNwb25zZRItCgdzdWNjZXNzGAEgASgLMhEuY2hhaW4udjEuU3VjY2Vzc0gAUg'
'dzdWNjZXNzEiwKBWVycm9yGAIgASgLMhQuY2hhaW4udjEuQ2hhaW5FcnJvckgAUgVlcnJvckII' 'dzdWNjZXNzEioKBWVycm9yGAIgASgLMhIuY2hhaW4udjEuRmFpRXJyb3JIAFIFZXJyb3JCCAoG'
'CgZyZXN1bHQ='); 'cmVzdWx0');
@$core.Deprecated('Use successDescriptor instead') @$core.Deprecated('Use successDescriptor instead')
const Success$json = { const Success$json = {