Sports Lib API - v23.12.1
    Preparing search index...

    Class EventSummary

    Read-oriented event projection for dashboards and lists. Restores metadata and raw canonical stats without constructing activities, laps, streams or metric objects. getStat constructs and caches only the requested metric and any speed-derived dependencies. This is not an editable EventInterface and deliberately has no persistence/export API.

    Summary sport semantics use embedded activity types when present, otherwise the persisted Activity Types stat. Aliases, finite-scalar filtering and explicit canonical precedence match native JSON hydration. Invalid metric values and unknown types throw only when requested.

    Index
    description: string | undefined
    endDate: Date
    isMerge: boolean
    name: string
    privacy: Privacy
    srcFileType: FileType
    startDate: Date
    • Returns a copy of the recorded activity types, falling back to embedded child sports.

      Returns string[]