feat(editor): Add support for configurable configuration nodes in new canvas (no-changelog) (#9991)

This commit is contained in:
Alex Grozav
2024-07-10 17:51:18 +03:00
committed by GitHub
parent d2ca8b4b42
commit a45899765c
17 changed files with 318 additions and 457 deletions

View File

@@ -14,7 +14,10 @@ export function createCanvasNodeData({
issues = { items: [], visible: false },
pinnedData = { count: 0, visible: false },
runData = { count: 0, visible: false },
renderType = 'default',
render = {
type: 'default',
options: { configurable: false, configuration: false, trigger: false },
},
}: Partial<CanvasElementData> = {}): CanvasElementData {
return {
execution,
@@ -28,7 +31,7 @@ export function createCanvasNodeData({
inputs,
outputs,
connections,
renderType,
render,
};
}