@comfyorg/comfyui-frontend-types 1.5.0 → 1.5.1
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 +15 -8
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -349,8 +349,6 @@ export declare class ComfyApp {
|
|
|
349
349
|
max: number;
|
|
350
350
|
} | null;
|
|
351
351
|
configuringGraph: boolean;
|
|
352
|
-
isNewUserSession: boolean;
|
|
353
|
-
storageLocation: StorageLocation;
|
|
354
352
|
ctx: CanvasRenderingContext2D;
|
|
355
353
|
bodyTop: HTMLElement;
|
|
356
354
|
bodyLeft: HTMLElement;
|
|
@@ -372,6 +370,15 @@ export declare class ComfyApp {
|
|
|
372
370
|
* @deprecated Use useWidgetStore().widgets instead
|
|
373
371
|
*/
|
|
374
372
|
get widgets(): Record<string, ComfyWidgetConstructor>;
|
|
373
|
+
/**
|
|
374
|
+
* @deprecated storageLocation is always 'server' since
|
|
375
|
+
* https://github.com/comfyanonymous/ComfyUI/commit/53c8a99e6c00b5e20425100f6680cd9ea2652218
|
|
376
|
+
*/
|
|
377
|
+
get storageLocation(): string;
|
|
378
|
+
/**
|
|
379
|
+
* @deprecated storage migration is no longer needed.
|
|
380
|
+
*/
|
|
381
|
+
get isNewUserSession(): boolean;
|
|
375
382
|
constructor();
|
|
376
383
|
get nodeOutputs(): Record<string, any>;
|
|
377
384
|
set nodeOutputs(value: Record<string, any>);
|
|
@@ -771,7 +778,6 @@ export declare class ComfyApp {
|
|
|
771
778
|
get settings(): Setting[];
|
|
772
779
|
private tryMigrateDeprecatedValue;
|
|
773
780
|
load(): Promise<void>;
|
|
774
|
-
getId(id: string): string;
|
|
775
781
|
getSettingValue<K extends keyof Settings>(id: K, defaultValue?: Settings[K]): Settings[K];
|
|
776
782
|
getSettingDefaultValue(id: string): any;
|
|
777
783
|
setSettingValueAsync<K extends keyof Settings>(id: K, value: Settings[K]): Promise<void>;
|
|
@@ -1045,8 +1051,6 @@ export declare class ComfyApp {
|
|
|
1045
1051
|
|
|
1046
1052
|
declare type SidebarTabExtension = VueSidebarTabExtension | CustomSidebarTabExtension;
|
|
1047
1053
|
|
|
1048
|
-
declare type StorageLocation = 'browser' | 'server';
|
|
1049
|
-
|
|
1050
1054
|
declare type SystemStats = z.infer<typeof zSystemStats>;
|
|
1051
1055
|
|
|
1052
1056
|
declare type ToastManager = {
|
|
@@ -31436,6 +31440,7 @@ export declare class ComfyApp {
|
|
|
31436
31440
|
'Comfy.Node.SnapHighlightsNode': z.ZodBoolean;
|
|
31437
31441
|
'Comfy.Server.ServerConfigValues': z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
31438
31442
|
'Comfy.Server.LaunchArgs': z.ZodRecord<z.ZodString, z.ZodString>;
|
|
31443
|
+
'LiteGraph.Canvas.MaximumFps': z.ZodNumber;
|
|
31439
31444
|
}, "strip", z.ZodTypeAny, {
|
|
31440
31445
|
'Comfy.ColorPalette'?: string;
|
|
31441
31446
|
'Comfy.CustomColorPalettes'?: Record<string, {
|
|
@@ -31604,6 +31609,7 @@ export declare class ComfyApp {
|
|
|
31604
31609
|
'Comfy.Node.SnapHighlightsNode'?: boolean;
|
|
31605
31610
|
'Comfy.Server.ServerConfigValues'?: Record<string, any>;
|
|
31606
31611
|
'Comfy.Server.LaunchArgs'?: Record<string, string>;
|
|
31612
|
+
'LiteGraph.Canvas.MaximumFps'?: number;
|
|
31607
31613
|
}, {
|
|
31608
31614
|
'Comfy.ColorPalette'?: string;
|
|
31609
31615
|
'Comfy.CustomColorPalettes'?: Record<string, {
|
|
@@ -31772,6 +31778,7 @@ export declare class ComfyApp {
|
|
|
31772
31778
|
'Comfy.Node.SnapHighlightsNode'?: boolean;
|
|
31773
31779
|
'Comfy.Server.ServerConfigValues'?: Record<string, any>;
|
|
31774
31780
|
'Comfy.Server.LaunchArgs'?: Record<string, string>;
|
|
31781
|
+
'LiteGraph.Canvas.MaximumFps'?: number;
|
|
31775
31782
|
}>>>;
|
|
31776
31783
|
|
|
31777
31784
|
declare const zSystemStats: z.ZodObject<{
|
|
@@ -31871,15 +31878,15 @@ export declare class ComfyApp {
|
|
|
31871
31878
|
}>;
|
|
31872
31879
|
|
|
31873
31880
|
declare const zUser: z.ZodObject<{
|
|
31874
|
-
storage: z.ZodEnum<["server"
|
|
31881
|
+
storage: z.ZodEnum<["server"]>;
|
|
31875
31882
|
migrated: z.ZodBoolean;
|
|
31876
31883
|
users: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
31877
31884
|
}, "strip", z.ZodTypeAny, {
|
|
31878
|
-
storage?: "server"
|
|
31885
|
+
storage?: "server";
|
|
31879
31886
|
migrated?: boolean;
|
|
31880
31887
|
users?: Record<string, unknown>;
|
|
31881
31888
|
}, {
|
|
31882
|
-
storage?: "server"
|
|
31889
|
+
storage?: "server";
|
|
31883
31890
|
migrated?: boolean;
|
|
31884
31891
|
users?: Record<string, unknown>;
|
|
31885
31892
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comfyorg/comfyui-frontend-types",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"types": "./index.d.ts",
|
|
5
5
|
"files": [
|
|
6
6
|
"index.d.ts"
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
|
-
"repository": "https://github.com/
|
|
11
|
+
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
|
|
12
12
|
"homepage": "https://comfy.org",
|
|
13
13
|
"description": "TypeScript definitions for @comfyorg/comfyui-frontend",
|
|
14
14
|
"license": "GPL-3.0-only",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@comfyorg/litegraph": "^0.8.
|
|
16
|
+
"@comfyorg/litegraph": "^0.8.40"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"vue": "^3.4.31",
|