diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-08 06:03:52 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-08 06:03:52 +0800 |
commit | f4c2fabbf8f8eccd5cd7c65035e78ad268a34b57 (patch) | |
tree | 853a661c245d5bdc1fb9d165aa204b7761bd91f2 /packages/sra-api/src/examples | |
parent | 0a616ad3b8b87c8142598b535154564cb9276cbe (diff) | |
download | dexon-sol-tools-f4c2fabbf8f8eccd5cd7c65035e78ad268a34b57.tar dexon-sol-tools-f4c2fabbf8f8eccd5cd7c65035e78ad268a34b57.tar.gz dexon-sol-tools-f4c2fabbf8f8eccd5cd7c65035e78ad268a34b57.tar.bz2 dexon-sol-tools-f4c2fabbf8f8eccd5cd7c65035e78ad268a34b57.tar.lz dexon-sol-tools-f4c2fabbf8f8eccd5cd7c65035e78ad268a34b57.tar.xz dexon-sol-tools-f4c2fabbf8f8eccd5cd7c65035e78ad268a34b57.tar.zst dexon-sol-tools-f4c2fabbf8f8eccd5cd7c65035e78ad268a34b57.zip |
Minor refactoring
Diffstat (limited to 'packages/sra-api/src/examples')
-rw-r--r-- | packages/sra-api/src/examples/index.ts | 4 | ||||
-rw-r--r-- | packages/sra-api/src/examples/relayerApiAssetDataPairsResponseSchema.ts | 21 |
2 files changed, 2 insertions, 23 deletions
diff --git a/packages/sra-api/src/examples/index.ts b/packages/sra-api/src/examples/index.ts index eeeb353b3..a9d08691e 100644 --- a/packages/sra-api/src/examples/index.ts +++ b/packages/sra-api/src/examples/index.ts @@ -1,7 +1,7 @@ import { validationError } from './errors'; -import { relayerApiAssetDataPairsResponseSchema } from './relayerApiAssetDataPairsResponseSchema'; +import { relayerApiAssetDataPairsResponse } from './relayerApiAssetDataPairsResponse'; export const examples = { validationError, - relayerApiAssetDataPairsResponseSchema, + relayerApiAssetDataPairsResponse, }; diff --git a/packages/sra-api/src/examples/relayerApiAssetDataPairsResponseSchema.ts b/packages/sra-api/src/examples/relayerApiAssetDataPairsResponseSchema.ts deleted file mode 100644 index 89a0c82fb..000000000 --- a/packages/sra-api/src/examples/relayerApiAssetDataPairsResponseSchema.ts +++ /dev/null @@ -1,21 +0,0 @@ -export const relayerApiAssetDataPairsResponseSchema = { - total: 43, - page: 1, - perPage: 100, - records: [ - { - assetDataA: { - minAmount: '0', - maxAmount: '10000000000000000000', - precision: 5, - assetData: '0xf47261b04c32345ced77393b3530b1eed0f346429d', - }, - assetDataB: { - minAmount: '0', - maxAmount: '50000000000000000000', - precision: 5, - assetData: '0x0257179264389b814a946f3e92105513705ca6b990', - }, - }, - ], -}; |