Prepare for multiple workflows

This commit is contained in:
space-nuko
2023-05-20 17:09:00 -05:00
parent 3b9017dfad
commit a29afab9a7
12 changed files with 375 additions and 154 deletions

View File

@@ -27,7 +27,18 @@ export type ComfyNodeDefInput = [ComfyNodeDefInputType, ComfyNodeDefInputOptions
export type ComfyNodeDefInputType = any[] | keyof typeof ComfyWidgets | string
export type ComfyNodeDefInputOptions = {
forceInput?: boolean
forceInput?: boolean;
// NOTE: For COMBO type inputs, the default value is always the first entry the list.
default?: any,
// INT/FLOAT options
min?: number,
max?: number,
step?: number,
// STRING options
multiline?: boolean,
}
// TODO if/when comfy refactors