diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2017-12-12 09:01:58 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-12 22:37:55 +0800 |
commit | d1fb61e0def4ccb491fc27bdf6394634e6c15768 (patch) | |
tree | 0cb5a50efdc50d1e396e2d34ee07209bf52bdd7f /packages/website | |
parent | cb7188d47390719b74d7e09c938068a9f201c1b0 (diff) | |
download | dexon-sol-tools-d1fb61e0def4ccb491fc27bdf6394634e6c15768.tar dexon-sol-tools-d1fb61e0def4ccb491fc27bdf6394634e6c15768.tar.gz dexon-sol-tools-d1fb61e0def4ccb491fc27bdf6394634e6c15768.tar.bz2 dexon-sol-tools-d1fb61e0def4ccb491fc27bdf6394634e6c15768.tar.lz dexon-sol-tools-d1fb61e0def4ccb491fc27bdf6394634e6c15768.tar.xz dexon-sol-tools-d1fb61e0def4ccb491fc27bdf6394634e6c15768.tar.zst dexon-sol-tools-d1fb61e0def4ccb491fc27bdf6394634e6c15768.zip |
Add WebSocketOrderbookChannel to connect docs
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/containers/connect_documentation.tsx | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/packages/website/ts/containers/connect_documentation.tsx b/packages/website/ts/containers/connect_documentation.tsx index b074d955b..8ecc1e37c 100644 --- a/packages/website/ts/containers/connect_documentation.tsx +++ b/packages/website/ts/containers/connect_documentation.tsx @@ -23,6 +23,7 @@ const connectDocSections = { introduction: 'introduction', installation: 'installation', httpClient: 'httpClient', + webSocketOrderbookChannel: 'webSocketOrderbookChannel', types: 'types', }; @@ -42,6 +43,9 @@ const docsInfoConfig: DocsInfoConfig = { httpClient: [ connectDocSections.httpClient, ], + webSocketOrderbookChannel: [ + connectDocSections.webSocketOrderbookChannel, + ], types: [ connectDocSections.types, ], @@ -56,6 +60,9 @@ const docsInfoConfig: DocsInfoConfig = { 'Client', 'FeesRequest', 'FeesResponse', + 'OrderbookChannel', + 'OrderbookChannelHandler', + 'OrderbookChannelSubscriptionOpts', 'OrderbookRequest', 'OrderbookResponse', 'OrdersRequest', @@ -64,14 +71,19 @@ const docsInfoConfig: DocsInfoConfig = { 'TokenTradeInfo', 'Order', 'SignedOrder', + 'ECSignature', ], sectionNameToModulePath: { [connectDocSections.httpClient]: ['"src/http_client"'], + [connectDocSections.webSocketOrderbookChannel]: ['"src/ws_orderbook_channel"'], [connectDocSections.types]: ['"src/types"'], }, menuSubsectionToVersionWhenIntroduced: {}, sections: connectDocSections, - visibleConstructors: [connectDocSections.httpClient], + visibleConstructors: [ + connectDocSections.httpClient, + connectDocSections.webSocketOrderbookChannel, + ], convertToDocAgnosticFormatFn: typeDocUtils.convertToDocAgnosticFormat.bind(typeDocUtils), }; const docsInfo = new DocsInfo(docsInfoConfig); |