mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-11 10:30:10 +00:00
Merge Task 4: Convert app.ts imports to import type
Amp-Thread-ID: https://ampcode.com/threads/T-019bfe1a-8ac4-753e-a612-040f36dc66b9 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -8,7 +8,8 @@ import type {
|
||||
import { LiteGraph } from '@/lib/litegraph/src/litegraph'
|
||||
import { useToastStore } from '@/platform/updates/common/toastStore'
|
||||
|
||||
import { type ComfyApp, app } from '../../scripts/app'
|
||||
import type { ComfyApp } from '../../scripts/app'
|
||||
import { app } from '../../scripts/app'
|
||||
import { $el } from '../../scripts/ui'
|
||||
import { ComfyDialog } from '../../scripts/ui/dialog'
|
||||
import { DraggableList } from '../../scripts/ui/draggableList'
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { createEventHook } from '@vueuse/core'
|
||||
|
||||
export interface UserIdentity {
|
||||
interface UserIdentity {
|
||||
userId: string
|
||||
}
|
||||
|
||||
export interface AuthEvent {
|
||||
interface AuthEvent {
|
||||
event: 'login' | 'register' | 'logout'
|
||||
method: 'email' | 'google' | 'github'
|
||||
isNewUser: boolean
|
||||
|
||||
@@ -9,7 +9,8 @@ import { useCommandStore } from '@/stores/commandStore'
|
||||
import { useWorkspaceStore } from '@/stores/workspaceStore'
|
||||
|
||||
import { api } from './api'
|
||||
import { ComfyApp, app } from './app'
|
||||
import type { ComfyApp } from './app'
|
||||
import { app } from './app'
|
||||
import { ComfyDialog as _ComfyDialog } from './ui/dialog'
|
||||
import { ComfySettingsDialog } from './ui/settings'
|
||||
import { toggleSwitch } from './ui/toggleSwitch'
|
||||
|
||||
@@ -20,11 +20,6 @@ import type {
|
||||
ExecutionErrorDialogInput
|
||||
} from './dialogTypes'
|
||||
|
||||
export type {
|
||||
ConfirmationDialogType,
|
||||
ExecutionErrorDialogInput
|
||||
} from './dialogTypes'
|
||||
|
||||
export const useDialogService = () => {
|
||||
const dialogStore = useDialogStore()
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import _ from 'es-toolkit/compat'
|
||||
|
||||
import { CONFIG, GET_CONFIG } from '@/lib/litegraph/constants'
|
||||
export { CONFIG, GET_CONFIG }
|
||||
import { GET_CONFIG } from '@/lib/litegraph/constants'
|
||||
|
||||
import { downloadFile } from '@/base/common/downloadUtil'
|
||||
import { useSelectedLiteGraphItems } from '@/composables/canvas/useSelectedLiteGraphItems'
|
||||
import { useSubgraphOperations } from '@/composables/graph/useSubgraphOperations'
|
||||
|
||||
Reference in New Issue
Block a user