| 1 | export interface DNSMapping { |
| 2 | hosts: { |
| 3 | [domain: string]: string[] |
| 4 | }, |
| 5 | /** which also disallows wildcard */ |
| 6 | realip: boolean, |
| 7 | /** should convert to ruleset */ |
| 8 | ruleset: boolean, |
| 9 | dns: string | null, |
| 10 | /** |
| 11 | * domain[0] |
| 12 | * |
| 13 | * + subdomain only |
| 14 | * $ domain only exact match |
| 15 | * [none] domain and subdomain |
| 16 | */ |
| 17 | domains: string[] |
| 18 | } |
| 19 | |
| 20 | export const DIRECTS = { |
| 21 | HOTSPOT_CAPTIVE_PORTAL: { |
nothing calls this directly
no outgoing calls
no test coverage detected