diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-07 22:19:59 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-07 22:19:59 +0800 |
commit | 9aec1feae30870b3e6c8a778051877c83aacbe58 (patch) | |
tree | e49064325db9c51cc82acc5e177866ad806f7862 /packages/react-docs/src/ts/types.ts | |
parent | 8517de128b591c67f059d6c47722dfa81eeb9828 (diff) | |
download | dexon-0x-contracts-9aec1feae30870b3e6c8a778051877c83aacbe58.tar dexon-0x-contracts-9aec1feae30870b3e6c8a778051877c83aacbe58.tar.gz dexon-0x-contracts-9aec1feae30870b3e6c8a778051877c83aacbe58.tar.bz2 dexon-0x-contracts-9aec1feae30870b3e6c8a778051877c83aacbe58.tar.lz dexon-0x-contracts-9aec1feae30870b3e6c8a778051877c83aacbe58.tar.xz dexon-0x-contracts-9aec1feae30870b3e6c8a778051877c83aacbe58.tar.zst dexon-0x-contracts-9aec1feae30870b3e6c8a778051877c83aacbe58.zip |
Move remaining type configs to topLevel DocsInfoConfigs
Diffstat (limited to 'packages/react-docs/src/ts/types.ts')
-rw-r--r-- | packages/react-docs/src/ts/types.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/react-docs/src/ts/types.ts b/packages/react-docs/src/ts/types.ts index cb211e887..d192af313 100644 --- a/packages/react-docs/src/ts/types.ts +++ b/packages/react-docs/src/ts/types.ts @@ -7,11 +7,17 @@ export interface DocsInfoConfig { sections: SectionsMap; sectionNameToMarkdown: { [sectionName: string]: string }; visibleConstructors: string[]; - subPackageName?: string; - publicTypes?: string[]; sectionNameToModulePath?: { [sectionName: string]: string[] }; menuSubsectionToVersionWhenIntroduced?: { [sectionName: string]: string }; contractsByVersionByNetworkId?: ContractsByVersionByNetworkId; + typeConfigs?: DocsInfoTypeConfigs; +} + +export interface DocsInfoTypeConfigs { + typeNameToExternalLink?: { [typeName: string]: string }; + publicTypes?: string[]; + typeNameToPrefix?: { [typeName: string]: string }; + typeNameToDocSection?: { [typeName: string]: string }; } export interface DocsMenu { |