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:
@@ -1,6 +1,6 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const orderOperations = [
|
||||
export const orderOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
@@ -42,9 +42,9 @@ export const orderOperations = [
|
||||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const orderFields = [
|
||||
export const orderFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* order:create */
|
||||
@@ -1688,4 +1688,4 @@ export const orderFields = [
|
||||
default: '',
|
||||
description: 'order ID.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user