@flock/wirespec 0.19.0-RC.2 → 0.19.0-RC.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.
Files changed (45) hide show
  1. package/arrow-arrow-atomic.mjs +12 -12
  2. package/arrow-arrow-core.mjs +163 -163
  3. package/clikt-clikt-mordant.mjs +80 -80
  4. package/clikt-clikt.mjs +1570 -1570
  5. package/colormath-root-colormath.mjs +444 -444
  6. package/kotest-kotest-property.mjs +605 -1435
  7. package/kotest-kotest-property.mjs.map +1 -1
  8. package/kotest-property-arbs.mjs +0 -478
  9. package/kotest-property-arbs.mjs.map +1 -1
  10. package/kotlin-kotlin-stdlib.mjs +2478 -2738
  11. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  12. package/kotlin-openapi-bindings.mjs +4926 -4926
  13. package/kotlin-openapi-bindings.mjs.map +1 -1
  14. package/kotlin-rgxgen.mjs +1819 -1819
  15. package/kotlinx-io-kotlinx-io-core.mjs +440 -440
  16. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1792 -1792
  17. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1395 -1395
  18. package/mordant-mordant.mjs +1362 -1362
  19. package/package.json +1 -1
  20. package/wirespec-src-compiler-core.mjs +1541 -1541
  21. package/wirespec-src-compiler-emitters-java.mjs +387 -387
  22. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  23. package/wirespec-src-compiler-emitters-kotlin.mjs +341 -341
  24. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  25. package/wirespec-src-compiler-emitters-python.mjs +371 -371
  26. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  27. package/wirespec-src-compiler-emitters-rust.mjs +416 -416
  28. package/wirespec-src-compiler-emitters-scala.mjs +168 -168
  29. package/wirespec-src-compiler-emitters-typescript.mjs +471 -471
  30. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  31. package/wirespec-src-compiler-emitters-wirespec.mjs +87 -87
  32. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  33. package/wirespec-src-compiler-ir.mjs +3672 -3672
  34. package/wirespec-src-compiler-lib.mjs +418 -418
  35. package/wirespec-src-compiler-lib.mjs.map +1 -1
  36. package/wirespec-src-converter-avro.mjs +512 -512
  37. package/wirespec-src-converter-openapi.mjs +772 -772
  38. package/wirespec-src-converter-openapi.mjs.map +1 -1
  39. package/wirespec-src-integration-kotest.mjs +490 -572
  40. package/wirespec-src-integration-kotest.mjs.map +1 -1
  41. package/wirespec-src-plugin-arguments.mjs +185 -185
  42. package/wirespec-src-plugin-cli.mjs +106 -106
  43. package/wirespec-src-plugin-npm.d.mts +1 -1
  44. package/wirespec-src-plugin-npm.mjs +40 -40
  45. package/wirespec-src-tools-generator.mjs +35 -35
@@ -46,7 +46,7 @@ function CliktCommand(name) {
46
46
  }
47
47
  function installMordant(_this__u8e3s4, force) {
48
48
  force = force === VOID ? false : force;
49
- _this__u8e3s4.c16(installMordant$lambda(force));
49
+ _this__u8e3s4.k15(installMordant$lambda(force));
50
50
  }
51
51
  function get_terminal(_this__u8e3s4) {
52
52
  // Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
@@ -57,10 +57,10 @@ function get_terminal(_this__u8e3s4) {
57
57
  if (tmp0_elvis_lhs == null) {
58
58
  // Inline function 'kotlin.also' call
59
59
  var this_0 = Terminal_init_$Create$();
60
- var tmp0 = last(selfAndAncestors(_this__u8e3s4)).a14_1;
60
+ var tmp0 = last(selfAndAncestors(_this__u8e3s4)).i13_1;
61
61
  // Inline function 'kotlin.collections.set' call
62
62
  var key_0 = 'mordant_terminal';
63
- tmp0.d3(key_0, this_0);
63
+ tmp0.y2(key_0, this_0);
64
64
  tmp_0 = this_0;
65
65
  } else {
66
66
  tmp_0 = tmp0_elvis_lhs;
@@ -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.y3z(it);
77
+ return MultiplatformSystem_instance.g3z(it);
78
78
  }
79
79
  function installMordant$lambda$lambda_1(it) {
80
- var tmp0_elvis_lhs = MultiplatformSystem_instance.a40(it);
80
+ var tmp0_elvis_lhs = MultiplatformSystem_instance.i3z(it);
81
81
  var tmp;
82
82
  if (tmp0_elvis_lhs == null) {
83
83
  throw new FileNotFound(it);
@@ -87,100 +87,100 @@ function installMordant$lambda$lambda_1(it) {
87
87
  return tmp;
88
88
  }
89
89
  function installMordant$lambda$lambda_2(it) {
90
- MultiplatformSystem_instance.z3z(it);
90
+ MultiplatformSystem_instance.h3z(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).x49(message, VOID, VOID, VOID, VOID, err);
95
+ get_terminal(context).f49(message, VOID, VOID, VOID, VOID, err);
96
96
  } else {
97
- get_terminal(context).v49(message, VOID, VOID, VOID, VOID, err);
97
+ get_terminal(context).d49(message, VOID, VOID, VOID, VOID, err);
98
98
  }
99
99
  return Unit_instance;
100
100
  }
101
101
  function installMordant$lambda($force) {
102
102
  return function ($this$configureContext) {
103
103
  var tmp;
104
- if (!$force && !($this$configureContext.d16_1 == null)) {
104
+ if (!$force && !($this$configureContext.l15_1 == null)) {
105
105
  return Unit_instance;
106
106
  }
107
107
  var tmp_0 = $this$configureContext;
108
- tmp_0.i16_1 = installMordant$lambda$lambda;
108
+ tmp_0.q15_1 = installMordant$lambda$lambda;
109
109
  var tmp_1 = $this$configureContext;
110
- tmp_1.q16_1 = installMordant$lambda$lambda_0;
110
+ tmp_1.y15_1 = installMordant$lambda$lambda_0;
111
111
  var tmp_2 = $this$configureContext;
112
- tmp_2.l16_1 = installMordant$lambda$lambda_1;
112
+ tmp_2.t15_1 = installMordant$lambda$lambda_1;
113
113
  var tmp_3 = $this$configureContext;
114
- tmp_3.t16_1 = installMordant$lambda$lambda_2;
114
+ tmp_3.b16_1 = installMordant$lambda$lambda_2;
115
115
  var tmp_4 = $this$configureContext;
116
- tmp_4.s16_1 = installMordant$lambda$lambda_3;
116
+ tmp_4.a16_1 = installMordant$lambda$lambda_3;
117
117
  return Unit_instance;
118
118
  };
119
119
  }
120
120
  function _get_terminal_$lambda_5keric($key) {
121
121
  return function (it) {
122
- var tmp = it.a14_1.v2($key);
122
+ var tmp = it.i13_1.q2($key);
123
123
  return tmp instanceof Terminal ? tmp : null;
124
124
  };
125
125
  }
126
126
  function selfAndAncestors$lambda(it) {
127
- return it.l13_1;
127
+ return it.t12_1;
128
128
  }
129
129
  function NoOpCliktCommand(name) {
130
130
  name = name === VOID ? null : name;
131
131
  CliktCommand.call(this, name);
132
132
  }
133
- protoOf(NoOpCliktCommand).l17 = function () {
133
+ protoOf(NoOpCliktCommand).t16 = 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.n46(1);
138
- $this$verticalLayout.k46(this$0.q1c($error, $prolog, $epilog, $parameters, $programName));
137
+ $this$verticalLayout.v45(1);
138
+ $this$verticalLayout.s45(this$0.y1b($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.h4a($prog, Text_init_$Create$($usageParts, Whitespace_NORMAL_getInstance()));
145
- $this$definitionList.b4a_1 = true;
146
- $this$definitionList.e4a(1);
144
+ $this$definitionList.p49($prog, Text_init_$Create$($usageParts, Whitespace_NORMAL_getInstance()));
145
+ $this$definitionList.j49_1 = true;
146
+ $this$definitionList.m49(1);
147
147
  return Unit_instance;
148
148
  };
149
149
  }
150
150
  function MordantHelpFormatter$renderProlog$lambda($this$withPadding) {
151
- $this$withPadding.k48_1 = 2;
151
+ $this$withPadding.s47_1 = 2;
152
152
  return Unit_instance;
153
153
  }
154
154
  function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
155
155
  return function ($this$definitionList) {
156
- var _iterator__ex2g4s = this$0.d1e($parameters).t();
156
+ var _iterator__ex2g4s = this$0.l1d($parameters).t();
157
157
  while (_iterator__ex2g4s.u()) {
158
158
  var section = _iterator__ex2g4s.v();
159
- $this$definitionList.h4a(section.x1b_1, section.y1b_1);
159
+ $this$definitionList.p49(section.f1b_1, section.g1b_1);
160
160
  }
161
161
  return Unit_instance;
162
162
  };
163
163
  }
164
164
  function MordantHelpFormatter$renderOptionGroup$lambda($this$withPadding) {
165
- $this$withPadding.h48_1 = 1;
166
- $this$withPadding.k48_1 = 2;
167
- $this$withPadding.j48_1 = 1;
165
+ $this$withPadding.p47_1 = 1;
166
+ $this$withPadding.s47_1 = 2;
167
+ $this$withPadding.r47_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.m46($markdown);
173
- $this$verticalLayout.m46(this$0.n1e($options));
172
+ $this$verticalLayout.u45($markdown);
173
+ $this$verticalLayout.u45(this$0.v1d($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.b4a_1 = true;
179
+ $this$definitionList.j49_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.i4a(this$0.j1f(row), this$0.k1f(row));
183
+ $this$definitionList.q49(this$0.r1e(row), this$0.s1e(row));
184
184
  }
185
185
  return Unit_instance;
186
186
  };
@@ -191,20 +191,20 @@ 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).b4c = function () {
195
- return get_terminal(this.e1c_1).h43_1;
194
+ protoOf(MordantHelpFormatter).j4b = function () {
195
+ return get_terminal(this.m1b_1).p42_1;
196
196
  };
197
- protoOf(MordantHelpFormatter).w15 = function (error, prolog, epilog, parameters, programName) {
197
+ protoOf(MordantHelpFormatter).e15 = 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.e1c_1).y49(widget);
199
+ return get_terminal(this.m1b_1).g49(widget);
200
200
  };
201
- protoOf(MordantHelpFormatter).s1c = function (parameters, error) {
202
- return Text_init_$Create$(this.w1c(parameters, error));
201
+ protoOf(MordantHelpFormatter).a1c = function (parameters, error) {
202
+ return Text_init_$Create$(this.e1c(parameters, error));
203
203
  };
204
- protoOf(MordantHelpFormatter).r1c = function (parameters, programName) {
205
- var title = this.c4c(this.p1c().e1f());
204
+ protoOf(MordantHelpFormatter).z1b = function (parameters, programName) {
205
+ var title = this.k4b(this.x1b().m1e());
206
206
  var prog = title + ' ' + programName;
207
- var usageParts = this.a1d(parameters);
207
+ var usageParts = this.i1c(parameters);
208
208
  var tmp;
209
209
  // Inline function 'kotlin.text.isEmpty' call
210
210
  if (charSequenceLength(usageParts) === 0) {
@@ -214,77 +214,77 @@ protoOf(MordantHelpFormatter).r1c = function (parameters, programName) {
214
214
  }
215
215
  return tmp;
216
216
  };
217
- protoOf(MordantHelpFormatter).t1c = function (prolog) {
218
- var tmp = this.d4c(prolog);
217
+ protoOf(MordantHelpFormatter).b1c = function (prolog) {
218
+ var tmp = this.l4b(prolog);
219
219
  return withPadding(tmp, false, MordantHelpFormatter$renderProlog$lambda);
220
220
  };
221
- protoOf(MordantHelpFormatter).v1c = function (epilog) {
222
- return this.d4c(epilog);
221
+ protoOf(MordantHelpFormatter).d1c = function (epilog) {
222
+ return this.l4b(epilog);
223
223
  };
224
- protoOf(MordantHelpFormatter).u1c = function (parameters) {
224
+ protoOf(MordantHelpFormatter).c1c = function (parameters) {
225
225
  return definitionList(MordantHelpFormatter$renderParameters$lambda(this, parameters));
226
226
  };
227
- protoOf(MordantHelpFormatter).b1e = function (help, parameters) {
227
+ protoOf(MordantHelpFormatter).j1d = function (help, parameters) {
228
228
  // Inline function 'kotlin.collections.map' call
229
229
  // Inline function 'kotlin.collections.mapTo' call
230
230
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(parameters, 10));
231
231
  var _iterator__ex2g4s = parameters.t();
232
232
  while (_iterator__ex2g4s.u()) {
233
233
  var item = _iterator__ex2g4s.v();
234
- var tmp$ret$0 = this.g1e(item);
234
+ var tmp$ret$0 = this.o1d(item);
235
235
  destination.x(tmp$ret$0);
236
236
  }
237
237
  var options = destination;
238
238
  if (help == null)
239
- return this.n1e(options);
240
- var tmp = this.d4c(help);
239
+ return this.v1d(options);
240
+ var tmp = this.l4b(help);
241
241
  var markdown = withPadding(tmp, false, MordantHelpFormatter$renderOptionGroup$lambda);
242
242
  return verticalLayout(MordantHelpFormatter$renderOptionGroup$lambda_0(markdown, this, options));
243
243
  };
244
- protoOf(MordantHelpFormatter).m1c = function (name) {
244
+ protoOf(MordantHelpFormatter).u1b = function (name) {
245
245
  // Inline function 'kotlin.text.lowercase' call
246
246
  // Inline function 'kotlin.js.asDynamic' call
247
247
  return '<' + name.toLowerCase() + '>';
248
248
  };
249
- protoOf(MordantHelpFormatter).l1e = function (name) {
250
- return this.b4c().w42('danger').y3s(name);
249
+ protoOf(MordantHelpFormatter).t1d = function (name) {
250
+ return this.j4b().e42('danger').g3s(name);
251
251
  };
252
- protoOf(MordantHelpFormatter).u1e = function (name) {
253
- return this.b4c().w42('muted').y3s(name);
252
+ protoOf(MordantHelpFormatter).c1e = function (name) {
253
+ return this.j4b().e42('muted').g3s(name);
254
254
  };
255
- protoOf(MordantHelpFormatter).k1c = function (name) {
256
- return this.b4c().w42('info').y3s(name);
255
+ protoOf(MordantHelpFormatter).s1b = function (name) {
256
+ return this.j4b().e42('info').g3s(name);
257
257
  };
258
- protoOf(MordantHelpFormatter).n1c = function (name) {
259
- return this.b4c().w42('info').y3s(name);
258
+ protoOf(MordantHelpFormatter).v1b = function (name) {
259
+ return this.j4b().e42('info').g3s(name);
260
260
  };
261
- protoOf(MordantHelpFormatter).o1c = function (name) {
262
- return this.b4c().w42('info').y3s(name);
261
+ protoOf(MordantHelpFormatter).w1b = function (name) {
262
+ return this.j4b().e42('info').g3s(name);
263
263
  };
264
- protoOf(MordantHelpFormatter).c1e = function (title) {
265
- return this.b4c().w42('warning').y3s(title);
264
+ protoOf(MordantHelpFormatter).k1d = function (title) {
265
+ return this.j4b().e42('warning').g3s(title);
266
266
  };
267
- protoOf(MordantHelpFormatter).c4c = function (title) {
268
- return this.b4c().w42('warning').y3s(title);
267
+ protoOf(MordantHelpFormatter).k4b = function (title) {
268
+ return this.j4b().e42('warning').g3s(title);
269
269
  };
270
- protoOf(MordantHelpFormatter).y1c = function (title) {
271
- return this.b4c().w42('danger').y3s(title);
270
+ protoOf(MordantHelpFormatter).g1c = function (title) {
271
+ return this.j4b().e42('danger').g3s(title);
272
272
  };
273
- protoOf(MordantHelpFormatter).d1d = function (parameter) {
274
- return this.b4c().w42('muted').y3s(parameter);
273
+ protoOf(MordantHelpFormatter).l1c = function (parameter) {
274
+ return this.j4b().e42('muted').g3s(parameter);
275
275
  };
276
- protoOf(MordantHelpFormatter).w1e = function (metavar) {
277
- return this.b4c().w42('warning').l3z(this.b4c().w42('muted')).y3s(metavar);
276
+ protoOf(MordantHelpFormatter).e1e = function (metavar) {
277
+ return this.j4b().e42('warning').t3y(this.j4b().e42('muted')).g3s(metavar);
278
278
  };
279
- protoOf(MordantHelpFormatter).j1f = function (row) {
279
+ protoOf(MordantHelpFormatter).r1e = function (row) {
280
280
  var tmp;
281
281
  // Inline function 'kotlin.text.isNullOrEmpty' call
282
- var this_0 = row.b1c_1;
282
+ var this_0 = row.j1b_1;
283
283
  if (this_0 == null || charSequenceLength(this_0) === 0) {
284
284
  tmp = ' ';
285
285
  } else {
286
286
  // Inline function 'kotlin.text.ifEmpty' call
287
- var this_1 = drop(' ', ensureNotNull(row.b1c_1).length);
287
+ var this_1 = drop(' ', ensureNotNull(row.j1b_1).length);
288
288
  var tmp_0;
289
289
  // Inline function 'kotlin.text.isEmpty' call
290
290
  if (charSequenceLength(this_1) === 0) {
@@ -293,18 +293,18 @@ protoOf(MordantHelpFormatter).j1f = function (row) {
293
293
  tmp_0 = this_1;
294
294
  }
295
295
  var tmp$ret$3 = tmp_0;
296
- tmp = plus(row.b1c_1, tmp$ret$3);
296
+ tmp = plus(row.j1b_1, tmp$ret$3);
297
297
  }
298
298
  var termPrefix = tmp;
299
- return Text_init_$Create$(termPrefix + row.z1b_1, Whitespace_PRE_WRAP_getInstance());
299
+ return Text_init_$Create$(termPrefix + row.h1b_1, Whitespace_PRE_WRAP_getInstance());
300
300
  };
301
- protoOf(MordantHelpFormatter).k1f = function (row) {
302
- return isBlank(row.a1c_1) ? Text_init_$Create$('') : this.d4c(row.a1c_1);
301
+ protoOf(MordantHelpFormatter).s1e = function (row) {
302
+ return isBlank(row.i1b_1) ? Text_init_$Create$('') : this.l4b(row.i1b_1);
303
303
  };
304
- protoOf(MordantHelpFormatter).n1e = function (rows) {
304
+ protoOf(MordantHelpFormatter).v1d = function (rows) {
305
305
  return definitionList(MordantHelpFormatter$buildParameterList$lambda(rows, this));
306
306
  };
307
- protoOf(MordantHelpFormatter).d4c = function (text) {
307
+ protoOf(MordantHelpFormatter).l4b = function (text) {
308
308
  return Text_init_$Create$(replace(text, '\n\n', '\x85\x85'), Whitespace_NORMAL_getInstance());
309
309
  };
310
310
  //region block: exports