DocsDomains

Domains

20
Items
15
Functions
0
Types
5
Other

default

function
default(__namedParameters: DomainTimelineProps): Element

Domain

property

domainVisualConfig

variable

Visual configuration for domain status and category display.

DomainVisualConfig

expirationThreshold

variable

Days threshold for "expiring soon" warning indicators.

30

formatDate

function

Formats a Date object to a human-readable string.

formatDate(date: Date): string

generateStaticParams

function

Generates static paths for domain pages at build time.

generateStaticParams(): Promise

getDaysUntilExpiration

function

Gets the number of days until domain expiration.

getDaysUntilExpiration(domain: Domain): number

getExpirationDate

function

Gets the expiration date for a domain based on renewal history.

getExpirationDate(domain: Domain): Date

getNextRenewalDate

function

Gets the next renewal date for a domain (alias for expiration date).

getNextRenewalDate(domain: Domain): Date

getOwnershipDays

function

Gets the ownership duration in days for a domain.

getOwnershipDays(domain: Domain): number

getOwnershipDuration

function

Gets the ownership duration in years for a domain.

getOwnershipDuration(domain: Domain): number

getOwnershipMonths

function

Gets the ownership duration in months for a domain.

getOwnershipMonths(domain: Domain): number

getRegistrationDate

function

Gets the registration date for a domain.

getRegistrationDate(domain: Domain): Date

getRenewalProgress

function

Gets the renewal progress as a percentage (0-100).

getRenewalProgress(domain: Domain): number

getRenewalTimeline

function

Generates a timeline of renewal events from domain renewal history.

getRenewalTimeline(domain: Domain): DomainTimelineEvent[]

getTLD

function

Extracts the top-level domain (TLD) from a domain name.

getTLD(domain: Domain): string

getTotalRenewalPeriodDays

function

Calculates the total renewal period in days from registration to expiration.

getTotalRenewalPeriodDays(domain: Domain): number

isExpiringSoon

function

Checks if a domain is expiring soon based on a configurable threshold.

isExpiringSoon(domain: Domain, thresholdDays: number = 90): boolean

Renewal

property

sortOptions

variable

Available sort options for domain list displays.

any