diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-17 20:28:26 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-17 20:28:26 +0800 |
commit | 7d9009bb96fa576c98abd82200cd0fc2b4d27e40 (patch) | |
tree | 6725cc866ee5f1940f2b4611b8e9f94976626b6c /packages/json-schemas/tsconfig.json | |
parent | 78e6063d929368cd08c324cc5e7e5b48af0079f6 (diff) | |
download | dexon-0x-contracts-7d9009bb96fa576c98abd82200cd0fc2b4d27e40.tar.gz dexon-0x-contracts-7d9009bb96fa576c98abd82200cd0fc2b4d27e40.tar.zst dexon-0x-contracts-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/tsconfig.json')
-rw-r--r-- | packages/json-schemas/tsconfig.json | 44 |
1 files changed, 42 insertions, 2 deletions
diff --git a/packages/json-schemas/tsconfig.json b/packages/json-schemas/tsconfig.json index 96bf8789e..683787102 100644 --- a/packages/json-schemas/tsconfig.json +++ b/packages/json-schemas/tsconfig.json @@ -2,7 +2,47 @@ "extends": "../../tsconfig", "compilerOptions": { "outDir": "lib", - "rootDir": "." + "rootDir": ".", + "resolveJsonModule": true }, - "include": ["./src/**/*", "./test/**/*", "./schemas/**/*"] + "include": ["./src/**/*", "./test/**/*", "./schemas/**/*"], + "files": [ + "./schemas/address_schema.json", + "./schemas/number_schema.json", + "./schemas/hex_schema.json", + "./schemas/block_param_schema.json", + "./schemas/block_range_schema.json", + "./schemas/call_data_schema.json", + "./schemas/ec_signature_parameter_schema.json", + "./schemas/ec_signature_schema.json", + "./schemas/eip712_typed_data_schema.json", + "./schemas/order_cancel_schema.json", + "./schemas/order_fill_or_kill_requests_schema.json", + "./schemas/order_fill_requests_schema.json", + "./schemas/order_hash_schema.json", + "./schemas/order_schema.json", + "./schemas/signed_order_schema.json", + "./schemas/orders_schema.json", + "./schemas/paginated_collection_schema.json", + "./schemas/relayer_api_asset_data_pairs_response_schema.json", + "./schemas/relayer_api_asset_data_pairs_schema.json", + "./schemas/relayer_api_asset_data_trade_info_schema.json", + "./schemas/relayer_api_error_response_schema.json", + "./schemas/relayer_api_fee_recipients_response_schema.json", + "./schemas/relayer_api_order_config_payload_schema.json", + "./schemas/relayer_api_order_config_response_schema.json", + "./schemas/relayer_api_order_schema.json", + "./schemas/relayer_api_orderbook_response_schema.json", + "./schemas/relayer_api_orders_channel_subscribe_payload_schema.json", + "./schemas/relayer_api_orders_channel_subscribe_schema.json", + "./schemas/relayer_api_orders_channel_update_response_schema.json", + "./schemas/relayer_api_orders_response_schema.json", + "./schemas/relayer_api_orders_schema.json", + "./schemas/signed_orders_schema.json", + "./schemas/token_schema.json", + "./schemas/js_number.json", + "./schemas/zero_ex_transaction_schema.json", + "./schemas/tx_data_schema.json", + "./schemas/index_filter_values_schema.json" + ] } |