mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(core): Move isObjectLiteral to @n8n/backend-common (#15414)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { isObjectLiteral } from '@n8n/backend-common';
|
||||
import { plainToInstance, instanceToPlain } from 'class-transformer';
|
||||
import { validate } from 'class-validator';
|
||||
import { isObjectLiteral } from 'n8n-core';
|
||||
import { jsonParse, UnexpectedError } from 'n8n-workflow';
|
||||
|
||||
export class BaseFilter {
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { isObjectLiteral } from '@n8n/backend-common';
|
||||
import { GlobalConfig } from '@n8n/config';
|
||||
import { ExecutionRepository } from '@n8n/db';
|
||||
import { OnLeaderStepdown, OnLeaderTakeover, OnShutdown } from '@n8n/decorators';
|
||||
import { Container, Service } from '@n8n/di';
|
||||
import { ErrorReporter, InstanceSettings, isObjectLiteral, Logger } from 'n8n-core';
|
||||
import { ErrorReporter, InstanceSettings, Logger } from 'n8n-core';
|
||||
import {
|
||||
BINARY_ENCODING,
|
||||
sleep,
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-call */
|
||||
import { isObjectLiteral } from '@n8n/backend-common';
|
||||
import type { User } from '@n8n/db';
|
||||
import { Service } from '@n8n/di';
|
||||
import get from 'lodash/get';
|
||||
@@ -12,7 +13,6 @@ import {
|
||||
ExecuteContext,
|
||||
Logger,
|
||||
RoutingNode,
|
||||
isObjectLiteral,
|
||||
} from 'n8n-core';
|
||||
import type {
|
||||
ICredentialsDecrypted,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { isObjectLiteral } from 'n8n-core';
|
||||
import { isObjectLiteral } from '@n8n/backend-common';
|
||||
import { NodeOperationError } from 'n8n-workflow';
|
||||
import type { Workflow } from 'n8n-workflow';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user