cosmos-explorer/packages/codegen/dist/cosmos/base/reflection/v1beta1/reflection.d.ts
2023-03-02 13:21:24 +08:00

67 lines
2.8 KiB
TypeScript

import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../../helpers";
/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */
export interface ListAllInterfacesRequest {
}
/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */
export interface ListAllInterfacesRequestSDKType {
}
/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */
export interface ListAllInterfacesResponse {
/** interface_names is an array of all the registered interfaces. */
interfaceNames: string[];
}
/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */
export interface ListAllInterfacesResponseSDKType {
interface_names: string[];
}
/**
* ListImplementationsRequest is the request type of the ListImplementations
* RPC.
*/
export interface ListImplementationsRequest {
/** interface_name defines the interface to query the implementations for. */
interfaceName: string;
}
/**
* ListImplementationsRequest is the request type of the ListImplementations
* RPC.
*/
export interface ListImplementationsRequestSDKType {
interface_name: string;
}
/**
* ListImplementationsResponse is the response type of the ListImplementations
* RPC.
*/
export interface ListImplementationsResponse {
implementationMessageNames: string[];
}
/**
* ListImplementationsResponse is the response type of the ListImplementations
* RPC.
*/
export interface ListImplementationsResponseSDKType {
implementation_message_names: string[];
}
export declare const ListAllInterfacesRequest: {
encode(_: ListAllInterfacesRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesRequest;
fromPartial(_: DeepPartial<ListAllInterfacesRequest>): ListAllInterfacesRequest;
};
export declare const ListAllInterfacesResponse: {
encode(message: ListAllInterfacesResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse;
fromPartial(object: DeepPartial<ListAllInterfacesResponse>): ListAllInterfacesResponse;
};
export declare const ListImplementationsRequest: {
encode(message: ListImplementationsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsRequest;
fromPartial(object: DeepPartial<ListImplementationsRequest>): ListImplementationsRequest;
};
export declare const ListImplementationsResponse: {
encode(message: ListImplementationsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse;
fromPartial(object: DeepPartial<ListImplementationsResponse>): ListImplementationsResponse;
};