@comfyorg/comfyui-frontend-types 1.45.7 → 1.45.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +45 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -451,7 +451,18 @@ declare interface CanvasMouseEvent extends MouseEvent, Readonly<CanvasPointerExt
|
|
|
451
451
|
* - {@link LGraphCanvas.processMouseUp}
|
|
452
452
|
*/
|
|
453
453
|
declare class CanvasPointer {
|
|
454
|
-
/**
|
|
454
|
+
/**
|
|
455
|
+
* Maximum time in milliseconds to ignore click drift.
|
|
456
|
+
*
|
|
457
|
+
* This is the upper bound on how long after pointerdown the system will wait
|
|
458
|
+
* before deciding "this is a drag, not a click" when the pointer hasn't moved
|
|
459
|
+
* past {@link maxClickDrift}. Keep this short — drags should feel instant.
|
|
460
|
+
* Disambiguation between click and drag is primarily handled by distance
|
|
461
|
+
* ({@link maxClickDrift}); this time threshold only matters when the user
|
|
462
|
+
* holds the pointer still then releases. ~2 frames at 60fps is plenty.
|
|
463
|
+
*
|
|
464
|
+
* Overridden at runtime by the `Comfy.Pointer.ClickBufferTime` user setting.
|
|
465
|
+
*/
|
|
455
466
|
static bufferTime: number;
|
|
456
467
|
/** Maximum gap between pointerup and pointerdown events to be considered as a double click */
|
|
457
468
|
static doubleClickTime: number;
|
|
@@ -50985,6 +50996,19 @@ export declare class ComfyApp {
|
|
|
50985
50996
|
workflow_templates_version: z.ZodOptional<z.ZodString>;
|
|
50986
50997
|
installed_templates_version: z.ZodOptional<z.ZodString>;
|
|
50987
50998
|
required_templates_version: z.ZodOptional<z.ZodString>;
|
|
50999
|
+
comfy_package_versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
51000
|
+
name: z.ZodString;
|
|
51001
|
+
installed: z.ZodNullable<z.ZodString>;
|
|
51002
|
+
required: z.ZodNullable<z.ZodString>;
|
|
51003
|
+
}, "strip", z.ZodTypeAny, {
|
|
51004
|
+
name: string;
|
|
51005
|
+
required: string | null;
|
|
51006
|
+
installed: string | null;
|
|
51007
|
+
}, {
|
|
51008
|
+
name: string;
|
|
51009
|
+
required: string | null;
|
|
51010
|
+
installed: string | null;
|
|
51011
|
+
}>, "many">>;
|
|
50988
51012
|
}, "strip", z.ZodTypeAny, {
|
|
50989
51013
|
os: string;
|
|
50990
51014
|
python_version: string;
|
|
@@ -51000,6 +51024,11 @@ export declare class ComfyApp {
|
|
|
51000
51024
|
required_frontend_version?: string | undefined;
|
|
51001
51025
|
installed_templates_version?: string | undefined;
|
|
51002
51026
|
required_templates_version?: string | undefined;
|
|
51027
|
+
comfy_package_versions?: {
|
|
51028
|
+
name: string;
|
|
51029
|
+
required: string | null;
|
|
51030
|
+
installed: string | null;
|
|
51031
|
+
}[] | undefined;
|
|
51003
51032
|
}, {
|
|
51004
51033
|
os: string;
|
|
51005
51034
|
python_version: string;
|
|
@@ -51015,6 +51044,11 @@ export declare class ComfyApp {
|
|
|
51015
51044
|
required_frontend_version?: string | undefined;
|
|
51016
51045
|
installed_templates_version?: string | undefined;
|
|
51017
51046
|
required_templates_version?: string | undefined;
|
|
51047
|
+
comfy_package_versions?: {
|
|
51048
|
+
name: string;
|
|
51049
|
+
required: string | null;
|
|
51050
|
+
installed: string | null;
|
|
51051
|
+
}[] | undefined;
|
|
51018
51052
|
}>;
|
|
51019
51053
|
devices: z.ZodArray<z.ZodObject<{
|
|
51020
51054
|
name: z.ZodString;
|
|
@@ -51057,6 +51091,11 @@ export declare class ComfyApp {
|
|
|
51057
51091
|
required_frontend_version?: string | undefined;
|
|
51058
51092
|
installed_templates_version?: string | undefined;
|
|
51059
51093
|
required_templates_version?: string | undefined;
|
|
51094
|
+
comfy_package_versions?: {
|
|
51095
|
+
name: string;
|
|
51096
|
+
required: string | null;
|
|
51097
|
+
installed: string | null;
|
|
51098
|
+
}[] | undefined;
|
|
51060
51099
|
};
|
|
51061
51100
|
devices: {
|
|
51062
51101
|
type: string;
|
|
@@ -51083,6 +51122,11 @@ export declare class ComfyApp {
|
|
|
51083
51122
|
required_frontend_version?: string | undefined;
|
|
51084
51123
|
installed_templates_version?: string | undefined;
|
|
51085
51124
|
required_templates_version?: string | undefined;
|
|
51125
|
+
comfy_package_versions?: {
|
|
51126
|
+
name: string;
|
|
51127
|
+
required: string | null;
|
|
51128
|
+
installed: string | null;
|
|
51129
|
+
}[] | undefined;
|
|
51086
51130
|
};
|
|
51087
51131
|
devices: {
|
|
51088
51132
|
type: string;
|