aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-watcher/src/schemas
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-18 22:43:25 +0800
committerFabio Berger <me@fabioberger.com>2018-07-18 22:43:25 +0800
commit29d5034260b2e3b4b670d856463ed34377bff3ac (patch)
tree358b3cce6e4b2c4ea4f4c816668635e2aff758f0 /packages/order-watcher/src/schemas
parentf99232095b3effea261b5b24bc01db4f96c416f6 (diff)
parent00d1622b3f087943e750f1b3f6ee6ceab7e80285 (diff)
downloaddexon-sol-tools-29d5034260b2e3b4b670d856463ed34377bff3ac.tar
dexon-sol-tools-29d5034260b2e3b4b670d856463ed34377bff3ac.tar.gz
dexon-sol-tools-29d5034260b2e3b4b670d856463ed34377bff3ac.tar.bz2
dexon-sol-tools-29d5034260b2e3b4b670d856463ed34377bff3ac.tar.lz
dexon-sol-tools-29d5034260b2e3b4b670d856463ed34377bff3ac.tar.xz
dexon-sol-tools-29d5034260b2e3b4b670d856463ed34377bff3ac.tar.zst
dexon-sol-tools-29d5034260b2e3b4b670d856463ed34377bff3ac.zip
merge v2-prototype
Diffstat (limited to 'packages/order-watcher/src/schemas')
-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: [],
+};