mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 14:27:40 +00:00
Relax schema on node I/O link (#427)
This commit is contained in:
@@ -42,7 +42,7 @@ const zNodeOutput = z
|
||||
.object({
|
||||
name: z.string(),
|
||||
type: zDataType,
|
||||
links: z.array(z.number()).nullable(),
|
||||
links: z.array(z.number()).nullable().optional(),
|
||||
slot_index: zSlotIndex.optional()
|
||||
})
|
||||
.passthrough()
|
||||
@@ -51,7 +51,7 @@ const zNodeInput = z
|
||||
.object({
|
||||
name: z.string(),
|
||||
type: zDataType,
|
||||
link: z.number().nullable(),
|
||||
link: z.number().nullable().optional(),
|
||||
slot_index: zSlotIndex.optional()
|
||||
})
|
||||
.passthrough()
|
||||
|
||||
Reference in New Issue
Block a user