⚡ Enforce type checking in all node params (#2509)
This commit is contained in:
@@ -2,7 +2,7 @@ import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const bookmarkOperations = [
|
||||
export const bookmarkOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
@@ -39,9 +39,9 @@ export const bookmarkOperations = [
|
||||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const bookmarkFields = [
|
||||
export const bookmarkFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// bookmark: create
|
||||
// ----------------------------------
|
||||
@@ -317,4 +317,4 @@ export const bookmarkFields = [
|
||||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const collectionOperations = [
|
||||
export const collectionOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
@@ -39,9 +39,9 @@ export const collectionOperations = [
|
||||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const collectionFields = [
|
||||
export const collectionFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// collection: create
|
||||
// ----------------------------------
|
||||
@@ -355,4 +355,4 @@ export const collectionFields = [
|
||||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const tagOperations = [
|
||||
export const tagOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
@@ -27,9 +27,9 @@ export const tagOperations = [
|
||||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const tagFields = [
|
||||
export const tagFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// tag: delete
|
||||
// ----------------------------------
|
||||
@@ -152,4 +152,4 @@ export const tagFields = [
|
||||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const userOperations = [
|
||||
export const userOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
@@ -23,9 +23,9 @@ export const userOperations = [
|
||||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const userFields = [
|
||||
export const userFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// user: get
|
||||
// ----------------------------------
|
||||
@@ -68,4 +68,4 @@ export const userFields = [
|
||||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user