diff --git a/data/nodes.db b/data/nodes.db index 0d1e167..33b7c20 100644 Binary files a/data/nodes.db and b/data/nodes.db differ diff --git a/src/community/community-node-service.ts b/src/community/community-node-service.ts index 1d01de3..0000bad 100644 --- a/src/community/community-node-service.ts +++ b/src/community/community-node-service.ts @@ -343,10 +343,17 @@ export class CommunityNodeService { const operations: any[] = []; // Check properties for resource/operation pattern + // Nodes can have multiple operation properties, each mapped to a resource via displayOptions if (nodeDesc.properties) { for (const prop of nodeDesc.properties) { - if (prop.name === 'operation' && prop.options) { - operations.push(...prop.options); + if ((prop.name === 'operation' || prop.name === 'action') && prop.options) { + const resource = prop.displayOptions?.show?.resource?.[0]; + for (const op of prop.options) { + operations.push({ + ...op, + ...(resource ? { resource } : {}) + }); + } } } }