(key: string, value: any)
| 84 | } |
| 85 | |
| 86 | isPatchValid(key: string, value: any) { |
| 87 | const root = this.applyDelta(this.systemConfig, key, value); |
| 88 | try { |
| 89 | Schema.intersect(this.settings)(root); |
| 90 | } catch (e) { |
| 91 | return false; |
| 92 | } |
| 93 | return true; |
| 94 | } |
| 95 | |
| 96 | async saveConfig(config: any) { |
| 97 | Schema.intersect(this.settings)(config); |
nothing calls this directly
no test coverage detected