mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-05 13:10:24 +00:00
[TS] Fix input spec types in widgets (#2817)
This commit is contained in:
@@ -69,7 +69,8 @@ const zComboInputOptions = zBaseInputOptions.extend({
|
||||
image_folder: z.enum(['input', 'output', 'temp']).optional(),
|
||||
allow_batch: z.boolean().optional(),
|
||||
video_upload: z.boolean().optional(),
|
||||
remote: zRemoteWidgetConfig.optional()
|
||||
remote: zRemoteWidgetConfig.optional(),
|
||||
options: z.array(z.union([z.string(), z.number()])).optional()
|
||||
})
|
||||
|
||||
const zIntInputSpec = z.tuple([z.literal('INT'), zIntInputOptions.optional()])
|
||||
|
||||
Reference in New Issue
Block a user