@flock/wirespec 0.18.14 → 0.18.15
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 +39 -39
- package/colormath-root-colormath.mjs +432 -432
- package/kotlin-kotlin-stdlib.mjs +20 -10
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +9842 -9842
- package/kotlin-rgxgen.mjs +1758 -1758
- package/kotlinx-io-kotlinx-io-core.mjs +404 -404
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1775 -1775
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1466 -1466
- package/mordant-mordant.mjs +1190 -1190
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +182 -182
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +197 -133
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +147 -147
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +68 -54
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +29 -29
- package/wirespec-src-compiler-emitters-typescript.mjs +81 -54
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +26 -26
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-ir.mjs +144 -134
- package/wirespec-src-compiler-ir.mjs.map +1 -1
- package/wirespec-src-converter-avro.mjs +479 -479
- package/wirespec-src-converter-openapi.mjs +320 -320
- package/wirespec-src-ide-lsp.mjs +1348 -1348
- package/wirespec-src-plugin-arguments.mjs +136 -136
- package/wirespec-src-plugin-cli.mjs +84 -84
- package/wirespec-src-plugin-npm.mjs +10 -10
- package/wirespec-src-tools-generator.mjs +2 -2
package/clikt-clikt-mordant.mjs
CHANGED
|
@@ -74,10 +74,10 @@ function installMordant$lambda$lambda(it) {
|
|
|
74
74
|
return new MordantHelpFormatter(it);
|
|
75
75
|
}
|
|
76
76
|
function installMordant$lambda$lambda_0(it) {
|
|
77
|
-
return MultiplatformSystem_instance.
|
|
77
|
+
return MultiplatformSystem_instance.o4j(it);
|
|
78
78
|
}
|
|
79
79
|
function installMordant$lambda$lambda_1(it) {
|
|
80
|
-
var tmp0_elvis_lhs = MultiplatformSystem_instance.
|
|
80
|
+
var tmp0_elvis_lhs = MultiplatformSystem_instance.q4j(it);
|
|
81
81
|
var tmp;
|
|
82
82
|
if (tmp0_elvis_lhs == null) {
|
|
83
83
|
throw new FileNotFound(it);
|
|
@@ -87,14 +87,14 @@ function installMordant$lambda$lambda_1(it) {
|
|
|
87
87
|
return tmp;
|
|
88
88
|
}
|
|
89
89
|
function installMordant$lambda$lambda_2(it) {
|
|
90
|
-
MultiplatformSystem_instance.
|
|
90
|
+
MultiplatformSystem_instance.p4j(it);
|
|
91
91
|
return Unit_instance;
|
|
92
92
|
}
|
|
93
93
|
function installMordant$lambda$lambda_3(context, message, trailingNewline, err) {
|
|
94
94
|
if (trailingNewline) {
|
|
95
|
-
get_terminal(context).
|
|
95
|
+
get_terminal(context).n4t(message, VOID, VOID, VOID, VOID, err);
|
|
96
96
|
} else {
|
|
97
|
-
get_terminal(context).
|
|
97
|
+
get_terminal(context).l4t(message, VOID, VOID, VOID, VOID, err);
|
|
98
98
|
}
|
|
99
99
|
return Unit_instance;
|
|
100
100
|
}
|
|
@@ -134,21 +134,21 @@ protoOf(NoOpCliktCommand).a13 = function () {
|
|
|
134
134
|
};
|
|
135
135
|
function MordantHelpFormatter$formatHelp$lambda(this$0, $error, $prolog, $epilog, $parameters, $programName) {
|
|
136
136
|
return function ($this$verticalLayout) {
|
|
137
|
-
$this$verticalLayout.
|
|
138
|
-
$this$verticalLayout.
|
|
137
|
+
$this$verticalLayout.d4q(1);
|
|
138
|
+
$this$verticalLayout.a4q(this$0.f18($error, $prolog, $epilog, $parameters, $programName));
|
|
139
139
|
return Unit_instance;
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
function MordantHelpFormatter$renderUsage$lambda($prog, $usageParts) {
|
|
143
143
|
return function ($this$definitionList) {
|
|
144
|
-
$this$definitionList.
|
|
145
|
-
$this$definitionList.
|
|
146
|
-
$this$definitionList.
|
|
144
|
+
$this$definitionList.x4t($prog, Text_init_$Create$($usageParts, Whitespace_NORMAL_getInstance()));
|
|
145
|
+
$this$definitionList.r4t_1 = true;
|
|
146
|
+
$this$definitionList.u4t(1);
|
|
147
147
|
return Unit_instance;
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
function MordantHelpFormatter$renderProlog$lambda($this$withPadding) {
|
|
151
|
-
$this$withPadding.
|
|
151
|
+
$this$withPadding.a4s_1 = 2;
|
|
152
152
|
return Unit_instance;
|
|
153
153
|
}
|
|
154
154
|
function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
|
|
@@ -156,31 +156,31 @@ function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
|
|
|
156
156
|
var _iterator__ex2g4s = this$0.s19($parameters).t();
|
|
157
157
|
while (_iterator__ex2g4s.u()) {
|
|
158
158
|
var section = _iterator__ex2g4s.v();
|
|
159
|
-
$this$definitionList.
|
|
159
|
+
$this$definitionList.x4t(section.m17_1, section.n17_1);
|
|
160
160
|
}
|
|
161
161
|
return Unit_instance;
|
|
162
162
|
};
|
|
163
163
|
}
|
|
164
164
|
function MordantHelpFormatter$renderOptionGroup$lambda($this$withPadding) {
|
|
165
|
-
$this$withPadding.
|
|
166
|
-
$this$withPadding.
|
|
167
|
-
$this$withPadding.
|
|
165
|
+
$this$withPadding.x4r_1 = 1;
|
|
166
|
+
$this$withPadding.a4s_1 = 2;
|
|
167
|
+
$this$withPadding.z4r_1 = 1;
|
|
168
168
|
return Unit_instance;
|
|
169
169
|
}
|
|
170
170
|
function MordantHelpFormatter$renderOptionGroup$lambda_0($markdown, this$0, $options) {
|
|
171
171
|
return function ($this$verticalLayout) {
|
|
172
|
-
$this$verticalLayout.
|
|
173
|
-
$this$verticalLayout.
|
|
172
|
+
$this$verticalLayout.c4q($markdown);
|
|
173
|
+
$this$verticalLayout.c4q(this$0.c1a($options));
|
|
174
174
|
return Unit_instance;
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
177
|
function MordantHelpFormatter$buildParameterList$lambda($rows, this$0) {
|
|
178
178
|
return function ($this$definitionList) {
|
|
179
|
-
$this$definitionList.
|
|
179
|
+
$this$definitionList.r4t_1 = true;
|
|
180
180
|
var _iterator__ex2g4s = $rows.t();
|
|
181
181
|
while (_iterator__ex2g4s.u()) {
|
|
182
182
|
var row = _iterator__ex2g4s.v();
|
|
183
|
-
$this$definitionList.
|
|
183
|
+
$this$definitionList.y4t(this$0.y1a(row), this$0.z1a(row));
|
|
184
184
|
}
|
|
185
185
|
return Unit_instance;
|
|
186
186
|
};
|
|
@@ -191,18 +191,18 @@ function MordantHelpFormatter(context, requiredOptionMarker, showDefaultValues,
|
|
|
191
191
|
showRequiredTag = showRequiredTag === VOID ? false : showRequiredTag;
|
|
192
192
|
AbstractHelpFormatter.call(this, context, requiredOptionMarker, showDefaultValues, showRequiredTag);
|
|
193
193
|
}
|
|
194
|
-
protoOf(MordantHelpFormatter).
|
|
195
|
-
return get_terminal(this.t17_1).
|
|
194
|
+
protoOf(MordantHelpFormatter).r4v = function () {
|
|
195
|
+
return get_terminal(this.t17_1).x4m_1;
|
|
196
196
|
};
|
|
197
197
|
protoOf(MordantHelpFormatter).l11 = function (error, prolog, epilog, parameters, programName) {
|
|
198
198
|
var widget = verticalLayout(MordantHelpFormatter$formatHelp$lambda(this, error, prolog, epilog, parameters, programName));
|
|
199
|
-
return get_terminal(this.t17_1).
|
|
199
|
+
return get_terminal(this.t17_1).o4t(widget);
|
|
200
200
|
};
|
|
201
201
|
protoOf(MordantHelpFormatter).h18 = function (parameters, error) {
|
|
202
202
|
return Text_init_$Create$(this.l18(parameters, error));
|
|
203
203
|
};
|
|
204
204
|
protoOf(MordantHelpFormatter).g18 = function (parameters, programName) {
|
|
205
|
-
var title = this.
|
|
205
|
+
var title = this.s4v(this.e18().t1a());
|
|
206
206
|
var prog = title + ' ' + programName;
|
|
207
207
|
var usageParts = this.p18(parameters);
|
|
208
208
|
var tmp;
|
|
@@ -215,11 +215,11 @@ protoOf(MordantHelpFormatter).g18 = function (parameters, programName) {
|
|
|
215
215
|
return tmp;
|
|
216
216
|
};
|
|
217
217
|
protoOf(MordantHelpFormatter).i18 = function (prolog) {
|
|
218
|
-
var tmp = this.
|
|
218
|
+
var tmp = this.t4v(prolog);
|
|
219
219
|
return withPadding(tmp, false, MordantHelpFormatter$renderProlog$lambda);
|
|
220
220
|
};
|
|
221
221
|
protoOf(MordantHelpFormatter).k18 = function (epilog) {
|
|
222
|
-
return this.
|
|
222
|
+
return this.t4v(epilog);
|
|
223
223
|
};
|
|
224
224
|
protoOf(MordantHelpFormatter).j18 = function (parameters) {
|
|
225
225
|
return definitionList(MordantHelpFormatter$renderParameters$lambda(this, parameters));
|
|
@@ -237,7 +237,7 @@ protoOf(MordantHelpFormatter).q19 = function (help, parameters) {
|
|
|
237
237
|
var options = destination;
|
|
238
238
|
if (help == null)
|
|
239
239
|
return this.c1a(options);
|
|
240
|
-
var tmp = this.
|
|
240
|
+
var tmp = this.t4v(help);
|
|
241
241
|
var markdown = withPadding(tmp, false, MordantHelpFormatter$renderOptionGroup$lambda);
|
|
242
242
|
return verticalLayout(MordantHelpFormatter$renderOptionGroup$lambda_0(markdown, this, options));
|
|
243
243
|
};
|
|
@@ -247,34 +247,34 @@ protoOf(MordantHelpFormatter).b18 = function (name) {
|
|
|
247
247
|
return '<' + name.toLowerCase() + '>';
|
|
248
248
|
};
|
|
249
249
|
protoOf(MordantHelpFormatter).a1a = function (name) {
|
|
250
|
-
return this.
|
|
250
|
+
return this.r4v().m4m('danger').p4c(name);
|
|
251
251
|
};
|
|
252
252
|
protoOf(MordantHelpFormatter).j1a = function (name) {
|
|
253
|
-
return this.
|
|
253
|
+
return this.r4v().m4m('muted').p4c(name);
|
|
254
254
|
};
|
|
255
255
|
protoOf(MordantHelpFormatter).z17 = function (name) {
|
|
256
|
-
return this.
|
|
256
|
+
return this.r4v().m4m('info').p4c(name);
|
|
257
257
|
};
|
|
258
258
|
protoOf(MordantHelpFormatter).c18 = function (name) {
|
|
259
|
-
return this.
|
|
259
|
+
return this.r4v().m4m('info').p4c(name);
|
|
260
260
|
};
|
|
261
261
|
protoOf(MordantHelpFormatter).d18 = function (name) {
|
|
262
|
-
return this.
|
|
262
|
+
return this.r4v().m4m('info').p4c(name);
|
|
263
263
|
};
|
|
264
264
|
protoOf(MordantHelpFormatter).r19 = function (title) {
|
|
265
|
-
return this.
|
|
265
|
+
return this.r4v().m4m('warning').p4c(title);
|
|
266
266
|
};
|
|
267
|
-
protoOf(MordantHelpFormatter).
|
|
268
|
-
return this.
|
|
267
|
+
protoOf(MordantHelpFormatter).s4v = function (title) {
|
|
268
|
+
return this.r4v().m4m('warning').p4c(title);
|
|
269
269
|
};
|
|
270
270
|
protoOf(MordantHelpFormatter).n18 = function (title) {
|
|
271
|
-
return this.
|
|
271
|
+
return this.r4v().m4m('danger').p4c(title);
|
|
272
272
|
};
|
|
273
273
|
protoOf(MordantHelpFormatter).s18 = function (parameter) {
|
|
274
|
-
return this.
|
|
274
|
+
return this.r4v().m4m('muted').p4c(parameter);
|
|
275
275
|
};
|
|
276
276
|
protoOf(MordantHelpFormatter).l1a = function (metavar) {
|
|
277
|
-
return this.
|
|
277
|
+
return this.r4v().m4m('warning').b4j(this.r4v().m4m('muted')).p4c(metavar);
|
|
278
278
|
};
|
|
279
279
|
protoOf(MordantHelpFormatter).y1a = function (row) {
|
|
280
280
|
var tmp;
|
|
@@ -299,12 +299,12 @@ protoOf(MordantHelpFormatter).y1a = function (row) {
|
|
|
299
299
|
return Text_init_$Create$(termPrefix + row.o17_1, Whitespace_PRE_WRAP_getInstance());
|
|
300
300
|
};
|
|
301
301
|
protoOf(MordantHelpFormatter).z1a = function (row) {
|
|
302
|
-
return isBlank(row.p17_1) ? Text_init_$Create$('') : this.
|
|
302
|
+
return isBlank(row.p17_1) ? Text_init_$Create$('') : this.t4v(row.p17_1);
|
|
303
303
|
};
|
|
304
304
|
protoOf(MordantHelpFormatter).c1a = function (rows) {
|
|
305
305
|
return definitionList(MordantHelpFormatter$buildParameterList$lambda(rows, this));
|
|
306
306
|
};
|
|
307
|
-
protoOf(MordantHelpFormatter).
|
|
307
|
+
protoOf(MordantHelpFormatter).t4v = function (text) {
|
|
308
308
|
return Text_init_$Create$(replace(text, '\n\n', '\x85\x85'), Whitespace_NORMAL_getInstance());
|
|
309
309
|
};
|
|
310
310
|
//region block: exports
|