Function: toImportSegment()
Makaio Framework / ai-adapters-core / toImportSegment
Function: toImportSegment()
Section titled “Function: toImportSegment()”toImportSegment(
result):ImportSegment
Defined in: ../../../adapters/core/src/log-importer/types.ts:275
Converts a ProcessLogFileResult to a canonical ImportSegment.
Strips bus-emission fields (sessionEvent, messageEvents) and recursively converts children, producing the clean structural tree.
Parameters
Section titled “Parameters”result
Section titled “result”The full import result from an adapter
Returns
Section titled “Returns”A canonical import segment tree