@altostra/core
Version:
Core library for shared types and logic
18 lines (17 loc) • 819 B
TypeScript
import type { DNSName } from "../../common/CustomTypes/DNSName";
import type { Certificate, StoredCertificate } from "../Connections/DomainConnection";
import type { ResourceBase } from "./Common";
/******************************************************************************/
/******************************************************************************/
export declare type DomainNameType = 'resource.dns.name';
/**
* A domain name that might be mapped to DNS record (A, CNAME. otherwise)
*/
export interface DomainName extends ResourceBase {
type: DomainNameType;
dnsName: DNSName;
certificate: Certificate;
createDNSRecord?: boolean;
}
export declare const isDomainName: import("@altostra/type-validations").ObjectOfTypeValidation<DomainName>;
export type { Certificate, StoredCertificate, };