aboutsummaryrefslogtreecommitdiffstats
path: root/src/globals.d.ts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-08-29 00:01:39 +0800
committerGitHub <noreply@github.com>2017-08-29 00:01:39 +0800
commit05ce9733dadd1f83afa2d96ff55a23cd1477216d (patch)
tree6c984b77c1cd5ca312310d7f72ad4b512ecb9df5 /src/globals.d.ts
parent0afc95982b195378653e15697f65d4ad3bf48e66 (diff)
parent96da2c26dceca03340a213baae5a490df2f7183c (diff)
downloaddexon-sol-tools-05ce9733dadd1f83afa2d96ff55a23cd1477216d.tar
dexon-sol-tools-05ce9733dadd1f83afa2d96ff55a23cd1477216d.tar.gz
dexon-sol-tools-05ce9733dadd1f83afa2d96ff55a23cd1477216d.tar.bz2
dexon-sol-tools-05ce9733dadd1f83afa2d96ff55a23cd1477216d.tar.lz
dexon-sol-tools-05ce9733dadd1f83afa2d96ff55a23cd1477216d.tar.xz
dexon-sol-tools-05ce9733dadd1f83afa2d96ff55a23cd1477216d.tar.zst
dexon-sol-tools-05ce9733dadd1f83afa2d96ff55a23cd1477216d.zip
Merge pull request #140 from 0xProject/0x-json-schemas
Use 0x-json-schemas
Diffstat (limited to 'src/globals.d.ts')
-rw-r--r--src/globals.d.ts49
1 files changed, 0 insertions, 49 deletions
diff --git a/src/globals.d.ts b/src/globals.d.ts
index f1720e366..9879a57ad 100644
--- a/src/globals.d.ts
+++ b/src/globals.d.ts
@@ -25,55 +25,6 @@ declare namespace Chai {
}
/* tslint:enable */
-// jsonschema declarations
-// Source: https://github.com/tdegrunt/jsonschema/blob/master/lib/index.d.ts
-declare interface Schema {
- id?: string;
- $schema?: string;
- title?: string;
- description?: string;
- multipleOf?: number;
- maximum?: number;
- exclusiveMaximum?: boolean;
- minimum?: number;
- exclusiveMinimum?: boolean;
- maxLength?: number;
- minLength?: number;
- pattern?: string;
- additionalItems?: boolean | Schema;
- items?: Schema | Schema[];
- maxItems?: number;
- minItems?: number;
- uniqueItems?: boolean;
- maxProperties?: number;
- minProperties?: number;
- required?: string[];
- additionalProperties?: boolean | Schema;
- definitions?: {
- [name: string]: Schema;
- };
- properties?: {
- [name: string]: Schema;
- };
- patternProperties?: {
- [name: string]: Schema;
- };
- dependencies?: {
- [name: string]: Schema | string[];
- };
- 'enum'?: any[];
- type?: string | string[];
- allOf?: Schema[];
- anyOf?: Schema[];
- oneOf?: Schema[];
- not?: Schema;
- // This is the only property that's not defined in https://github.com/tdegrunt/jsonschema/blob/master/lib/index.d.ts
- // There is an open issue for that: https://github.com/tdegrunt/jsonschema/issues/194
- // There is also an opened PR: https://github.com/tdegrunt/jsonschema/pull/218/files
- // As soon as it gets merged we should be good to use types from 'jsonschema' package
- $ref?: string;
-}
-
declare module '*.json' {
const json: any;
/* tslint:disable */