| 35 | }; |
| 36 | // From https://vercel.com/docs/rest-api/endpoints#get-a-domain-s-configuration |
| 37 | export interface DomainConfigResponse { |
| 38 | /** How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `null`: Domain is not resolving to Vercel. */ |
| 39 | configuredBy?: ('CNAME' | 'A' | 'http') | null; |
| 40 | /** Which challenge types the domain can use for issuing certs. */ |
| 41 | acceptedChallenges?: ('dns-01' | 'http-01')[]; |
| 42 | /** Whether or not the domain is configured AND we can automatically generate a TLS certificate. */ |
| 43 | misconfigured: boolean; |
| 44 | } |
| 45 | |
| 46 | // From https://vercel.com/docs/rest-api/endpoints#verify-project-domain |
| 47 | export interface DomainVerificationResponse { |
nothing calls this directly
no outgoing calls
no test coverage detected