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,4 +1,4 @@
|
||||
import { AllEntities, Entity } from 'n8n-workflow';
|
||||
import type { AllEntities, Entity } from 'n8n-workflow';
|
||||
|
||||
type GoogleAnalyticsMap = {
|
||||
userActivity: 'search';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const dimensionDropdown: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
import * as getga4 from './get.ga4.operation';
|
||||
import * as getuniversal from './get.universal.operation';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { IExecuteFunctions } from 'n8n-core';
|
||||
import { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow';
|
||||
import type { IExecuteFunctions } from 'n8n-core';
|
||||
import type { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow';
|
||||
import {
|
||||
checkDuplicates,
|
||||
defaultEndDate,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IExecuteFunctions } from 'n8n-core';
|
||||
import { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow';
|
||||
import { IData, IDimension, IMetric } from '../../helpers/Interfaces';
|
||||
import type { IExecuteFunctions } from 'n8n-core';
|
||||
import type { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow';
|
||||
import type { IData, IDimension, IMetric } from '../../helpers/Interfaces';
|
||||
import {
|
||||
checkDuplicates,
|
||||
defaultEndDate,
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { IExecuteFunctions } from 'n8n-core';
|
||||
import { INodeExecutionData, NodeOperationError } from 'n8n-workflow';
|
||||
import type { IExecuteFunctions } from 'n8n-core';
|
||||
import type { INodeExecutionData } from 'n8n-workflow';
|
||||
import { NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import { GoogleAnalytics, ReportBasedOnProperty } from './node.type';
|
||||
import type { GoogleAnalytics, ReportBasedOnProperty } from './node.type';
|
||||
import * as userActivity from './userActivity/UserActivity.resource';
|
||||
import * as report from './report/Report.resource';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
import * as search from './search.operation';
|
||||
|
||||
export { search };
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { IExecuteFunctions } from 'n8n-core';
|
||||
import { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow';
|
||||
import type { IExecuteFunctions } from 'n8n-core';
|
||||
import type { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow';
|
||||
import { googleApiRequest, googleApiRequestAllItems } from '../../transport';
|
||||
|
||||
export const description: INodeProperties[] = [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
|
||||
import { INodeTypeDescription } from 'n8n-workflow';
|
||||
import type { INodeTypeDescription } from 'n8n-workflow';
|
||||
import * as userActivity from './userActivity/UserActivity.resource';
|
||||
import * as report from './report/Report.resource';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user