@glandais/vcyclist-engine 5.1.1 → 6.0.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/index.d.ts CHANGED
@@ -197,7 +197,7 @@ export interface EnhanceOptionsDto {
197
197
  * Triangular-kernel half-width for the elevation smoother, in metres.
198
198
  *
199
199
  * The single largest determinant of both the reported climbing and the gradients the
200
- * simulation rides — it costs a clean route ~1.5 % and a noisy GPS trace ~48 %.
200
+ * simulation rides — it costs a clean route ~1.7 % and a noisy GPS trace ~49 %.
201
201
  */
202
202
  readonly elevationSmoothWindowM?: number | null;
203
203
  /**
@@ -156,20 +156,20 @@ if (typeof String.prototype.startsWith === 'undefined') {
156
156
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [MutableIterable, Collection, KtList]);
157
157
  initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
158
158
  initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [KtMap]);
159
- initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [KtSet, MutableIterable, Collection]);
159
+ initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [MutableIterable, Collection, KtSet]);
160
160
  initMetadataForCompanion(Companion_2);
161
161
  initMetadataForInterface(RandomAccess, 'RandomAccess');
162
162
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [MutableIterable, Collection, KtList, RandomAccess]);
163
163
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMap]);
164
- initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, MutableIterable, Collection]);
164
+ initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [MutableIterable, Collection, KtSet]);
165
165
  initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
166
- initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet, MutableIterable, Collection]);
166
+ initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [MutableIterable, Collection, KtSet]);
167
167
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
168
168
  initMetadataForClass(HashMapKeysDefault$iterator$1);
169
169
  initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
170
170
  initMetadataForClass(HashMapValuesDefault$iterator$1);
171
171
  initMetadataForClass(HashMapValuesDefault, 'HashMapValuesDefault', VOID, AbstractMutableCollection);
172
- initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [KtSet, MutableIterable, Collection]);
172
+ initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [MutableIterable, Collection, KtSet]);
173
173
  initMetadataForCompanion(Companion_3);
174
174
  initMetadataForClass(Itr, 'Itr');
175
175
  initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
@@ -214,7 +214,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
214
214
  initMetadataForInterface(InternalMap, 'InternalMap');
215
215
  initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
216
216
  initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [KtMap]);
217
- initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [KtSet, MutableIterable, Collection]);
217
+ initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [MutableIterable, Collection, KtSet]);
218
218
  initMetadataForInterface(Continuation, 'Continuation');
219
219
  initMetadataForClass(InterceptedCoroutine, 'InterceptedCoroutine', VOID, VOID, [Continuation]);
220
220
  initMetadataForClass(CoroutineImpl, 'CoroutineImpl', VOID, InterceptedCoroutine, [Continuation]);
@@ -7573,6 +7573,15 @@ if (typeof String.prototype.startsWith === 'undefined') {
7573
7573
  var tmp$ret$0 = new asSequence$$inlined$Sequence$1_0(_this__u8e3s4);
7574
7574
  return constrainOnce(tmp$ret$0);
7575
7575
  }
7576
+ function constrainOnce(_this__u8e3s4) {
7577
+ var tmp;
7578
+ if (_this__u8e3s4 instanceof ConstrainedOnceSequence) {
7579
+ tmp = _this__u8e3s4;
7580
+ } else {
7581
+ tmp = new ConstrainedOnceSequence(_this__u8e3s4);
7582
+ }
7583
+ return tmp;
7584
+ }
7576
7585
  function TransformingSequence$iterator$1(this$0) {
7577
7586
  this.this$0__1 = this$0;
7578
7587
  this.iterator_1 = this$0.sequence_1.iterator_jk1svi_k$();
@@ -7674,15 +7683,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
7674
7683
  protoOf(TakeWhileSequence).iterator_jk1svi_k$ = function () {
7675
7684
  return new TakeWhileSequence$iterator$1(this);
7676
7685
  };
7677
- function constrainOnce(_this__u8e3s4) {
7678
- var tmp;
7679
- if (_this__u8e3s4 instanceof ConstrainedOnceSequence) {
7680
- tmp = _this__u8e3s4;
7681
- } else {
7682
- tmp = new ConstrainedOnceSequence(_this__u8e3s4);
7683
- }
7684
- return tmp;
7685
- }
7686
7686
  function asSequence$$inlined$Sequence$1_0($this_asSequence) {
7687
7687
  this.$this_asSequence_1 = $this_asSequence;
7688
7688
  }