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:
Waleed Latif
2025-07-26 16:10:32 -07:00
committed by GitHub
parent 93f68a9092
commit 0414aa5f6d
378 changed files with 2046 additions and 1425 deletions

View File

@@ -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', () => ({

View File

@@ -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')