diff --git a/browser_tests/actionbar.spec.ts b/browser_tests/actionbar.spec.ts index 690d4be76..3b2c59ce9 100644 --- a/browser_tests/actionbar.spec.ts +++ b/browser_tests/actionbar.spec.ts @@ -1,7 +1,7 @@ import type { Response } from '@playwright/test' import { expect, mergeTests } from '@playwright/test' -import type { StatusWsMessage } from '../src/types/apiTypes.ts' +import type { StatusWsMessage } from '../src/schemas/apiSchema.ts' import { comfyPageFixture } from './fixtures/ComfyPage' import { webSocketFixture } from './fixtures/ws.ts' diff --git a/browser_tests/colorPalette.spec.ts b/browser_tests/colorPalette.spec.ts index a8e1e6094..2daf0326b 100644 --- a/browser_tests/colorPalette.spec.ts +++ b/browser_tests/colorPalette.spec.ts @@ -1,6 +1,6 @@ import { expect } from '@playwright/test' -import type { Palette } from '../src/types/colorPaletteTypes' +import type { Palette } from '../src/schemas/colorPaletteSchema' import { comfyPageFixture as test } from './fixtures/ComfyPage' const customColorPalettes: Record = { diff --git a/browser_tests/dialog.spec.ts b/browser_tests/dialog.spec.ts index fc9ebb64f..edf656679 100644 --- a/browser_tests/dialog.spec.ts +++ b/browser_tests/dialog.spec.ts @@ -1,6 +1,6 @@ import { Locator, expect } from '@playwright/test' -import { Keybinding } from '../src/types/keyBindingTypes' +import type { Keybinding } from '../src/schemas/keyBindingSchema' import { comfyPageFixture as test } from './fixtures/ComfyPage' test.describe('Load workflow warning', () => { diff --git a/browser_tests/fixtures/ComfyPage.ts b/browser_tests/fixtures/ComfyPage.ts index 301bc3348..0cb047990 100644 --- a/browser_tests/fixtures/ComfyPage.ts +++ b/browser_tests/fixtures/ComfyPage.ts @@ -5,9 +5,9 @@ import { test as base } from '@playwright/test' import dotenv from 'dotenv' import * as fs from 'fs' +import type { NodeId } from '../../src/schemas/comfyWorkflowSchema' +import type { KeyCombo } from '../../src/schemas/keyBindingSchema' import type { useWorkspaceStore } from '../../src/stores/workspaceStore' -import type { NodeId } from '../../src/types/comfyWorkflow' -import type { KeyCombo } from '../../src/types/keyBindingTypes' import { NodeBadgeMode } from '../../src/types/nodeSource' import { ComfyActionbar } from '../helpers/actionbar' import { ComfyTemplates } from '../helpers/templates' diff --git a/browser_tests/fixtures/utils/taskHistory.ts b/browser_tests/fixtures/utils/taskHistory.ts index 33c0ba626..93d5b9b07 100644 --- a/browser_tests/fixtures/utils/taskHistory.ts +++ b/browser_tests/fixtures/utils/taskHistory.ts @@ -8,7 +8,7 @@ import type { HistoryTaskItem, TaskItem, TaskOutput -} from '../../../src/types/apiTypes' +} from '../../../src/schemas/apiSchema' import type { ComfyPage } from '../ComfyPage' /** keyof TaskOutput[string] */ diff --git a/src/components/bottomPanel/tabs/terminal/LogsTerminal.vue b/src/components/bottomPanel/tabs/terminal/LogsTerminal.vue index ab1c5516a..f8fe342c2 100644 --- a/src/components/bottomPanel/tabs/terminal/LogsTerminal.vue +++ b/src/components/bottomPanel/tabs/terminal/LogsTerminal.vue @@ -16,9 +16,9 @@ import ProgressSpinner from 'primevue/progressspinner' import { Ref, onMounted, onUnmounted, ref } from 'vue' import type { useTerminal } from '@/composables/bottomPanelTabs/useTerminal' +import { LogEntry, LogsWsMessage, TerminalSize } from '@/schemas/apiSchema' import { api } from '@/scripts/api' import { useExecutionStore } from '@/stores/executionStore' -import { LogEntry, LogsWsMessage, TerminalSize } from '@/types/apiTypes' import BaseTerminal from './BaseTerminal.vue' diff --git a/src/components/common/DeviceInfo.vue b/src/components/common/DeviceInfo.vue index 8fbb57e45..5f81cefaf 100644 --- a/src/components/common/DeviceInfo.vue +++ b/src/components/common/DeviceInfo.vue @@ -8,7 +8,7 @@