mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(core): Add strong typing for INodeTypeBaseDescription['group'] (no-changelog) (#14047)
This commit is contained in:
committed by
GitHub
parent
8f46371d77
commit
a24e8abe8c
@@ -1699,6 +1699,8 @@ export type IconRef = `fa:${string}` | `node:${string}.${string}`;
|
||||
export type IconFile = `file:${string}.png` | `file:${string}.svg`;
|
||||
export type Icon = IconRef | Themed<IconFile>;
|
||||
|
||||
type NodeGroupType = 'input' | 'output' | 'organization' | 'schedule' | 'transform' | 'trigger';
|
||||
|
||||
export interface INodeTypeBaseDescription {
|
||||
displayName: string;
|
||||
name: string;
|
||||
@@ -1706,7 +1708,7 @@ export interface INodeTypeBaseDescription {
|
||||
iconColor?: ThemeIconColor;
|
||||
iconUrl?: Themed<string>;
|
||||
badgeIconUrl?: Themed<string>;
|
||||
group: string[];
|
||||
group: NodeGroupType[];
|
||||
description: string;
|
||||
documentationUrl?: string;
|
||||
subtitle?: string;
|
||||
|
||||
Reference in New Issue
Block a user