mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(LangChain Code Node): Fix icon in dark mode (no-changelog) (#9863)
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
This commit is contained in:
committed by
GitHub
parent
4008c147d7
commit
a43d6f0c5e
@@ -310,7 +310,7 @@ type ICredentialHttpRequestNode = {
|
||||
export interface ICredentialType {
|
||||
name: string;
|
||||
displayName: string;
|
||||
icon?: Themed<Icon>;
|
||||
icon?: Icon;
|
||||
iconUrl?: Themed<string>;
|
||||
extends?: string[];
|
||||
properties: INodeProperties[];
|
||||
@@ -1571,13 +1571,15 @@ export type NodeIconColor =
|
||||
| 'azure'
|
||||
| 'purple'
|
||||
| 'crimson';
|
||||
export type Icon = `fa:${string}` | `file:${string}` | `node:${string}`;
|
||||
export type Themed<T> = T | { light: T; dark: T };
|
||||
export type IconRef = `fa:${string}` | `node:${string}.${string}`;
|
||||
export type IconFile = `file:${string}.png` | `file:${string}.svg`;
|
||||
export type Icon = IconRef | Themed<IconFile>;
|
||||
|
||||
export interface INodeTypeBaseDescription {
|
||||
displayName: string;
|
||||
name: string;
|
||||
icon?: Themed<Icon>;
|
||||
icon?: Icon;
|
||||
iconColor?: NodeIconColor;
|
||||
iconUrl?: Themed<string>;
|
||||
badgeIconUrl?: Themed<string>;
|
||||
|
||||
Reference in New Issue
Block a user