[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,10 +1,11 @@
import { ZodType, z } from 'zod'
import { zComfyWorkflow, zNodeId } from './comfyWorkflow'
import { fromZodError } from 'zod-validation-error'
import { colorPalettesSchema } from './colorPaletteTypes'
import { LinkReleaseTriggerAction } from './searchBoxTypes'
import { NodeBadgeMode } from './nodeSource'
import { zComfyWorkflow, zNodeId } from './comfyWorkflow'
import { zKeybinding } from './keyBindingTypes'
import { NodeBadgeMode } from './nodeSource'
import { LinkReleaseTriggerAction } from './searchBoxTypes'
const zNodeType = z.string()
const zQueueIndex = z.number()

View File

@@ -1,12 +1,13 @@
import type { LGraphNode } from '@comfyorg/litegraph'
import type { ComfyApp } from '@/scripts/app'
import type { ComfyNodeDef } from '@/types/apiTypes'
import type { Keybinding } from '@/types/keyBindingTypes'
import type { ComfyCommand } from '@/stores/commandStore'
import type { SettingParams } from '@/types/settingTypes'
import type { BottomPanelExtension } from '@/types/extensionTypes'
import type { ComfyWidgetConstructor } from '@/scripts/widgets'
import type { ComfyCommand } from '@/stores/commandStore'
import type { ComfyNodeDef } from '@/types/apiTypes'
import type { ComfyWorkflowJSON } from '@/types/comfyWorkflow'
import type { BottomPanelExtension } from '@/types/extensionTypes'
import type { Keybinding } from '@/types/keyBindingTypes'
import type { SettingParams } from '@/types/settingTypes'
export type Widgets = Record<string, ComfyWidgetConstructor>

View File

@@ -1,4 +1,4 @@
import { z, type SafeParseReturnType } from 'zod'
import { type SafeParseReturnType, z } from 'zod'
import { fromZodError } from 'zod-validation-error'
// GroupNode is hacking node id to be a string, so we need to allow that.

View File

@@ -1,6 +1,7 @@
import type { ComfyCommand } from '@/stores/commandStore'
import { Component } from 'vue'
import type { ComfyCommand } from '@/stores/commandStore'
export interface BaseSidebarTabExtension {
id: string
title: string

View File

@@ -1,6 +1,8 @@
import '@comfyorg/litegraph'
import type { ComfyNodeDef } from '@/types/apiTypes'
import type { LLink } from '@comfyorg/litegraph'
import type { ComfyNodeDef } from '@/types/apiTypes'
import type { NodeId } from './comfyWorkflow'
/**

View File

@@ -1,11 +1,11 @@
import type {
ConnectingLink,
LGraphNode,
Vector2,
INodeInputSlot,
INodeOutputSlot,
INodeSlot,
ISlotType
ISlotType,
LGraphNode,
Vector2
} from '@comfyorg/litegraph'
import { LiteGraph } from '@comfyorg/litegraph'
import { RerouteId } from '@comfyorg/litegraph/dist/Reroute'