Enforce ComfyExtension types (#1718)

* Enforce extension types

* nit
This commit is contained in:
Chenlei Hu
2024-11-27 12:35:18 -08:00
committed by GitHub
parent 39eaa2e850
commit c4d3c672ad
7 changed files with 27 additions and 4 deletions

View File

@@ -1,11 +1,12 @@
import type { LGraphNode } from './litegraph'
import type { ComfyApp } from '../scripts/app'
import type { LGraphNode } from '@comfyorg/litegraph'
import type { ComfyApp } from '@/scripts/app'
import type { ComfyNodeDef } from '@/types/apiTypes'
import type { Keybinding } from '@/types/keyBindingTypes'
import type { ComfyCommand } from '@/stores/commandStore'
import type { SettingParams } from './settingTypes'
import type { BottomPanelExtension } from './extensionTypes'
import type { SettingParams } from '@/types/settingTypes'
import type { BottomPanelExtension } from '@/types/extensionTypes'
import type { ComfyWidgetConstructor } from '@/scripts/widgets'
import type { ComfyWorkflowJSON } from '@/types/comfyWorkflow'
export type Widgets = Record<string, ComfyWidgetConstructor>