@flock/wirespec 0.18.1-RC.2 → 0.18.4
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/clikt-clikt-mordant.mjs +79 -79
- package/clikt-clikt.mjs +1265 -1265
- package/clikt-clikt.mjs.map +1 -1
- package/colormath-root-colormath.mjs +433 -433
- package/kotlin-kotlin-stdlib.mjs +29 -23
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +5407 -5405
- package/kotlin-openapi-bindings.mjs.map +1 -1
- package/kotlin-rgxgen.mjs +1760 -1760
- package/kotlinx-io-kotlinx-io-core.mjs +404 -404
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1701 -1701
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1320 -1319
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/mordant-mordant.mjs +1198 -1198
- package/package.json +1 -1
- package/wirespec-fetch.mjs +13 -19
- package/wirespec-src-compiler-core.mjs +193 -206
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +718 -784
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +357 -464
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +628 -757
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +1582 -1708
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +680 -635
- package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +627 -610
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +40 -40
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-ir.mjs +5428 -6057
- package/wirespec-src-compiler-ir.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +279 -279
- package/wirespec-src-converter-avro.mjs +559 -559
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-openapi.mjs +802 -404
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-plugin-arguments.mjs +144 -144
- package/wirespec-src-plugin-cli.mjs +87 -87
- package/wirespec-src-plugin-npm.mjs +44 -25
- package/wirespec-src-plugin-npm.mjs.map +1 -1
- package/wirespec-src-tools-generator.mjs +13 -13
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -101,9 +101,9 @@ initMetadataForInterface(Entry, 'Entry');
|
|
|
101
101
|
initMetadataForInterface(KtMap, 'Map');
|
|
102
102
|
initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
|
|
103
103
|
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
104
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
104
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
|
|
105
105
|
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
|
|
106
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
106
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
|
|
107
107
|
initMetadataForCompanion(Companion_0);
|
|
108
108
|
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
|
|
109
109
|
initMetadataForCompanion(Companion_1);
|
|
@@ -123,7 +123,7 @@ initMetadataForObject(OtherLowercase, 'OtherLowercase');
|
|
|
123
123
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
124
124
|
initMetadataForObject(Unit, 'Unit');
|
|
125
125
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
126
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection,
|
|
126
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
|
|
127
127
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
128
128
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
129
129
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
|
|
@@ -136,7 +136,7 @@ initMetadataForCompanion(Companion_2);
|
|
|
136
136
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
|
|
137
137
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
|
|
138
138
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
|
|
139
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
139
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);
|
|
140
140
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
|
|
141
141
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
142
142
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
@@ -877,6 +877,9 @@ function drop(_this__u8e3s4, n) {
|
|
|
877
877
|
}
|
|
878
878
|
return optimizeReadOnlyList(list);
|
|
879
879
|
}
|
|
880
|
+
function lastOrNull(_this__u8e3s4) {
|
|
881
|
+
return _this__u8e3s4.r() ? null : _this__u8e3s4.f1(_this__u8e3s4.a1() - 1 | 0);
|
|
882
|
+
}
|
|
880
883
|
function firstOrNull(_this__u8e3s4) {
|
|
881
884
|
return _this__u8e3s4.r() ? null : _this__u8e3s4.f1(0);
|
|
882
885
|
}
|
|
@@ -967,12 +970,17 @@ function minus(_this__u8e3s4, element) {
|
|
|
967
970
|
}
|
|
968
971
|
return result;
|
|
969
972
|
}
|
|
970
|
-
function
|
|
971
|
-
return _this__u8e3s4.
|
|
973
|
+
function singleOrNull(_this__u8e3s4) {
|
|
974
|
+
return _this__u8e3s4.a1() === 1 ? _this__u8e3s4.f1(0) : null;
|
|
972
975
|
}
|
|
973
976
|
function toMutableList_0(_this__u8e3s4) {
|
|
974
977
|
return ArrayList_init_$Create$_1(_this__u8e3s4);
|
|
975
978
|
}
|
|
979
|
+
function none(_this__u8e3s4) {
|
|
980
|
+
if (isInterface(_this__u8e3s4, Collection))
|
|
981
|
+
return _this__u8e3s4.r();
|
|
982
|
+
return !_this__u8e3s4.t().u();
|
|
983
|
+
}
|
|
976
984
|
function filterNotNull_0(_this__u8e3s4) {
|
|
977
985
|
return filterNotNullTo_0(_this__u8e3s4, ArrayList_init_$Create$());
|
|
978
986
|
}
|
|
@@ -1002,9 +1010,6 @@ function zipWithNext(_this__u8e3s4) {
|
|
|
1002
1010
|
}
|
|
1003
1011
|
return tmp$ret$0;
|
|
1004
1012
|
}
|
|
1005
|
-
function singleOrNull(_this__u8e3s4) {
|
|
1006
|
-
return _this__u8e3s4.a1() === 1 ? _this__u8e3s4.f1(0) : null;
|
|
1007
|
-
}
|
|
1008
1013
|
function zip(_this__u8e3s4, other) {
|
|
1009
1014
|
// Inline function 'kotlin.collections.zip' call
|
|
1010
1015
|
var first = _this__u8e3s4.t();
|
|
@@ -10183,6 +10188,17 @@ function isBlank(_this__u8e3s4) {
|
|
|
10183
10188
|
}
|
|
10184
10189
|
return tmp$ret$1;
|
|
10185
10190
|
}
|
|
10191
|
+
function substringAfterLast_0(_this__u8e3s4, delimiter, missingDelimiterValue) {
|
|
10192
|
+
missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
|
|
10193
|
+
var index = lastIndexOf(_this__u8e3s4, delimiter);
|
|
10194
|
+
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, index + delimiter.length | 0, _this__u8e3s4.length);
|
|
10195
|
+
}
|
|
10196
|
+
function removePrefix(_this__u8e3s4, prefix) {
|
|
10197
|
+
if (startsWith_2(_this__u8e3s4, prefix)) {
|
|
10198
|
+
return substring_0(_this__u8e3s4, charSequenceLength(prefix));
|
|
10199
|
+
}
|
|
10200
|
+
return _this__u8e3s4;
|
|
10201
|
+
}
|
|
10186
10202
|
function trimEnd(_this__u8e3s4, chars) {
|
|
10187
10203
|
// Inline function 'kotlin.text.trimEnd' call
|
|
10188
10204
|
var tmp0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
|
|
@@ -10205,17 +10221,6 @@ function trimEnd(_this__u8e3s4, chars) {
|
|
|
10205
10221
|
}
|
|
10206
10222
|
return toString_1(tmp$ret$1);
|
|
10207
10223
|
}
|
|
10208
|
-
function substringAfterLast_0(_this__u8e3s4, delimiter, missingDelimiterValue) {
|
|
10209
|
-
missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
|
|
10210
|
-
var index = lastIndexOf(_this__u8e3s4, delimiter);
|
|
10211
|
-
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, index + delimiter.length | 0, _this__u8e3s4.length);
|
|
10212
|
-
}
|
|
10213
|
-
function removePrefix(_this__u8e3s4, prefix) {
|
|
10214
|
-
if (startsWith_2(_this__u8e3s4, prefix)) {
|
|
10215
|
-
return substring_0(_this__u8e3s4, charSequenceLength(prefix));
|
|
10216
|
-
}
|
|
10217
|
-
return _this__u8e3s4;
|
|
10218
|
-
}
|
|
10219
10224
|
function contains_7(_this__u8e3s4, other, ignoreCase) {
|
|
10220
10225
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
10221
10226
|
var tmp;
|
|
@@ -10226,12 +10231,12 @@ function contains_7(_this__u8e3s4, other, ignoreCase) {
|
|
|
10226
10231
|
}
|
|
10227
10232
|
return tmp;
|
|
10228
10233
|
}
|
|
10229
|
-
function lines(_this__u8e3s4) {
|
|
10230
|
-
return toList_2(lineSequence(_this__u8e3s4));
|
|
10231
|
-
}
|
|
10232
10234
|
function removeSurrounding(_this__u8e3s4, delimiter) {
|
|
10233
10235
|
return removeSurrounding_0(_this__u8e3s4, delimiter, delimiter);
|
|
10234
10236
|
}
|
|
10237
|
+
function lines(_this__u8e3s4) {
|
|
10238
|
+
return toList_2(lineSequence(_this__u8e3s4));
|
|
10239
|
+
}
|
|
10235
10240
|
function endsWith_0(_this__u8e3s4, char, ignoreCase) {
|
|
10236
10241
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
10237
10242
|
return charSequenceLength(_this__u8e3s4) > 0 && equals_1(charSequenceGet(_this__u8e3s4, get_lastIndex_4(_this__u8e3s4)), char, ignoreCase);
|
|
@@ -13615,6 +13620,7 @@ export {
|
|
|
13615
13620
|
minus_0 as minus165a8u1e0x1lu,
|
|
13616
13621
|
mutableListOf as mutableListOf6oorvk2mtdmp,
|
|
13617
13622
|
mutableMapOf as mutableMapOfk2y3zt1azl40,
|
|
13623
|
+
none as none369ray3udrc57,
|
|
13618
13624
|
plus_4 as plus2m1vv33moko5t,
|
|
13619
13625
|
plus_1 as plus1di085adi7f7m,
|
|
13620
13626
|
plus_2 as plus1ogy4liedzq5j,
|