Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / findStreamFieldsInSchema

Function: findStreamFieldsInSchema()

findStreamFieldsInSchema(properties, prefix?): object[]

Defined in: packages/fireflow-types/src/flow/execution/runtime/stream-bridge.ts:332

Recursively find stream fields in an object port's schema properties. Keys are sorted alphabetically at each level for determinism.

Used by parent (ExecuteFlowNode) to find stream fields in outputs schema, and by EventListenerNode to find stream fields in eventPayload schema.

Parameters

properties

Record<string, IPortConfig>

prefix?

string = ''

Returns

object[]

Licensed under BUSL-1.1