[Refactor] Move zod schemas to schemas/ folder (#2753)

This commit is contained in:
Chenlei Hu
2025-02-27 13:05:01 -05:00
committed by GitHub
parent 96f02dbf80
commit cdf42d5ad7
71 changed files with 133 additions and 113 deletions

View File

@@ -3,12 +3,16 @@ import { type LGraph, LGraphCanvas, LiteGraph } from '@comfyorg/litegraph'
import { LGraphNode, type NodeId } from '@comfyorg/litegraph/dist/LGraphNode'
import { t } from '@/i18n'
import type { ComfyNodeDef } from '@/schemas/apiSchema'
import {
ComfyLink,
ComfyNode,
ComfyWorkflowJSON
} from '@/schemas/comfyWorkflowSchema'
import { useDialogService } from '@/services/dialogService'
import { useNodeDefStore } from '@/stores/nodeDefStore'
import { useToastStore } from '@/stores/toastStore'
import type { ComfyNodeDef } from '@/types/apiTypes'
import { ComfyExtension } from '@/types/comfy'
import { ComfyLink, ComfyNode, ComfyWorkflowJSON } from '@/types/comfyWorkflow'
import { deserialiseAndCreate, serialise } from '@/utils/vintageClipboard'
import { api } from '../../scripts/api'