mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-08 17:10:07 +00:00
Add workflow schema with zod (#22)
* Safe parse with zod * Fix zod issue * Fix all validation errors * nit * Add tests * Add color fields * Passthrough
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
export const defaultGraph = {
|
||||
import type { ComfyWorkflow } from "/types/comfyWorkflow";
|
||||
|
||||
export const defaultGraph: ComfyWorkflow = {
|
||||
last_node_id: 9,
|
||||
last_link_id: 9,
|
||||
nodes: [
|
||||
|
||||
Reference in New Issue
Block a user