aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-watcher
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-13 23:44:00 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-13 23:44:00 +0800
commitca59528a3216f9776eb1b37a3008f095b8c37951 (patch)
tree6fb268e59d940a0297b0e212bbdaabd225ab3fdc /packages/order-watcher
parent6f4fd06d38d0a9f004cf3a805cb827a60dbbf002 (diff)
downloaddexon-0x-contracts-ca59528a3216f9776eb1b37a3008f095b8c37951.tar
dexon-0x-contracts-ca59528a3216f9776eb1b37a3008f095b8c37951.tar.gz
dexon-0x-contracts-ca59528a3216f9776eb1b37a3008f095b8c37951.tar.bz2
dexon-0x-contracts-ca59528a3216f9776eb1b37a3008f095b8c37951.tar.lz
dexon-0x-contracts-ca59528a3216f9776eb1b37a3008f095b8c37951.tar.xz
dexon-0x-contracts-ca59528a3216f9776eb1b37a3008f095b8c37951.tar.zst
dexon-0x-contracts-ca59528a3216f9776eb1b37a3008f095b8c37951.zip
Add OrderWatcherPartialConfigSchema
Diffstat (limited to 'packages/order-watcher')
-rw-r--r--packages/order-watcher/src/schemas/order_watcher_partial_config_schema.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/order-watcher/src/schemas/order_watcher_partial_config_schema.ts b/packages/order-watcher/src/schemas/order_watcher_partial_config_schema.ts
new file mode 100644
index 000000000..bc7d40524
--- /dev/null
+++ b/packages/order-watcher/src/schemas/order_watcher_partial_config_schema.ts
@@ -0,0 +1,13 @@
+export const orderWatcherPartialConfigSchema = {
+ id: '/OrderWatcherPartialConfigSchema',
+ properties: {
+ stateLayer: { $ref: '/BlockParam' },
+ orderExpirationCheckingIntervalMs: { type: 'number' },
+ eventPollingIntervalMs: { type: 'number' },
+ expirationMarginMs: { type: 'number' },
+ cleanupJobIntervalMs: { type: 'number' },
+ isVerbose: { type: 'boolean' },
+ },
+ type: 'object',
+ required: [],
+};