@comfyorg/comfyui-frontend-types 1.45.6 → 1.45.8
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 -7
- 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;
|
|
@@ -4265,12 +4276,6 @@ export declare class ComfyApp {
|
|
|
4265
4276
|
/** @deprecated See {@link state}.{@link LGraphState.lastLinkId lastLinkId} */
|
|
4266
4277
|
get last_link_id(): number;
|
|
4267
4278
|
set last_link_id(value: number);
|
|
4268
|
-
onAfterStep?(): void;
|
|
4269
|
-
onBeforeStep?(): void;
|
|
4270
|
-
onPlayEvent?(): void;
|
|
4271
|
-
onStopEvent?(): void;
|
|
4272
|
-
onAfterExecute?(): void;
|
|
4273
|
-
onExecuteStep?(): void;
|
|
4274
4279
|
onNodeAdded?(node: LGraphNode): void;
|
|
4275
4280
|
onNodeRemoved?(node: LGraphNode): void;
|
|
4276
4281
|
onTrigger?: LGraphTriggerHandler;
|
|
@@ -50991,6 +50996,19 @@ export declare class ComfyApp {
|
|
|
50991
50996
|
workflow_templates_version: z.ZodOptional<z.ZodString>;
|
|
50992
50997
|
installed_templates_version: z.ZodOptional<z.ZodString>;
|
|
50993
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">>;
|
|
50994
51012
|
}, "strip", z.ZodTypeAny, {
|
|
50995
51013
|
os: string;
|
|
50996
51014
|
python_version: string;
|
|
@@ -51006,6 +51024,11 @@ export declare class ComfyApp {
|
|
|
51006
51024
|
required_frontend_version?: string | undefined;
|
|
51007
51025
|
installed_templates_version?: string | undefined;
|
|
51008
51026
|
required_templates_version?: string | undefined;
|
|
51027
|
+
comfy_package_versions?: {
|
|
51028
|
+
name: string;
|
|
51029
|
+
required: string | null;
|
|
51030
|
+
installed: string | null;
|
|
51031
|
+
}[] | undefined;
|
|
51009
51032
|
}, {
|
|
51010
51033
|
os: string;
|
|
51011
51034
|
python_version: string;
|
|
@@ -51021,6 +51044,11 @@ export declare class ComfyApp {
|
|
|
51021
51044
|
required_frontend_version?: string | undefined;
|
|
51022
51045
|
installed_templates_version?: string | undefined;
|
|
51023
51046
|
required_templates_version?: string | undefined;
|
|
51047
|
+
comfy_package_versions?: {
|
|
51048
|
+
name: string;
|
|
51049
|
+
required: string | null;
|
|
51050
|
+
installed: string | null;
|
|
51051
|
+
}[] | undefined;
|
|
51024
51052
|
}>;
|
|
51025
51053
|
devices: z.ZodArray<z.ZodObject<{
|
|
51026
51054
|
name: z.ZodString;
|
|
@@ -51063,6 +51091,11 @@ export declare class ComfyApp {
|
|
|
51063
51091
|
required_frontend_version?: string | undefined;
|
|
51064
51092
|
installed_templates_version?: string | undefined;
|
|
51065
51093
|
required_templates_version?: string | undefined;
|
|
51094
|
+
comfy_package_versions?: {
|
|
51095
|
+
name: string;
|
|
51096
|
+
required: string | null;
|
|
51097
|
+
installed: string | null;
|
|
51098
|
+
}[] | undefined;
|
|
51066
51099
|
};
|
|
51067
51100
|
devices: {
|
|
51068
51101
|
type: string;
|
|
@@ -51089,6 +51122,11 @@ export declare class ComfyApp {
|
|
|
51089
51122
|
required_frontend_version?: string | undefined;
|
|
51090
51123
|
installed_templates_version?: string | undefined;
|
|
51091
51124
|
required_templates_version?: string | undefined;
|
|
51125
|
+
comfy_package_versions?: {
|
|
51126
|
+
name: string;
|
|
51127
|
+
required: string | null;
|
|
51128
|
+
installed: string | null;
|
|
51129
|
+
}[] | undefined;
|
|
51092
51130
|
};
|
|
51093
51131
|
devices: {
|
|
51094
51132
|
type: string;
|