feat(core): Migrate to n8n's typeorm fork (#8590)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-02-08 15:13:29 +01:00
committed by GitHub
parent a822588012
commit 8e392cfc1d
81 changed files with 273 additions and 338 deletions

View File

@@ -1,6 +1,6 @@
import type { WorkflowEntity } from '@db/entities/WorkflowEntity';
import type { CredentialsEntity } from '@db/entities/CredentialsEntity';
import { getMetadataArgsStorage } from 'typeorm';
import { getMetadataArgsStorage } from '@n8n/typeorm';
export const disableAutoGeneratedIds = (
entityClass: typeof WorkflowEntity | typeof CredentialsEntity,

View File

@@ -1,8 +1,8 @@
import { Container } from 'typedi';
import { readFileSync, rmSync } from 'fs';
import { InstanceSettings } from 'n8n-core';
import type { ObjectLiteral } from 'typeorm';
import type { QueryRunner } from 'typeorm/query-runner/QueryRunner';
import type { ObjectLiteral } from '@n8n/typeorm';
import type { QueryRunner } from '@n8n/typeorm/query-runner/QueryRunner';
import { ApplicationError, jsonParse } from 'n8n-workflow';
import config from '@/config';
import { inTest } from '@/constants';

View File

@@ -1,5 +1,5 @@
import { jsonParse } from 'n8n-workflow';
import type { ValueTransformer, FindOperator } from 'typeorm';
import type { ValueTransformer, FindOperator } from '@n8n/typeorm';
import config from '@/config';
export const idStringifier = {