Const
Zod schema for validating article quotes.
Validates an optional quote with maximum 512 characters. Null and undefined values are allowed.
const quote = Quote.parse("This is a notable excerpt from the article.");const empty = Quote.parse(null); Copy
const quote = Quote.parse("This is a notable excerpt from the article.");const empty = Quote.parse(null);
makeQuote for factory function
Zod schema for validating article quotes.