PersistentAI API Documentation / @persistentai/fireflow-types / PortConfigProcessor
Class: PortConfigProcessor
Defined in: packages/fireflow-types/src/node/port-config-processor.ts:25
Constructors
Constructor
new PortConfigProcessor():
PortConfigProcessor
Returns
PortConfigProcessor
Methods
processNodePorts()
processNodePorts(
node,portsConfig):Map<string,IPortConfig>
Defined in: packages/fireflow-types/src/node/port-config-processor.ts:32
Processes all port configurations of a node, ensuring they are fully specified.
Parameters
node
The node whose ports are to be processed.
portsConfig
Map<string, IPortConfig>
The port configurations to process.
Returns
Map<string, IPortConfig>
The processed port configurations.
processPortConfig()
processPortConfig(
portConfig,context):IPortConfig
Defined in: packages/fireflow-types/src/node/port-config-processor.ts:79
Recursively processes a port configuration, returning a new object with all fields properly set.
Parameters
portConfig
The port configuration to process.
context
The context for processing, including parent information.
Returns
The processed port configuration.