diff options
author | Fabio Berger <me@fabioberger.com> | 2017-06-09 00:13:54 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-06-09 00:13:54 +0800 |
commit | 23a4dcb729084c0e00c759da487ae3959f436b3a (patch) | |
tree | 17446623d60c9beecedab6248e4485082fe1ad5e /src/schemas/order_schemas.ts | |
parent | 2b08c04d4d7b67592d3f846dc31d01892bdbeaeb (diff) | |
download | dexon-sol-tools-23a4dcb729084c0e00c759da487ae3959f436b3a.tar dexon-sol-tools-23a4dcb729084c0e00c759da487ae3959f436b3a.tar.gz dexon-sol-tools-23a4dcb729084c0e00c759da487ae3959f436b3a.tar.bz2 dexon-sol-tools-23a4dcb729084c0e00c759da487ae3959f436b3a.tar.lz dexon-sol-tools-23a4dcb729084c0e00c759da487ae3959f436b3a.tar.xz dexon-sol-tools-23a4dcb729084c0e00c759da487ae3959f436b3a.tar.zst dexon-sol-tools-23a4dcb729084c0e00c759da487ae3959f436b3a.zip |
Add orderFillOrKillRequestsSchema and validate using it instead of looping over the requests and validating them individually
Diffstat (limited to 'src/schemas/order_schemas.ts')
-rw-r--r-- | src/schemas/order_schemas.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/schemas/order_schemas.ts b/src/schemas/order_schemas.ts index 4999f3e9d..133736b3d 100644 --- a/src/schemas/order_schemas.ts +++ b/src/schemas/order_schemas.ts @@ -1,15 +1,3 @@ -export const addressSchema = { - id: '/addressSchema', - type: 'string', - pattern: '^0[xX][0-9A-Fa-f]{40}$', -}; - -export const numberSchema = { - id: '/numberSchema', - type: 'string', - pattern: '^\\d+(\\.\\d+)?$', -}; - export const orderSchema = { id: '/orderSchema', properties: { |