[Refactor] useStringWidget composable (#2503)

This commit is contained in:
Chenlei Hu
2025-02-10 19:49:00 -05:00
committed by GitHub
parent 46428cbf7d
commit b4c59ffae1
4 changed files with 99 additions and 71 deletions

View File

@@ -17,6 +17,12 @@ declare module '@comfyorg/litegraph/dist/types/widgets' {
onRemove?: () => void
beforeQueued?: () => unknown
serializeValue?: (node: LGraphNode, index: number) => Promise<unknown>
/**
* If the widget supports dynamic prompts, this will be set to true.
* See extensions/core/dynamicPrompts.ts
*/
dynamicPrompts?: boolean
}
}