Feature scan info (#53)
* pref: migrate fetch model info to end back * fix(download): can't select model type * feat: add scan model info * feat: add trigger button in setting * feat: add printing logs * chore: add explanation of scan model info
This commit is contained in:
10
src/types/global.d.ts
vendored
10
src/types/global.d.ts
vendored
@@ -112,6 +112,7 @@ declare namespace ComfyAPI {
|
||||
settings: ComfySettingsDialog
|
||||
menuHamburger?: HTMLDivElement
|
||||
menuContainer?: HTMLDivElement
|
||||
dialog: dialog.ComfyDialog
|
||||
}
|
||||
|
||||
type SettingInputType =
|
||||
@@ -197,6 +198,15 @@ declare namespace ComfyAPI {
|
||||
constructor(...buttons: (HTMLElement | ComfyButton)[]): ComfyButtonGroup
|
||||
}
|
||||
}
|
||||
|
||||
namespace dialog {
|
||||
class ComfyDialog {
|
||||
constructor(type = 'div', buttons: HTMLElement[] = null)
|
||||
element: HTMLElement
|
||||
close(): void
|
||||
show(html: string | HTMLElement | HTMLElement[]): void
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
declare namespace lightGraph {
|
||||
|
||||
Reference in New Issue
Block a user