Add socketless widget option (#958)

Declares `socketless` property on `IWidgetOptions`.

- Ref: https://github.com/comfyanonymous/ComfyUI/pull/7714
This commit is contained in:
filtered
2025-04-22 05:36:38 +10:00
committed by GitHub
parent e06e8c0a3f
commit a28effc9f1

View File

@@ -24,6 +24,8 @@ export interface IWidgetOptions<TValue = unknown> extends Record<string, unknown
multiline?: boolean
// TODO: Confirm this
property?: string
/** If `true`, an input socket will not be created for this widget. */
socketless?: boolean
values?: TValue[]
callback?: IWidget["callback"]