* Transform proxy config from old format to new format. * Old format: { enabled: true | false | 'global', protocol, hostname, port, auth: { enabled, ... }, ... } * New format: { disabled?, inherit, config: { protocol, hostname, port, auth: { disabled?, ... }, ... } }
| 5 | */ |
| 6 | |
| 7 | interface OldProxyAuth { |
| 8 | enabled?: boolean; |
| 9 | username?: string; |
| 10 | password?: string; |
| 11 | } |
| 12 | |
| 13 | interface OldProxyConfig { |
| 14 | enabled?: true | false | 'global'; |
nothing calls this directly
no outgoing calls
no test coverage detected