[Docs] Extract comfy workflow zod schema as json schema (#2206)

This commit is contained in:
Chenlei Hu
2025-01-09 11:30:47 -05:00
committed by GitHub
parent b86e3f71cb
commit 1d02cd3c47
4 changed files with 42 additions and 3 deletions

View File

@@ -200,7 +200,7 @@ export const zComfyWorkflow = z
.passthrough()
/** Schema version 1 */
const zComfyWorkflow1 = z
export const zComfyWorkflow1 = z
.object({
version: z.literal(1),
config: zConfig.optional().nullable(),