[Lint] Sort imports (#2104)

This commit is contained in:
Chenlei Hu
2024-12-30 17:26:37 -05:00
committed by GitHub
parent e88817ea36
commit d8f074fea0
254 changed files with 1226 additions and 943 deletions

View File

@@ -1,12 +1,13 @@
import type { BottomPanelExtension } from '@/types/extensionTypes'
import { defineStore } from 'pinia'
import { computed, ref } from 'vue'
import { useCommandStore } from '@/stores/commandStore'
import {
useLogsTerminalTab,
useCommandTerminalTab
useCommandTerminalTab,
useLogsTerminalTab
} from '@/hooks/bottomPanelTabs/terminalTabs'
import { useCommandStore } from '@/stores/commandStore'
import { ComfyExtension } from '@/types/comfy'
import type { BottomPanelExtension } from '@/types/extensionTypes'
import { isElectron } from '@/utils/envUtil'
export const useBottomPanelStore = defineStore('bottomPanel', () => {

View File

@@ -1,14 +1,15 @@
import { defineStore } from 'pinia'
import { ref, computed } from 'vue'
import { computed, ref } from 'vue'
import {
CORE_COLOR_PALETTES,
DEFAULT_COLOR_PALETTE
} from '@/constants/coreColorPalettes'
import type {
ColorPalettes,
CompletedPalette,
Palette
} from '@/types/colorPaletteTypes'
import {
CORE_COLOR_PALETTES,
DEFAULT_COLOR_PALETTE
} from '@/constants/coreColorPalettes'
export const useColorPaletteStore = defineStore('colorPalette', () => {
const customPalettes = ref<ColorPalettes>({})

View File

@@ -1,11 +1,12 @@
import { defineStore } from 'pinia'
import { computed, ref } from 'vue'
import { useModelLibrarySidebarTab } from '@/hooks/sidebarTabs/modelLibrarySidebarTab'
import { useNodeLibrarySidebarTab } from '@/hooks/sidebarTabs/nodeLibrarySidebarTab'
import { useQueueSidebarTab } from '@/hooks/sidebarTabs/queueSidebarTab'
import { useWorkflowsSidebarTab } from '@/hooks/sidebarTabs/workflowsSidebarTab'
import { SidebarTabExtension } from '@/types/extensionTypes'
import { defineStore } from 'pinia'
import { computed, ref } from 'vue'
import { useCommandStore } from '@/stores/commandStore'
import { SidebarTabExtension } from '@/types/extensionTypes'
export const useSidebarTabStore = defineStore('sidebarTab', () => {
const sidebarTabs = ref<SidebarTabExtension[]>([])