Update package index.ts exports so that we are able to generate docs

This commit is contained in:
fabioberger
2019-10-02 18:16:10 +08:00
parent d810aff337
commit c4b69efdd1
7 changed files with 28 additions and 49 deletions

View File

@@ -8,19 +8,6 @@ export {
transactionHashUtils,
} from '@0x/order-utils';
export {
CoordinatorWrapper,
CoordinatorServerCancellationResponse,
CoordinatorServerError,
IndexedFilterValues,
OrderTransactionOpts,
TransactionOpts,
OrderInfo,
EventCallback,
DecodedLogEvent,
OrderStatus,
} from '@0x/contract-wrappers';
export {
ExchangeEventArgs,
ExchangeEvents,
@@ -31,10 +18,6 @@ export {
ExchangeAssetProxyRegisteredEventArgs,
ExchangeContract,
DevUtilsContract,
CoordinatorRegistryEventArgs,
CoordinatorRegistryEvents,
CoordinatorRegistryCoordinatorEndpointSetEventArgs,
CoordinatorRegistryContract,
IValidatorContract,
IWalletContract,
WETH9EventArgs,
@@ -55,16 +38,15 @@ export {
ERC721TokenApprovalEventArgs,
ERC721TokenApprovalForAllEventArgs,
ERC721TokenContract,
ERC1155ProxyEventArgs,
ERC1155ProxyEvents,
ERC1155ProxyAuthorizedAddressAddedEventArgs,
ERC1155ProxyAuthorizedAddressRemovedEventArgs,
ERC1155ProxyContract,
ZRXTokenEventArgs,
ZRXTokenEvents,
ZRXTokenTransferEventArgs,
ZRXTokenApprovalEventArgs,
ZRXTokenContract,
EventCallback,
ExchangeProtocolFeeCollectorAddressEventArgs,
ExchangeProtocolFeeMultiplierEventArgs,
ExchangeTransactionExecutionEventArgs,
} from '@0x/abi-gen-wrappers';
export import Web3ProviderEngine = require('web3-provider-engine');
@@ -101,18 +83,17 @@ export {
SimpleStandardContractOutput,
SimpleEvmOutput,
SimpleEvmBytecodeOutput,
EIP712DomainWithDefaultSchema,
} from '@0x/types';
export {
BlockRange,
ContractAbi,
LogWithDecodedArgs,
ContractEventArg,
SupportedProvider,
JSONRPCRequestPayload,
JSONRPCResponsePayload,
JSONRPCResponseError,
DecodedLogArgs,
AbiDefinition,
FunctionAbi,
EventAbi,
@@ -151,4 +132,6 @@ export {
OutputField,
ParamDescription,
EvmBytecodeOutput,
IndexedFilterValues,
RevertErrorAbi,
} from 'ethereum-types';

View File

@@ -76,6 +76,9 @@ export {
ExchangeCancelUpToEventArgs,
ExchangeAssetProxyRegisteredEventArgs,
ExchangeContract,
ExchangeProtocolFeeCollectorAddressEventArgs,
ExchangeProtocolFeeMultiplierEventArgs,
ExchangeTransactionExecutionEventArgs,
} from './generated-wrappers/exchange';
export { ForwarderContract } from './generated-wrappers/forwarder';
export { IAssetProxyContract } from './generated-wrappers/i_asset_proxy';

View File

@@ -72,6 +72,9 @@ export {
ERC721ProxyAuthorizedAddressRemovedEventArgs,
ERC721ProxyContract,
OrderValidatorContract,
ExchangeProtocolFeeCollectorAddressEventArgs,
ExchangeProtocolFeeMultiplierEventArgs,
ExchangeTransactionExecutionEventArgs,
} from '@0x/abi-gen-wrappers';
export {
@@ -142,6 +145,7 @@ export {
ConstructorStateMutability,
JSONRPCResponseError,
StateMutability,
RevertErrorAbi,
} from 'ethereum-types';
export {
@@ -153,6 +157,7 @@ export {
SignedZeroExTransaction,
SimpleEvmOutput,
SimpleEvmBytecodeOutput,
EIP712DomainWithDefaultSchema,
} from '@0x/types';
export { AbiDecoder, DecodedCalldata } from '@0x/utils';

View File

@@ -1,7 +1,7 @@
import * as ExchangeRevertErrors from './exchange_revert_errors';
import * as ForwarderRevertErrors from './forwarder_revert_errors';
import * as LibMathRevertErrors from './lib_math_revert_errors';
import * as StakingRevertErrors from './staking_revert_errors';
export import ExchangeRevertErrors = require('./exchange_revert_errors');
export import ForwarderRevertErrors = require('./forwarder_revert_errors');
export import LibMathRevertErrors = require('./lib_math_revert_errors');
export import StakingRevertErrors = require('./staking_revert_errors');
export { orderHashUtils } from './order_hash';
export { signatureUtils } from './signature_utils';
@@ -85,8 +85,4 @@ export {
FeeOrdersAndRemainingFeeAmount,
OrdersAndRemainingTakerFillAmount,
OrdersAndRemainingMakerFillAmount,
ValidateOrderFillableOpts,
} from './types';
export { ExchangeRevertErrors, ForwarderRevertErrors, LibMathRevertErrors, StakingRevertErrors };
export { NetworkId, ExchangeContract } from '@0x/abi-gen-wrappers';

View File

@@ -27,4 +27,5 @@ export {
StandardOutput,
StateMutability,
SourceLocation,
RevertErrorAbi,
} from 'ethereum-types';

View File

@@ -1,10 +1,10 @@
import * as AuthorizableRevertErrors from './authorizable_revert_errors';
import * as FixedMathRevertErrors from './fixed_math_revert_errors';
import * as LibAddressArrayRevertErrors from './lib_address_array_revert_errors';
import * as LibBytesRevertErrors from './lib_bytes_revert_errors';
import * as OwnableRevertErrors from './ownable_revert_errors';
import * as ReentrancyGuardRevertErrors from './reentrancy_guard_revert_errors';
import * as SafeMathRevertErrors from './safe_math_revert_errors';
export import AuthorizableRevertErrors = require('./authorizable_revert_errors');
export import FixedMathRevertErrors = require('./fixed_math_revert_errors');
export import LibAddressArrayRevertErrors = require('./lib_address_array_revert_errors');
export import LibBytesRevertErrors = require('./lib_bytes_revert_errors');
export import OwnableRevertErrors = require('./ownable_revert_errors');
export import ReentrancyGuardRevertErrors = require('./reentrancy_guard_revert_errors');
export import SafeMathRevertErrors = require('./safe_math_revert_errors');
export { promisify } from './promisify';
export { addressUtils } from './address_utils';
@@ -33,13 +33,3 @@ export {
StringRevertError,
AnyRevertError,
} from './revert_error';
export {
AuthorizableRevertErrors,
FixedMathRevertErrors,
LibAddressArrayRevertErrors,
LibBytesRevertErrors,
OwnableRevertErrors,
ReentrancyGuardRevertErrors,
SafeMathRevertErrors,
};

View File

@@ -54,6 +54,7 @@ export {
Web3JsV1Provider,
Web3JsV2Provider,
Web3JsV3Provider,
RevertErrorAbi,
} from 'ethereum-types';
export {
Web3WrapperErrors,