fix(editor): Fix performance issue in credentials list (#10988)

This commit is contained in:
Elias Meire
2024-09-27 12:04:00 +02:00
committed by GitHub
parent d2bc0760e2
commit 7073ec6fe5
6 changed files with 191 additions and 129 deletions

View File

@@ -314,6 +314,7 @@ export interface ICredentialType {
name: string;
displayName: string;
icon?: Icon;
iconColor?: ThemeIconColor;
iconUrl?: Themed<string>;
extends?: string[];
properties: INodeProperties[];
@@ -327,6 +328,7 @@ export interface ICredentialType {
test?: ICredentialTestRequest;
genericAuth?: boolean;
httpRequestNode?: ICredentialHttpRequestNode;
supportedNodes?: string[];
}
export interface ICredentialTypes {
@@ -1617,7 +1619,7 @@ export interface IWorkflowIssues {
[key: string]: INodeIssues;
}
export type NodeIconColor =
export type ThemeIconColor =
| 'gray'
| 'black'
| 'blue'
@@ -1642,7 +1644,7 @@ export interface INodeTypeBaseDescription {
displayName: string;
name: string;
icon?: Icon;
iconColor?: NodeIconColor;
iconColor?: ThemeIconColor;
iconUrl?: Themed<string>;
badgeIconUrl?: Themed<string>;
group: string[];