mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
Merge remote-tracking branch 'origin/master' into release/1.0.1
This commit is contained in:
@@ -1257,6 +1257,16 @@ export interface INodeType {
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* This class serves as the base for all nodes using the new context API
|
||||
* having this as a class enables us to identify these instances at runtime
|
||||
*/
|
||||
export abstract class Node {
|
||||
abstract description: INodeTypeDescription;
|
||||
execute?(context: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
||||
webhook?(context: IWebhookFunctions): Promise<IWebhookResponseData>;
|
||||
}
|
||||
|
||||
export interface IVersionedNodeType {
|
||||
nodeVersions: {
|
||||
[key: number]: INodeType;
|
||||
|
||||
Reference in New Issue
Block a user