@swimedge/metrics 1.0.8 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +11 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -546,6 +546,17 @@ exports.METRICS_REGISTRY = {
|
|
|
546
546
|
formatter: (s) => s.routeCoordinates ? `${s.routeCoordinates.length} points` : '',
|
|
547
547
|
condition: (s) => !!s.routeCoordinates?.length,
|
|
548
548
|
},
|
|
549
|
+
routeMapImage: {
|
|
550
|
+
key: 'routeMapImage',
|
|
551
|
+
label: 'Route Map Image',
|
|
552
|
+
category: MetricCategory.PERFORMANCE,
|
|
553
|
+
description: 'Generated map image of the swimming route',
|
|
554
|
+
icon: 'image-outline',
|
|
555
|
+
isPerSession: true,
|
|
556
|
+
availableFrom: { watch: false, manual: false },
|
|
557
|
+
swimTypes: [SwimType.OPEN_WATER],
|
|
558
|
+
condition: (s) => !!s.routeMapImage,
|
|
559
|
+
},
|
|
549
560
|
deviceType: {
|
|
550
561
|
key: 'deviceType',
|
|
551
562
|
label: 'Device',
|