aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas/basic_type_schemas.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-17 20:28:26 +0800
committerFabio Berger <me@fabioberger.com>2018-10-17 20:28:26 +0800
commit7d9009bb96fa576c98abd82200cd0fc2b4d27e40 (patch)
tree6725cc866ee5f1940f2b4611b8e9f94976626b6c /packages/json-schemas/schemas/basic_type_schemas.ts
parent78e6063d929368cd08c324cc5e7e5b48af0079f6 (diff)
downloaddexon-sol-tools-7d9009bb96fa576c98abd82200cd0fc2b4d27e40.tar
dexon-sol-tools-7d9009bb96fa576c98abd82200cd0fc2b4d27e40.tar.gz
dexon-sol-tools-7d9009bb96fa576c98abd82200cd0fc2b4d27e40.tar.bz2
dexon-sol-tools-7d9009bb96fa576c98abd82200cd0fc2b4d27e40.tar.lz
dexon-sol-tools-7d9009bb96fa576c98abd82200cd0fc2b4d27e40.tar.xz
dexon-sol-tools-7d9009bb96fa576c98abd82200cd0fc2b4d27e40.tar.zst
dexon-sol-tools-7d9009bb96fa576c98abd82200cd0fc2b4d27e40.zip
Convert all schemas to json files, so it's easier for devs in other languages to use it
Diffstat (limited to 'packages/json-schemas/schemas/basic_type_schemas.ts')
-rw-r--r--packages/json-schemas/schemas/basic_type_schemas.ts17
1 files changed, 0 insertions, 17 deletions
diff --git a/packages/json-schemas/schemas/basic_type_schemas.ts b/packages/json-schemas/schemas/basic_type_schemas.ts
deleted file mode 100644
index a59afaef8..000000000
--- a/packages/json-schemas/schemas/basic_type_schemas.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-export const addressSchema = {
- id: '/addressSchema',
- type: 'string',
- pattern: '^0x[0-9a-f]{40}$',
-};
-
-export const hexSchema = {
- id: '/hexSchema',
- type: 'string',
- pattern: '^0x(([0-9a-f][0-9a-f])+)?$',
-};
-
-export const numberSchema = {
- id: '/numberSchema',
- type: 'string',
- pattern: '^\\d+(\\.\\d+)?$',
-};