mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Enforce type checking in all node params (#2509)
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
||||
|
||||
import * as placeholders from './placeholders';
|
||||
|
||||
export const documentOperations = [
|
||||
export const documentOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
@@ -46,9 +46,9 @@ export const documentOperations = [
|
||||
default: 'get',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const documentFields = [
|
||||
export const documentFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// document: delete
|
||||
// ----------------------------------------
|
||||
@@ -785,4 +785,4 @@ export const documentFields = [
|
||||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
|
||||
import * as placeholders from './placeholders';
|
||||
|
||||
export const indexOperations = [
|
||||
export const indexOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
@@ -37,9 +37,9 @@ export const indexOperations = [
|
||||
default: 'create',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const indexFields = [
|
||||
export const indexFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// index: create
|
||||
// ----------------------------------------
|
||||
@@ -319,4 +319,4 @@ export const indexFields = [
|
||||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user