Data exchange format for log block information from KOS topics.

Used in topic handlers for log block events, representing block metadata as received from the KOS system. Similar to LogBlockOptions but uses timestamp numbers instead of Date objects for serialization efficiency.

interface LogBlockType {
    nodeId: string;
    stream: string;
    blockNum: number;
    startLineNum: number;
    endLineNum: number;
    startTime: number;
    endTime: number;
    lineCount: number;
}

Properties

nodeId: string

Node identifier where the log block originates

stream: string

Name of the log stream this block belongs to

blockNum: number

Sequential block number within the stream

startLineNum: number

Global line number where this block starts

endLineNum: number

Global line number where this block ends

startTime: number

Timestamp when this log block period began (milliseconds since epoch)

endTime: number

Timestamp when this log block period ended (milliseconds since epoch)

lineCount: number

Total number of log lines in this block