Skip to content

Commit 9d6a87b

Browse files
author
Theodore Li
committed
Fix lint
1 parent a5367a9 commit 9d6a87b

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

apps/sim/app/api/workflows/[id]/execute/route.async.test.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ const {
1818
}))
1919

2020
vi.mock('@/lib/auth/hybrid', () => ({
21-
AuthType: {
22-
SESSION: 'session',
23-
API_KEY: 'api_key',
24-
INTERNAL_JWT: 'internal_jwt',
25-
},
2621
checkHybridAuth: mockCheckHybridAuth,
2722
AuthType: {
2823
SESSION: 'session',

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,7 @@ import {
2121
} from '@/app/workspace/[workspaceId]/w/[workflowId]/utils/workflow-execution-utils'
2222
import { getBlock } from '@/blocks'
2323
import type { SerializableExecutionState } from '@/executor/execution/types'
24-
import type {
25-
BlockLog,
26-
BlockState,
27-
ExecutionResult,
28-
StreamingExecution,
29-
} from '@/executor/types'
24+
import type { BlockLog, BlockState, ExecutionResult, StreamingExecution } from '@/executor/types'
3025
import { hasExecutionResult } from '@/executor/utils/errors'
3126
import { coerceValue } from '@/executor/utils/start-block'
3227
import { subscriptionKeys } from '@/hooks/queries/subscription'

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/utils/workflow-execution-utils.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ import type {
44
BlockErrorData,
55
BlockStartedData,
66
} from '@/lib/workflows/executor/execution-events'
7-
import type { BlockLog, BlockState, ExecutionResult, NormalizedBlockOutput, StreamingExecution } from '@/executor/types'
7+
import type {
8+
BlockLog,
9+
BlockState,
10+
ExecutionResult,
11+
NormalizedBlockOutput,
12+
StreamingExecution,
13+
} from '@/executor/types'
814
import { stripCloneSuffixes } from '@/executor/utils/subflow-utils'
915
import { useExecutionStore } from '@/stores/execution'
1016
import type { ConsoleEntry, ConsoleUpdate } from '@/stores/terminal'
@@ -118,7 +124,10 @@ export interface BlockEventHandlerDeps {
118124
* Creates block event handlers for SSE execution events.
119125
* Shared by the workflow execution hook and standalone execution utilities.
120126
*/
121-
export function createBlockEventHandlers(config: BlockEventHandlerConfig, deps: BlockEventHandlerDeps) {
127+
export function createBlockEventHandlers(
128+
config: BlockEventHandlerConfig,
129+
deps: BlockEventHandlerDeps
130+
) {
122131
const {
123132
workflowId,
124133
executionIdRef,

0 commit comments

Comments
 (0)