[TMP] Support downstream output widget in serialisation (#735)

- Ref: https://github.com/Comfy-Org/litegraph.js/pull/732#issuecomment-2710796369
This commit is contained in:
filtered
2025-03-11 03:05:06 +11:00
committed by GitHub
parent 84dad03f4d
commit 1a482d750b
2 changed files with 18 additions and 8 deletions

View File

@@ -43,7 +43,9 @@ export interface SerialisableGraph {
export type ISerialisableNodeInput = Omit<INodeInputSlot, "_layoutElement" | "widget"> & {
widget?: { name: string }
}
export type ISerialisableNodeOutput = Omit<INodeOutputSlot, "_layoutElement" | "_data">
export type ISerialisableNodeOutput = Omit<INodeOutputSlot, "_layoutElement" | "_data"> & {
widget?: { name: string }
}
/** Serialised LGraphNode */
export interface ISerialisedNode {