Const
Zod schema for validating category names.
Validates that the category name is a trimmed string between 1 and 16 characters. Used for organizing articles into logical groups.
const name = CategoryName.parse("Technology"); Copy
const name = CategoryName.parse("Technology");
makeCategoryName for factory function
Zod schema for validating category names.