Headless collector normalisation and submit-planning helpers.
Enriches raw bridge collectors with UI-helper metadata.
Raw collectors from a ContinueNode.
Collectors enriched with helper metadata.
Adds executionMode, requiresUserInput, kind, defaultValue, and passes through raw (the server-side field JSON populated by the native mapper).
executionMode
requiresUserInput
kind
defaultValue
raw
if (node.type === 'ContinueNode') { const fields = normalizeCollectors(node.collectors); const textFields = fields.filter((f) => f.kind === 'text');} Copy
if (node.type === 'ContinueNode') { const fields = normalizeCollectors(node.collectors); const textFields = fields.filter((f) => f.kind === 'text');}
Headless collector normalisation and submit-planning helpers.