refactor: regenerate gRPC stubs for chain.v1 wire package
Some checks are pending
Security / Security check (push) Waiting to run

The hub renamed its gRPC package fai.v1 -> chain.v1 (proto dir
proto/fai/v1 -> proto/chain/v1). Move the generated stubs to
generated/chain/v1 and rewrite the wire package + service paths
(/fai.v1.Hub/* -> /chain.v1.Hub/*) so the client talks to the
renamed hub. Pure package rename — no message/field changes.
HubClient public API is unchanged, so dependents need no edits.
dart analyze: clean.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-06-16 16:59:35 +02:00
parent 75a4b2b306
commit d680cf3462
18 changed files with 282 additions and 282 deletions

View file

@ -0,0 +1,172 @@
// This is a generated file - do not edit.
//
// Generated from chain/v1/module.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
// ignore_for_file: unused_import
import 'dart:convert' as $convert;
import 'dart:core' as $core;
import 'dart:typed_data' as $typed_data;
@$core.Deprecated('Use invokeRequestDescriptor instead')
const InvokeRequest$json = {
'1': 'InvokeRequest',
'2': [
{
'1': 'invocation_id',
'3': 1,
'4': 1,
'5': 11,
'6': '.chain.v1.InvocationId',
'10': 'invocationId'
},
{
'1': 'capability',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.CapabilityRef',
'10': 'capability'
},
{
'1': 'inputs',
'3': 3,
'4': 3,
'5': 11,
'6': '.chain.v1.InvokeRequest.InputsEntry',
'10': 'inputs'
},
{'1': 'deadline_ms', '3': 4, '4': 1, '5': 4, '10': 'deadlineMs'},
],
'3': [InvokeRequest_InputsEntry$json],
};
@$core.Deprecated('Use invokeRequestDescriptor instead')
const InvokeRequest_InputsEntry$json = {
'1': 'InputsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{
'1': 'value',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.Payload',
'10': 'value'
},
],
'7': {'7': true},
};
/// Descriptor for `InvokeRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List invokeRequestDescriptor = $convert.base64Decode(
'Cg1JbnZva2VSZXF1ZXN0EjkKDWludm9jYXRpb25faWQYASABKAsyFC5mYWkudjEuSW52b2NhdG'
'lvbklkUgxpbnZvY2F0aW9uSWQSNQoKY2FwYWJpbGl0eRgCIAEoCzIVLmZhaS52MS5DYXBhYmls'
'aXR5UmVmUgpjYXBhYmlsaXR5EjkKBmlucHV0cxgDIAMoCzIhLmZhaS52MS5JbnZva2VSZXF1ZX'
'N0LklucHV0c0VudHJ5UgZpbnB1dHMSHwoLZGVhZGxpbmVfbXMYBCABKARSCmRlYWRsaW5lTXMa'
'SgoLSW5wdXRzRW50cnkSEAoDa2V5GAEgASgJUgNrZXkSJQoFdmFsdWUYAiABKAsyDy5mYWkudj'
'EuUGF5bG9hZFIFdmFsdWU6AjgB');
@$core.Deprecated('Use invokeResponseDescriptor instead')
const InvokeResponse$json = {
'1': 'InvokeResponse',
'2': [
{
'1': 'success',
'3': 1,
'4': 1,
'5': 11,
'6': '.chain.v1.Success',
'9': 0,
'10': 'success'
},
{
'1': 'error',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.FaiError',
'9': 0,
'10': 'error'
},
],
'8': [
{'1': 'result'},
],
};
/// Descriptor for `InvokeResponse`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List invokeResponseDescriptor = $convert.base64Decode(
'Cg5JbnZva2VSZXNwb25zZRIrCgdzdWNjZXNzGAEgASgLMg8uZmFpLnYxLlN1Y2Nlc3NIAFIHc3'
'VjY2VzcxIoCgVlcnJvchgCIAEoCzIQLmZhaS52MS5GYWlFcnJvckgAUgVlcnJvckIICgZyZXN1'
'bHQ=');
@$core.Deprecated('Use successDescriptor instead')
const Success$json = {
'1': 'Success',
'2': [
{
'1': 'outputs',
'3': 1,
'4': 3,
'5': 11,
'6': '.chain.v1.Success.OutputsEntry',
'10': 'outputs'
},
],
'3': [Success_OutputsEntry$json],
};
@$core.Deprecated('Use successDescriptor instead')
const Success_OutputsEntry$json = {
'1': 'OutputsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{
'1': 'value',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.Payload',
'10': 'value'
},
],
'7': {'7': true},
};
/// Descriptor for `Success`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List successDescriptor = $convert.base64Decode(
'CgdTdWNjZXNzEjYKB291dHB1dHMYASADKAsyHC5mYWkudjEuU3VjY2Vzcy5PdXRwdXRzRW50cn'
'lSB291dHB1dHMaSwoMT3V0cHV0c0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EiUKBXZhbHVlGAIg'
'ASgLMg8uZmFpLnYxLlBheWxvYWRSBXZhbHVlOgI4AQ==');
@$core.Deprecated('Use moduleDescriptorDescriptor instead')
const ModuleDescriptor$json = {
'1': 'ModuleDescriptor',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
{'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'},
{
'1': 'provides',
'3': 3,
'4': 3,
'5': 11,
'6': '.chain.v1.CapabilityRef',
'10': 'provides'
},
{'1': 'permissions', '3': 4, '4': 3, '5': 9, '10': 'permissions'},
],
};
/// Descriptor for `ModuleDescriptor`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List moduleDescriptorDescriptor = $convert.base64Decode(
'ChBNb2R1bGVEZXNjcmlwdG9yEhIKBG5hbWUYASABKAlSBG5hbWUSGAoHdmVyc2lvbhgCIAEoCV'
'IHdmVyc2lvbhIxCghwcm92aWRlcxgDIAMoCzIVLmZhaS52MS5DYXBhYmlsaXR5UmVmUghwcm92'
'aWRlcxIgCgtwZXJtaXNzaW9ucxgEIAMoCVILcGVybWlzc2lvbnM=');