mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Use display option's @Version specifier (#7351)
Nodes can have properties that have a displayOption which specifies a version for which node versions that property applies to. We should take this into account when forming the action types for a Node in the NodeList. For example Notion node has 2 version which have different Page operations.
This commit is contained in:
@@ -1116,6 +1116,8 @@ export interface IDisplayOptions {
|
||||
[key: string]: NodeParameterValue[] | undefined;
|
||||
};
|
||||
show?: {
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
'@version'?: number[];
|
||||
[key: string]: NodeParameterValue[] | undefined;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user