Properly implement ComfyNodeDef interface (#1821)

* nit

* Properly implement ComfyNodeDef interface

* nit

* Mark readonly
This commit is contained in:
Chenlei Hu
2024-12-06 09:00:15 -08:00
committed by GitHub
parent aa68422e0f
commit ae26390776
6 changed files with 67 additions and 37 deletions

View File

@@ -209,7 +209,7 @@ export class NodeSearchService {
/* name */ 'Input Type',
/* invokeSequence */ 'i',
/* longInvokeSequence */ 'input',
(node) => node.input.all.map((input) => input.type),
(node) => node.inputs.all.map((input) => input.type),
data,
filterSearchOptions
)
@@ -219,7 +219,7 @@ export class NodeSearchService {
/* name */ 'Output Type',
/* invokeSequence */ 'o',
/* longInvokeSequence */ 'output',
(node) => node.output.all.map((output) => output.type),
(node) => node.outputs.all.map((output) => output.type),
data,
filterSearchOptions
)