mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-10 23:50:00 +00:00
Expose dialogService to extensionManager (#2113)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Component } from 'vue'
|
||||
|
||||
import type { useDialogService } from '@/services/dialogService'
|
||||
import type { ComfyCommand } from '@/stores/commandStore'
|
||||
|
||||
export interface BaseSidebarTabExtension {
|
||||
@@ -102,6 +103,7 @@ export interface ExtensionManager {
|
||||
getSidebarTabs(): SidebarTabExtension[]
|
||||
|
||||
toast: ToastManager
|
||||
dialog: ReturnType<typeof useDialogService>
|
||||
command: CommandManager
|
||||
setting: {
|
||||
get: (id: string) => any
|
||||
|
||||
Reference in New Issue
Block a user