refactor(core): Introduce @n8n/constants package (#14825)

This commit is contained in:
Iván Ovejero
2025-04-23 12:25:39 +02:00
committed by GitHub
parent 14d8ae1c1a
commit 9243e18de6
26 changed files with 146 additions and 86 deletions

View File

@@ -1,4 +1,5 @@
import type { BooleanLicenseFeature, NumericLicenseFeature } from '@/interfaces';
import type { BooleanLicenseFeature, NumericLicenseFeature } from '@n8n/constants';
import type { License } from '@/license';
export interface LicenseMockDefaults {

View File

@@ -1,3 +1,4 @@
import type { BooleanLicenseFeature, NumericLicenseFeature } from '@n8n/constants';
import type { Application } from 'express';
import type { Server } from 'http';
import type { ICredentialDataDecryptedObject } from 'n8n-workflow';
@@ -6,7 +7,7 @@ import type TestAgent from 'supertest/lib/agent';
import type { CredentialsEntity } from '@/databases/entities/credentials-entity';
import type { Project } from '@/databases/entities/project';
import type { User } from '@/databases/entities/user';
import type { BooleanLicenseFeature, ICredentialsDb, NumericLicenseFeature } from '@/interfaces';
import type { ICredentialsDb } from '@/interfaces';
import type { LicenseMocker } from './license';