@pond-ts/fit API Reference
    Preparing search index...

    Interface LapGroup

    One group, or a heading over a type whose laps carry several names.

    interface LapGroup {
        depth: 0 | 1;
        heading?: boolean;
        key: string;
        laps: number[];
        name?: string;
        type?: string;
    }
    Index

    Properties

    depth: 0 | 1

    0 for a type, 1 for a name under its type's heading.

    heading?: boolean

    A type split by name: it has no numbers of its own.

    key: string

    Unique within the result, for list keys: the type and, under a heading, the name, as JSON ('["active"]', '["active","400m"]', '[null]' for laps with no type).

    laps: number[]

    The laps in it, by id.

    name?: string

    The laps' shared name ('' for none); absent on a heading.

    type?: string

    The type; undefined for laps with none.