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,64 @@
// This is a generated file - do not edit.
//
// Generated from chain/v1/hub.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
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
class HealthStatus_State extends $pb.ProtobufEnum {
static const HealthStatus_State UNKNOWN =
HealthStatus_State._(0, _omitEnumNames ? '' : 'UNKNOWN');
static const HealthStatus_State SERVING =
HealthStatus_State._(1, _omitEnumNames ? '' : 'SERVING');
static const HealthStatus_State NOT_SERVING =
HealthStatus_State._(2, _omitEnumNames ? '' : 'NOT_SERVING');
static const $core.List<HealthStatus_State> values = <HealthStatus_State>[
UNKNOWN,
SERVING,
NOT_SERVING,
];
static final $core.List<HealthStatus_State?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 2);
static HealthStatus_State? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value];
const HealthStatus_State._(super.value, super.name);
}
class DecideApprovalRequest_Decision extends $pb.ProtobufEnum {
static const DecideApprovalRequest_Decision DECISION_UNSPECIFIED =
DecideApprovalRequest_Decision._(
0, _omitEnumNames ? '' : 'DECISION_UNSPECIFIED');
static const DecideApprovalRequest_Decision APPROVE =
DecideApprovalRequest_Decision._(1, _omitEnumNames ? '' : 'APPROVE');
static const DecideApprovalRequest_Decision REJECT =
DecideApprovalRequest_Decision._(2, _omitEnumNames ? '' : 'REJECT');
static const $core.List<DecideApprovalRequest_Decision> values =
<DecideApprovalRequest_Decision>[
DECISION_UNSPECIFIED,
APPROVE,
REJECT,
];
static final $core.List<DecideApprovalRequest_Decision?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 2);
static DecideApprovalRequest_Decision? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value];
const DecideApprovalRequest_Decision._(super.value, super.name);
}
const $core.bool _omitEnumNames =
$core.bool.fromEnvironment('protobuf.omit_enum_names');