Skip to content

@kaiord/core


@kaiord/core / fingerprintSnapshot

Function: fingerprintSnapshot() ​

fingerprintSnapshot(profileId, snapshot): string

Defined in: packages/core/src/protocol/profile-snapshot.ts:127

Parameters ​

profileId ​

string

snapshot ​

activeSport? ​

"running" | "cycling" | "swimming" = ...

generatedAt ​

string = ...

heartRate ​

{ lthr?: number; max?: number; } = ...

heartRate.lthr? ​

number = ...

heartRate.max? ​

number = ...

profile ​

{ bodyWeight?: number; name: string; } = ...

profile.bodyWeight? ​

number = ...

profile.name ​

string = ...

schemaVersion ​

1 = ...

thresholds ​

{ cycling?: { ftp?: number; }; running?: { lthr?: number; thresholdPaceSecPerKm?: number; }; swimming?: { cssPaceSecPer100m?: number; }; } = ...

thresholds.cycling? ​

{ ftp?: number; } = ...

thresholds.cycling.ftp? ​

number = ...

thresholds.running? ​

{ lthr?: number; thresholdPaceSecPerKm?: number; } = ...

thresholds.running.lthr? ​

number = ...

thresholds.running.thresholdPaceSecPerKm? ​

number = ...

thresholds.swimming? ​

{ cssPaceSecPer100m?: number; } = ...

thresholds.swimming.cssPaceSecPer100m? ​

number = ...

Returns ​

string