PersistentAI API Documentation / @persistentai/fireflow-types / getOrCreateNodeMetadata
Function: getOrCreateNodeMetadata()
getOrCreateNodeMetadata(
target):NodeMetadata
Defined in: packages/fireflow-types/src/decorator/getOrCreateNodeMetadata.ts:19
Retrieves node metadata from the target using new decorators. It reads the node config stored under 'fireflow:node-config' and merges port configurations (stored under 'fireflow:ports-config') into the metadata.
Parameters
target
any