mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-01 10:14:56 -05: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:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bun
|
||||
|
||||
import { db } from '../db'
|
||||
import { user, workflow, workspace } from '../db/schema'
|
||||
import { db } from '@/db'
|
||||
import { user, workflow, workspace } from '@/db/schema'
|
||||
|
||||
const testWorkflowState = {
|
||||
blocks: {
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
import { readFileSync } from 'fs'
|
||||
import { and, eq, inArray, isNotNull } from 'drizzle-orm'
|
||||
import { nanoid } from 'nanoid'
|
||||
import { db } from '../db'
|
||||
import { workflow, workflowBlocks, workflowEdges, workflowSubflows } from '../db/schema'
|
||||
import { db } from '@/db'
|
||||
import { workflow, workflowBlocks, workflowEdges, workflowSubflows } from '@/db/schema'
|
||||
|
||||
interface WorkflowState {
|
||||
blocks: Record<string, any>
|
||||
|
||||
Reference in New Issue
Block a user