UNPKG

ai

Version:

AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.

63 lines (60 loc) • 841 B
import { NEVER, array, boolean, custom, discriminatedUnion, enum as enumType, extend, int, literal, looseObject, maximum, minLength, never, nonnegative, number, object, optional, pipe, positive, record, refine, safeParse, startsWith, string, transform, union, unknown, } from 'zod/v4/mini'; // Import individual Mini factories so bundlers retain only the schemas in use. export const z = { NEVER, array, boolean, custom, discriminatedUnion, enum: enumType, extend, int, literal, looseObject, maximum, minLength, never, nonnegative, number, object, optional, pipe, positive, record, refine, safeParse, startsWith, string, transform, union, unknown, }; export type { ZodMiniType as ZodType, output as ZodOutput } from 'zod/v4/mini';