aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/schemas/validator.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-09 01:07:38 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-09 01:14:52 +0800
commitec198343b551020cfed321937d680af59c2ce127 (patch)
tree89e15ec9f13325d82dc159254baf6ca27171e729 /packages/website/ts/schemas/validator.ts
parent1233c33116a389f34ac90768c5ef43c8bbfbf514 (diff)
downloaddexon-sol-tools-ec198343b551020cfed321937d680af59c2ce127.tar.gz
dexon-sol-tools-ec198343b551020cfed321937d680af59c2ce127.tar.zst
dexon-sol-tools-ec198343b551020cfed321937d680af59c2ce127.zip
Make naming of schemas consistent
Diffstat (limited to 'packages/website/ts/schemas/validator.ts')
-rw-r--r--packages/website/ts/schemas/validator.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/website/ts/schemas/validator.ts b/packages/website/ts/schemas/validator.ts
index f0b5e6676..dac0f0098 100644
--- a/packages/website/ts/schemas/validator.ts
+++ b/packages/website/ts/schemas/validator.ts
@@ -1,12 +1,12 @@
import { SchemaValidator } from '@0xproject/json-schemas';
import { Schema as JSONSchema, Validator } from 'jsonschema';
import { orderMetadataSchema } from 'ts/schemas/metadata_schema';
-import { orderSchema } from 'ts/schemas/order_schema';
-import { tokenSchema } from 'ts/schemas/token_schema';
+import { portalOrderSchema } from 'ts/schemas/portal_order_schema';
+import { portalTokenMetadataSchema } from 'ts/schemas/portal_token_metadata';
const validator = new SchemaValidator();
-validator.addSchema(tokenSchema);
+validator.addSchema(portalTokenMetadataSchema);
validator.addSchema(orderMetadataSchema);
-validator.addSchema(orderSchema);
+validator.addSchema(portalOrderSchema);
export { validator };