Zod schema for human-readable duration environment variables.
Accepts strings like "15m", "1.5h", "500ms", "2d", or plain
millisecond counts like "900000". Transforms the input to a number
(milliseconds) via parseDuration.
Parameters
defaultValue: string
Default value as human-readable string (e.g. '15m')
Zod schema for human-readable duration environment variables.
Accepts strings like
"15m","1.5h","500ms","2d", or plain millisecond counts like"900000". Transforms the input to anumber(milliseconds) via parseDuration.