Interface: LogImportTestConfig<TRecord, TState>
Makaio Framework / ai-adapters-core / LogImportTestConfig
Interface: LogImportTestConfig<TRecord, TState>
Section titled “Interface: LogImportTestConfig<TRecord, TState>”Defined in: ../../../adapters/core/src/log-importer/types.ts:506
Test configuration for log import conformance tests.
Host-owned log importer packages may use this shape to describe their test fixtures and importer constructors.
LogImporter - Base interface that LogImporterClass must implement
Type Parameters
Section titled “Type Parameters”TRecord
Section titled “TRecord”TRecord = unknown
TState
Section titled “TState”TState = unknown
Properties
Section titled “Properties”fixtureFile
Section titled “fixtureFile”fixtureFile:
string
Defined in: ../../../adapters/core/src/log-importer/types.ts:513
Fixture file name for conformance tests.
Relative to the conformance harness fixture directory.
Example
Section titled “Example”'codex-session.jsonl' or 'gemini-session.json'LogImporterClass
Section titled “LogImporterClass”LogImporterClass: (
config) =>LogImporter<TRecord,TState>
Defined in: ../../../adapters/core/src/log-importer/types.ts:520
Log importer class constructor.
Must implement LogImporter for conformance tests.
Parameters
Section titled “Parameters”config
Section titled “config”Returns
Section titled “Returns”LogImporter<TRecord, TState>