mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
⚡ Abstract OAuth signing and make credentials extendable
This commit is contained in:
@@ -2,6 +2,8 @@ import { Workflow } from './Workflow';
|
||||
import { WorkflowHooks } from './WorkflowHooks';
|
||||
import * as express from 'express';
|
||||
|
||||
export type IAllExecuteFunctions = IExecuteFunctions | IExecuteSingleFunctions | IHookFunctions | ILoadOptionsFunctions | IPollFunctions | ITriggerFunctions | IWebhookFunctions;
|
||||
|
||||
export interface IBinaryData {
|
||||
[key: string]: string | undefined;
|
||||
data: string;
|
||||
@@ -58,6 +60,7 @@ export interface ICredentialsEncrypted {
|
||||
export interface ICredentialType {
|
||||
name: string;
|
||||
displayName: string;
|
||||
extends?: string[];
|
||||
properties: INodeProperties[];
|
||||
}
|
||||
|
||||
@@ -78,7 +81,7 @@ export interface ICredentialData {
|
||||
}
|
||||
|
||||
// The encrypted credentials which the nodes can access
|
||||
export type CredentialInformation = string | number | boolean;
|
||||
export type CredentialInformation = string | number | boolean | IDataObject;
|
||||
|
||||
|
||||
// The encrypted credentials which the nodes can access
|
||||
@@ -649,6 +652,7 @@ export interface IWorkflowExecuteAdditionalData {
|
||||
httpRequest?: express.Request;
|
||||
restApiUrl: string;
|
||||
timezone: string;
|
||||
updateCredentials: (name: string, type: string, data: ICredentialDataDecryptedObject, encryptionKey: string) => Promise<void>;
|
||||
webhookBaseUrl: string;
|
||||
webhookTestBaseUrl: string;
|
||||
currentNodeParameters? : INodeParameters[];
|
||||
|
||||
Reference in New Issue
Block a user