@kaiord/core / SWIM_STROKE_TO_FIT
Variable: SWIM_STROKE_TO_FIT
constSWIM_STROKE_TO_FIT:object
Defined in: packages/core/src/domain/schemas/swim-stroke.ts:52
Bidirectional mapping from swim stroke to FIT protocol numeric values.
Used for converting KRD swim strokes to FIT format.
Type Declaration
backstroke
readonlybackstroke:1=1
breaststroke
readonlybreaststroke:2=2
butterfly
readonlybutterfly:3=3
drill
readonlydrill:4=4
freestyle
readonlyfreestyle:0=0
im
readonlyim:5=5
mixed
readonlymixed:5=5
Example
typescript
import { SWIM_STROKE_TO_FIT } from '@kaiord/core';
const fitValue = SWIM_STROKE_TO_FIT.freestyle; // 0