mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
refactor(imports): added aliased imports everywhere (#799)
* refactor(imports): added aliased imports everywhere * more aliased imports * add barrel exports * add more barrel exports * cleanup --------- Co-authored-by: waleedlatif <waleedlatif@waleedlatifs-MacBook-Pro.local>
This commit is contained in:
@@ -18,9 +18,9 @@ import {
|
||||
createLoopWorkflowState,
|
||||
createMinimalWorkflowState,
|
||||
createMissingMetadataWorkflow,
|
||||
} from './__test-utils__/test-workflows'
|
||||
import { Serializer } from './index'
|
||||
import type { SerializedWorkflow } from './types'
|
||||
} from '@/serializer/__test-utils__/test-workflows'
|
||||
import { Serializer } from '@/serializer/index'
|
||||
import type { SerializedWorkflow } from '@/serializer/types'
|
||||
|
||||
// Mock getBlock function
|
||||
vi.mock('@/blocks', () => ({
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { Edge } from 'reactflow'
|
||||
import { createLogger } from '@/lib/logs/console/logger'
|
||||
import { getBlock } from '@/blocks'
|
||||
import type { SerializedBlock, SerializedWorkflow } from '@/serializer/types'
|
||||
import type { BlockState, Loop, Parallel } from '@/stores/workflows/workflow/types'
|
||||
import type { SerializedBlock, SerializedWorkflow } from './types'
|
||||
|
||||
const logger = createLogger('Serializer')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user