mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Enforce type checking in all node params (#2509)
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
TLP,
|
||||
} from './AnalyzerInterface';
|
||||
|
||||
export const analyzersOperations = [
|
||||
export const analyzersOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
@@ -29,7 +29,7 @@ export const analyzersOperations = [
|
||||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const analyzerFields: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const jobOperations = [
|
||||
export const jobOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
@@ -30,7 +30,7 @@ export const jobOperations = [
|
||||
],
|
||||
default: 'get',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const jobFields: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
TLP,
|
||||
} from './AnalyzerInterface';
|
||||
|
||||
export const respondersOperations = [
|
||||
export const respondersOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
@@ -29,7 +29,7 @@ export const respondersOperations = [
|
||||
],
|
||||
default: 'execute',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const responderFields: INodeProperties[] = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user