mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor: Integrate consistent-type-imports in nodes-base (no-changelog) (#5267)
* 👕 Enable `consistent-type-imports` for nodes-base * 👕 Apply to nodes-base * ⏪ Undo unrelated changes * 🚚 Move to `.eslintrc.js` in nodes-base * ⏪ Revert "Enable `consistent-type-imports` for nodes-base" This reverts commit 529ad72b051478fa1633aaf84b2864f2fdc7613c. * 👕 Fix severity
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
import { IExecuteFunctions } from 'n8n-core';
|
||||
import type { IExecuteFunctions } from 'n8n-core';
|
||||
|
||||
import { OptionsWithUri } from 'request';
|
||||
import type { OptionsWithUri } from 'request';
|
||||
|
||||
import { IDataObject, ILoadOptionsFunctions, IPollFunctions, NodeApiError } from 'n8n-workflow';
|
||||
import type { IDataObject, ILoadOptionsFunctions, IPollFunctions } from 'n8n-workflow';
|
||||
import { NodeApiError } from 'n8n-workflow';
|
||||
|
||||
import { TDtableMetadataColumns, TDtableViewColumns, TEndpointVariableName } from './types';
|
||||
import type { TDtableMetadataColumns, TDtableViewColumns, TEndpointVariableName } from './types';
|
||||
|
||||
import { schema } from './Schema';
|
||||
|
||||
import {
|
||||
import type {
|
||||
ICredential,
|
||||
ICtx,
|
||||
IDtableMetadataColumn,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const rowOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { TColumnType, TDateTimeFormat, TInheritColumnKey } from './types';
|
||||
import type { TColumnType, TDateTimeFormat, TInheritColumnKey } from './types';
|
||||
|
||||
export type ColumnType = keyof typeof schema.columnTypes;
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import { IExecuteFunctions } from 'n8n-core';
|
||||
import type { IExecuteFunctions } from 'n8n-core';
|
||||
|
||||
import {
|
||||
import type {
|
||||
IDataObject,
|
||||
ILoadOptionsFunctions,
|
||||
INodeExecutionData,
|
||||
INodePropertyOptions,
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
NodeOperationError,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
getTableColumns,
|
||||
@@ -24,9 +24,9 @@ import {
|
||||
|
||||
import { rowFields, rowOperations } from './RowDescription';
|
||||
|
||||
import { TColumnsUiValues, TColumnValue } from './types';
|
||||
import type { TColumnsUiValues, TColumnValue } from './types';
|
||||
|
||||
import { ICtx, IRow, IRowObject } from './Interfaces';
|
||||
import type { ICtx, IRow, IRowObject } from './Interfaces';
|
||||
|
||||
export class SeaTable implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IPollFunctions } from 'n8n-core';
|
||||
import type { IPollFunctions } from 'n8n-core';
|
||||
|
||||
import {
|
||||
import type {
|
||||
ILoadOptionsFunctions,
|
||||
INodeExecutionData,
|
||||
INodePropertyOptions,
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
|
||||
import { getColumns, rowFormatColumns, seaTableApiRequest, simplify } from './GenericFunctions';
|
||||
|
||||
import { ICtx, IRow, IRowResponse } from './Interfaces';
|
||||
import type { ICtx, IRow, IRowResponse } from './Interfaces';
|
||||
|
||||
import moment from 'moment';
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@ type TSeaTableServerEdition = 'enterprise edition';
|
||||
// dtable
|
||||
// ----------------------------------
|
||||
|
||||
import { IDtableMetadataColumn, IDtableMetadataTable, TDtableViewColumn } from './Interfaces';
|
||||
import { ICredentialDataDecryptedObject } from 'n8n-workflow';
|
||||
import type { IDtableMetadataColumn, IDtableMetadataTable, TDtableViewColumn } from './Interfaces';
|
||||
import type { ICredentialDataDecryptedObject } from 'n8n-workflow';
|
||||
|
||||
type TInheritColumnTypeTime = 'ctime' | 'mtime';
|
||||
type TInheritColumnTypeUser = 'creator' | 'last-modifier';
|
||||
|
||||
Reference in New Issue
Block a user