mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +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
@@ -9,9 +9,9 @@ import type {
|
||||
INodeTypeDescription,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import { router } from './actions/router';
|
||||
import { versionDescription } from './actions/versionDescription';
|
||||
import { loadOptions } from './methods';
|
||||
import { router } from './actions/router';
|
||||
import { validateCredentials } from './transport';
|
||||
|
||||
export class SyncroMspV1 implements INodeType {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import type { ContactProperties } from '../../Interfaces';
|
||||
|
||||
import { addressFixedCollection } from '../../../methods/sharedFields';
|
||||
import type { ContactProperties } from '../../Interfaces';
|
||||
|
||||
export const contactCreateDescription: ContactProperties = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createContact as execute } from './execute';
|
||||
import { contactCreateDescription as description } from './description';
|
||||
import { createContact as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { deleteContact as execute } from './execute';
|
||||
import { contactDeleteDescription as description } from './description';
|
||||
import { deleteContact as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getContact as execute } from './execute';
|
||||
import { contactGetDescription as description } from './description';
|
||||
import { getContact as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getAll as execute } from './execute';
|
||||
import { contactGetAllDescription as description } from './description';
|
||||
import { getAll as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
import * as getAll from './getAll';
|
||||
|
||||
import * as create from './create';
|
||||
import * as get from './get';
|
||||
import * as update from './update';
|
||||
import * as del from './del';
|
||||
import * as get from './get';
|
||||
import * as getAll from './getAll';
|
||||
import * as update from './update';
|
||||
|
||||
export { getAll, create, del as delete, update, get };
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import type { ContactProperties } from '../../Interfaces';
|
||||
|
||||
import { addressFixedCollection } from '../../../methods/sharedFields';
|
||||
import type { ContactProperties } from '../../Interfaces';
|
||||
|
||||
export const contactUpdateDescription: ContactProperties = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { updateContact as execute } from './execute';
|
||||
import { contactUpdateDescription as description } from './description';
|
||||
import { updateContact as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import type { CustomerProperties } from '../../Interfaces';
|
||||
|
||||
import { addressFixedCollection } from '../../../methods/sharedFields';
|
||||
import type { CustomerProperties } from '../../Interfaces';
|
||||
|
||||
export const customerCreateDescription: CustomerProperties = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { addCustomer as execute } from './execute';
|
||||
import { customerCreateDescription as description } from './description';
|
||||
import { addCustomer as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { deleteCustomer as execute } from './execute';
|
||||
import { customerDeleteDescription as description } from './description';
|
||||
import { deleteCustomer as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getCustomer as execute } from './execute';
|
||||
import { customerGetDescription as description } from './description';
|
||||
import { getCustomer as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getAll as execute } from './execute';
|
||||
import { customerGetAllDescription as description } from './description';
|
||||
import { getAll as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
import * as getAll from './getAll';
|
||||
|
||||
import * as create from './create';
|
||||
import * as del from './del';
|
||||
import * as update from './update';
|
||||
import * as get from './get';
|
||||
import * as getAll from './getAll';
|
||||
import * as update from './update';
|
||||
|
||||
export { getAll, create, del as delete, update, get };
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import type { CustomerProperties } from '../../Interfaces';
|
||||
|
||||
import { addressFixedCollection } from '../../../methods/sharedFields';
|
||||
import type { CustomerProperties } from '../../Interfaces';
|
||||
|
||||
export const customerUpdateDescription: CustomerProperties = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { updateCustomer as execute } from './execute';
|
||||
import { customerUpdateDescription as description } from './description';
|
||||
import { updateCustomer as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { addAlert as execute } from './execute';
|
||||
import { rmmCreateDescription as description } from './description';
|
||||
import { addAlert as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { deleteAlert as execute } from './execute';
|
||||
import { rmmDeleteDescription as description } from './description';
|
||||
import { deleteAlert as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getAlert as execute } from './execute';
|
||||
import { rmmGetDescription as description } from './description';
|
||||
import { getAlert as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getAll as execute } from './execute';
|
||||
import { rmmGetAllDescription as description } from './description';
|
||||
import { getAll as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
import * as get from './get';
|
||||
import * as getAll from './getAll';
|
||||
|
||||
import * as create from './create';
|
||||
import * as del from './del';
|
||||
import * as get from './get';
|
||||
import * as getAll from './getAll';
|
||||
import * as mute from './mute';
|
||||
|
||||
export { getAll, get, mute, del as delete, create };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { muteAlert as execute } from './execute';
|
||||
import { rmmMuteDescription as description } from './description';
|
||||
import { muteAlert as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
import type { IExecuteFunctions, INodeExecutionData, JsonObject } from 'n8n-workflow';
|
||||
import { NodeApiError } from 'n8n-workflow';
|
||||
|
||||
import * as customer from './customer';
|
||||
import * as ticket from './ticket';
|
||||
import * as contact from './contact';
|
||||
import * as rmm from './rmm';
|
||||
|
||||
import * as customer from './customer';
|
||||
import type { SyncroMsp } from './Interfaces';
|
||||
import * as rmm from './rmm';
|
||||
import * as ticket from './ticket';
|
||||
|
||||
export async function router(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
||||
const items = this.getInputData();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createTicket as execute } from './execute';
|
||||
import { ticketCreateDescription as description } from './description';
|
||||
import { createTicket as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { deleteTicket as execute } from './execute';
|
||||
import { ticketDeleteDescription as description } from './description';
|
||||
import { deleteTicket as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getTicket as execute } from './execute';
|
||||
import { ticketGetDescription as description } from './description';
|
||||
import { getTicket as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getAll as execute } from './execute';
|
||||
import { ticketGetAllDescription as description } from './description';
|
||||
import { getAll as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
import * as getAll from './getAll';
|
||||
|
||||
import * as create from './create';
|
||||
import * as get from './get';
|
||||
import * as del from './del';
|
||||
import * as get from './get';
|
||||
import * as getAll from './getAll';
|
||||
import * as update from './update';
|
||||
|
||||
export { getAll, create, get, del as delete, update };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { updateTicket as execute } from './execute';
|
||||
import { ticketUpdateDescription as description } from './description';
|
||||
import { updateTicket as execute } from './execute';
|
||||
|
||||
export { description, execute };
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
|
||||
import { NodeConnectionType, type INodeTypeDescription } from 'n8n-workflow';
|
||||
|
||||
import * as customer from './customer';
|
||||
import * as ticket from './ticket';
|
||||
import * as contact from './contact';
|
||||
import * as customer from './customer';
|
||||
import * as rmm from './rmm';
|
||||
import * as ticket from './ticket';
|
||||
|
||||
export const versionDescription: INodeTypeDescription = {
|
||||
displayName: 'SyncroMSP',
|
||||
|
||||
Reference in New Issue
Block a user