@comfyorg/comfyui-frontend-types 1.12.2 → 1.12.4
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 +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -514,7 +514,7 @@ export declare class ComfyApp {
|
|
|
514
514
|
* @deprecated Use useWidgetStore().getWidgetType instead
|
|
515
515
|
*/
|
|
516
516
|
getWidgetType(inputData: any, inputName: string): any;
|
|
517
|
-
registerNodeDef(nodeId: string,
|
|
517
|
+
registerNodeDef(nodeId: string, nodeDef: ComfyNodeDef): Promise<void>;
|
|
518
518
|
registerNodesFromDefs(defs: Record<string, ComfyNodeDef>): Promise<void>;
|
|
519
519
|
loadTemplateData(templateData: any): void;
|
|
520
520
|
loadGraphData(graphData?: ComfyWorkflowJSON, clean?: boolean, restore_view?: boolean, workflow?: string | null | ComfyWorkflow, { showMissingNodesDialog, showMissingModelsDialog }?: {
|
|
@@ -10314,7 +10314,7 @@ declare module '@comfyorg/litegraph' {
|
|
|
10314
10314
|
type?: string
|
|
10315
10315
|
comfyClass: string
|
|
10316
10316
|
title: string
|
|
10317
|
-
nodeData?:
|
|
10317
|
+
nodeData?: ComfyNodeDefV1 & ComfyNodeDefV2
|
|
10318
10318
|
category?: string
|
|
10319
10319
|
new (): T
|
|
10320
10320
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comfyorg/comfyui-frontend-types",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.4",
|
|
4
4
|
"types": "./index.d.ts",
|
|
5
5
|
"files": [
|
|
6
6
|
"index.d.ts"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"description": "TypeScript definitions for @comfyorg/comfyui-frontend",
|
|
14
14
|
"license": "GPL-3.0-only",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@comfyorg/litegraph": "^0.9.
|
|
16
|
+
"@comfyorg/litegraph": "^0.9.6"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"vue": "^3.5.13",
|