chore(apis/websocket): update config schema

This commit is contained in:
PalmDevs
2024-01-14 21:42:58 +07:00
parent fd7388ac3d
commit 3e84821c23
3 changed files with 11 additions and 2 deletions

View File

@@ -5,5 +5,5 @@
"port": 3000,
"ocrConcurrentQueues": 1,
"clientHeartbeatInterval": 5000,
"consoleLogLevel": "silly"
"consoleLogLevel": "log"
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "./config.schema.json",
"address": "127.0.0.1",
"port": 3000,
"ocrConcurrentQueues": 3,
"clientHeartbeatInterval": 5000,
"consoleLogLevel": "log"
}

View File

@@ -25,7 +25,7 @@
"consoleLogLevel": {
"description": "The log level to print to console",
"type": "string",
"enum": ["error", "warn", "info", "log", "debug", "none"],
"enum": ["error", "warn", "info", "log", "debug", "trace", "none"],
"default": "info"
}
}