@comfyorg/comfyui-frontend-types 1.7.13 → 1.8.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.
Files changed (2) hide show
  1. package/index.d.ts +8 -11
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,4 +1,8 @@
1
1
  import { Component } from 'vue';
2
+ import { default as default_2 } from '../components/dialog/content/LoadWorkflowWarning.vue';
3
+ import { default as default_3 } from '../components/dialog/content/MissingModelsWarning.vue';
4
+ import { default as default_4 } from '../components/dialog/content/ExecutionErrorDialogContent.vue';
5
+ import { default as default_5 } from '../components/templates/TemplateWorkflowsContent.vue';
2
6
  import { ISerialisedGraph } from '@comfyorg/litegraph';
3
7
  import { IWidget } from '@comfyorg/litegraph';
4
8
  import { LGraph } from '@comfyorg/litegraph';
@@ -1096,19 +1100,12 @@ export declare class ComfyApp {
1096
1100
  }
1097
1101
 
1098
1102
  declare const useDialogService: () => {
1099
- showLoadWorkflowWarning: (props: {
1100
- missingNodeTypes: MissingNodeType[];
1101
- [key: string]: any;
1102
- }) => void;
1103
- showMissingModelsWarning: (props: {
1104
- missingModels: any[];
1105
- paths: Record<string, string[]>;
1106
- [key: string]: any;
1107
- }) => void;
1103
+ showLoadWorkflowWarning: (props: InstanceType<typeof default_2>["$props"]) => void;
1104
+ showMissingModelsWarning: (props: InstanceType<typeof default_3>["$props"]) => void;
1108
1105
  showSettingsDialog: (panel?: "about" | "keybinding" | "extension" | "server-config") => void;
1109
1106
  showAboutDialog: () => void;
1110
- showExecutionErrorDialog: (error: ExecutionErrorWsMessage) => void;
1111
- showTemplateWorkflowsDialog: () => void;
1107
+ showExecutionErrorDialog: (props: InstanceType<typeof default_4>["$props"]) => void;
1108
+ showTemplateWorkflowsDialog: (props?: InstanceType<typeof default_5>["$props"]) => void;
1112
1109
  prompt: ({ title, message, defaultValue }: {
1113
1110
  title: string;
1114
1111
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.7.13",
3
+ "version": "1.8.1",
4
4
  "types": "./index.d.ts",
5
5
  "files": [
6
6
  "index.d.ts"