[Types] Make more types available directly in @comfyorg/comfyui-frontend-types package (#3418)

This commit is contained in:
Christian Byrne
2025-04-12 23:33:34 +08:00
committed by GitHub
parent e660e1d678
commit c7a7397000

View File

@@ -1,8 +1,57 @@
import type {
DeviceStats,
EmbeddingsResponse,
ExtensionsResponse,
LogEntry,
LogsRawResponse,
NodeError,
PromptResponse,
Settings,
SystemStats,
TerminalSize,
User,
UserData,
UserDataFullInfo
} from '@/schemas/apiSchema'
import { ComfyApp } from '@/scripts/app'
import type {
BottomPanelExtension,
CommandManager,
ExtensionManager,
SidebarTabExtension,
ToastManager,
ToastMessageOptions
} from './extensionTypes'
export type { ComfyExtension } from './comfy'
export type { ComfyApi } from '@/scripts/api'
export type { ComfyApp } from '@/scripts/app'
export type { ComfyNodeDef } from '@/schemas/nodeDefSchema'
export type { InputSpec } from '@/schemas/nodeDefSchema'
export type {
EmbeddingsResponse,
ExtensionsResponse,
PromptResponse,
NodeError,
Settings,
DeviceStats,
SystemStats,
User,
UserData,
UserDataFullInfo,
TerminalSize,
LogEntry,
LogsRawResponse
}
export type {
SidebarTabExtension,
BottomPanelExtension,
ToastManager,
ExtensionManager,
CommandManager,
ToastMessageOptions
}
declare global {
const app: ComfyApp