refactor(core): Move second batch of repositories to @n8n/db (#15137)

This commit is contained in:
Iván Ovejero
2025-05-06 16:40:34 +02:00
committed by GitHub
parent cf03a28774
commit 32b72011e6
73 changed files with 124 additions and 109 deletions

View File

@@ -1,7 +1,8 @@
import { Project } from '@n8n/db';
import { User } from '@n8n/db';
import type { SharedWorkflow } from '@n8n/db';
import type { IWorkflowDb } from '@n8n/db';
import { Project } from '@n8n/db';
import { User } from '@n8n/db';
import { ProjectRepository } from '@n8n/db';
import { Container } from '@n8n/di';
import type { WorkflowSharingRole } from '@n8n/permissions';
import type { DeepPartial } from '@n8n/typeorm';
@@ -9,7 +10,6 @@ import type { IWorkflowBase } from 'n8n-workflow';
import { NodeConnectionTypes } from 'n8n-workflow';
import { v4 as uuid } from 'uuid';
import { ProjectRepository } from '@/databases/repositories/project.repository';
import { SharedWorkflowRepository } from '@/databases/repositories/shared-workflow.repository';
import { WorkflowRepository } from '@/databases/repositories/workflow.repository';