lint: change folder names
This commit is contained in:
@@ -7,10 +7,10 @@ import {
|
||||
AbstractNodeProps,
|
||||
createAbstractNodeComponent,
|
||||
useAbstractNode,
|
||||
} from '@/lib/abstractNode'
|
||||
} from '@/lib/graph/abstractNode'
|
||||
import { getConfigContent, getConfigType, getConfigTypeId } from '@/lib/configTypes'
|
||||
import { getSourceRenderingLogic } from '@/lib/sourceRenderingLogic'
|
||||
import { useSyncConnectionStatus } from '@/lib/nodeLifecycle'
|
||||
import { useSyncConnectionStatus } from '@/lib/graph/nodeLifecycle'
|
||||
import { useResizeHeight } from '@/hooks/useResizeHeight'
|
||||
import { plantumlLanguage } from '@/lib/plantumlLanguage'
|
||||
import { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia } from '@/components/ui/empty'
|
||||
@@ -19,17 +19,17 @@ import {
|
||||
BaseNodeContent,
|
||||
BaseNodeFooter,
|
||||
BaseNodeHeaderRow,
|
||||
} from '@/components/base/BaseNode'
|
||||
import { getDefaultDataForType, getNextNodeId } from '@/lib/flowUtils'
|
||||
import FlowContext from '@/lib/flowContext'
|
||||
import { getDefaultStyle, getNodeType } from '@/lib/nodeRegistry'
|
||||
import { NodeFooterEdgeIndicators } from '@/components/base/NodeFooterEdgeIndicators'
|
||||
import { NodeHeaderTitle } from '@/components/base/NodeHeaderTitle'
|
||||
import { NodeMenubar } from '@/components/base/NodeMenubar'
|
||||
import { NodeStatusIndicator } from '@/components/base/NodeStatusIndicator'
|
||||
} from '@/components/graph/BaseNode'
|
||||
import { getDefaultDataForType, getNextNodeId } from '@/lib/graph/flowUtils'
|
||||
import FlowContext from '@/lib/graph/flowContext'
|
||||
import { getDefaultStyle, getNodeType } from '@/lib/graph/nodeRegistry'
|
||||
import { NodeFooterEdgeIndicators } from '@/components/graph/NodeFooterEdgeIndicators'
|
||||
import { NodeHeaderTitle } from '@/components/graph/NodeHeaderTitle'
|
||||
import { NodeMenubar } from '@/components/graph/NodeMenubar'
|
||||
import { NodeStatusIndicator } from '@/components/graph/NodeStatusIndicator'
|
||||
import { MenubarItem, MenubarSeparator, MenubarSub, MenubarSubContent, MenubarSubTrigger } from '@/components/ui/menubar'
|
||||
import { Sparkles, ZoomIn, ZoomOut, RotateCcw, RotateCw, Copy, Play, ChevronDown } from 'lucide-react'
|
||||
import { InputHandle } from '@/components/base/NodeHandles'
|
||||
import { InputHandle } from '@/components/graph/NodeHandles'
|
||||
import { TransformWrapper, TransformComponent } from 'react-zoom-pan-pinch'
|
||||
import { Input } from '@/components/ui/input'
|
||||
import { Button } from '@/components/ui/button'
|
||||
@@ -715,7 +715,7 @@ function RenderingNodeComponent({ id, data, width, height, selected }: Props) {
|
||||
onClick={() => {
|
||||
const text = rawDisplayContent
|
||||
if (text) {
|
||||
navigator.clipboard?.writeText(text).then(() => toast.success('Copied to clipboard')).catch(() => {})
|
||||
navigator.clipboard?.writeText(text).then(() => toast.success('Copied to clipboard')).catch(() => { })
|
||||
}
|
||||
}}
|
||||
disabled={!rawDisplayContent}
|
||||
|
||||
Reference in New Issue
Block a user