Skip to content

zMetricReportDateRange

const zMetricReportDateRange: ZodReadonly<ZodObject<{ days: ZodOptional<ZodNumber>; months: ZodOptional<ZodNumber>; weeks: ZodOptional<ZodNumber>; years: ZodOptional<ZodNumber>; }, $strip>>

Validates a relative date range expressed as days, weeks, months, and years back from today.