@flock/wirespec 0.17.16 → 0.17.18

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 (30) hide show
  1. package/clikt-clikt.mjs +1152 -1152
  2. package/colormath-root-colormath.mjs +424 -424
  3. package/kotlin-kotlin-stdlib.mjs +11 -11
  4. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  5. package/kotlin-openapi-bindings.mjs +1 -0
  6. package/kotlin-rgxgen.mjs +1763 -1763
  7. package/kotlinx-io-kotlinx-io-core.mjs +377 -377
  8. package/markdown.mjs +1833 -1833
  9. package/mordant-mordant.mjs +1605 -1605
  10. package/package.json +1 -1
  11. package/wirespec-src-compiler-core.mjs +25 -13
  12. package/wirespec-src-compiler-core.mjs.map +1 -1
  13. package/wirespec-src-compiler-emitters-java.mjs +118 -84
  14. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  15. package/wirespec-src-compiler-emitters-kotlin.mjs +156 -126
  16. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  17. package/wirespec-src-compiler-emitters-python.mjs +169 -139
  18. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  19. package/wirespec-src-compiler-emitters-typescript.mjs +89 -85
  20. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  21. package/wirespec-src-compiler-emitters-wirespec.mjs +33 -33
  22. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  23. package/wirespec-src-compiler-lib.mjs +246 -246
  24. package/wirespec-src-converter-avro.mjs +265 -265
  25. package/wirespec-src-converter-openapi.mjs +76 -75
  26. package/wirespec-src-converter-openapi.mjs.map +1 -1
  27. package/wirespec-src-plugin-arguments.mjs +132 -132
  28. package/wirespec-src-plugin-cli.mjs +66 -66
  29. package/wirespec-src-plugin-npm.mjs +10 -10
  30. package/wirespec-src-tools-generator.mjs +2 -2
@@ -146,7 +146,7 @@ function SpecificFile(extension) {
146
146
  }
147
147
  function Companion() {
148
148
  }
149
- protoOf(Companion).f4a = function (compile, convert) {
149
+ protoOf(Companion).i4a = function (compile, convert) {
150
150
  return subcommands(new WirespecCli(), [new Compile(compile), new Convert(convert)]);
151
151
  };
152
152
  var Companion_instance_4;
@@ -157,10 +157,10 @@ function WirespecCli() {
157
157
  NoOpCliktCommand.call(this, VOID, VOID, 'wirespec');
158
158
  }
159
159
  function _get_stdin__b8xnlj($this) {
160
- return $this.e4b_1.n47($this, stdin$factory_0());
160
+ return $this.h4b_1.q47($this, stdin$factory_0());
161
161
  }
162
162
  function _get_languages__ojonze($this) {
163
- return $this.f4b_1.n47($this, languages$factory_0());
163
+ return $this.i4b_1.q47($this, languages$factory_0());
164
164
  }
165
165
  function run$handleError(p0) {
166
166
  handleError(p0);
@@ -187,16 +187,16 @@ function Compile$run$handleError$ref() {
187
187
  }
188
188
  function Compile(compiler) {
189
189
  CommonOptions.call(this);
190
- this.d4b_1 = compiler;
191
- this.e4b_1 = optional(argument(this, VOID, 'stdin')).t46(this, stdin$factory());
192
- this.f4b_1 = multiple(choice(option(this, Options_Language_getInstance().i4b_1.slice(), 'Language'), Companion_instance_1.l2i(), VOID, true), listOf(Language_Kotlin_getInstance())).x47(this, languages$factory());
190
+ this.g4b_1 = compiler;
191
+ this.h4b_1 = optional(argument(this, VOID, 'stdin')).w46(this, stdin$factory());
192
+ this.i4b_1 = multiple(choice(option(this, Options_Language_getInstance().l4b_1.slice(), 'Language'), Companion_instance_1.o2i(), VOID, true), listOf(Language_Kotlin_getInstance())).a48(this, languages$factory());
193
193
  }
194
- protoOf(Compile).b3y = function () {
195
- var logger = new Logger(this.h4c(this.g4c()));
194
+ protoOf(Compile).e3y = function () {
195
+ var logger = new Logger(this.k4c(this.j4c()));
196
196
  // Inline function 'arrow.core.getOrElse' call
197
197
  // Inline function 'kotlin.contracts.contract' call
198
198
  // Inline function 'arrow.core.Either.fold' call
199
- var this_0 = getFullPath(this.i4c());
199
+ var this_0 = getFullPath(this.l4c());
200
200
  // Inline function 'kotlin.contracts.contract' call
201
201
  var tmp;
202
202
  if (this_0 instanceof Right) {
@@ -206,7 +206,7 @@ protoOf(Compile).b3y = function () {
206
206
  } else {
207
207
  if (this_0 instanceof Left) {
208
208
  var it = this_0.yj_1;
209
- throw new CliktError(it.q2j_1);
209
+ throw new CliktError(it.t2j_1);
210
210
  } else {
211
211
  noWhenBranchMatchedException();
212
212
  }
@@ -238,14 +238,14 @@ protoOf(Compile).b3y = function () {
238
238
  throw new NoClasspathPossible();
239
239
  } else {
240
240
  if (inputPath instanceof DirectoryPath) {
241
- var tmp_4 = wirespecSources(new Directory(inputPath.k2j_1), logger);
241
+ var tmp_4 = wirespecSources(new Directory(inputPath.n2j_1), logger);
242
242
  tmp_0 = or(tmp_4, handleError$ref()).xk_1;
243
243
  } else {
244
244
  if (inputPath instanceof FilePath) {
245
245
  var tmp_5;
246
- if (inputPath.p2j_1.r2_1 === 4) {
246
+ if (inputPath.s2j_1.r2_1 === 4) {
247
247
  // Inline function 'kotlin.also' call
248
- var this_1 = new NonEmptySet(nonEmptySetOf(new Source(inputPath.o2j_1, read(inputPath)), []));
248
+ var this_1 = new NonEmptySet(nonEmptySetOf(new Source(inputPath.r2j_1, read(inputPath)), []));
249
249
  // Inline function 'kotlin.contracts.contract' call
250
250
  // Inline function 'community.flock.wirespec.plugin.cli.Compile.run.<anonymous>' call
251
251
  this_1.xk_1;
@@ -270,24 +270,24 @@ protoOf(Compile).b3y = function () {
270
270
  // Inline function 'kotlin.let' call
271
271
  // Inline function 'kotlin.contracts.contract' call
272
272
  // Inline function 'community.flock.wirespec.plugin.cli.Compile.run.<anonymous>' call
273
- var tmp_7 = getOutPutPath(inputPath, this.j4c());
274
- tmp_6 = new Directory(or(tmp_7, handleError$ref_0()).k2j_1);
273
+ var tmp_7 = getOutPutPath(inputPath, this.m4c());
274
+ tmp_6 = new Directory(or(tmp_7, handleError$ref_0()).n2j_1);
275
275
  }
276
276
  var outputDir = tmp_6;
277
277
  // Inline function 'kotlin.let' call
278
- var tmp_8 = this.k4c(outputDir);
279
- var this_2 = new CompilerArguments(sources, emitters, tmp_8, Compile$run$handleError$ref(), Companion_instance_0.n26(this.g2a()), logger, this.q2a(), this.l4c());
278
+ var tmp_8 = this.n4c(outputDir);
279
+ var this_2 = new CompilerArguments(sources, emitters, tmp_8, Compile$run$handleError$ref(), Companion_instance_0.n26(this.g2a()), logger, this.q2a(), this.o4c());
280
280
  // Inline function 'kotlin.contracts.contract' call
281
- this.d4b_1(this_2);
281
+ this.g4b_1(this_2);
282
282
  };
283
283
  function _get_format__qlarck($this) {
284
- return $this.k4d_1.n47($this, format$factory_0());
284
+ return $this.n4d_1.q47($this, format$factory_0());
285
285
  }
286
286
  function _get_stdin__b8xnlj_0($this) {
287
- return $this.l4d_1.n47($this, stdin$factory_2());
287
+ return $this.o4d_1.q47($this, stdin$factory_2());
288
288
  }
289
289
  function _get_languages__ojonze_0($this) {
290
- return $this.m4d_1.n47($this, languages$factory_2());
290
+ return $this.p4d_1.q47($this, languages$factory_2());
291
291
  }
292
292
  function run$handleError_0(p0) {
293
293
  handleError(p0);
@@ -314,7 +314,7 @@ function Convert$run$handleError$ref() {
314
314
  }
315
315
  function Convert(converter) {
316
316
  CommonOptions.call(this);
317
- this.j4d_1 = converter;
317
+ this.m4d_1 = converter;
318
318
  var tmp = this;
319
319
  // Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
320
320
  var this_0 = argument(this, VOID, 'Input format');
@@ -334,13 +334,13 @@ function Convert(converter) {
334
334
  var tmp$ret$2 = element.q2_1;
335
335
  destination.n2(tmp$ret$2, element);
336
336
  }
337
- tmp.k4d_1 = choice_0(this_0, destination, true).t46(this, format$factory());
338
- this.l4d_1 = optional(argument(this, VOID, 'stdin')).t46(this, stdin$factory_1());
339
- this.m4d_1 = multiple(choice(option(this, Options_Language_getInstance().i4b_1.slice(), 'Language'), Companion_instance_1.l2i(), VOID, true)).x47(this, languages$factory_1());
337
+ tmp.n4d_1 = choice_0(this_0, destination, true).w46(this, format$factory());
338
+ this.o4d_1 = optional(argument(this, VOID, 'stdin')).w46(this, stdin$factory_1());
339
+ this.p4d_1 = multiple(choice(option(this, Options_Language_getInstance().l4b_1.slice(), 'Language'), Companion_instance_1.o2i(), VOID, true)).a48(this, languages$factory_1());
340
340
  }
341
- protoOf(Convert).b3y = function () {
342
- var logger = new Logger(this.h4c(this.g4c()));
343
- var tmp = getFullPath(this.i4c());
341
+ protoOf(Convert).e3y = function () {
342
+ var logger = new Logger(this.k4c(this.j4c()));
343
+ var tmp = getFullPath(this.l4c());
344
344
  var inputPath = or(tmp, handleError$ref_1());
345
345
  var tmp_0;
346
346
  if (inputPath == null) {
@@ -372,8 +372,8 @@ protoOf(Convert).b3y = function () {
372
372
  if (inputPath instanceof FilePath) {
373
373
  // Inline function 'kotlin.also' call
374
374
  var tmp_3;
375
- if (inputPath.p2j_1.r2_1 === 5) {
376
- tmp_3 = new Source(inputPath.o2j_1, read(inputPath));
375
+ if (inputPath.s2j_1.r2_1 === 5) {
376
+ tmp_3 = new Source(inputPath.r2j_1, read(inputPath));
377
377
  } else {
378
378
  throw new JSONFileError();
379
379
  }
@@ -397,17 +397,17 @@ protoOf(Convert).b3y = function () {
397
397
  // Inline function 'kotlin.let' call
398
398
  // Inline function 'kotlin.contracts.contract' call
399
399
  // Inline function 'community.flock.wirespec.plugin.cli.Convert.run.<anonymous>' call
400
- var tmp_5 = getOutPutPath(inputPath, this.j4c());
401
- tmp_4 = new Directory(or(tmp_5, handleError$ref_2()).k2j_1);
400
+ var tmp_5 = getOutPutPath(inputPath, this.m4c());
401
+ tmp_4 = new Directory(or(tmp_5, handleError$ref_2()).n2j_1);
402
402
  }
403
403
  var directory = tmp_4;
404
404
  // Inline function 'kotlin.let' call
405
405
  var tmp_6 = _get_format__qlarck(this);
406
406
  var tmp_7 = nonEmptySetOf(source, []);
407
- var tmp_8 = this.k4c(directory);
408
- var this_1 = new ConverterArguments(tmp_6, tmp_7, emitters, tmp_8, Convert$run$handleError$ref(), Companion_instance_0.n26(this.g2a()), logger, this.q2a(), this.l4c());
407
+ var tmp_8 = this.n4c(directory);
408
+ var this_1 = new ConverterArguments(tmp_6, tmp_7, emitters, tmp_8, Convert$run$handleError$ref(), Companion_instance_0.n26(this.g2a()), logger, this.q2a(), this.o4c());
409
409
  // Inline function 'kotlin.contracts.contract' call
410
- this.j4d_1(this_1);
410
+ this.m4d_1(this_1);
411
411
  };
412
412
  function CommonOptions$writer$lambda($directory, this$0) {
413
413
  return function (emittedList) {
@@ -422,11 +422,11 @@ function CommonOptions$writer$lambda($directory, this$0) {
422
422
  } else {
423
423
  // Inline function 'kotlin.let' call
424
424
  // Inline function 'kotlin.contracts.contract' call
425
- write(Companion_instance_2.m2j(_DirectoryPath___get_value__impl__hdy2e3(tmp0_safe_receiver.l2j_1) + '/' + element.k23_1), element.l23_1);
425
+ write(Companion_instance_2.p2j(_DirectoryPath___get_value__impl__hdy2e3(tmp0_safe_receiver.o2j_1) + '/' + element.k23_1), element.l23_1);
426
426
  tmp = Unit_instance;
427
427
  }
428
428
  if (tmp == null) {
429
- this$0.v3x(element.l23_1);
429
+ this$0.y3x(element.l23_1);
430
430
  }
431
431
  }
432
432
  return Unit_instance;
@@ -434,32 +434,32 @@ function CommonOptions$writer$lambda($directory, this$0) {
434
434
  }
435
435
  function CommonOptions() {
436
436
  CliktCommand.call(this);
437
- this.a4c_1 = option(this, Options_Input_getInstance().i4b_1.slice(), 'Input').x47(this, input$factory());
438
- this.b4c_1 = option(this, Options_Output_getInstance().i4b_1.slice(), 'Output').x47(this, output$factory());
439
- this.c4c_1 = default_0(option(this, Options_PackageName_getInstance().i4b_1.slice(), 'Package name'), 'community.flock.wirespec.generated').x47(this, packageName$factory());
440
- this.d4c_1 = default_0(option(this, Options_LogLevel_getInstance().i4b_1.slice(), 'Log level: ' + Companion_instance.toString()), Level_INFO_getInstance().toString()).x47(this, logLevel$factory());
441
- this.e4c_1 = flag(option(this, Options_Shared_getInstance().i4b_1.slice(), 'Generate shared wirespec code'), [], false).x47(this, shared$factory());
442
- this.f4c_1 = flag(option(this, Options_Strict_getInstance().i4b_1.slice(), 'Strict mode'), []).x47(this, strict$factory());
443
- }
444
- protoOf(CommonOptions).i4c = function () {
445
- return this.a4c_1.n47(this, input$factory_0());
437
+ this.d4c_1 = option(this, Options_Input_getInstance().l4b_1.slice(), 'Input').a48(this, input$factory());
438
+ this.e4c_1 = option(this, Options_Output_getInstance().l4b_1.slice(), 'Output').a48(this, output$factory());
439
+ this.f4c_1 = default_0(option(this, Options_PackageName_getInstance().l4b_1.slice(), 'Package name'), 'community.flock.wirespec.generated').a48(this, packageName$factory());
440
+ this.g4c_1 = default_0(option(this, Options_LogLevel_getInstance().l4b_1.slice(), 'Log level: ' + Companion_instance.toString()), Level_INFO_getInstance().toString()).a48(this, logLevel$factory());
441
+ this.h4c_1 = flag(option(this, Options_Shared_getInstance().l4b_1.slice(), 'Generate shared wirespec code'), [], false).a48(this, shared$factory());
442
+ this.i4c_1 = flag(option(this, Options_Strict_getInstance().l4b_1.slice(), 'Strict mode'), []).a48(this, strict$factory());
443
+ }
444
+ protoOf(CommonOptions).l4c = function () {
445
+ return this.d4c_1.q47(this, input$factory_0());
446
446
  };
447
- protoOf(CommonOptions).j4c = function () {
448
- return this.b4c_1.n47(this, output$factory_0());
447
+ protoOf(CommonOptions).m4c = function () {
448
+ return this.e4c_1.q47(this, output$factory_0());
449
449
  };
450
450
  protoOf(CommonOptions).g2a = function () {
451
- return this.c4c_1.n47(this, packageName$factory_0());
451
+ return this.f4c_1.q47(this, packageName$factory_0());
452
452
  };
453
- protoOf(CommonOptions).g4c = function () {
454
- return this.d4c_1.n47(this, logLevel$factory_0());
453
+ protoOf(CommonOptions).j4c = function () {
454
+ return this.g4c_1.q47(this, logLevel$factory_0());
455
455
  };
456
456
  protoOf(CommonOptions).q2a = function () {
457
- return this.e4c_1.n47(this, shared$factory_0());
457
+ return this.h4c_1.q47(this, shared$factory_0());
458
458
  };
459
- protoOf(CommonOptions).l4c = function () {
460
- return this.f4c_1.n47(this, strict$factory_0());
459
+ protoOf(CommonOptions).o4c = function () {
460
+ return this.i4c_1.q47(this, strict$factory_0());
461
461
  };
462
- protoOf(CommonOptions).h4c = function (_this__u8e3s4) {
462
+ protoOf(CommonOptions).k4c = function (_this__u8e3s4) {
463
463
  // Inline function 'kotlin.text.uppercase' call
464
464
  // Inline function 'kotlin.text.trim' call
465
465
  // Inline function 'kotlin.js.asDynamic' call
@@ -482,7 +482,7 @@ protoOf(CommonOptions).h4c = function (_this__u8e3s4) {
482
482
  }
483
483
  return tmp;
484
484
  };
485
- protoOf(CommonOptions).k4c = function (directory) {
485
+ protoOf(CommonOptions).n4c = function (directory) {
486
486
  return CommonOptions$writer$lambda(directory, this);
487
487
  };
488
488
  var Options_Input_instance;
@@ -507,7 +507,7 @@ function Options_initEntries() {
507
507
  }
508
508
  function Options(name, ordinal, flags) {
509
509
  Enum.call(this, name, ordinal);
510
- this.i4b_1 = flags;
510
+ this.l4b_1 = flags;
511
511
  }
512
512
  function handleError(string) {
513
513
  throw new CliktError(string);
@@ -613,12 +613,12 @@ function languages$factory_2() {
613
613
  }
614
614
  function input$factory() {
615
615
  return getPropertyCallableRef('input', 1, KProperty1, function (receiver) {
616
- return receiver.i4c();
616
+ return receiver.l4c();
617
617
  }, null);
618
618
  }
619
619
  function output$factory() {
620
620
  return getPropertyCallableRef('output', 1, KProperty1, function (receiver) {
621
- return receiver.j4c();
621
+ return receiver.m4c();
622
622
  }, null);
623
623
  }
624
624
  function packageName$factory() {
@@ -628,7 +628,7 @@ function packageName$factory() {
628
628
  }
629
629
  function logLevel$factory() {
630
630
  return getPropertyCallableRef('logLevel', 1, KProperty1, function (receiver) {
631
- return receiver.g4c();
631
+ return receiver.j4c();
632
632
  }, null);
633
633
  }
634
634
  function shared$factory() {
@@ -638,17 +638,17 @@ function shared$factory() {
638
638
  }
639
639
  function strict$factory() {
640
640
  return getPropertyCallableRef('strict', 1, KProperty1, function (receiver) {
641
- return receiver.l4c();
641
+ return receiver.o4c();
642
642
  }, null);
643
643
  }
644
644
  function input$factory_0() {
645
645
  return getPropertyCallableRef('input', 1, KProperty1, function (receiver) {
646
- return receiver.i4c();
646
+ return receiver.l4c();
647
647
  }, null);
648
648
  }
649
649
  function output$factory_0() {
650
650
  return getPropertyCallableRef('output', 1, KProperty1, function (receiver) {
651
- return receiver.j4c();
651
+ return receiver.m4c();
652
652
  }, null);
653
653
  }
654
654
  function packageName$factory_0() {
@@ -658,7 +658,7 @@ function packageName$factory_0() {
658
658
  }
659
659
  function logLevel$factory_0() {
660
660
  return getPropertyCallableRef('logLevel', 1, KProperty1, function (receiver) {
661
- return receiver.g4c();
661
+ return receiver.j4c();
662
662
  }, null);
663
663
  }
664
664
  function shared$factory_0() {
@@ -668,7 +668,7 @@ function shared$factory_0() {
668
668
  }
669
669
  function strict$factory_0() {
670
670
  return getPropertyCallableRef('strict', 1, KProperty1, function (receiver) {
671
- return receiver.l4c();
671
+ return receiver.o4c();
672
672
  }, null);
673
673
  }
674
674
  function main(args) {
@@ -699,7 +699,7 @@ function main(args) {
699
699
  // Inline function 'kotlin.contracts.contract' call
700
700
  var tmp = Companion_instance_4;
701
701
  var tmp_0 = compile$ref();
702
- tmp.f4a(tmp_0, convert$ref()).a3y(destination);
702
+ tmp.i4a(tmp_0, convert$ref()).d3y(destination);
703
703
  }
704
704
  function compile$ref() {
705
705
  var l = function (p0) {
@@ -128,9 +128,9 @@ function Shared_initEntries() {
128
128
  return Unit_instance;
129
129
  Shared_entriesInitialized = true;
130
130
  Shared_KOTLIN_instance = new Shared('KOTLIN', 0, KotlinShared_getInstance().s2a_1);
131
- Shared_JAVA_instance = new Shared('JAVA', 1, JavaShared_getInstance().h2b_1);
132
- Shared_TYPESCRIPT_instance = new Shared('TYPESCRIPT', 2, TypeScriptShared_getInstance().r2b_1);
133
- Shared_PYTHON_instance = new Shared('PYTHON', 3, PythonShared_instance.b2c_1);
131
+ Shared_JAVA_instance = new Shared('JAVA', 1, JavaShared_getInstance().k2b_1);
132
+ Shared_TYPESCRIPT_instance = new Shared('TYPESCRIPT', 2, TypeScriptShared_getInstance().u2b_1);
133
+ Shared_PYTHON_instance = new Shared('PYTHON', 3, PythonShared_instance.e2c_1);
134
134
  }
135
135
  function Shared(name, ordinal, source) {
136
136
  Enum.call(this, name, ordinal);
@@ -255,13 +255,13 @@ function convert(source, converters, strict) {
255
255
  var tmp;
256
256
  switch (converters.r2_1) {
257
257
  case 0:
258
- tmp = produce_1(OpenAPIV2Parser_instance.r2e(new ModuleContent(new FileUri(''), source), strict));
258
+ tmp = produce_1(OpenAPIV2Parser_instance.u2e(new ModuleContent(new FileUri(''), source), strict));
259
259
  break;
260
260
  case 1:
261
- tmp = produce_1(OpenAPIV3Parser_instance.r2e(new ModuleContent(new FileUri(''), source), strict));
261
+ tmp = produce_1(OpenAPIV3Parser_instance.u2e(new ModuleContent(new FileUri(''), source), strict));
262
262
  break;
263
263
  case 2:
264
- tmp = produce_1(AvroParser_instance.r2e(new ModuleContent(new FileUri(''), source), strict));
264
+ tmp = produce_1(AvroParser_instance.u2e(new ModuleContent(new FileUri(''), source), strict));
265
265
  break;
266
266
  default:
267
267
  noWhenBranchMatchedException();
@@ -447,7 +447,7 @@ function emit(wsAst, emitter, packageName, emitShared) {
447
447
  }
448
448
 
449
449
  var tmp$ret$29 = tmp_6.uk(destination_4);
450
- var this_12 = tmp_5.d2f(tmp$ret$29, get_noLogger());
450
+ var this_12 = tmp_5.g2f(tmp$ret$29, get_noLogger());
451
451
  // Inline function 'kotlin.contracts.contract' call
452
452
 
453
453
  var this_13 = encode(Companion_getInstance().v17())(this_12);
@@ -489,7 +489,7 @@ function emit(wsAst, emitter, packageName, emitShared) {
489
489
  }
490
490
 
491
491
  var tmp$ret$39 = tmp_8.uk(destination_5);
492
- var this_16 = tmp_7.g2f(tmp$ret$39, null, get_noLogger());
492
+ var this_16 = tmp_7.j2f(tmp$ret$39, null, get_noLogger());
493
493
  // Inline function 'kotlin.contracts.contract' call
494
494
 
495
495
  var this_17 = encode(Companion_getInstance_0().v17())(this_16);
@@ -513,7 +513,7 @@ function emit(wsAst, emitter, packageName, emitShared) {
513
513
  // Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
514
514
 
515
515
  var ast_0 = this_18.pk_1;
516
- var tmp_9 = AvroEmitter_getInstance().n2d(ast_0);
516
+ var tmp_9 = AvroEmitter_getInstance().q2d(ast_0);
517
517
  // Inline function 'kotlin.collections.map' call
518
518
 
519
519
  var this_19 = this_18.qk_1;
@@ -524,7 +524,7 @@ function emit(wsAst, emitter, packageName, emitShared) {
524
524
  while (tmp0_iterator_6.h()) {
525
525
  var item = tmp0_iterator_6.i();
526
526
  // Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
527
- var tmp$ret$46 = AvroEmitter_getInstance().n2d(item);
527
+ var tmp$ret$46 = AvroEmitter_getInstance().q2d(item);
528
528
  destination_6.e(tmp$ret$46);
529
529
  }
530
530
 
@@ -194,7 +194,7 @@ function resolveReference(_this__u8e3s4, type) {
194
194
  function defaultGenerator(random) {
195
195
  // Inline function 'kotlin.let' call
196
196
  // Inline function 'kotlin.contracts.contract' call
197
- var p0 = Companion_instance.n4d('\\w{1,50}').w4d(random);
197
+ var p0 = Companion_instance.q4d('\\w{1,50}').z4d(random);
198
198
  return JsonPrimitive_1(p0);
199
199
  }
200
200
  function generateObject(_this__u8e3s4, def, random) {
@@ -353,7 +353,7 @@ function randomRegex(regex, random) {
353
353
  var endIndex = regex.length - 2 | 0;
354
354
  // Inline function 'kotlin.js.asDynamic' call
355
355
  var tmp$ret$1 = regex.substring(1, endIndex);
356
- return tmp.n4d(tmp$ret$1).w4d(random);
356
+ return tmp.q4d(tmp$ret$1).z4d(random);
357
357
  }
358
358
  //region block: exports
359
359
  export {