refactor(core): Move interrelated entities to @n8n/db (#15050)

This commit is contained in:
Iván Ovejero
2025-05-02 12:19:32 +02:00
committed by GitHub
parent 88afd66471
commit 20834abb56
270 changed files with 699 additions and 566 deletions

View File

@@ -1,4 +1,5 @@
import { CreateProjectDto, DeleteProjectDto, UpdateProjectDto } from '@n8n/api-types';
import type { Project } from '@n8n/db';
import {
Get,
Post,
@@ -18,7 +19,6 @@ import type { Scope } from '@n8n/permissions';
import { In, Not } from '@n8n/typeorm';
import { Response } from 'express';
import type { Project } from '@/databases/entities/project';
import { ProjectRepository } from '@/databases/repositories/project.repository';
import { BadRequestError } from '@/errors/response-errors/bad-request.error';
import { NotFoundError } from '@/errors/response-errors/not-found.error';