mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-21 23:34:31 +00:00
Support batch image upload (#2597)
This commit is contained in:
@@ -349,6 +349,7 @@ const zComboInputProps = zBaseInputSpecValue.extend({
|
||||
control_after_generate: z.boolean().optional(),
|
||||
image_upload: z.boolean().optional(),
|
||||
image_folder: z.enum(['input', 'output', 'temp']).optional(),
|
||||
allow_batch: z.boolean().optional(),
|
||||
remote: zRemoteWidgetConfig.optional()
|
||||
})
|
||||
|
||||
|
||||
2
src/types/litegraph-augmentation.d.ts
vendored
2
src/types/litegraph-augmentation.d.ts
vendored
@@ -122,6 +122,8 @@ declare module '@comfyorg/litegraph' {
|
||||
imageOffset?: number
|
||||
/** Callback for pasting an image file into the node */
|
||||
pasteFile?(file: File): void
|
||||
/** Callback for pasting multiple files into the node */
|
||||
pasteFiles?(files: File[]): void
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user