mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
chore: Enable ESLint rule consistent-type-exports (#18973)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export * from './ai-workflow-builder-agent.service';
|
||||
export * from './types';
|
||||
export type * from './types';
|
||||
export * from './workflow-state';
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// Re-export all types from their respective modules
|
||||
|
||||
export * from './workflow';
|
||||
export * from './messages';
|
||||
export * from './tools';
|
||||
export * from './connections';
|
||||
export * from './streaming';
|
||||
export * from './nodes';
|
||||
export * from './config';
|
||||
export * from './utils';
|
||||
export type * from './workflow';
|
||||
export type * from './messages';
|
||||
export type * from './tools';
|
||||
export type * from './connections';
|
||||
export type * from './streaming';
|
||||
export type * from './nodes';
|
||||
export type * from './config';
|
||||
export type * from './utils';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
export * from './license-state';
|
||||
export * from './types';
|
||||
export type * from './types';
|
||||
|
||||
export { inDevelopment, inProduction, inTest } from './environment';
|
||||
export { isObjectLiteral } from './utils/is-object-literal';
|
||||
export { Logger } from './logging/logger';
|
||||
export { ModuleRegistry } from './modules/module-registry';
|
||||
export { ModulesConfig, ModuleName } from './modules/modules.config';
|
||||
export type { ModuleName } from './modules/modules.config';
|
||||
export { ModulesConfig } from './modules/modules.config';
|
||||
export { isContainedWithin, safeJoinPath } from './utils/path-util';
|
||||
export { CliParser } from './cli-parser';
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
export { ClientOAuth2, ClientOAuth2Options, ClientOAuth2RequestObject } from './client-oauth2';
|
||||
export { ClientOAuth2Token, ClientOAuth2TokenData } from './client-oauth2-token';
|
||||
export type { ClientOAuth2Options, ClientOAuth2RequestObject } from './client-oauth2';
|
||||
export { ClientOAuth2 } from './client-oauth2';
|
||||
export type { ClientOAuth2TokenData } from './client-oauth2-token';
|
||||
export { ClientOAuth2Token } from './client-oauth2-token';
|
||||
export type * from './types';
|
||||
|
||||
@@ -39,7 +39,8 @@ import { Config, Env, Nested } from './decorators';
|
||||
export { Config, Env, Nested } from './decorators';
|
||||
export { DatabaseConfig, SqliteConfig } from './configs/database.config';
|
||||
export { InstanceSettingsConfig } from './configs/instance-settings-config';
|
||||
export { TaskRunnersConfig, TaskRunnerMode } from './configs/runners.config';
|
||||
export type { TaskRunnerMode } from './configs/runners.config';
|
||||
export { TaskRunnersConfig } from './configs/runners.config';
|
||||
export { SecurityConfig } from './configs/security.config';
|
||||
export { ExecutionsConfig } from './configs/executions.config';
|
||||
export { LOG_SCOPES } from './configs/logging.config';
|
||||
|
||||
@@ -9,4 +9,5 @@ export * from './pubsub';
|
||||
export { Redactable } from './redactable';
|
||||
export * from './shutdown';
|
||||
export * from './module/module-metadata';
|
||||
export { Timed, TimedOptions } from './timed';
|
||||
export type { TimedOptions } from './timed';
|
||||
export { Timed } from './timed';
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
export {
|
||||
ModuleInterface,
|
||||
BackendModule,
|
||||
EntityClass,
|
||||
ModuleSettings,
|
||||
ModuleContext,
|
||||
} from './module';
|
||||
export type { ModuleInterface, EntityClass, ModuleSettings, ModuleContext } from './module';
|
||||
export { BackendModule } from './module';
|
||||
export { ModuleMetadata } from './module-metadata';
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
export { PubSubMetadata, PubSubEventName } from './pubsub-metadata';
|
||||
export type { PubSubEventName } from './pubsub-metadata';
|
||||
export { PubSubMetadata } from './pubsub-metadata';
|
||||
export { OnPubSubEvent } from './on-pubsub-event';
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export { ApplicationError } from './application.error';
|
||||
export * from './types';
|
||||
export type * from './types';
|
||||
|
||||
@@ -161,6 +161,8 @@ export const baseConfig = tseslint.config(
|
||||
*/
|
||||
'@typescript-eslint/consistent-type-imports': 'error',
|
||||
|
||||
'@typescript-eslint/consistent-type-exports': 'error',
|
||||
|
||||
/**
|
||||
* https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/member-delimiter-style.md
|
||||
*/
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export * from './define';
|
||||
export * from './types';
|
||||
export type * from './types';
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export * from './define';
|
||||
export * from './types';
|
||||
export type * from './types';
|
||||
|
||||
@@ -97,4 +97,4 @@ export function getParts(
|
||||
|
||||
export * from './imap-simple';
|
||||
export * from './errors';
|
||||
export * from './types';
|
||||
export type * from './types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export * from './task-runner';
|
||||
export * from './runner-types';
|
||||
export * from './message-types';
|
||||
export type * from './message-types';
|
||||
export * from './data-request/data-request-response-reconstruct';
|
||||
|
||||
Reference in New Issue
Block a user