mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-07 22:24:06 -05:00
Re-organized files for clarity
This commit is contained in:
@@ -21,10 +21,10 @@ import ReactFlow, {
|
||||
getSmoothStepPath,
|
||||
} from 'reactflow'
|
||||
import 'reactflow/dist/style.css'
|
||||
import { getBlock } from '../components/blocks/configs'
|
||||
import { WorkflowBlock } from '../components/blocks/components/workflow-block/workflow-block'
|
||||
import { BlockConfig } from '../components/blocks/types/block'
|
||||
import { BlockType } from '../components/blocks/types/block'
|
||||
import { getBlock } from '../../../blocks/configs'
|
||||
import { WorkflowBlock } from '../components/workflow-block/workflow-block'
|
||||
import { BlockConfig } from '../../../blocks/types/block'
|
||||
import { BlockType } from '../../../blocks/types/block'
|
||||
|
||||
/**
|
||||
* Represents the data structure for a workflow node
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
import { useState } from 'react'
|
||||
import { ToolbarTabs } from './toolbar-tabs'
|
||||
import { ToolbarBlock } from '../blocks/components/toolbar-block/toolbar-block'
|
||||
import { getBlocksByCategory, BlockCategory } from '../blocks'
|
||||
import { ToolbarBlock } from '../toolbar-block/toolbar-block'
|
||||
import { getBlocksByCategory, BlockCategory } from '../../../../blocks'
|
||||
|
||||
export function Toolbar() {
|
||||
const [activeTab, setActiveTab] = useState<BlockCategory>('basic')
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SubBlockConfig } from '../../../../types/block'
|
||||
import { SubBlockConfig } from '../../../../../blocks/types/block'
|
||||
import { Label } from '@/components/ui/label'
|
||||
import { ShortInput } from './components/short-input'
|
||||
import { LongInput } from './components/long-input'
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Card } from '@/components/ui/card'
|
||||
import { BlockConfig, SubBlockConfig } from '../../types/block'
|
||||
import { BlockConfig, SubBlockConfig } from '../../../../blocks/types/block'
|
||||
import { SubBlock } from './sub-block/sub-block'
|
||||
import { Handle, Position } from 'reactflow'
|
||||
import { cn } from '@/lib/utils'
|
||||
Reference in New Issue
Block a user