Compare commits

...

3 commits

Author SHA1 Message Date
flemming-it
408f0eb850 refactor!: regenerate stubs — wire message FaiError is now ChainError
Some checks failed
Security / Security check (push) Failing after 1s
Lockstep with the platform's proto rename (binary wire-compatible;
protobuf field numbers unchanged).

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-11 23:14:21 +02:00
flemming-it
58ff6b2376 chore(proto): regenerate stubs for Submit/RunSavedFlow project field
Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-09 19:28:45 +02:00
flemming-it
cbe4478675 chore(proto): regenerate stubs for StoreEntry.canonical_category
Pin to platform hub.proto field 23/24 (canonical_category + label).

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-09 17:01:48 +02:00
9 changed files with 164 additions and 81 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 FaiError extends $pb.GeneratedMessage { class ChainError extends $pb.GeneratedMessage {
factory FaiError({ factory ChainError({
FaiError_Code? code, ChainError_Code? code,
$core.String? message, $core.String? message,
$core.String? details, $core.String? details,
}) { }) {
@ -447,47 +447,47 @@ class FaiError extends $pb.GeneratedMessage {
return result; return result;
} }
FaiError._(); ChainError._();
factory FaiError.fromBuffer($core.List<$core.int> data, factory ChainError.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 FaiError.fromJson($core.String json, factory ChainError.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 ? '' : 'FaiError', _omitMessageNames ? '' : 'ChainError',
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'), package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
createEmptyInstance: create) createEmptyInstance: create)
..aE<FaiError_Code>(1, _omitFieldNames ? '' : 'code', ..aE<ChainError_Code>(1, _omitFieldNames ? '' : 'code',
enumValues: FaiError_Code.values) enumValues: ChainError_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.')
FaiError clone() => deepCopy(); ChainError clone() => deepCopy();
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FaiError copyWith(void Function(FaiError) updates) => ChainError copyWith(void Function(ChainError) updates) =>
super.copyWith((message) => updates(message as FaiError)) as FaiError; super.copyWith((message) => updates(message as ChainError)) as ChainError;
@$core.override @$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static FaiError create() => FaiError._(); static ChainError create() => ChainError._();
@$core.override @$core.override
FaiError createEmptyInstance() => create(); ChainError createEmptyInstance() => create();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static FaiError getDefault() => static ChainError getDefault() => _defaultInstance ??=
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FaiError>(create); $pb.GeneratedMessage.$_defaultFor<ChainError>(create);
static FaiError? _defaultInstance; static ChainError? _defaultInstance;
@$pb.TagNumber(1) @$pb.TagNumber(1)
FaiError_Code get code => $_getN(0); ChainError_Code get code => $_getN(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set code(FaiError_Code value) => $_setField(1, value); set code(ChainError_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 FaiError_Code extends $pb.ProtobufEnum { class ChainError_Code extends $pb.ProtobufEnum {
static const FaiError_Code UNKNOWN = static const ChainError_Code UNKNOWN =
FaiError_Code._(0, _omitEnumNames ? '' : 'UNKNOWN'); ChainError_Code._(0, _omitEnumNames ? '' : 'UNKNOWN');
static const FaiError_Code INVALID_INPUT = static const ChainError_Code INVALID_INPUT =
FaiError_Code._(1, _omitEnumNames ? '' : 'INVALID_INPUT'); ChainError_Code._(1, _omitEnumNames ? '' : 'INVALID_INPUT');
static const FaiError_Code CAPABILITY_NOT_SUPPORTED = static const ChainError_Code CAPABILITY_NOT_SUPPORTED =
FaiError_Code._(2, _omitEnumNames ? '' : 'CAPABILITY_NOT_SUPPORTED'); ChainError_Code._(2, _omitEnumNames ? '' : 'CAPABILITY_NOT_SUPPORTED');
static const FaiError_Code PERMISSION_DENIED = static const ChainError_Code PERMISSION_DENIED =
FaiError_Code._(3, _omitEnumNames ? '' : 'PERMISSION_DENIED'); ChainError_Code._(3, _omitEnumNames ? '' : 'PERMISSION_DENIED');
static const FaiError_Code RESOURCE_EXHAUSTED = static const ChainError_Code RESOURCE_EXHAUSTED =
FaiError_Code._(4, _omitEnumNames ? '' : 'RESOURCE_EXHAUSTED'); ChainError_Code._(4, _omitEnumNames ? '' : 'RESOURCE_EXHAUSTED');
static const FaiError_Code DEADLINE_EXCEEDED = static const ChainError_Code DEADLINE_EXCEEDED =
FaiError_Code._(5, _omitEnumNames ? '' : 'DEADLINE_EXCEEDED'); ChainError_Code._(5, _omitEnumNames ? '' : 'DEADLINE_EXCEEDED');
static const FaiError_Code INTERNAL = static const ChainError_Code INTERNAL =
FaiError_Code._(6, _omitEnumNames ? '' : 'INTERNAL'); ChainError_Code._(6, _omitEnumNames ? '' : 'INTERNAL');
static const $core.List<FaiError_Code> values = <FaiError_Code>[ static const $core.List<ChainError_Code> values = <ChainError_Code>[
UNKNOWN, UNKNOWN,
INVALID_INPUT, INVALID_INPUT,
CAPABILITY_NOT_SUPPORTED, CAPABILITY_NOT_SUPPORTED,
@ -40,12 +40,12 @@ class FaiError_Code extends $pb.ProtobufEnum {
INTERNAL, INTERNAL,
]; ];
static final $core.List<FaiError_Code?> _byValue = static final $core.List<ChainError_Code?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 6); $pb.ProtobufEnum.$_initByValueList(values, 6);
static FaiError_Code? valueOf($core.int value) => static ChainError_Code? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value]; value < 0 || value >= _byValue.length ? null : _byValue[value];
const FaiError_Code._(super.value, super.name); const ChainError_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 faiErrorDescriptor instead') @$core.Deprecated('Use chainErrorDescriptor instead')
const FaiError$json = { const ChainError$json = {
'1': 'FaiError', '1': 'ChainError',
'2': [ '2': [
{ {
'1': 'code', '1': 'code',
'3': 1, '3': 1,
'4': 1, '4': 1,
'5': 14, '5': 14,
'6': '.chain.v1.FaiError.Code', '6': '.chain.v1.ChainError.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': [FaiError_Code$json], '4': [ChainError_Code$json],
}; };
@$core.Deprecated('Use faiErrorDescriptor instead') @$core.Deprecated('Use chainErrorDescriptor instead')
const FaiError_Code$json = { const ChainError_Code$json = {
'1': 'Code', '1': 'Code',
'2': [ '2': [
{'1': 'UNKNOWN', '2': 0}, {'1': 'UNKNOWN', '2': 0},
@ -149,10 +149,10 @@ const FaiError_Code$json = {
], ],
}; };
/// Descriptor for `FaiError`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `ChainError`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List faiErrorDescriptor = $convert.base64Decode( final $typed_data.Uint8List chainErrorDescriptor = $convert.base64Decode(
'CghGYWlFcnJvchIrCgRjb2RlGAEgASgOMhcuY2hhaW4udjEuRmFpRXJyb3IuQ29kZVIEY29kZR' 'CgpDaGFpbkVycm9yEi0KBGNvZGUYASABKA4yGS5jaGFpbi52MS5DaGFpbkVycm9yLkNvZGVSBG'
'IYCgdtZXNzYWdlGAIgASgJUgdtZXNzYWdlEhgKB2RldGFpbHMYAyABKAlSB2RldGFpbHMimAEK' 'NvZGUSGAoHbWVzc2FnZRgCIAEoCVIHbWVzc2FnZRIYCgdkZXRhaWxzGAMgASgJUgdkZXRhaWxz'
'BENvZGUSCwoHVU5LTk9XThAAEhEKDUlOVkFMSURfSU5QVVQQARIcChhDQVBBQklMSVRZX05PVF' 'IpgBCgRDb2RlEgsKB1VOS05PV04QABIRCg1JTlZBTElEX0lOUFVUEAESHAoYQ0FQQUJJTElUWV'
'9TVVBQT1JURUQQAhIVChFQRVJNSVNTSU9OX0RFTklFRBADEhYKElJFU09VUkNFX0VYSEFVU1RF' '9OT1RfU1VQUE9SVEVEEAISFQoRUEVSTUlTU0lPTl9ERU5JRUQQAxIWChJSRVNPVVJDRV9FWEhB'
'RBAEEhUKEURFQURMSU5FX0VYQ0VFREVEEAUSDAoISU5URVJOQUwQBg=='); 'VVNURUQQBBIVChFERUFETElORV9FWENFRURFRBAFEgwKCElOVEVSTkFMEAY=');

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.FaiError? error, $1.ChainError? 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.FaiError>(2, _omitFieldNames ? '' : 'error', ..aOM<$1.ChainError>(2, _omitFieldNames ? '' : 'error',
subBuilder: $1.FaiError.create) subBuilder: $1.ChainError.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.FaiError /// Error shape on failure. The `code` mirrors common.ChainError
/// codes; the satellite maps its local FaiError to this wire. /// codes; the satellite maps its local ChainError to this wire.
@$pb.TagNumber(2) @$pb.TagNumber(2)
$1.FaiError get error => $_getN(1); $1.ChainError get error => $_getN(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set error($1.FaiError value) => $_setField(2, value); set error($1.ChainError 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.FaiError ensureError() => $_ensure(1); $1.ChainError 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.FaiError', '6': '.chain.v1.ChainError',
'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'
'Jlc3BvbnNlLk91dHB1dHNFbnRyeVIHb3V0cHV0cxIoCgVlcnJvchgCIAEoCzISLmNoYWluLnYx' 'Jlc3BvbnNlLk91dHB1dHNFbnRyeVIHb3V0cHV0cxIqCgVlcnJvchgCIAEoCzIULmNoYWluLnYx'
'LkZhaUVycm9yUgVlcnJvchIfCgtkdXJhdGlvbl9tcxgDIAEoDVIKZHVyYXRpb25NcxIrChJleG' 'LkNoYWluRXJyb3JSBWVycm9yEh8KC2R1cmF0aW9uX21zGAMgASgNUgpkdXJhdGlvbk1zEisKEm'
'VjdXRlZF9hdF9odWJfaWQYBCABKAlSD2V4ZWN1dGVkQXRIdWJJZBpNCgxPdXRwdXRzRW50cnkS' 'V4ZWN1dGVkX2F0X2h1Yl9pZBgEIAEoCVIPZXhlY3V0ZWRBdEh1YklkGk0KDE91dHB1dHNFbnRy'
'EAoDa2V5GAEgASgJUgNrZXkSJwoFdmFsdWUYAiABKAsyES5jaGFpbi52MS5QYXlsb2FkUgV2YW' 'eRIQCgNrZXkYASABKAlSA2tleRInCgV2YWx1ZRgCIAEoCzIRLmNoYWluLnYxLlBheWxvYWRSBX'
'x1ZToCOAE='); 'ZhbHVlOgI4AQ==');
@$core.Deprecated('Use blobChunkDescriptor instead') @$core.Deprecated('Use blobChunkDescriptor instead')
const BlobChunk$json = { const BlobChunk$json = {

View file

@ -83,11 +83,13 @@ 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;
} }
@ -114,6 +116,7 @@ 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.')
@ -162,6 +165,20 @@ 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 {
@ -2525,10 +2542,12 @@ 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;
} }
@ -2553,6 +2572,7 @@ 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.')
@ -2585,6 +2605,17 @@ 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 {
@ -4608,6 +4639,8 @@ 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;
@ -4634,6 +4667,9 @@ 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;
} }
@ -4672,6 +4708,8 @@ 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.')
@ -4906,6 +4944,32 @@ 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,6 +42,7 @@ 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],
}; };
@ -67,8 +68,9 @@ const SubmitRequest_InputsEntry$json = {
final $typed_data.Uint8List submitRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List submitRequestDescriptor = $convert.base64Decode(
'Cg1TdWJtaXRSZXF1ZXN0EhsKCWZsb3dfeWFtbBgBIAEoDFIIZmxvd1lhbWwSOwoGaW5wdXRzGA' 'Cg1TdWJtaXRSZXF1ZXN0EhsKCWZsb3dfeWFtbBgBIAEoDFIIZmxvd1lhbWwSOwoGaW5wdXRzGA'
'IgAygLMiMuY2hhaW4udjEuU3VibWl0UmVxdWVzdC5JbnB1dHNFbnRyeVIGaW5wdXRzEhYKBmRl' 'IgAygLMiMuY2hhaW4udjEuU3VibWl0UmVxdWVzdC5JbnB1dHNFbnRyeVIGaW5wdXRzEhYKBmRl'
'dGFjaBgDIAEoCFIGZGV0YWNoGkwKC0lucHV0c0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EicKBX' 'dGFjaBgDIAEoCFIGZGV0YWNoEhgKB3Byb2plY3QYBCABKAlSB3Byb2plY3QaTAoLSW5wdXRzRW'
'ZhbHVlGAIgASgLMhEuY2hhaW4udjEuUGF5bG9hZFIFdmFsdWU6AjgB'); '50cnkSEAoDa2V5GAEgASgJUgNrZXkSJwoFdmFsdWUYAiABKAsyES5jaGFpbi52MS5QYXlsb2Fk'
'UgV2YWx1ZToCOAE=');
@$core.Deprecated('Use submitResponseDescriptor instead') @$core.Deprecated('Use submitResponseDescriptor instead')
const SubmitResponse$json = { const SubmitResponse$json = {
@ -754,6 +756,7 @@ 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],
}; };
@ -778,9 +781,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'
'gLMikuY2hhaW4udjEuUnVuU2F2ZWRGbG93UmVxdWVzdC5JbnB1dHNFbnRyeVIGaW5wdXRzGkwK' 'gLMikuY2hhaW4udjEuUnVuU2F2ZWRGbG93UmVxdWVzdC5JbnB1dHNFbnRyeVIGaW5wdXRzEhgK'
'C0lucHV0c0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EicKBXZhbHVlGAIgASgLMhEuY2hhaW4udj' 'B3Byb2plY3QYAyABKAlSB3Byb2plY3QaTAoLSW5wdXRzRW50cnkSEAoDa2V5GAEgASgJUgNrZX'
'EuUGF5bG9hZFIFdmFsdWU6AjgB'); 'kSJwoFdmFsdWUYAiABKAsyES5jaGFpbi52MS5QYXlsb2FkUgV2YWx1ZToCOAE=');
@$core.Deprecated('Use getFlowDefinitionRequestDescriptor instead') @$core.Deprecated('Use getFlowDefinitionRequestDescriptor instead')
const GetFlowDefinitionRequest$json = { const GetFlowDefinitionRequest$json = {
@ -1262,6 +1265,20 @@ 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'
},
], ],
}; };
@ -1279,7 +1296,9 @@ final $typed_data.Uint8List storeEntryDescriptor = $convert.base64Decode(
'9uX3VybBgQIAEoCVIHaWNvblVybBInCg9zY3JlZW5zaG90X3VybHMYESADKAlSDnNjcmVlbnNo' '9uX3VybBgQIAEoCVIHaWNvblVybBInCg9zY3JlZW5zaG90X3VybHMYESADKAlSDnNjcmVlbnNo'
'b3RVcmxzEhkKCGRvY3NfdXJsGBIgASgJUgdkb2NzVXJsEhIKBGtpbmQYEyABKAlSBGtpbmQSGg' 'b3RVcmxzEhkKCGRvY3NfdXJsGBIgASgJUgdkb2NzVXJsEhIKBGtpbmQYEyABKAlSBGtpbmQSGg'
'oIcHJvdmlkZXIYFCABKAlSCHByb3ZpZGVyEh8KC3NvdXJjZV9raW5kGBUgASgJUgpzb3VyY2VL' 'oIcHJvdmlkZXIYFCABKAlSCHByb3ZpZGVyEh8KC3NvdXJjZV9raW5kGBUgASgJUgpzb3VyY2VL'
'aW5kEhYKBnNvdXJjZRgWIAEoCVIGc291cmNl'); 'aW5kEhYKBnNvdXJjZRgWIAEoCVIGc291cmNlEi0KEmNhbm9uaWNhbF9jYXRlZ29yeRgXIAEoCV'
'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.FaiError? error, $2.ChainError? 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.FaiError>(2, _omitFieldNames ? '' : 'error', ..aOM<$2.ChainError>(2, _omitFieldNames ? '' : 'error',
subBuilder: $2.FaiError.create) subBuilder: $2.ChainError.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.FaiError get error => $_getN(1); $2.ChainError get error => $_getN(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set error($2.FaiError value) => $_setField(2, value); set error($2.ChainError 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.FaiError ensureError() => $_ensure(1); $2.ChainError 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.FaiError', '6': '.chain.v1.ChainError',
'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'
'dzdWNjZXNzEioKBWVycm9yGAIgASgLMhIuY2hhaW4udjEuRmFpRXJyb3JIAFIFZXJyb3JCCAoG' 'dzdWNjZXNzEiwKBWVycm9yGAIgASgLMhQuY2hhaW4udjEuQ2hhaW5FcnJvckgAUgVlcnJvckII'
'cmVzdWx0'); 'CgZyZXN1bHQ=');
@$core.Deprecated('Use successDescriptor instead') @$core.Deprecated('Use successDescriptor instead')
const Success$json = { const Success$json = {