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
@@ -19,9 +19,9 @@ import {
|
||||
WAIT_INDEFINITELY,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import { type CompletionPageConfig } from './interfaces';
|
||||
import { formDescription, formFields, formTitle } from '../Form/common.descriptions';
|
||||
import { prepareFormReturnItem, renderForm, resolveRawData } from '../Form/utils';
|
||||
import { type CompletionPageConfig } from './interfaces';
|
||||
|
||||
export const formFieldsProperties: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import type { INodeTypeBaseDescription, IVersionedNodeType } from 'n8n-workflow';
|
||||
import { VersionedNodeType } from 'n8n-workflow';
|
||||
|
||||
import { FormTriggerV1 } from './v1/FormTriggerV1.node';
|
||||
import { FormTriggerV2 } from './v2/FormTriggerV2.node';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
import { appendAttributionOption } from '../../utils/descriptions';
|
||||
|
||||
export const webhookPath: INodeProperties = {
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import { DateTime } from 'luxon';
|
||||
import type {
|
||||
FormFieldsParameter,
|
||||
INode,
|
||||
IWebhookFunctions,
|
||||
MultiPartFormData,
|
||||
} from 'n8n-workflow';
|
||||
import { DateTime } from 'luxon';
|
||||
|
||||
import { formWebhook, prepareFormData, prepareFormReturnItem, resolveRawData } from '../utils';
|
||||
|
||||
describe('FormTrigger, formWebhook', () => {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
import type { Response } from 'express';
|
||||
import isbot from 'isbot';
|
||||
import { DateTime } from 'luxon';
|
||||
import type {
|
||||
INodeExecutionData,
|
||||
MultiPartFormData,
|
||||
@@ -16,15 +19,10 @@ import {
|
||||
|
||||
import type { FormTriggerData, FormTriggerInput } from './interfaces';
|
||||
import { FORM_TRIGGER_AUTHENTICATION_PROPERTY } from './interfaces';
|
||||
|
||||
import { getResolvables } from '../../utils/utilities';
|
||||
import { WebhookAuthorizationError } from '../Webhook/error';
|
||||
import { validateWebhookAuthentication } from '../Webhook/utils';
|
||||
|
||||
import { DateTime } from 'luxon';
|
||||
import isbot from 'isbot';
|
||||
import type { Response } from 'express';
|
||||
import { getResolvables } from '../../utils/utilities';
|
||||
|
||||
export function prepareFormData({
|
||||
formTitle,
|
||||
formDescription,
|
||||
|
||||
@@ -9,7 +9,6 @@ import {
|
||||
type IWebhookFunctions,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import { formWebhook } from '../utils';
|
||||
import {
|
||||
appendAttributionToForm,
|
||||
formDescription,
|
||||
@@ -21,6 +20,7 @@ import {
|
||||
webhookPath,
|
||||
} from '../common.descriptions';
|
||||
import { FORM_TRIGGER_AUTHENTICATION_PROPERTY } from '../interfaces';
|
||||
import { formWebhook } from '../utils';
|
||||
|
||||
const useWorkflowTimezone: INodeProperties = {
|
||||
displayName: 'Use Workflow Timezone',
|
||||
|
||||
Reference in New Issue
Block a user