Roll out all symbols from the responses module

This commit is contained in:
Simon Warta 2020-09-22 18:37:53 +02:00
parent 9e9c7a4767
commit 7d5529e3f1
2 changed files with 94 additions and 2 deletions

View File

@ -27,7 +27,53 @@ export {
TxSearchRequest,
ValidatorsRequest,
} from "./requests";
export * from "./responses";
export {
AbciInfoResponse,
AbciQueryResponse,
Attribute,
Block,
BlockchainResponse,
BlockGossipParams,
BlockId,
BlockMeta,
BlockParams,
BlockResponse,
BlockResultsResponse,
BroadcastTxAsyncResponse,
BroadcastTxCommitResponse,
broadcastTxCommitSuccess,
BroadcastTxSyncResponse,
broadcastTxSyncSuccess,
Commit,
CommitResponse,
ConsensusParams,
Event,
Evidence,
EvidenceParams,
GenesisResponse,
Header,
HealthResponse,
NewBlockEvent,
NewBlockHeaderEvent,
NodeInfo,
ProofOp,
QueryProof,
ReadonlyDateWithNanoseconds,
Response,
StatusResponse,
SyncInfo,
TxData,
TxEvent,
TxProof,
TxResponse,
TxSearchResponse,
TxSizeParams,
Validator,
ValidatorsResponse,
Version,
Vote,
VoteType,
} from "./responses";
export { HttpClient, WebsocketClient } from "./rpcclients"; // TODO: Why do we export those outside of this package?
export {
IpPortString,

View File

@ -24,7 +24,53 @@ export {
TxSearchRequest,
ValidatorsRequest,
} from "./requests";
export * from "./responses";
export {
AbciInfoResponse,
AbciQueryResponse,
Attribute,
Block,
BlockchainResponse,
BlockGossipParams,
BlockId,
BlockMeta,
BlockParams,
BlockResponse,
BlockResultsResponse,
BroadcastTxAsyncResponse,
BroadcastTxCommitResponse,
broadcastTxCommitSuccess,
BroadcastTxSyncResponse,
broadcastTxSyncSuccess,
Commit,
CommitResponse,
ConsensusParams,
Event,
Evidence,
EvidenceParams,
GenesisResponse,
Header,
HealthResponse,
NewBlockEvent,
NewBlockHeaderEvent,
NodeInfo,
ProofOp,
QueryProof,
ReadonlyDateWithNanoseconds,
Response,
StatusResponse,
SyncInfo,
TxData,
TxEvent,
TxProof,
TxResponse,
TxSearchResponse,
TxSizeParams,
Validator,
ValidatorsResponse,
Version,
Vote,
VoteType,
} from "./responses";
export { HttpClient, WebsocketClient } from "./rpcclients";
export {
IpPortString,