feat(editor): Refactor and unify executions views (no-changelog) (#8538)
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
||||
WorkflowOperationError,
|
||||
} from 'n8n-workflow';
|
||||
import { Container, Service } from 'typedi';
|
||||
import type { IExecutionsStopData, IWorkflowExecutionDataProcess } from '@/Interfaces';
|
||||
import type { ExecutionStopResult, IWorkflowExecutionDataProcess } from '@/Interfaces';
|
||||
import { WorkflowRunner } from '@/WorkflowRunner';
|
||||
import { ExecutionRepository } from '@db/repositories/execution.repository';
|
||||
import { OwnershipService } from '@/services/ownership.service';
|
||||
@@ -99,7 +99,7 @@ export class WaitTracker {
|
||||
}
|
||||
}
|
||||
|
||||
async stopExecution(executionId: string): Promise<IExecutionsStopData> {
|
||||
async stopExecution(executionId: string): Promise<ExecutionStopResult> {
|
||||
if (this.waitingExecutions[executionId] !== undefined) {
|
||||
// The waiting execution was already scheduled to execute.
|
||||
// So stop timer and remove.
|
||||
|
||||
Reference in New Issue
Block a user