drizzle-zod
Advanced tools
Comparing version
@@ -5,5 +5,5 @@ import type { Column } from 'drizzle-orm'; | ||
import type { Json } from './utils.js'; | ||
export declare const literalSchema: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodNull]>; | ||
export declare const literalSchema: any; | ||
export declare const jsonSchema: zod.ZodType<Json>; | ||
export declare const bufferSchema: zod.ZodType<Buffer>; | ||
export declare function columnToSchema(column: Column, factory: CreateSchemaFactoryOptions<Partial<Record<'bigint' | 'boolean' | 'date' | 'number' | 'string', true>> | true | undefined> | undefined): zod.ZodType; |
{ | ||
"name": "drizzle-zod", | ||
"version": "0.8.2-6baabce", | ||
"version": "0.8.2-84d9a79", | ||
"description": "Generate Zod schemas from Drizzle ORM schemas", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
92314
-0.26%