MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / createQuerySchemaFactory

Function createQuerySchemaFactory

packages/orm/src/client/zod/factory.ts:83–85  ·  view source on GitHub ↗
(clientOrSchema: any, options?: any)

Source from the content-addressed store, hash-verified

81): ZodSchemaFactory<Schema>;
82
83export function createQuerySchemaFactory(clientOrSchema: any, options?: any) {
84 return new ZodSchemaFactory(clientOrSchema, options);
85}
86
87/**
88 * Builds a `DateTime` value schema that accepts a `Date` object or any string

Callers 3

constructorMethod · 0.90
zod.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected