mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +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,3 +1,5 @@
|
||||
import * as losslessJSON from 'lossless-json';
|
||||
import moment from 'moment-timezone';
|
||||
import type {
|
||||
IDataObject,
|
||||
IExecuteFunctions,
|
||||
@@ -10,10 +12,6 @@ import type {
|
||||
} from 'n8n-workflow';
|
||||
import { NodeApiError } from 'n8n-workflow';
|
||||
|
||||
import moment from 'moment-timezone';
|
||||
|
||||
import * as losslessJSON from 'lossless-json';
|
||||
|
||||
function convertLosslessNumber(_: any, value: any) {
|
||||
if (value?.isLosslessNumber) {
|
||||
return value.toString();
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
import isEmpty from 'lodash/isEmpty';
|
||||
import omit from 'lodash/omit';
|
||||
import moment from 'moment-timezone';
|
||||
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow';
|
||||
import type {
|
||||
IExecuteFunctions,
|
||||
IDataObject,
|
||||
@@ -7,22 +11,7 @@ import type {
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import isEmpty from 'lodash/isEmpty';
|
||||
import omit from 'lodash/omit';
|
||||
|
||||
import moment from 'moment-timezone';
|
||||
import {
|
||||
goToWebinarApiRequest,
|
||||
goToWebinarApiRequestAllItems,
|
||||
handleGetAll,
|
||||
loadAnswers,
|
||||
loadRegistranMultiChoiceQuestions,
|
||||
loadRegistranSimpleQuestions,
|
||||
loadWebinars,
|
||||
loadWebinarSessions,
|
||||
} from './GenericFunctions';
|
||||
import {
|
||||
attendeeFields,
|
||||
attendeeOperations,
|
||||
@@ -37,6 +26,16 @@ import {
|
||||
webinarFields,
|
||||
webinarOperations,
|
||||
} from './descriptions';
|
||||
import {
|
||||
goToWebinarApiRequest,
|
||||
goToWebinarApiRequestAllItems,
|
||||
handleGetAll,
|
||||
loadAnswers,
|
||||
loadRegistranMultiChoiceQuestions,
|
||||
loadRegistranSimpleQuestions,
|
||||
loadWebinars,
|
||||
loadWebinarSessions,
|
||||
} from './GenericFunctions';
|
||||
|
||||
export class GoToWebinar implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
|
||||
Reference in New Issue
Block a user