MCPcopy
hub / github.com/colinhacks/zod / GenerateObjectsParams

Interface GenerateObjectsParams

packages/tsc/generate.ts:34–47  ·  packages/tsc/generate.ts::GenerateObjectsParams

Source from the content-addressed store, hash-verified

32});
33
34interface GenerateObjectsParams {
35 class="cm">// path?: string;
36 imports: string[];
37 schemaType: class="st">"z.object" | class="st">"arktype" | class="st">"valibot";
38 valueTypes: string[];
39 methods?: string[];
40 numSchemas: number;
41 numKeys: number;
42 numRefs?: number;
43 numOmits?: number;
44 numPicks?: number;
45 numExtends?: number;
46 custom?: string;
47}
48class="cm">// Step 4: Write the generated schemas to a file
49export function generate(params: GenerateObjectsParams) {
50 const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected