Skip to content

Commit

Permalink
Update type
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Mario564 committed Nov 15, 2024
1 parent ee0e400 commit 9acbabc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drizzle-zod/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ export type BuildRefineColumns<
> = Simplify<RemoveNever<{
[K in keyof TColumns]:
TColumns[K] extends infer TColumn extends Column
? ColumnIsGeneratedAlwaysAs<TColumn> extends true
? never
: GetZodType<
? GetZodType<
TColumn['_']['data'],
TColumn['_']['dataType'],
TColumn['_'] extends { enumValues: [string, ...string[]] } ? TColumn['_']['enumValues'] : undefined
Expand Down

0 comments on commit 9acbabc

Please sign in to comment.