Refactor content generation to simplify field schema generation

This commit is contained in:
2025-10-06 22:21:54 +02:00
parent ea672a9d91
commit e5e728705c
5 changed files with 93 additions and 134 deletions

View File

@@ -1,4 +1,5 @@
import { type AnyZodObject, type objectUtil, z, type ZodEffects, type ZodObject, ZodOptional, type ZodRawShape } from "zod";
import { z, ZodOptional, ZodEffects } from "zod";
import type { AnyZodObject, objectUtil, ZodObject, ZodRawShape } from "zod";
import type { AnyZodRecord, HasRequiredKeys, ZodRecordKeys } from "./types.ts";
/**