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

    Interface ActivityMeta

    Activity metadata — the witness statement, minus its substance. The track and other streams live in ActivityStreams, stored alongside but separately (a track is large; metadata is small and listed often).

    interface ActivityMeta {
        distanceMeters: number;
        elapsedTimeSeconds: number;
        elevationGainMeters: number;
        externalId: string;
        id: string;
        movingTimeSeconds: number;
        name: string;
        source: ActivitySource;
        sportType: string;
        startTimeLocal?: string;
        startTimeUtc: string;
    }
    Index

    Properties

    distanceMeters: number
    elapsedTimeSeconds: number
    elevationGainMeters: number
    externalId: string

    The id this activity has in its source system (e.g. the Strava id).

    id: string

    Stable activity id, ${source}:${externalId} — never a raw provider id.

    movingTimeSeconds: number
    name: string
    sportType: string

    Source's own sport label, e.g. "Run", "Ride". Free text by design.

    startTimeLocal?: string

    ISO 8601, local to where the activity happened (if the source gives it).

    startTimeUtc: string

    ISO 8601, UTC.