Expose dialogService to extensionManager (#2113)

This commit is contained in:
Chenlei Hu
2024-12-31 17:01:37 -05:00
committed by GitHub
parent 0b3c0cc0c9
commit 174a9a114a
11 changed files with 66 additions and 18 deletions

View File

@@ -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