mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-23 12:49:09 +00:00
⚡ Enforce type checking in all node params (#2509)
This commit is contained in:
@@ -8,7 +8,7 @@ export const resource = {
|
||||
value: 'asset',
|
||||
} as INodePropertyOptions;
|
||||
|
||||
export const operations = [
|
||||
export const operations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
@@ -33,9 +33,9 @@ export const operations = [
|
||||
default: 'getAll',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const fields = [
|
||||
export const fields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Environment ID',
|
||||
name: 'environmentId',
|
||||
@@ -201,4 +201,4 @@ export const fields = [
|
||||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user