aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/react-docs/src/types.ts')
-rw-r--r--packages/react-docs/src/types.ts66
1 files changed, 0 insertions, 66 deletions
diff --git a/packages/react-docs/src/types.ts b/packages/react-docs/src/types.ts
deleted file mode 100644
index 153448513..000000000
--- a/packages/react-docs/src/types.ts
+++ /dev/null
@@ -1,66 +0,0 @@
-export interface SectionNameToMarkdownByVersion {
- [version: string]: { [sectionName: string]: string };
-}
-
-export interface DocsInfoConfig {
- id: string;
- packageName: string;
- type: SupportedDocJson;
- displayName: string;
- packageUrl: string;
- markdownMenu: DocsMenu;
- markdownSections: SectionsMap;
- sectionNameToMarkdownByVersion: SectionNameToMarkdownByVersion;
- contractsByVersionByNetworkId?: ContractsByVersionByNetworkId;
-}
-
-export interface DocsMenu {
- [sectionName: string]: string[];
-}
-
-export interface SectionsMap {
- [sectionName: string]: string;
-}
-
-// Exception: We don't make the values uppercase because these KindString's need to
-// match up those returned by TypeDoc
-export enum KindString {
- Constructor = 'Constructor',
- Property = 'Property',
- Method = 'Method',
- Interface = 'Interface',
- TypeAlias = 'Type alias',
- ObjectLiteral = 'Object literal',
- Variable = 'Variable',
- Function = 'Function',
- Enumeration = 'Enumeration',
- Class = 'Class',
-}
-
-export enum SupportedDocJson {
- SolDoc = 'SOL_DOC',
- TypeDoc = 'TYPEDOC',
-}
-
-export interface ContractsByVersionByNetworkId {
- [version: string]: {
- [networkName: string]: {
- [contractName: string]: string;
- };
- };
-}
-
-export interface AddressByContractName {
- [contractName: string]: string;
-}
-
-export interface EnumValue {
- name: string;
- defaultValue?: string;
-}
-
-export enum AbiTypes {
- Constructor = 'constructor',
- Function = 'function',
- Event = 'event',
-}