From e07f7b54e0aebc140690ca66b3e02d92bf63c455 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Mon, 11 Nov 2019 19:50:13 +0000 Subject: [PATCH] Stop using directory level exports --- contracts/asset-proxy/src/index.ts | 5 ++++- contracts/coordinator/src/index.ts | 3 ++- contracts/exchange/src/index.ts | 4 +++- contracts/extensions/src/index.ts | 1 - contracts/multisig/src/index.ts | 1 - contracts/staking/src/index.ts | 2 +- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/contracts/asset-proxy/src/index.ts b/contracts/asset-proxy/src/index.ts index ba813e7caf..0943b3fb67 100644 --- a/contracts/asset-proxy/src/index.ts +++ b/contracts/asset-proxy/src/index.ts @@ -1,3 +1,6 @@ export * from './artifacts'; export * from './wrappers'; -export * from '../test/utils'; + +export { ERC20Wrapper } from '../test/utils/erc20_wrapper'; +export { ERC721Wrapper } from '../test/utils/erc721_wrapper'; +export { ERC1155ProxyWrapper } from '../test/utils/erc1155_proxy_wrapper'; diff --git a/contracts/coordinator/src/index.ts b/contracts/coordinator/src/index.ts index ba813e7caf..63441fd29c 100644 --- a/contracts/coordinator/src/index.ts +++ b/contracts/coordinator/src/index.ts @@ -1,3 +1,4 @@ export * from './artifacts'; export * from './wrappers'; -export * from '../test/utils'; +export { ApprovalFactory } from '../test/utils/approval_factory'; +export { SignedCoordinatorApproval } from '../test/utils/types'; diff --git a/contracts/exchange/src/index.ts b/contracts/exchange/src/index.ts index ddfaf590b9..8beaae9fc4 100644 --- a/contracts/exchange/src/index.ts +++ b/contracts/exchange/src/index.ts @@ -1,4 +1,6 @@ export * from './artifacts'; export * from './wrappers'; -export * from '../test/balance_stores'; +export { BlockchainBalanceStore } from '../test/balance_stores/blockchain_balance_store'; +export { LocalBalanceStore } from '../test/balance_stores/local_balance_store'; +export { TokenOwnersByName } from '../test/balance_stores/types'; export * from '../test/utils/exchange_data_encoder'; diff --git a/contracts/extensions/src/index.ts b/contracts/extensions/src/index.ts index ba813e7caf..d55f08ea2d 100644 --- a/contracts/extensions/src/index.ts +++ b/contracts/extensions/src/index.ts @@ -1,3 +1,2 @@ export * from './artifacts'; export * from './wrappers'; -export * from '../test/utils'; diff --git a/contracts/multisig/src/index.ts b/contracts/multisig/src/index.ts index ba813e7caf..d55f08ea2d 100644 --- a/contracts/multisig/src/index.ts +++ b/contracts/multisig/src/index.ts @@ -1,3 +1,2 @@ export * from './artifacts'; export * from './wrappers'; -export * from '../test/utils'; diff --git a/contracts/staking/src/index.ts b/contracts/staking/src/index.ts index 2f65d0dcec..8fe6f0eff3 100644 --- a/contracts/staking/src/index.ts +++ b/contracts/staking/src/index.ts @@ -1,4 +1,4 @@ export * from './wrappers'; export * from './artifacts'; export { constants } from '../test/utils/constants'; -export * from '../test/utils/types'; +export { StakeInfo, StakeStatus } from '../test/utils/types';