diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-15 10:16:36 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-15 10:16:36 +0800 |
commit | bb992f8a49b42a1cd50d5bcc868f6d69fcd1a7ae (patch) | |
tree | 0b73d89e588b14dc4169472a4fc4a3527cfeda0d /packages/connect/src/types.ts | |
parent | 3eeb9ddfa6440d9287c0b2e6c6c51847cedf8b96 (diff) | |
download | dexon-0x-contracts-bb992f8a49b42a1cd50d5bcc868f6d69fcd1a7ae.tar dexon-0x-contracts-bb992f8a49b42a1cd50d5bcc868f6d69fcd1a7ae.tar.gz dexon-0x-contracts-bb992f8a49b42a1cd50d5bcc868f6d69fcd1a7ae.tar.bz2 dexon-0x-contracts-bb992f8a49b42a1cd50d5bcc868f6d69fcd1a7ae.tar.lz dexon-0x-contracts-bb992f8a49b42a1cd50d5bcc868f6d69fcd1a7ae.tar.xz dexon-0x-contracts-bb992f8a49b42a1cd50d5bcc868f6d69fcd1a7ae.tar.zst dexon-0x-contracts-bb992f8a49b42a1cd50d5bcc868f6d69fcd1a7ae.zip |
Update parsing code
Diffstat (limited to 'packages/connect/src/types.ts')
-rw-r--r-- | packages/connect/src/types.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/connect/src/types.ts b/packages/connect/src/types.ts index dab01c935..8c2eaff7d 100644 --- a/packages/connect/src/types.ts +++ b/packages/connect/src/types.ts @@ -71,6 +71,8 @@ export enum WebsocketClientEventType { ConnectFailed = 'connectFailed', } +export type OrdersResponse = PaginatedCollection<APIOrder>; + export interface APIOrder { order: SignedOrder; metaData: object; @@ -81,6 +83,8 @@ export interface AssetPairsRequestOpts { assetDataB?: string; } +export type AssetPairsResponse = PaginatedCollection<AssetPairsItem>; + export interface AssetPairsItem { assetDataA: Asset; assetDataB: Asset; |