refactor(core): Move workflow repository to @n8n/db (#15260)

Co-authored-by: Ricardo Espinoza <ricardo@n8n.io>
This commit is contained in:
Iván Ovejero
2025-05-13 14:21:59 +02:00
committed by GitHub
parent 069992524d
commit 52f27a76ac
77 changed files with 103 additions and 112 deletions

View File

@@ -1,5 +1,6 @@
/* eslint-disable @typescript-eslint/no-loop-func */
import type { User } from '@n8n/db';
import { WorkflowRepository } from '@n8n/db';
import { Container } from '@n8n/di';
import { Flags } from '@oclif/core';
import fs from 'fs';
@@ -11,7 +12,6 @@ import os from 'os';
import { sep } from 'path';
import { ActiveExecutions } from '@/active-executions';
import { WorkflowRepository } from '@/databases/repositories/workflow.repository';
import { OwnershipService } from '@/services/ownership.service';
import { findCliWorkflowStart } from '@/utils';
import { WorkflowRunner } from '@/workflow-runner';