Some checks failed
Security / Security check (push) Failing after 2s
Regenerate the gRPC stubs for the new HubAdmin store-management RPCs and wrap them in HubClient (returns StoreSource list / Add+RemoveStoreResponse) so Studio can list and edit the module-store list from the GUI. Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
172 lines
4.7 KiB
Dart
172 lines
4.7 KiB
Dart
// 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(
|
|
'Cg1JbnZva2VSZXF1ZXN0EjsKDWludm9jYXRpb25faWQYASABKAsyFi5jaGFpbi52MS5JbnZvY2'
|
|
'F0aW9uSWRSDGludm9jYXRpb25JZBI3CgpjYXBhYmlsaXR5GAIgASgLMhcuY2hhaW4udjEuQ2Fw'
|
|
'YWJpbGl0eVJlZlIKY2FwYWJpbGl0eRI7CgZpbnB1dHMYAyADKAsyIy5jaGFpbi52MS5JbnZva2'
|
|
'VSZXF1ZXN0LklucHV0c0VudHJ5UgZpbnB1dHMSHwoLZGVhZGxpbmVfbXMYBCABKARSCmRlYWRs'
|
|
'aW5lTXMaTAoLSW5wdXRzRW50cnkSEAoDa2V5GAEgASgJUgNrZXkSJwoFdmFsdWUYAiABKAsyES'
|
|
'5jaGFpbi52MS5QYXlsb2FkUgV2YWx1ZToCOAE=');
|
|
|
|
@$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(
|
|
'Cg5JbnZva2VSZXNwb25zZRItCgdzdWNjZXNzGAEgASgLMhEuY2hhaW4udjEuU3VjY2Vzc0gAUg'
|
|
'dzdWNjZXNzEioKBWVycm9yGAIgASgLMhIuY2hhaW4udjEuRmFpRXJyb3JIAFIFZXJyb3JCCAoG'
|
|
'cmVzdWx0');
|
|
|
|
@$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(
|
|
'CgdTdWNjZXNzEjgKB291dHB1dHMYASADKAsyHi5jaGFpbi52MS5TdWNjZXNzLk91dHB1dHNFbn'
|
|
'RyeVIHb3V0cHV0cxpNCgxPdXRwdXRzRW50cnkSEAoDa2V5GAEgASgJUgNrZXkSJwoFdmFsdWUY'
|
|
'AiABKAsyES5jaGFpbi52MS5QYXlsb2FkUgV2YWx1ZToCOAE=');
|
|
|
|
@$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'
|
|
'IHdmVyc2lvbhIzCghwcm92aWRlcxgDIAMoCzIXLmNoYWluLnYxLkNhcGFiaWxpdHlSZWZSCHBy'
|
|
'b3ZpZGVzEiAKC3Blcm1pc3Npb25zGAQgAygJUgtwZXJtaXNzaW9ucw==');
|