| 32 | }); |
| 33 | |
| 34 | interface 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 | } |
| 48 | class="cm">// Step 4: Write the generated schemas to a file |
| 49 | export function generate(params: GenerateObjectsParams) { |
| 50 | const { |
nothing calls this directly
no outgoing calls
no test coverage detected