refactor(config)!: Move remaining common options out of source data and into options

* Move logPayload and logFilterFailure to options
* Disallow use of "options" property in common data
This commit is contained in:
FoxxMD 2024-05-10 12:38:09 -04:00
parent ab372b8357
commit 3dc9e7d8b4
11 changed files with 35 additions and 116 deletions

View file

@ -2,18 +2,16 @@
"debugMode": false,
"disableWeb": false,
"sourceDefaults": {
"options": {
"logPayload": false,
"logFilterFailure": "warn",
"logPlayerState": false,
"scrobbleThresholds": {
"duration": 30,
"percent": 50
},
"maxPollRetries": 1,
"maxRequestRetries": 1,
"retryMultiplier": 1.5
}
"logPayload": false,
"logFilterFailure": "warn",
"logPlayerState": false,
"scrobbleThresholds": {
"duration": 30,
"percent": 50
},
"maxPollRetries": 1,
"maxRequestRetries": 1,
"retryMultiplier": 1.5
},
"clientDefaults": {
"maxRequestRetries": 1,