mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix: Apply credential overwrites recursively (#5072)
This ensures that overwrites defined for a parent credential type also applies to all credentials extending it.
This commit is contained in:
committed by
GitHub
parent
f1184ccab5
commit
5d746c4a83
@@ -336,6 +336,7 @@ export interface ICredentialTypes {
|
||||
recognizes(credentialType: string): boolean;
|
||||
getByName(credentialType: string): ICredentialType;
|
||||
getNodeTypesToTestWith(type: string): string[];
|
||||
getParentTypes(typeName: string): string[];
|
||||
}
|
||||
|
||||
// The way the credentials get saved in the database (data encrypted)
|
||||
@@ -1492,6 +1493,7 @@ export type LoadedNodesAndCredentials = {
|
||||
export interface INodesAndCredentials {
|
||||
known: KnownNodesAndCredentials;
|
||||
loaded: LoadedNodesAndCredentials;
|
||||
credentialTypes: ICredentialTypes;
|
||||
}
|
||||
|
||||
export interface IRun {
|
||||
|
||||
Reference in New Issue
Block a user