aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-21 18:15:59 +0800
committerFabio Berger <me@fabioberger.com>2018-08-21 18:15:59 +0800
commite7c7af8ef4ffb5dc3f1cbe468d272f4b9424fdc7 (patch)
tree160fa3b48b129740df574e4c46f8b5220f199b78 /packages
parentb67677f47695b2e24887d0e23ca74432f063bd4f (diff)
downloaddexon-sol-tools-e7c7af8ef4ffb5dc3f1cbe468d272f4b9424fdc7.tar
dexon-sol-tools-e7c7af8ef4ffb5dc3f1cbe468d272f4b9424fdc7.tar.gz
dexon-sol-tools-e7c7af8ef4ffb5dc3f1cbe468d272f4b9424fdc7.tar.bz2
dexon-sol-tools-e7c7af8ef4ffb5dc3f1cbe468d272f4b9424fdc7.tar.lz
dexon-sol-tools-e7c7af8ef4ffb5dc3f1cbe468d272f4b9424fdc7.tar.xz
dexon-sol-tools-e7c7af8ef4ffb5dc3f1cbe468d272f4b9424fdc7.tar.zst
dexon-sol-tools-e7c7af8ef4ffb5dc3f1cbe468d272f4b9424fdc7.zip
Add more types and ignores to docGenConfigs
Diffstat (limited to 'packages')
-rw-r--r--packages/monorepo-scripts/src/doc_gen_configs.ts13
1 files changed, 10 insertions, 3 deletions
diff --git a/packages/monorepo-scripts/src/doc_gen_configs.ts b/packages/monorepo-scripts/src/doc_gen_configs.ts
index fd95863c3..41142d9c8 100644
--- a/packages/monorepo-scripts/src/doc_gen_configs.ts
+++ b/packages/monorepo-scripts/src/doc_gen_configs.ts
@@ -11,10 +11,13 @@ export const docGenConfigs: DocGenConfigs = {
'solc.CompilerSettings': 'https://solidity.readthedocs.io/en/v0.4.24/using-the-compiler.html#input-description',
Schema:
'https://github.com/tdegrunt/jsonschema/blob/5c2edd4baba149964aec0f23c87ad12c25a50dfb/lib/index.d.ts#L49',
+ Uint8Array: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array',
+ 'Ganache.GanacheOpts':
+ 'https://github.com/0xProject/0x-monorepo/blob/ddf85112d7e4eb1581e0d82ce6eedad429641106/packages/typescript-typings/types/ganache-core/index.d.ts#L3',
+ 'lightwallet.keystore':
+ 'https://github.com/0xProject/0x-monorepo/blob/ddf85112d7e4eb1581e0d82ce6eedad429641106/packages/typescript-typings/types/eth-lightwallet/index.d.ts#L32',
},
- /**
- * If a 0x package re-exports an external package, we should add a link to it's exported items here
- */
+ // If a 0x package re-exports an external package, we should add a link to it's exported items here
EXTERNAL_EXPORT_TO_LINK: {
Web3ProviderEngine: 'https://www.npmjs.com/package/web3-provider-engine',
BigNumber: 'https://www.npmjs.com/package/bignumber.js',
@@ -30,4 +33,8 @@ export const docGenConfigs: DocGenConfigs = {
'ExchangeWrapper',
'ForwarderWrapper',
],
+ // Some types are not explicitly part of the public interface like params, return values, etc... But we still
+ // want them exported. E.g error enum types that can be thrown by methods. These must be manually added to this
+ // config
+ IGNORED_EXCESSIVE_TYPES: ['NonceSubproviderErrors', 'Web3WrapperErrors', 'ContractWrappersError', 'OrderError'],
};