@glandais/vcyclist-engine 6.5.2 → 6.7.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/fit-kotlin-sdk.js +3765 -3765
- package/index.d.ts +19 -0
- package/kotlin-kotlin-stdlib.js +45 -44
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +1 -1
- package/kotlinx-coroutines-core.js +24 -24
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
- package/vcyclist-elevation.js +1857 -902
- package/vcyclist-elevation.js.map +1 -1
- package/vcyclist-engine.js +1797 -1632
- package/vcyclist-engine.js.map +1 -1
- package/vcyclist-fit.js +209 -209
- package/vcyclist-gpx.js +1380 -1330
- package/vcyclist-gpx.js.map +1 -1
- package/xmlutil-core.js +2414 -2414
package/index.d.ts
CHANGED
|
@@ -374,6 +374,25 @@ export interface ElevationCorrectionsDto {
|
|
|
374
374
|
readonly tunnelsApplied: number;
|
|
375
375
|
readonly tunnelsDropped: number;
|
|
376
376
|
readonly warnings: string[];
|
|
377
|
+
/**
|
|
378
|
+
* Where the terrain was read from, in km per origin; `null` without a DEM correction.
|
|
379
|
+
*/
|
|
380
|
+
readonly terrain?: TerrainProvenanceDto | null;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* JS view of `TerrainProvenance`: the route's length read from each terrain model, in km. The
|
|
385
|
+
* origins are `ign-lidar-hd`, `mapterhorn-measured` (Mapterhorn in France, LiDAR-derived),
|
|
386
|
+
* `mapterhorn` (elsewhere, unmeasured), `other` and `none`.
|
|
387
|
+
*/
|
|
388
|
+
export interface TerrainProvenanceDto {
|
|
389
|
+
readonly ignLidarHdKm: number;
|
|
390
|
+
readonly mapterhornMeasuredKm: number;
|
|
391
|
+
readonly mapterhornKm: number;
|
|
392
|
+
readonly otherKm: number;
|
|
393
|
+
readonly noDataKm: number;
|
|
394
|
+
readonly fallbackAfterErrorKm: number;
|
|
395
|
+
readonly failedTiles: number;
|
|
377
396
|
}
|
|
378
397
|
|
|
379
398
|
/**
|
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -175,23 +175,23 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
175
175
|
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
|
|
176
176
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
177
177
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
178
|
-
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [Collection,
|
|
178
|
+
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [Collection, KtList, MutableIterable]);
|
|
179
179
|
initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
|
|
180
180
|
initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [KtMap]);
|
|
181
|
-
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [Collection,
|
|
181
|
+
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [Collection, KtSet, MutableIterable]);
|
|
182
182
|
initMetadataForCompanion(Companion_2);
|
|
183
183
|
initMetadataForInterface(RandomAccess, 'RandomAccess');
|
|
184
|
-
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [Collection,
|
|
184
|
+
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [Collection, KtList, MutableIterable, RandomAccess]);
|
|
185
185
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMap]);
|
|
186
|
-
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [Collection,
|
|
186
|
+
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [Collection, KtSet, MutableIterable]);
|
|
187
187
|
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
|
|
188
|
-
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection,
|
|
188
|
+
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection, KtSet, MutableIterable]);
|
|
189
189
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
190
190
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
191
191
|
initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
|
|
192
192
|
initMetadataForClass(HashMapValuesDefault$iterator$1);
|
|
193
193
|
initMetadataForClass(HashMapValuesDefault, 'HashMapValuesDefault', VOID, AbstractMutableCollection);
|
|
194
|
-
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [Collection,
|
|
194
|
+
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [Collection, KtSet, MutableIterable]);
|
|
195
195
|
initMetadataForCompanion(Companion_3);
|
|
196
196
|
initMetadataForClass(Itr, 'Itr');
|
|
197
197
|
initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
|
|
@@ -236,7 +236,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
236
236
|
initMetadataForInterface(InternalMap, 'InternalMap');
|
|
237
237
|
initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
|
|
238
238
|
initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [KtMap]);
|
|
239
|
-
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [Collection,
|
|
239
|
+
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [Collection, KtSet, MutableIterable]);
|
|
240
240
|
initMetadataForInterface(Continuation, 'Continuation');
|
|
241
241
|
initMetadataForClass(InterceptedCoroutine, 'InterceptedCoroutine', VOID, VOID, [Continuation]);
|
|
242
242
|
initMetadataForClass(CoroutineImpl, 'CoroutineImpl', VOID, InterceptedCoroutine, [Continuation]);
|
|
@@ -12103,43 +12103,44 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
12103
12103
|
_.$_$.fb = trimEnd;
|
|
12104
12104
|
_.$_$.gb = trim;
|
|
12105
12105
|
_.$_$.hb = uppercaseChar;
|
|
12106
|
-
_.$_$.ib =
|
|
12107
|
-
_.$_$.jb =
|
|
12108
|
-
_.$_$.kb =
|
|
12109
|
-
_.$_$.lb =
|
|
12110
|
-
_.$_$.mb =
|
|
12111
|
-
_.$_$.nb =
|
|
12112
|
-
_.$_$.ob =
|
|
12113
|
-
_.$_$.pb =
|
|
12114
|
-
_.$_$.qb =
|
|
12115
|
-
_.$_$.rb =
|
|
12116
|
-
_.$_$.sb =
|
|
12117
|
-
_.$_$.tb =
|
|
12118
|
-
_.$_$.ub =
|
|
12119
|
-
_.$_$.vb =
|
|
12120
|
-
_.$_$.wb =
|
|
12121
|
-
_.$_$.xb =
|
|
12122
|
-
_.$_$.yb =
|
|
12123
|
-
_.$_$.zb =
|
|
12124
|
-
_.$_$.ac =
|
|
12125
|
-
_.$_$.bc =
|
|
12126
|
-
_.$_$.cc =
|
|
12127
|
-
_.$_$.dc =
|
|
12128
|
-
_.$_$.ec =
|
|
12129
|
-
_.$_$.fc =
|
|
12130
|
-
_.$_$.gc =
|
|
12131
|
-
_.$_$.hc =
|
|
12132
|
-
_.$_$.ic =
|
|
12133
|
-
_.$_$.jc =
|
|
12134
|
-
_.$_$.kc =
|
|
12135
|
-
_.$_$.lc =
|
|
12136
|
-
_.$_$.mc =
|
|
12137
|
-
_.$_$.nc =
|
|
12138
|
-
_.$_$.oc =
|
|
12139
|
-
_.$_$.pc =
|
|
12140
|
-
_.$_$.qc =
|
|
12141
|
-
_.$_$.rc =
|
|
12142
|
-
_.$_$.sc =
|
|
12106
|
+
_.$_$.ib = ValueTimeMark;
|
|
12107
|
+
_.$_$.jb = toDuration;
|
|
12108
|
+
_.$_$.kb = Char;
|
|
12109
|
+
_.$_$.lb = Comparator;
|
|
12110
|
+
_.$_$.mb = Enum;
|
|
12111
|
+
_.$_$.nb = Error_0;
|
|
12112
|
+
_.$_$.ob = Exception;
|
|
12113
|
+
_.$_$.pb = IllegalArgumentException;
|
|
12114
|
+
_.$_$.qb = IllegalStateException;
|
|
12115
|
+
_.$_$.rb = Long;
|
|
12116
|
+
_.$_$.sb = NumberFormatException;
|
|
12117
|
+
_.$_$.tb = Pair;
|
|
12118
|
+
_.$_$.ub = Result;
|
|
12119
|
+
_.$_$.vb = RuntimeException;
|
|
12120
|
+
_.$_$.wb = THROW_CCE;
|
|
12121
|
+
_.$_$.xb = Triple;
|
|
12122
|
+
_.$_$.yb = UByte;
|
|
12123
|
+
_.$_$.zb = UInt;
|
|
12124
|
+
_.$_$.ac = ULong;
|
|
12125
|
+
_.$_$.bc = UShort;
|
|
12126
|
+
_.$_$.cc = Unit;
|
|
12127
|
+
_.$_$.dc = UnsupportedOperationException;
|
|
12128
|
+
_.$_$.ec = addSuppressed;
|
|
12129
|
+
_.$_$.fc = createFailure;
|
|
12130
|
+
_.$_$.gc = ensureNotNull;
|
|
12131
|
+
_.$_$.hc = isFinite;
|
|
12132
|
+
_.$_$.ic = isInfinite;
|
|
12133
|
+
_.$_$.jc = isNaN_0;
|
|
12134
|
+
_.$_$.kc = lazy;
|
|
12135
|
+
_.$_$.lc = noWhenBranchMatchedException;
|
|
12136
|
+
_.$_$.mc = plus_0;
|
|
12137
|
+
_.$_$.nc = stackTraceToString;
|
|
12138
|
+
_.$_$.oc = toRawBits;
|
|
12139
|
+
_.$_$.pc = toRawBits_0;
|
|
12140
|
+
_.$_$.qc = toString_0;
|
|
12141
|
+
_.$_$.rc = to;
|
|
12142
|
+
_.$_$.sc = uintCompare;
|
|
12143
|
+
_.$_$.tc = ulongToDouble;
|
|
12143
12144
|
//endregion
|
|
12144
12145
|
return _;
|
|
12145
12146
|
}));
|