mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-27 18:24:11 +00:00
[Lint] Sort imports (#2104)
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
4
src/types/litegraph-augmentation.d.ts
vendored
4
src/types/litegraph-augmentation.d.ts
vendored
@@ -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'
|
||||
|
||||
/**
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user