mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Impose import/order linting rule across nodes packages (no-changelog) (#12314)
This commit is contained in:
committed by
GitHub
parent
8c635993bd
commit
bafac73eb5
@@ -1,4 +1,6 @@
|
||||
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
|
||||
import { capitalCase } from 'change-case';
|
||||
import isEmpty from 'lodash/isEmpty';
|
||||
import type {
|
||||
IExecuteFunctions,
|
||||
IDataObject,
|
||||
@@ -9,8 +11,6 @@ import type {
|
||||
} from 'n8n-workflow';
|
||||
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import { capitalCase } from 'change-case';
|
||||
import isEmpty from 'lodash/isEmpty';
|
||||
import {
|
||||
billFields,
|
||||
billOperations,
|
||||
@@ -33,7 +33,6 @@ import {
|
||||
vendorFields,
|
||||
vendorOperations,
|
||||
} from './descriptions';
|
||||
|
||||
import {
|
||||
adjustTransactionDates,
|
||||
getRefAndSyncToken,
|
||||
@@ -46,7 +45,6 @@ import {
|
||||
quickBooksApiRequest,
|
||||
simplifyTransactionReport,
|
||||
} from './GenericFunctions';
|
||||
|
||||
import type { QuickBooksOAuth2Credentials, TransactionFields, TransactionReport } from './types';
|
||||
|
||||
export class QuickBooks implements INodeType {
|
||||
@@ -191,9 +189,8 @@ export class QuickBooks implements INodeType {
|
||||
let responseData;
|
||||
const returnData: INodeExecutionData[] = [];
|
||||
|
||||
const { oauthTokenData } = (await this.getCredentials(
|
||||
'quickBooksOAuth2Api',
|
||||
)) as QuickBooksOAuth2Credentials;
|
||||
const { oauthTokenData } =
|
||||
await this.getCredentials<QuickBooksOAuth2Credentials>('quickBooksOAuth2Api');
|
||||
const companyId = oauthTokenData.callbackQueryString.realmId;
|
||||
|
||||
for (let i = 0; i < items.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user