aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/src/schemas.ts
blob: 69164cbc7940dd8424bce6987c53a52a8e70133c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
import {
    addressSchema,
    numberSchema,
} from '../schemas/basic_type_schemas';
import {
    ecSignatureParameterSchema,
    ecSignatureSchema,
} from '../schemas/ec_signature_schema';
import {
    indexFilterValuesSchema,
} from '../schemas/index_filter_values_schema';
import {
    orderCancellationRequestsSchema,
} from '../schemas/order_cancel_schema';
import {
    orderFillOrKillRequestsSchema,
} from '../schemas/order_fill_or_kill_requests_schema';
import {
    orderFillRequestsSchema,
} from '../schemas/order_fill_requests_schema';
import {
    orderHashSchema,
} from '../schemas/order_hash_schema';
import {
    orderSchema,
    signedOrderSchema,
} from '../schemas/order_schemas';
import {
    relayerApiErrorResponseSchema,
} from '../schemas/relayer_api_error_response_schema';
import {
    relayerApiFeesPayloadSchema,
} from '../schemas/relayer_api_fees_payload_schema';
import {
    relayerApiFeesResponseSchema,
} from '../schemas/relayer_api_fees_response_schema';
import {
    relayerApiOrderbookChannelSubscribePayload,
    relayerApiOrderbookChannelSubscribeSchema,
} from '../schemas/relayer_api_orberbook_channel_subscribe_schema';
import {
    relayerApiOrderbookChannelSnapshotPayload,
    relayerApiOrderbookChannelSnapshotSchema,
} from '../schemas/relayer_api_orderbook_channel_snapshot_schema';
import {
    relayerApiOrderbookChannelUpdateSchema,
} from '../schemas/relayer_api_orderbook_channel_update_response_schema';
import {
    relayerApiOrderBookResponseSchema,
} from '../schemas/relayer_api_orderbook_response_schema';
import {
    relayerApiTokenPairsResponseSchema,
    relayerApiTokenTradeInfoSchema,
} from '../schemas/relayer_api_token_pairs_response_schema';
import {
    signedOrdersSchema,
} from '../schemas/signed_orders_schema';
import {
    blockParamSchema,
    subscriptionOptsSchema,
} from '../schemas/subscription_opts_schema';
import {
    tokenSchema,
} from '../schemas/token_schema';
import {
    jsNumber,
    txDataSchema,
} from '../schemas/tx_data_schema';

export const schemas = {
    numberSchema,
    addressSchema,
    ecSignatureSchema,
    ecSignatureParameterSchema,
    indexFilterValuesSchema,
    orderCancellationRequestsSchema,
    orderFillOrKillRequestsSchema,
    orderFillRequestsSchema,
    orderHashSchema,
    orderSchema,
    signedOrderSchema,
    signedOrdersSchema,
    blockParamSchema,
    subscriptionOptsSchema,
    tokenSchema,
    jsNumber,
    txDataSchema,
    relayerApiErrorResponseSchema,
    relayerApiFeesPayloadSchema,
    relayerApiFeesResponseSchema,
    relayerApiOrderBookResponseSchema,
    relayerApiTokenPairsResponseSchema,
    relayerApiTokenTradeInfoSchema,
    relayerApiOrderbookChannelSubscribeSchema,
    relayerApiOrderbookChannelSubscribePayload,
    relayerApiOrderbookChannelUpdateSchema,
    relayerApiOrderbookChannelSnapshotSchema,
    relayerApiOrderbookChannelSnapshotPayload,
};