@flock/wirespec 0.22.1 → 0.22.3
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/arrow-arrow-core.mjs +11 -5
- package/arrow-arrow-core.mjs.map +1 -1
- package/clikt-clikt-mordant.mjs +79 -79
- package/clikt-clikt.mjs +1343 -1343
- package/colormath-root-colormath.mjs +437 -437
- package/kotlin-kotlin-stdlib.mjs +259 -253
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +10004 -10004
- package/kotlin-rgxgen.mjs +1762 -1762
- package/kotlinx-io-kotlinx-io-core.mjs +404 -404
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1786 -1786
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1514 -1508
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/mordant-mordant.mjs +1231 -1225
- package/mordant-mordant.mjs.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +4940 -4889
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +180 -180
- package/wirespec-src-compiler-emitters-kotlin.mjs +134 -134
- package/wirespec-src-compiler-emitters-python.mjs +157 -157
- package/wirespec-src-compiler-emitters-rust.mjs +392 -392
- package/wirespec-src-compiler-emitters-scala.mjs +168 -168
- package/wirespec-src-compiler-emitters-typescript.mjs +229 -229
- package/wirespec-src-compiler-emitters-wirespec.mjs +125 -125
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +388 -326
- package/wirespec-src-compiler-lib.mjs.map +1 -1
- package/wirespec-src-converter-asyncapi.mjs +639 -639
- package/wirespec-src-converter-avro.mjs +548 -548
- package/wirespec-src-converter-common.mjs +16 -16
- package/wirespec-src-converter-graphql.mjs +2546 -1342
- package/wirespec-src-converter-graphql.mjs.map +1 -1
- package/wirespec-src-converter-openapi.mjs +593 -593
- package/wirespec-src-ide-lsp.mjs +1371 -1371
- package/wirespec-src-plugin-arguments.mjs +146 -146
- package/wirespec-src-plugin-cli.mjs +89 -89
- package/wirespec-src-plugin-npm.d.mts +21 -3
- package/wirespec-src-plugin-npm.mjs +26 -26
- package/wirespec-src-tools-generator.mjs +24 -24
|
@@ -70,7 +70,7 @@ function toDefaultValue(_this__u8e3s4, reference) {
|
|
|
70
70
|
tmp_1 = false;
|
|
71
71
|
}
|
|
72
72
|
if (tmp_1) {
|
|
73
|
-
tmp_0 = new EnumValue(tmp1_safe_receiver.
|
|
73
|
+
tmp_0 = new EnumValue(tmp1_safe_receiver.z19_1);
|
|
74
74
|
} else {
|
|
75
75
|
tmp_0 = tmp1_safe_receiver;
|
|
76
76
|
}
|
|
@@ -83,19 +83,19 @@ function toJsonElement(_this__u8e3s4) {
|
|
|
83
83
|
_init_properties_DefaultValues_kt__tzwd01();
|
|
84
84
|
var tmp;
|
|
85
85
|
if (_this__u8e3s4 instanceof StringValue) {
|
|
86
|
-
tmp = JsonPrimitive_0(_this__u8e3s4.
|
|
86
|
+
tmp = JsonPrimitive_0(_this__u8e3s4.z19_1);
|
|
87
87
|
} else {
|
|
88
88
|
if (_this__u8e3s4 instanceof IntegerValue) {
|
|
89
|
-
tmp = JsonPrimitive_2(toLong(_this__u8e3s4.
|
|
89
|
+
tmp = JsonPrimitive_2(toLong(_this__u8e3s4.x19_1));
|
|
90
90
|
} else {
|
|
91
91
|
if (_this__u8e3s4 instanceof NumberValue) {
|
|
92
|
-
tmp = JsonPrimitive_2(toDouble(_this__u8e3s4.
|
|
92
|
+
tmp = JsonPrimitive_2(toDouble(_this__u8e3s4.w19_1));
|
|
93
93
|
} else {
|
|
94
94
|
if (_this__u8e3s4 instanceof BooleanValue) {
|
|
95
|
-
tmp = JsonPrimitive_1(_this__u8e3s4.
|
|
95
|
+
tmp = JsonPrimitive_1(_this__u8e3s4.y19_1);
|
|
96
96
|
} else {
|
|
97
97
|
if (_this__u8e3s4 instanceof EnumValue) {
|
|
98
|
-
tmp = JsonPrimitive_0(_this__u8e3s4.
|
|
98
|
+
tmp = JsonPrimitive_0(_this__u8e3s4.v19_1);
|
|
99
99
|
} else {
|
|
100
100
|
if (_this__u8e3s4 instanceof NullValue) {
|
|
101
101
|
tmp = JsonNull_getInstance();
|
|
@@ -114,31 +114,31 @@ function withValidEnumDefaults(_this__u8e3s4, definitions) {
|
|
|
114
114
|
var tmp;
|
|
115
115
|
if (_this__u8e3s4 instanceof Type) {
|
|
116
116
|
// Inline function 'kotlin.collections.map' call
|
|
117
|
-
var this_0 = get_fields(_this__u8e3s4.
|
|
117
|
+
var this_0 = get_fields(_this__u8e3s4.lp_1);
|
|
118
118
|
// Inline function 'kotlin.collections.mapTo' call
|
|
119
119
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
120
120
|
var _iterator__ex2g4s = this_0.t();
|
|
121
121
|
while (_iterator__ex2g4s.u()) {
|
|
122
122
|
var item = _iterator__ex2g4s.v();
|
|
123
|
-
var default_0 = item.
|
|
123
|
+
var default_0 = item.qp_1;
|
|
124
124
|
var tmp_0;
|
|
125
125
|
if (default_0 instanceof EnumValue) {
|
|
126
126
|
// Inline function 'kotlin.takeIf' call
|
|
127
127
|
var tmp_1;
|
|
128
|
-
if (isEntryOf(default_0, item.
|
|
128
|
+
if (isEntryOf(default_0, item.pp_1, definitions)) {
|
|
129
129
|
tmp_1 = item;
|
|
130
130
|
} else {
|
|
131
131
|
tmp_1 = null;
|
|
132
132
|
}
|
|
133
133
|
var tmp0_elvis_lhs = tmp_1;
|
|
134
|
-
tmp_0 = tmp0_elvis_lhs == null ? item.
|
|
134
|
+
tmp_0 = tmp0_elvis_lhs == null ? item.rp(VOID, VOID, VOID, null) : tmp0_elvis_lhs;
|
|
135
135
|
} else {
|
|
136
136
|
tmp_0 = item;
|
|
137
137
|
}
|
|
138
138
|
var tmp$ret$2 = tmp_0;
|
|
139
139
|
destination.x(tmp$ret$2);
|
|
140
140
|
}
|
|
141
|
-
tmp = _this__u8e3s4.
|
|
141
|
+
tmp = _this__u8e3s4.sp(VOID, VOID, VOID, new Shape(destination));
|
|
142
142
|
} else {
|
|
143
143
|
var tmp_2;
|
|
144
144
|
var tmp_3;
|
|
@@ -190,10 +190,10 @@ function toDefaultValue_0(_this__u8e3s4) {
|
|
|
190
190
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
191
191
|
tmp = NullValue_instance;
|
|
192
192
|
} else {
|
|
193
|
-
if (_this__u8e3s4.
|
|
194
|
-
tmp = new StringValue(_this__u8e3s4.
|
|
193
|
+
if (_this__u8e3s4.m2p()) {
|
|
194
|
+
tmp = new StringValue(_this__u8e3s4.j1g());
|
|
195
195
|
} else {
|
|
196
|
-
var tmp0_safe_receiver = toBooleanStrictOrNull(_this__u8e3s4.
|
|
196
|
+
var tmp0_safe_receiver = toBooleanStrictOrNull(_this__u8e3s4.j1g());
|
|
197
197
|
var tmp_0;
|
|
198
198
|
if (tmp0_safe_receiver == null) {
|
|
199
199
|
tmp_0 = null;
|
|
@@ -204,7 +204,7 @@ function toDefaultValue_0(_this__u8e3s4) {
|
|
|
204
204
|
var tmp1_elvis_lhs = tmp_0;
|
|
205
205
|
var tmp_1;
|
|
206
206
|
if (tmp1_elvis_lhs == null) {
|
|
207
|
-
var tmp0 = _this__u8e3s4.
|
|
207
|
+
var tmp0 = _this__u8e3s4.j1g();
|
|
208
208
|
// Inline function 'kotlin.takeIf' call
|
|
209
209
|
var tmp_2;
|
|
210
210
|
if (get_INTEGER().rc(tmp0)) {
|
|
@@ -227,7 +227,7 @@ function toDefaultValue_0(_this__u8e3s4) {
|
|
|
227
227
|
var tmp3_elvis_lhs = tmp_1;
|
|
228
228
|
var tmp_4;
|
|
229
229
|
if (tmp3_elvis_lhs == null) {
|
|
230
|
-
var tmp0_0 = _this__u8e3s4.
|
|
230
|
+
var tmp0_0 = _this__u8e3s4.j1g();
|
|
231
231
|
// Inline function 'kotlin.takeIf' call
|
|
232
232
|
var tmp_5;
|
|
233
233
|
if (get_NUMBER().rc(tmp0_0)) {
|