Zod schema for comma-separated string list env vars.
Splits on ,, trims whitespace, removes empty segments.
Optionally lowercases all values.
Use for required list fields that always produce a string[].
For optional fields that should return undefined when empty,
use optionalCommaSeparatedList.
Zod schema for comma-separated string list env vars.
Splits on
,, trims whitespace, removes empty segments. Optionally lowercases all values.Use for required list fields that always produce a
string[]. For optional fields that should returnundefinedwhen empty, use optionalCommaSeparatedList.