Skip to content

Commit

Permalink
feat: add support for bpchar
Browse files Browse the repository at this point in the history
  • Loading branch information
guzmonne committed Dec 29, 2021
1 parent f5eeaed commit e453162
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ function createTypesMap(customEnumsEntries: Record<string, string>) {
*/
const ZOD_TYPES_OVERRIDE: Record<string, string> = {
bool: `z.boolean()`,
bpchar: `z.string()`,
citext: `z.string()`,
// TODO: Find a better way to handle dates.
date: `z.string()`,
Expand Down

0 comments on commit e453162

Please sign in to comment.