import type { WidgetPanelOptions } from "@litegraph-ts/core"; import ComfyWidget from "./ComfyWidget"; import type { ComfyImageResult } from "$lib/nodes/ComfySaveImageNode"; export type ComfyGalleryEntry = [string, string | null]; // src and alt/title, gradio format export interface ComfyGalleryWidgetOptions extends WidgetPanelOptions { } export default class ComfyGalleryWidget extends ComfyWidget { override type = "comfy/gallery"; override isVirtual = true; }