move shared doc types from react-docs to @0x/types
This commit is contained in:
@@ -1,20 +1,17 @@
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import {
|
||||
AbiTypes,
|
||||
DocAgnosticFormat,
|
||||
DocSection,
|
||||
DoxityAbiDoc,
|
||||
DoxityContractObj,
|
||||
DoxityDocObj,
|
||||
DoxityInput,
|
||||
EventArg,
|
||||
Parameter,
|
||||
Property,
|
||||
SolidityMethod,
|
||||
Type,
|
||||
TypeDocTypes,
|
||||
} from '../types';
|
||||
} from '@0xproject/types';
|
||||
|
||||
import { AbiTypes, DoxityAbiDoc, DoxityContractObj, DoxityDocObj, DoxityInput } from '../types';
|
||||
|
||||
export const doxityUtils = {
|
||||
convertToDocAgnosticFormat(doxityDocObj: DoxityDocObj): DocAgnosticFormat {
|
||||
|
@@ -1,7 +1,3 @@
|
||||
import { errorUtils } from '@0xproject/utils';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import { DocsInfo } from '../docs_info';
|
||||
import {
|
||||
CustomType,
|
||||
CustomTypeChild,
|
||||
@@ -11,7 +7,6 @@ import {
|
||||
ExternalTypeToLink,
|
||||
GeneratedDocJson,
|
||||
IndexSignature,
|
||||
KindString,
|
||||
Parameter,
|
||||
Property,
|
||||
Type,
|
||||
@@ -21,7 +16,12 @@ import {
|
||||
TypeParameter,
|
||||
TypescriptFunction,
|
||||
TypescriptMethod,
|
||||
} from '../types';
|
||||
} from '@0xproject/types';
|
||||
import { errorUtils } from '@0xproject/utils';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import { DocsInfo } from '../docs_info';
|
||||
import { KindString } from '../types';
|
||||
|
||||
import { constants } from './constants';
|
||||
|
||||
|
Reference in New Issue
Block a user