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 './ai-workflow-builder-agent.service';
|
||||||
export * from './types';
|
export type * from './types';
|
||||||
export * from './workflow-state';
|
export * from './workflow-state';
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
// Re-export all types from their respective modules
|
// Re-export all types from their respective modules
|
||||||
|
|
||||||
export * from './workflow';
|
export type * from './workflow';
|
||||||
export * from './messages';
|
export type * from './messages';
|
||||||
export * from './tools';
|
export type * from './tools';
|
||||||
export * from './connections';
|
export type * from './connections';
|
||||||
export * from './streaming';
|
export type * from './streaming';
|
||||||
export * from './nodes';
|
export type * from './nodes';
|
||||||
export * from './config';
|
export type * from './config';
|
||||||
export * from './utils';
|
export type * from './utils';
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
export * from './license-state';
|
export * from './license-state';
|
||||||
export * from './types';
|
export type * from './types';
|
||||||
|
|
||||||
export { inDevelopment, inProduction, inTest } from './environment';
|
export { inDevelopment, inProduction, inTest } from './environment';
|
||||||
export { isObjectLiteral } from './utils/is-object-literal';
|
export { isObjectLiteral } from './utils/is-object-literal';
|
||||||
export { Logger } from './logging/logger';
|
export { Logger } from './logging/logger';
|
||||||
export { ModuleRegistry } from './modules/module-registry';
|
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 { isContainedWithin, safeJoinPath } from './utils/path-util';
|
||||||
export { CliParser } from './cli-parser';
|
export { CliParser } from './cli-parser';
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
export { ClientOAuth2, ClientOAuth2Options, ClientOAuth2RequestObject } from './client-oauth2';
|
export type { ClientOAuth2Options, ClientOAuth2RequestObject } from './client-oauth2';
|
||||||
export { ClientOAuth2Token, ClientOAuth2TokenData } from './client-oauth2-token';
|
export { ClientOAuth2 } from './client-oauth2';
|
||||||
|
export type { ClientOAuth2TokenData } from './client-oauth2-token';
|
||||||
|
export { ClientOAuth2Token } from './client-oauth2-token';
|
||||||
export type * from './types';
|
export type * from './types';
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ import { Config, Env, Nested } from './decorators';
|
|||||||
export { Config, Env, Nested } from './decorators';
|
export { Config, Env, Nested } from './decorators';
|
||||||
export { DatabaseConfig, SqliteConfig } from './configs/database.config';
|
export { DatabaseConfig, SqliteConfig } from './configs/database.config';
|
||||||
export { InstanceSettingsConfig } from './configs/instance-settings-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 { SecurityConfig } from './configs/security.config';
|
||||||
export { ExecutionsConfig } from './configs/executions.config';
|
export { ExecutionsConfig } from './configs/executions.config';
|
||||||
export { LOG_SCOPES } from './configs/logging.config';
|
export { LOG_SCOPES } from './configs/logging.config';
|
||||||
|
|||||||
@@ -9,4 +9,5 @@ export * from './pubsub';
|
|||||||
export { Redactable } from './redactable';
|
export { Redactable } from './redactable';
|
||||||
export * from './shutdown';
|
export * from './shutdown';
|
||||||
export * from './module/module-metadata';
|
export * from './module/module-metadata';
|
||||||
export { Timed, TimedOptions } from './timed';
|
export type { TimedOptions } from './timed';
|
||||||
|
export { Timed } from './timed';
|
||||||
|
|||||||
@@ -1,8 +1,3 @@
|
|||||||
export {
|
export type { ModuleInterface, EntityClass, ModuleSettings, ModuleContext } from './module';
|
||||||
ModuleInterface,
|
export { BackendModule } from './module';
|
||||||
BackendModule,
|
|
||||||
EntityClass,
|
|
||||||
ModuleSettings,
|
|
||||||
ModuleContext,
|
|
||||||
} from './module';
|
|
||||||
export { ModuleMetadata } from './module-metadata';
|
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';
|
export { OnPubSubEvent } from './on-pubsub-event';
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
export { ApplicationError } from './application.error';
|
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-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
|
* 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 './define';
|
||||||
export * from './types';
|
export type * from './types';
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
export * from './define';
|
export * from './define';
|
||||||
export * from './types';
|
export type * from './types';
|
||||||
|
|||||||
@@ -97,4 +97,4 @@ export function getParts(
|
|||||||
|
|
||||||
export * from './imap-simple';
|
export * from './imap-simple';
|
||||||
export * from './errors';
|
export * from './errors';
|
||||||
export * from './types';
|
export type * from './types';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export * from './task-runner';
|
export * from './task-runner';
|
||||||
export * from './runner-types';
|
export * from './runner-types';
|
||||||
export * from './message-types';
|
export type * from './message-types';
|
||||||
export * from './data-request/data-request-response-reconstruct';
|
export * from './data-request/data-request-response-reconstruct';
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
export { EventMessageTypes } from './event-message-classes';
|
export type { EventMessageTypes } from './event-message-classes';
|
||||||
export { EventPayloadWorkflow } from './event-message-classes/event-message-workflow';
|
export type { EventPayloadWorkflow } from './event-message-classes/event-message-workflow';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
export * from './binary-data.service';
|
export * from './binary-data.service';
|
||||||
export { BinaryDataConfig } from './binary-data.config';
|
export { BinaryDataConfig } from './binary-data.config';
|
||||||
export * from './types';
|
export type * from './types';
|
||||||
export { ObjectStoreService } from './object-store/object-store.service.ee';
|
export { ObjectStoreService } from './object-store/object-store.service.ee';
|
||||||
export { isStoredMode as isValidNonDefaultMode } from './utils';
|
export { isStoredMode as isValidNonDefaultMode } from './utils';
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ declare module 'n8n-workflow' {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export * from './active-workflows';
|
export * from './active-workflows';
|
||||||
export * from './interfaces';
|
export type * from './interfaces';
|
||||||
export * from './routing-node';
|
export * from './routing-node';
|
||||||
export * from './node-execution-context';
|
export * from './node-execution-context';
|
||||||
export * from './partial-execution-utils';
|
export * from './partial-execution-utils';
|
||||||
|
|||||||
@@ -13,6 +13,6 @@ export * from './nodes-loader';
|
|||||||
export * from './utils';
|
export * from './utils';
|
||||||
export { WorkflowHasIssuesError } from './errors/workflow-has-issues.error';
|
export { WorkflowHasIssuesError } from './errors/workflow-has-issues.error';
|
||||||
|
|
||||||
export * from './interfaces';
|
export type * from './interfaces';
|
||||||
export * from './node-execute-functions';
|
export * from './node-execute-functions';
|
||||||
export { NodeExecuteFunctions };
|
export { NodeExecuteFunctions };
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
export * from './chat';
|
export type * from './chat';
|
||||||
export * from './messages';
|
export type * from './messages';
|
||||||
export * from './options';
|
export type * from './options';
|
||||||
export * from './webhook';
|
export type * from './webhook';
|
||||||
export * from './streaming';
|
export type * from './streaming';
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
export * from './action-dropdown';
|
export type * from './action-dropdown';
|
||||||
export * from './assistant';
|
export * from './assistant';
|
||||||
export * from './badge';
|
export type * from './badge';
|
||||||
export * from './button';
|
export type * from './button';
|
||||||
export * from './callout';
|
export type * from './callout';
|
||||||
export * from './datatable';
|
export type * from './datatable';
|
||||||
export * from './form';
|
export type * from './form';
|
||||||
export * from './i18n';
|
export type * from './i18n';
|
||||||
export * from './icon';
|
export type * from './icon';
|
||||||
export * from './input';
|
export type * from './input';
|
||||||
export * from './keyboardshortcut';
|
export type * from './keyboardshortcut';
|
||||||
export * from './menu';
|
export * from './menu';
|
||||||
export * from './node-creator-node';
|
export type * from './node-creator-node';
|
||||||
export * from './recycle-scroller';
|
export type * from './recycle-scroller';
|
||||||
export * from './resize';
|
export * from './resize';
|
||||||
export * from './select';
|
export type * from './select';
|
||||||
export * from './tabs';
|
export type * from './tabs';
|
||||||
export * from './text';
|
export type * from './text';
|
||||||
export * from './user';
|
export type * from './user';
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import {
|
|||||||
insertOptionsAndValues,
|
insertOptionsAndValues,
|
||||||
} from './utils';
|
} from './utils';
|
||||||
|
|
||||||
export * from './types';
|
export type * from './types';
|
||||||
|
|
||||||
export const i18nInstance = createI18n({
|
export const i18nInstance = createI18n({
|
||||||
legacy: false,
|
legacy: false,
|
||||||
|
|||||||
@@ -14,11 +14,11 @@ export * from './roles';
|
|||||||
export * from './settings';
|
export * from './settings';
|
||||||
export * from './module-settings';
|
export * from './module-settings';
|
||||||
export * from './sso';
|
export * from './sso';
|
||||||
export * from './tags';
|
export type * from './tags';
|
||||||
export * from './templates';
|
export * from './templates';
|
||||||
export * from './ui';
|
export * from './ui';
|
||||||
export * from './users';
|
export * from './users';
|
||||||
export * from './versions';
|
export * from './versions';
|
||||||
export * from './webhooks';
|
export * from './webhooks';
|
||||||
export * from './workflowHistory';
|
export * from './workflowHistory';
|
||||||
export * from './workflows';
|
export type * from './workflows';
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
export * from './api';
|
export * from './api';
|
||||||
export * from './types';
|
export type * from './types';
|
||||||
export * from './utils';
|
export * from './utils';
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
export * from './canvas';
|
export * from './canvas';
|
||||||
export * from './externalHooks';
|
export type * from './externalHooks';
|
||||||
export * from './pushConnection';
|
export type * from './pushConnection';
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
export * from './Build';
|
export * from './Build';
|
||||||
export * from './Create';
|
export * from './Create';
|
||||||
export * from './Interfaces';
|
export type * from './Interfaces';
|
||||||
|
|||||||
Reference in New Issue
Block a user