mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Mark defaults.color as deprecated in node descriptions (#10117)
This commit is contained in:
@@ -1814,9 +1814,17 @@ export interface INodeOutputConfiguration {
|
||||
|
||||
export type ExpressionString = `={{${string}}}`;
|
||||
|
||||
export type NodeDefaults = Partial<{
|
||||
/**
|
||||
* @deprecated Use {@link INodeTypeBaseDescription.iconColor|iconColor} instead. `iconColor` supports dark mode and uses preset colors from n8n's design system.
|
||||
*/
|
||||
color: string;
|
||||
name: string;
|
||||
}>;
|
||||
|
||||
export interface INodeTypeDescription extends INodeTypeBaseDescription {
|
||||
version: number | number[];
|
||||
defaults: INodeParameters;
|
||||
defaults: NodeDefaults;
|
||||
eventTriggerDescription?: string;
|
||||
activationMessage?: string;
|
||||
inputs: Array<ConnectionTypes | INodeInputConfiguration> | ExpressionString;
|
||||
|
||||
Reference in New Issue
Block a user