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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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