mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
b03e358a12
* 👕 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 529ad72b05
.
* 👕 Fix severity
27 lines
677 B
TypeScript
27 lines
677 B
TypeScript
import type { IExecuteFunctions } from 'n8n-core';
|
|
import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
|
|
export class NoOp implements INodeType {
|
|
description: INodeTypeDescription = {
|
|
displayName: 'No Operation, do nothing',
|
|
name: 'noOp',
|
|
icon: 'fa:arrow-right',
|
|
group: ['organization'],
|
|
version: 1,
|
|
description: 'No Operation',
|
|
defaults: {
|
|
name: 'No Operation, do nothing',
|
|
color: '#b0b0b0',
|
|
},
|
|
inputs: ['main'],
|
|
outputs: ['main'],
|
|
properties: [],
|
|
};
|
|
|
|
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
|
const items = this.getInputData();
|
|
|
|
return this.prepareOutputData(items);
|
|
}
|
|
}
|