Resolves a node's effective declared outputs, applying the entry/terminal special cases before falling back to the catalog-derived ports (or DEFAULT_PORT_SPEC when the type has no catalog entry at all).
ports
The node's plugin type.
The type's catalog PortSpec, if any (undefined for boundary pseudo-nodes and any type missing from the catalog).
PortSpec
Resolves a node's effective declared outputs, applying the entry/terminal special cases before falling back to the catalog-derived
ports(or DEFAULT_PORT_SPEC when the type has no catalog entry at all).