@flock/wirespec 0.22.5 → 0.22.7

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 (49) hide show
  1. package/arrow-arrow-atomic.mjs +11 -11
  2. package/arrow-arrow-core.mjs +157 -157
  3. package/clikt-clikt-mordant.mjs +80 -80
  4. package/clikt-clikt.mjs +1528 -1527
  5. package/clikt-clikt.mjs.map +1 -1
  6. package/colormath-root-colormath.mjs +444 -444
  7. package/kotlin-kotlin-stdlib.mjs +1780 -1757
  8. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  9. package/kotlin-openapi-bindings.mjs +10202 -10202
  10. package/kotlin-rgxgen.mjs +1812 -1812
  11. package/kotlinx-io-kotlinx-io-core.mjs +435 -435
  12. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1848 -1848
  13. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1576 -1576
  14. package/mordant-mordant.mjs +1322 -1322
  15. package/package.json +1 -1
  16. package/wirespec-src-compiler-core.mjs +7497 -7034
  17. package/wirespec-src-compiler-core.mjs.map +1 -1
  18. package/wirespec-src-compiler-emitters-java.mjs +198 -214
  19. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  20. package/wirespec-src-compiler-emitters-kotlin.mjs +164 -175
  21. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  22. package/wirespec-src-compiler-emitters-python.mjs +185 -198
  23. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  24. package/wirespec-src-compiler-emitters-rust.mjs +425 -439
  25. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  26. package/wirespec-src-compiler-emitters-scala.mjs +197 -207
  27. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  28. package/wirespec-src-compiler-emitters-typescript.mjs +234 -360
  29. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  30. package/wirespec-src-compiler-emitters-wirespec.mjs +179 -199
  31. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  32. package/wirespec-src-compiler-lib.mjs +282 -282
  33. package/wirespec-src-converter-asyncapi.mjs +861 -779
  34. package/wirespec-src-converter-asyncapi.mjs.map +1 -1
  35. package/wirespec-src-converter-avro.mjs +603 -602
  36. package/wirespec-src-converter-avro.mjs.map +1 -1
  37. package/wirespec-src-converter-common.mjs +18 -18
  38. package/wirespec-src-converter-graphql.mjs +1070 -1070
  39. package/wirespec-src-converter-openapi.mjs +792 -680
  40. package/wirespec-src-converter-openapi.mjs.map +1 -1
  41. package/wirespec-src-ide-lsp.mjs +1383 -1383
  42. package/wirespec-src-plugin-arguments.mjs +207 -201
  43. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  44. package/wirespec-src-plugin-cli.mjs +156 -159
  45. package/wirespec-src-plugin-cli.mjs.map +1 -1
  46. package/wirespec-src-plugin-extensions.mjs +1828 -1275
  47. package/wirespec-src-plugin-extensions.mjs.map +1 -1
  48. package/wirespec-src-plugin-npm.mjs +54 -54
  49. package/wirespec-src-tools-generator.mjs +32 -32
@@ -25,11 +25,11 @@ import {
25
25
  VOID3gxj6tk5isa35 as VOID,
26
26
  to2cs3ny02qtbcb as to,
27
27
  toMap1vec9topfei08 as toMap,
28
- emptyList1g2z5xcrvp2zy as emptyList,
29
28
  ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$_0,
30
29
  Paire9pteg33gng7 as Pair,
31
30
  plus20p0vtfmu0596 as plus,
32
31
  plus310ted5e4i90h as plus_0,
32
+ emptyList1g2z5xcrvp2zy as emptyList,
33
33
  startsWith26w8qjqapeeq6 as startsWith,
34
34
  substringBefore3n7kj60w69hju as substringBefore,
35
35
  listOf1jh22dvmctj1r as listOf_0,
@@ -59,7 +59,6 @@ import {
59
59
  KotlinGenerator_getInstance2e31cf8vh2zcv as KotlinGenerator_getInstance,
60
60
  Name1ijtblv1phm3y as Name,
61
61
  SanitizationConfigunh0ok3qg1q3 as SanitizationConfig,
62
- FunctionCall1a3g4e6bcljl6 as FunctionCall,
63
62
  transformChildren34heehtlmzzif as transformChildren,
64
63
  VariableReferencesji1q1tq3ygo as VariableReference,
65
64
  sanitizeFieldName333wgwu6tt90n as sanitizeFieldName,
@@ -96,17 +95,17 @@ import {
96
95
  sanitizeNames1v55mz1p84psg as sanitizeNames,
97
96
  collectCustomTypeNames2atsrip288ol4 as collectCustomTypeNames,
98
97
  placeInPackagea1jcxre6uf77 as placeInPackage_0,
99
- convertWithValidation24mbxf4x2u6w4 as convertWithValidation,
98
+ convert23o50n5glj7h5 as convert_0,
100
99
  sanitizeEnumDefaults29ynqh9a2ayr9 as sanitizeEnumDefaults,
101
100
  ensureEmptyStructHasConstructorftf9v01tnb2y as ensureEmptyStructHasConstructor,
102
- convert1ke01d6gmcvu7 as convert_0,
101
+ convert1ke01d6gmcvu7 as convert_1,
103
102
  injectEnumLabelField21kogrwccvlea as injectEnumLabelField,
104
- convert29zpebhuxz599 as convert_1,
105
- convert39lmqftdnlhsy as convert_2,
103
+ convert29zpebhuxz599 as convert_2,
104
+ convert39lmqftdnlhsy as convert_3,
106
105
  markMembersAsOverridessfchvibgdcx as markMembersAsOverride,
107
- convert333pgxr2q05n as convert_3,
108
- convert86y6uioox2cl as convert_4,
109
- convert1o5h4ulxoqycg as convert_5,
106
+ convert333pgxr2q05n as convert_4,
107
+ convert86y6uioox2cl as convert_5,
108
+ convert1o5h4ulxoqycg as convert_6,
110
109
  emitEndpointClient2og25opoka4ql as emitEndpointClient,
111
110
  plus14o24vdaiongg as plus_1,
112
111
  importReferencesy4xv7r53sjjs as importReferences,
@@ -127,14 +126,14 @@ initMetadataForCompanion(Companion);
127
126
  initMetadataForClass(KotlinEmitter, 'KotlinEmitter', KotlinEmitter, VOID, [IrEmitter]);
128
127
  //endregion
129
128
  function _get_sanitizationConfig__sns434($this) {
130
- var tmp0 = $this.n35_1;
129
+ var tmp0 = $this.b38_1;
131
130
  var tmp = KProperty1;
132
131
  // Inline function 'kotlin.getValue' call
133
132
  getPropertyCallableRef('sanitizationConfig', 1, tmp, KotlinEmitter$_get_sanitizationConfig_$ref_sjisty(), null);
134
133
  return tmp0.o1();
135
134
  }
136
135
  function _get_modelSanitizationConfig__vgg831($this) {
137
- var tmp0 = $this.o35_1;
136
+ var tmp0 = $this.c38_1;
138
137
  var tmp = KProperty1;
139
138
  // Inline function 'kotlin.getValue' call
140
139
  getPropertyCallableRef('modelSanitizationConfig', 1, tmp, KotlinEmitter$_get_modelSanitizationConfig_$ref_pvjfk5(), null);
@@ -149,14 +148,14 @@ function withExplicitVisibility($this, $receiver) {
149
148
  // Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
150
149
  var tmp = scope;
151
150
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
152
- var this_0 = scope.q18_1;
151
+ var this_0 = scope.e19_1;
153
152
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
154
153
  // Inline function 'kotlin.apply' call
155
154
  var this_1 = new TransformerBuilder();
156
- this_1.k19(KotlinEmitter$withExplicitVisibility$lambda);
157
- var tmp$ret$4 = this_1.f19();
158
- tmp.q18_1 = transform(this_0, tmp$ret$4);
159
- var tmp_0 = scope.q18_1;
155
+ this_1.y19(KotlinEmitter$withExplicitVisibility$lambda);
156
+ var tmp$ret$4 = this_1.t19();
157
+ tmp.e19_1 = transform(this_0, tmp$ret$4);
158
+ var tmp_0 = scope.e19_1;
160
159
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
161
160
  }
162
161
  function sanitize($this, $receiver) {
@@ -170,7 +169,7 @@ function sanitize($this, $receiver) {
170
169
  var item = _iterator__ex2g4s.v();
171
170
  var _unary__edvuaz = index;
172
171
  index = _unary__edvuaz + 1 | 0;
173
- var tmp$ret$2 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.yr(item) : item;
172
+ var tmp$ret$2 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.zr(item) : item;
174
173
  destination.x(tmp$ret$2);
175
174
  }
176
175
  // Inline function 'kotlin.text.filter' call
@@ -218,7 +217,7 @@ function sanitizeFirstIsDigit($this, $receiver) {
218
217
  return tmp;
219
218
  }
220
219
  function sanitizeKeywords($this, $receiver) {
221
- return Companion_getInstance_0().z34().i1($receiver) ? addBackticks($receiver) : $receiver;
220
+ return Companion_getInstance_0().n37().i1($receiver) ? addBackticks($receiver) : $receiver;
222
221
  }
223
222
  function sanitizeSymbol($this, $receiver) {
224
223
  // Inline function 'kotlin.collections.mapIndexed' call
@@ -231,7 +230,7 @@ function sanitizeSymbol($this, $receiver) {
231
230
  var item = _iterator__ex2g4s.v();
232
231
  var _unary__edvuaz = index;
233
232
  index = _unary__edvuaz + 1 | 0;
234
- var tmp$ret$2 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.yr(item) : item;
233
+ var tmp$ret$2 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.zr(item) : item;
235
234
  destination.x(tmp$ret$2);
236
235
  }
237
236
  // Inline function 'kotlin.text.filter' call
@@ -291,10 +290,10 @@ function sanitizeEnum($this, $receiver) {
291
290
  }
292
291
  function Companion() {
293
292
  Companion_instance_2 = this;
294
- this.p35_1 = KotlinGenerator_getInstance();
293
+ this.d38_1 = KotlinGenerator_getInstance();
295
294
  }
296
- protoOf(Companion).z34 = function () {
297
- return this.p35_1.l1b_1;
295
+ protoOf(Companion).n37 = function () {
296
+ return this.d38_1.o1c_1;
298
297
  };
299
298
  var Companion_instance_2;
300
299
  function Companion_getInstance_0() {
@@ -307,13 +306,13 @@ function KotlinEmitter$sanitizationConfig$delegate$lambda$lambda(it) {
307
306
  }
308
307
  function KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_0(this$0) {
309
308
  return function (name) {
310
- var sanitized = name.ut_1.b1() > 1 ? name.yt() : sanitizeSymbol(this$0, name.xt());
309
+ var sanitized = name.yt_1.c1() > 1 ? name.cu() : sanitizeSymbol(this$0, name.bu());
311
310
  return new Name(listOf(sanitized));
312
311
  };
313
312
  }
314
313
  function KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_1(this$0) {
315
314
  return function (name) {
316
- var sanitized = name.ut_1.b1() > 1 ? name.yt() : sanitizeSymbol(this$0, name.xt());
315
+ var sanitized = name.yt_1.c1() > 1 ? name.cu() : sanitizeSymbol(this$0, name.bu());
317
316
  return new Name(listOf(sanitized));
318
317
  };
319
318
  }
@@ -329,7 +328,7 @@ function KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
329
328
  }
330
329
  function KotlinEmitter$sanitizationConfig$delegate$lambda(this$0) {
331
330
  return function () {
332
- var tmp = Companion_getInstance_0().z34();
331
+ var tmp = Companion_getInstance_0().n37();
333
332
  var tmp_0 = KotlinEmitter$sanitizationConfig$delegate$lambda$lambda;
334
333
  var tmp_1 = KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_0(this$0);
335
334
  var tmp_2 = KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_1(this$0);
@@ -343,7 +342,7 @@ function KotlinEmitter$_get_sanitizationConfig_$ref_sjisty() {
343
342
  };
344
343
  }
345
344
  function KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda(name) {
346
- return new Name(listOf(name.xt()));
345
+ return new Name(listOf(name.bu()));
347
346
  }
348
347
  function KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda_0(this$0) {
349
348
  return function (it) {
@@ -360,7 +359,7 @@ function KotlinEmitter$modelSanitizationConfig$delegate$lambda(this$0) {
360
359
  var tmp = _get_sanitizationConfig__sns434(this$0);
361
360
  var tmp_0 = KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda;
362
361
  var tmp_1 = KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda_0(this$0);
363
- return tmp.g1c(VOID, VOID, tmp_0, VOID, tmp_1, statementTransforms(this$0, KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda_1(this$0)));
362
+ return tmp.j1d(VOID, VOID, tmp_0, VOID, tmp_1, statementTransforms(this$0, KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda_1(this$0)));
364
363
  };
365
364
  }
366
365
  function KotlinEmitter$_get_modelSanitizationConfig_$ref_pvjfk5() {
@@ -371,42 +370,32 @@ function KotlinEmitter$_get_modelSanitizationConfig_$ref_pvjfk5() {
371
370
  function KotlinEmitter$statementTransforms$lambda($namedArguments, this$0) {
372
371
  return function (stmt, tr) {
373
372
  var tmp;
374
- var tmp_0;
375
- if (stmt instanceof FunctionCall) {
376
- tmp_0 = stmt.eu_1.xt() === 'validate';
377
- } else {
378
- tmp_0 = false;
379
- }
380
- if (tmp_0) {
381
- tmp = transformChildren(stmt.iu(VOID, emptyList()), tr);
373
+ if (stmt instanceof ConstructorStatement) {
374
+ var tmp_0 = tr.w18(stmt.gu_1);
375
+ // Inline function 'kotlin.collections.map' call
376
+ var this_0 = stmt.hu_1;
377
+ // Inline function 'kotlin.collections.mapTo' call
378
+ var destination = ArrayList_init_$Create$(this_0.c1());
379
+ // Inline function 'kotlin.collections.iterator' call
380
+ var _iterator__ex2g4s = this_0.m1().t();
381
+ while (_iterator__ex2g4s.u()) {
382
+ var item = _iterator__ex2g4s.v();
383
+ // Inline function 'kotlin.collections.component1' call
384
+ var name = item.n1();
385
+ // Inline function 'kotlin.collections.component2' call
386
+ var expr = item.o1();
387
+ var tmp$ret$3 = to(sanitizeFieldName($namedArguments(), name), tr.z18(expr));
388
+ destination.x(tmp$ret$3);
389
+ }
390
+ tmp = new ConstructorStatement(tmp_0, toMap(destination));
382
391
  } else {
383
- if (stmt instanceof ConstructorStatement) {
384
- var tmp_1 = tr.i18(stmt.dv_1);
385
- // Inline function 'kotlin.collections.map' call
386
- var this_0 = stmt.ev_1;
387
- // Inline function 'kotlin.collections.mapTo' call
388
- var destination = ArrayList_init_$Create$(this_0.b1());
389
- // Inline function 'kotlin.collections.iterator' call
390
- var _iterator__ex2g4s = this_0.m1().t();
391
- while (_iterator__ex2g4s.u()) {
392
- var item = _iterator__ex2g4s.v();
393
- // Inline function 'kotlin.collections.component1' call
394
- var name = item.n1();
395
- // Inline function 'kotlin.collections.component2' call
396
- var expr = item.o1();
397
- var tmp$ret$3 = to(sanitizeFieldName($namedArguments(), name), tr.l18(expr));
398
- destination.x(tmp$ret$3);
399
- }
400
- tmp = new ConstructorStatement(tmp_1, toMap(destination));
392
+ if (stmt instanceof VariableReference) {
393
+ var cased = _get_sanitizationConfig__sns434(this$0).e1d_1(stmt.ev_1);
394
+ var sanitized = _get_sanitizationConfig__sns434(this$0).f1d_1(cased.bu());
395
+ var escaped = Companion_getInstance_0().n37().i1(sanitized) ? addBackticks(sanitized) : sanitized;
396
+ tmp = new VariableReference(new Name(listOf(escaped)));
401
397
  } else {
402
- if (stmt instanceof VariableReference) {
403
- var cased = _get_sanitizationConfig__sns434(this$0).b1c_1(stmt.gv_1);
404
- var sanitized = _get_sanitizationConfig__sns434(this$0).c1c_1(cased.xt());
405
- var escaped = Companion_getInstance_0().z34().i1(sanitized) ? addBackticks(sanitized) : sanitized;
406
- tmp = new VariableReference(new Name(listOf(escaped)));
407
- } else {
408
- tmp = transformChildren(stmt, tr);
409
- }
398
+ tmp = transformChildren(stmt, tr);
410
399
  }
411
400
  }
412
401
  return tmp;
@@ -416,7 +405,7 @@ function KotlinEmitter$emitShared$lambda(element, transformer) {
416
405
  var tmp;
417
406
  if (element instanceof File) {
418
407
  // Inline function 'kotlin.collections.partition' call
419
- var this_0 = element.iv_1;
408
+ var this_0 = element.gv_1;
420
409
  var first = ArrayList_init_$Create$_0();
421
410
  var second = ArrayList_init_$Create$_0();
422
411
  var _iterator__ex2g4s = this_0.t();
@@ -429,9 +418,9 @@ function KotlinEmitter$emitShared$lambda(element, transformer) {
429
418
  }
430
419
  }
431
420
  var _destruct__k2r9zo = new Pair(first, second);
432
- var packageElements = _destruct__k2r9zo.ze();
433
- var rest = _destruct__k2r9zo.af();
434
- tmp = element.lv(VOID, plus_0(plus(packageElements, import_0('kotlin.reflect', 'KType')), rest));
421
+ var packageElements = _destruct__k2r9zo.af();
422
+ var rest = _destruct__k2r9zo.bf();
423
+ tmp = element.jv(VOID, plus_0(plus(packageElements, import_0('kotlin.reflect', 'KType')), rest));
435
424
  } else {
436
425
  tmp = element;
437
426
  }
@@ -442,27 +431,27 @@ function KotlinEmitter$emitShared$lambda_0($clientServer) {
442
431
  return function (element, transformer) {
443
432
  var tmp;
444
433
  if (element instanceof Namespace) {
445
- var injected = element.nv_1.equals(Companion_getInstance().wt('Wirespec')) ? $clientServer : emptyList();
434
+ var injected = element.lv_1.equals(Companion_getInstance().au('Wirespec')) ? $clientServer : emptyList();
446
435
  var tmp_0;
447
436
  // Inline function 'kotlin.collections.isNotEmpty' call
448
437
  if (!injected.r()) {
449
438
  // Inline function 'community.flock.wirespec.compiler.core.ir.withElements' call
450
- var elements = plus_0(element.jv(), injected);
439
+ var elements = plus_0(element.hv(), injected);
451
440
  var tmp_1;
452
441
  if (element instanceof File) {
453
- tmp_1 = element.lv(VOID, elements);
442
+ tmp_1 = element.jv(VOID, elements);
454
443
  } else {
455
444
  if (element instanceof Struct) {
456
- tmp_1 = element.sx(VOID, VOID, VOID, VOID, elements);
445
+ tmp_1 = element.qx(VOID, VOID, VOID, VOID, elements);
457
446
  } else {
458
447
  if (element instanceof Namespace) {
459
- tmp_1 = element.sv(VOID, elements);
448
+ tmp_1 = element.qv(VOID, elements);
460
449
  } else {
461
450
  if (element instanceof Interface) {
462
- tmp_1 = element.bw(VOID, elements);
451
+ tmp_1 = element.zv(VOID, elements);
463
452
  } else {
464
453
  if (element instanceof Enum) {
465
- tmp_1 = element.gx(VOID, VOID, VOID, VOID, VOID, elements);
454
+ tmp_1 = element.ex(VOID, VOID, VOID, VOID, VOID, elements);
466
455
  } else {
467
456
  if (element instanceof Main) {
468
457
  tmp_1 = element;
@@ -492,33 +481,33 @@ function KotlinEmitter$withExplicitVisibility$lambda(element, transformer) {
492
481
  if (isInterface(element, Element)) {
493
482
  var tmp_0;
494
483
  if (element instanceof Namespace) {
495
- tmp_0 = element.sv(VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
484
+ tmp_0 = element.qv(VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
496
485
  } else {
497
486
  if (element instanceof Interface) {
498
487
  var tmp2_visibility = Visibility_PUBLIC_getInstance();
499
488
  // Inline function 'kotlin.collections.map' call
500
- var this_0 = element.yv_1;
489
+ var this_0 = element.wv_1;
501
490
  // Inline function 'kotlin.collections.mapTo' call
502
491
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
503
492
  var _iterator__ex2g4s = this_0.t();
504
493
  while (_iterator__ex2g4s.u()) {
505
494
  var item = _iterator__ex2g4s.v();
506
- var tmp$ret$3 = item.mw(VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
495
+ var tmp$ret$3 = item.kw(VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
507
496
  destination.x(tmp$ret$3);
508
497
  }
509
- tmp_0 = element.bw(VOID, VOID, VOID, VOID, VOID, destination, tmp2_visibility);
498
+ tmp_0 = element.zv(VOID, VOID, VOID, VOID, VOID, destination, tmp2_visibility);
510
499
  } else {
511
500
  if (element instanceof Union) {
512
- tmp_0 = element.tw(VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
501
+ tmp_0 = element.rw(VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
513
502
  } else {
514
503
  if (element instanceof Enum) {
515
- tmp_0 = element.gx(VOID, VOID, VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
504
+ tmp_0 = element.ex(VOID, VOID, VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
516
505
  } else {
517
506
  if (element instanceof Struct) {
518
- tmp_0 = element.sx(VOID, VOID, VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
507
+ tmp_0 = element.qx(VOID, VOID, VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
519
508
  } else {
520
509
  if (element instanceof Function) {
521
- tmp_0 = element.fy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
510
+ tmp_0 = element.dy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
522
511
  } else {
523
512
  tmp_0 = element;
524
513
  }
@@ -547,7 +536,7 @@ function KotlinEmitter$emitGenerator$lambda_1(it) {
547
536
  }
548
537
  function KotlinEmitter$emitGenerator$lambda_2(this$0) {
549
538
  return function (it) {
550
- return import_0(this$0.g35().bt_1 + '.model', it);
539
+ return import_0(this$0.u37().bt_1 + '.model', it);
551
540
  };
552
541
  }
553
542
  function KotlinEmitter$emit$lambda(this$0) {
@@ -563,31 +552,31 @@ function KotlinEmitter$emit$lambda_0(this$0) {
563
552
  function KotlinEmitter(packageName, emitShared) {
564
553
  Companion_getInstance_0();
565
554
  packageName = packageName === VOID ? Companion_instance_0.at('community.flock.wirespec.generated') : packageName;
566
- emitShared = emitShared === VOID ? Companion_instance_1.fq() : emitShared;
567
- this.h35_1 = packageName;
568
- this.i35_1 = emitShared;
569
- this.j35_1 = KotlinGenerator_getInstance();
570
- this.k35_1 = FileExtension_Kotlin_getInstance();
571
- this.l35_1 = true;
572
- this.m35_1 = listOf_0([import_0('community.flock.wirespec.kotlin', 'Wirespec'), import_0('kotlin.reflect', 'typeOf')]);
555
+ emitShared = emitShared === VOID ? Companion_instance_1.gq() : emitShared;
556
+ this.v37_1 = packageName;
557
+ this.w37_1 = emitShared;
558
+ this.x37_1 = KotlinGenerator_getInstance();
559
+ this.y37_1 = FileExtension_Kotlin_getInstance();
560
+ this.z37_1 = true;
561
+ this.a38_1 = listOf_0([import_0('community.flock.wirespec.kotlin', 'Wirespec'), import_0('kotlin.reflect', 'typeOf')]);
573
562
  var tmp = this;
574
- tmp.n35_1 = lazy(KotlinEmitter$sanitizationConfig$delegate$lambda(this));
563
+ tmp.b38_1 = lazy(KotlinEmitter$sanitizationConfig$delegate$lambda(this));
575
564
  var tmp_0 = this;
576
- tmp_0.o35_1 = lazy(KotlinEmitter$modelSanitizationConfig$delegate$lambda(this));
565
+ tmp_0.c38_1 = lazy(KotlinEmitter$modelSanitizationConfig$delegate$lambda(this));
577
566
  }
578
- protoOf(KotlinEmitter).g35 = function () {
579
- return this.h35_1;
567
+ protoOf(KotlinEmitter).u37 = function () {
568
+ return this.v37_1;
580
569
  };
581
- protoOf(KotlinEmitter).d1b = function () {
582
- return this.j35_1;
570
+ protoOf(KotlinEmitter).l1b = function () {
571
+ return this.x37_1;
583
572
  };
584
- protoOf(KotlinEmitter).wp = function () {
585
- return this.k35_1;
573
+ protoOf(KotlinEmitter).xp = function () {
574
+ return this.y37_1;
586
575
  };
587
- protoOf(KotlinEmitter).vp = function () {
588
- return this.l35_1;
576
+ protoOf(KotlinEmitter).wp = function () {
577
+ return this.z37_1;
589
578
  };
590
- protoOf(KotlinEmitter).y1a = function () {
579
+ protoOf(KotlinEmitter).g1b = function () {
591
580
  var packageName = Companion_instance_0.at('community.flock.wirespec.kotlin');
592
581
  var clientServer = convertClientServer();
593
582
  // Inline function 'community.flock.wirespec.compiler.core.ir.transform' call
@@ -596,48 +585,48 @@ protoOf(KotlinEmitter).y1a = function () {
596
585
  // Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
597
586
  var tmp = scope;
598
587
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
599
- var this_1 = scope.q18_1;
588
+ var this_1 = scope.e19_1;
600
589
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
601
590
  // Inline function 'kotlin.apply' call
602
591
  var this_2 = new TransformerBuilder();
603
- this_2.k19(KotlinEmitter$emitShared$lambda);
604
- var tmp$ret$4 = this_2.f19();
605
- tmp.q18_1 = transform(this_1, tmp$ret$4);
592
+ this_2.y19(KotlinEmitter$emitShared$lambda);
593
+ var tmp$ret$4 = this_2.t19();
594
+ tmp.e19_1 = transform(this_1, tmp$ret$4);
606
595
  // Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.injectAfter' call
607
596
  var tmp_0 = scope;
608
597
  // Inline function 'community.flock.wirespec.compiler.core.ir.injectAfter' call
609
598
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
610
- var this_3 = scope.q18_1;
599
+ var this_3 = scope.e19_1;
611
600
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
612
601
  // Inline function 'kotlin.apply' call
613
602
  var this_4 = new TransformerBuilder();
614
- this_4.k19(KotlinEmitter$emitShared$lambda_0(clientServer));
615
- var tmp$ret$10 = this_4.f19();
616
- tmp_0.q18_1 = transform(this_3, tmp$ret$10);
617
- var tmp_1 = scope.q18_1;
603
+ this_4.y19(KotlinEmitter$emitShared$lambda_0(clientServer));
604
+ var tmp$ret$10 = this_4.t19();
605
+ tmp_0.e19_1 = transform(this_3, tmp$ret$10);
606
+ var tmp_1 = scope.e19_1;
618
607
  var wirespecShared = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
619
608
  var tmp_2;
620
- if (this.i35_1.gq_1) {
609
+ if (this.w37_1.hq_1) {
621
610
  tmp_2 = withExplicitVisibility(this, wirespecShared);
622
611
  } else {
623
612
  tmp_2 = null;
624
613
  }
625
614
  return tmp_2;
626
615
  };
627
- protoOf(KotlinEmitter).cs = function (definition, module_0, logger) {
616
+ protoOf(KotlinEmitter).ds = function (definition, module_0, logger) {
628
617
  var file = emit.call(this, definition, module_0, logger);
629
618
  // Inline function 'kotlin.takeIf' call
630
- var this_0 = this.m35_1;
619
+ var this_0 = this.a38_1;
631
620
  var tmp;
632
- if (Companion_instance.zr(module_0)) {
621
+ if (Companion_instance.as(module_0)) {
633
622
  tmp = this_0;
634
623
  } else {
635
624
  tmp = null;
636
625
  }
637
626
  var tmp$ret$0 = tmp;
638
- return placeInPackage(prependImports(file, tmp$ret$0), this.g35(), definition);
627
+ return placeInPackage(prependImports(file, tmp$ret$0), this.u37(), definition);
639
628
  };
640
- protoOf(KotlinEmitter).g1b = function (definition, module_0) {
629
+ protoOf(KotlinEmitter).o1b = function (definition, module_0) {
641
630
  var tmp;
642
631
  if (definition instanceof Type) {
643
632
  tmp = convertToGenerator_2(definition, module_0);
@@ -664,30 +653,30 @@ protoOf(KotlinEmitter).g1b = function (definition, module_0) {
664
653
  tmp_0 = _get_sanitizationConfig__sns434(this);
665
654
  }
666
655
  var sanitized = sanitizeNames(generatorFile, tmp_0);
667
- var generatorOwnName = definition.ds().o1() + 'Generator';
656
+ var generatorOwnName = definition.es().o1() + 'Generator';
668
657
  var tmp_1 = asSequence(collectCustomTypeNames(sanitized));
669
658
  var tmp_2 = filterNot(tmp_1, KotlinEmitter$emitGenerator$lambda);
670
659
  var tmp_3 = filterNot(tmp_2, KotlinEmitter$emitGenerator$lambda_0(generatorOwnName));
671
660
  var tmp_4 = distinct(map(tmp_3, KotlinEmitter$emitGenerator$lambda_1));
672
661
  var modelImports = toList(map(tmp_4, KotlinEmitter$emitGenerator$lambda_2(this)));
673
- return placeInPackage_0(prependImports(sanitized, plus_0(this.m35_1, modelImports)), this.g35(), 'generator');
662
+ return placeInPackage_0(prependImports(sanitized, plus_0(this.a38_1, modelImports)), this.u37(), 'generator');
674
663
  };
675
- protoOf(KotlinEmitter).us = function (type, module_0) {
676
- var tmp = sanitizeNames(convertWithValidation(type, module_0), _get_modelSanitizationConfig__vgg831(this));
664
+ protoOf(KotlinEmitter).vs = function (type, module_0) {
665
+ var tmp = sanitizeNames(convert_0(type), _get_modelSanitizationConfig__vgg831(this));
677
666
  return ensureEmptyStructHasConstructor(sanitizeEnumDefaults(tmp, KotlinEmitter$emit$lambda(this)));
678
667
  };
679
- protoOf(KotlinEmitter).ss = function (enum_0, module_0) {
680
- var tmp = sanitizeNames(convert_0(enum_0), _get_sanitizationConfig__sns434(this));
668
+ protoOf(KotlinEmitter).ts = function (enum_0, module_0) {
669
+ var tmp = sanitizeNames(convert_1(enum_0), _get_sanitizationConfig__sns434(this));
681
670
  return injectEnumLabelField(tmp, KotlinEmitter$emit$lambda_0(this));
682
671
  };
683
- protoOf(KotlinEmitter).is = function (union) {
684
- return sanitizeNames(convert_1(union), _get_sanitizationConfig__sns434(this));
672
+ protoOf(KotlinEmitter).js = function (union) {
673
+ return sanitizeNames(convert_2(union), _get_sanitizationConfig__sns434(this));
685
674
  };
686
- protoOf(KotlinEmitter).ns = function (refined) {
687
- var file = sanitizeNames(convert_2(refined), _get_sanitizationConfig__sns434(this));
675
+ protoOf(KotlinEmitter).os = function (refined) {
676
+ var file = sanitizeNames(convert_3(refined), _get_sanitizationConfig__sns434(this));
688
677
  // Inline function 'community.flock.wirespec.compiler.core.ir.findElement' call
689
678
  // Inline function 'kotlin.collections.filterIsInstance' call
690
- var tmp0 = file.jv();
679
+ var tmp0 = file.hv();
691
680
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
692
681
  var destination = ArrayList_init_$Create$_0();
693
682
  var _iterator__ex2g4s = tmp0.t();
@@ -699,13 +688,13 @@ protoOf(KotlinEmitter).ns = function (refined) {
699
688
  }
700
689
  var tmp0_safe_receiver = firstOrNull_0(destination);
701
690
  var updatedStruct = tmp0_safe_receiver == null ? null : markMembersAsOverride(tmp0_safe_receiver);
702
- return new File(Companion_getInstance().wt(sanitize(this, refined.ls_1)), listOfNotNull(updatedStruct));
691
+ return new File(Companion_getInstance().au(sanitize(this, refined.ms_1)), listOfNotNull(updatedStruct));
703
692
  };
704
- protoOf(KotlinEmitter).ts = function (endpoint) {
705
- var imports = buildModelImports(endpoint, this.g35());
693
+ protoOf(KotlinEmitter).us = function (endpoint) {
694
+ var imports = buildModelImports(endpoint, this.u37());
706
695
  // Inline function 'community.flock.wirespec.compiler.core.ir.findElement' call
707
696
  // Inline function 'kotlin.collections.filterIsInstance' call
708
- var tmp0 = convert_3(endpoint).jv();
697
+ var tmp0 = convert_4(endpoint).hv();
709
698
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
710
699
  var destination = ArrayList_init_$Create$_0();
711
700
  var _iterator__ex2g4s = tmp0.t();
@@ -718,7 +707,7 @@ protoOf(KotlinEmitter).ts = function (endpoint) {
718
707
  var tmp$ret$0 = firstOrNull_0(destination);
719
708
  var endpointNamespace = ensureNotNull(tmp$ret$0);
720
709
  var body = injectApiObject(endpointNamespace, endpoint);
721
- var tmp = sanitizeNames(new File(Companion_getInstance().wt(sanitize(this, endpoint.fr_1)), listOf(body)), _get_sanitizationConfig__sns434(this));
710
+ var tmp = sanitizeNames(new File(Companion_getInstance().au(sanitize(this, endpoint.gr_1)), listOf(body)), _get_sanitizationConfig__sns434(this));
722
711
  // Inline function 'kotlin.takeIf' call
723
712
  var tmp_0;
724
713
  // Inline function 'kotlin.collections.isNotEmpty' call
@@ -730,10 +719,10 @@ protoOf(KotlinEmitter).ts = function (endpoint) {
730
719
  var tmp$ret$3 = tmp_0;
731
720
  return prependImports(tmp, tmp$ret$3);
732
721
  };
733
- protoOf(KotlinEmitter).hs = function (channel) {
734
- var tmp = sanitizeNames(convert_4(channel), _get_sanitizationConfig__sns434(this));
722
+ protoOf(KotlinEmitter).is = function (channel) {
723
+ var tmp = sanitizeNames(convert_5(channel), _get_sanitizationConfig__sns434(this));
735
724
  // Inline function 'kotlin.takeIf' call
736
- var this_0 = buildModelImports(channel, this.g35());
725
+ var this_0 = buildModelImports(channel, this.u37());
737
726
  var tmp_0;
738
727
  // Inline function 'kotlin.collections.isNotEmpty' call
739
728
  if (!this_0.r()) {
@@ -744,10 +733,10 @@ protoOf(KotlinEmitter).hs = function (channel) {
744
733
  var tmp$ret$0 = tmp_0;
745
734
  return prependImports(tmp, tmp$ret$0);
746
735
  };
747
- protoOf(KotlinEmitter).gs = function (rpc) {
748
- var tmp = sanitizeNames(convert_5(rpc), _get_sanitizationConfig__sns434(this));
736
+ protoOf(KotlinEmitter).hs = function (rpc) {
737
+ var tmp = sanitizeNames(convert_6(rpc), _get_sanitizationConfig__sns434(this));
749
738
  // Inline function 'kotlin.takeIf' call
750
- var this_0 = buildModelImports(rpc, this.g35());
739
+ var this_0 = buildModelImports(rpc, this.u37());
751
740
  var tmp_0;
752
741
  // Inline function 'kotlin.collections.isNotEmpty' call
753
742
  if (!this_0.r()) {
@@ -758,25 +747,25 @@ protoOf(KotlinEmitter).gs = function (rpc) {
758
747
  var tmp$ret$0 = tmp_0;
759
748
  return prependImports(tmp, tmp$ret$0);
760
749
  };
761
- protoOf(KotlinEmitter).f1b = function (endpoint) {
762
- var imports = buildModelImports(endpoint, this.g35());
763
- var endpointImport = import_0(this.g35().bt_1 + '.endpoint', endpoint.fr_1.o1());
750
+ protoOf(KotlinEmitter).n1b = function (endpoint) {
751
+ var imports = buildModelImports(endpoint, this.u37());
752
+ var endpointImport = import_0(this.u37().bt_1 + '.endpoint', endpoint.gr_1.o1());
764
753
  var file = sanitizeNames(emitEndpointClient.call(this, endpoint), _get_sanitizationConfig__sns434(this));
765
- var subPackageName = plus_1(this.g35(), 'client');
766
- var tmp = Companion_getInstance().wt(subPackageName.dt() + file.hv_1.zt());
754
+ var subPackageName = plus_1(this.u37(), 'client');
755
+ var tmp = Companion_getInstance().au(subPackageName.dt() + file.fv_1.du());
767
756
  // Inline function 'kotlin.collections.buildList' call
768
757
  // Inline function 'kotlin.collections.buildListInternal' call
769
758
  // Inline function 'kotlin.apply' call
770
759
  var this_0 = ArrayList_init_$Create$_0();
771
760
  this_0.x(new Package(subPackageName.bt_1));
772
- this_0.g1(this.m35_1);
761
+ this_0.g1(this.a38_1);
773
762
  this_0.g1(imports);
774
763
  this_0.x(endpointImport);
775
- this_0.g1(file.iv_1);
776
- var tmp$ret$0 = this_0.q5();
764
+ this_0.g1(file.gv_1);
765
+ var tmp$ret$0 = this_0.r5();
777
766
  return new File(tmp, tmp$ret$0);
778
767
  };
779
- protoOf(KotlinEmitter).z1a = function (endpoints, logger) {
768
+ protoOf(KotlinEmitter).h1b = function (endpoints, logger) {
780
769
  // Inline function 'kotlin.collections.flatMap' call
781
770
  // Inline function 'kotlin.collections.flatMapTo' call
782
771
  var destination = ArrayList_init_$Create$_0();
@@ -792,7 +781,7 @@ protoOf(KotlinEmitter).z1a = function (endpoints, logger) {
792
781
  var _iterator__ex2g4s_0 = destination.t();
793
782
  while (_iterator__ex2g4s_0.u()) {
794
783
  var e = _iterator__ex2g4s_0.v();
795
- var key = e.n19_1;
784
+ var key = e.b1a_1;
796
785
  if (set.x(key)) {
797
786
  list_0.x(e);
798
787
  }
@@ -803,7 +792,7 @@ protoOf(KotlinEmitter).z1a = function (endpoints, logger) {
803
792
  var _iterator__ex2g4s_1 = list_0.t();
804
793
  while (_iterator__ex2g4s_1.u()) {
805
794
  var item = _iterator__ex2g4s_1.v();
806
- var tmp$ret$7 = import_0(this.g35().bt_1 + '.model', item.n19_1);
795
+ var tmp$ret$7 = import_0(this.u37().bt_1 + '.model', item.b1a_1);
807
796
  destination_0.x(tmp$ret$7);
808
797
  }
809
798
  var imports = destination_0;
@@ -813,7 +802,7 @@ protoOf(KotlinEmitter).z1a = function (endpoints, logger) {
813
802
  var _iterator__ex2g4s_2 = endpoints.t();
814
803
  while (_iterator__ex2g4s_2.u()) {
815
804
  var item_0 = _iterator__ex2g4s_2.v();
816
- var tmp$ret$10 = import_0(this.g35().bt_1 + '.endpoint', item_0.fr_1.o1());
805
+ var tmp$ret$10 = import_0(this.u37().bt_1 + '.endpoint', item_0.gr_1.o1());
817
806
  destination_1.x(tmp$ret$10);
818
807
  }
819
808
  var endpointImports = destination_1;
@@ -823,22 +812,22 @@ protoOf(KotlinEmitter).z1a = function (endpoints, logger) {
823
812
  var _iterator__ex2g4s_3 = endpoints.t();
824
813
  while (_iterator__ex2g4s_3.u()) {
825
814
  var item_1 = _iterator__ex2g4s_3.v();
826
- var tmp$ret$13 = import_0(this.g35().bt_1 + '.client', item_1.fr_1.o1() + 'Client');
815
+ var tmp$ret$13 = import_0(this.u37().bt_1 + '.client', item_1.gr_1.o1() + 'Client');
827
816
  destination_2.x(tmp$ret$13);
828
817
  }
829
818
  var clientImports = destination_2;
830
819
  var allImports = plus_0(plus_0(imports, endpointImports), clientImports);
831
820
  var file = sanitizeNames(emitClient.call(this, endpoints, logger), _get_sanitizationConfig__sns434(this));
832
- var tmp = Companion_getInstance().wt(this.g35().dt() + file.hv_1.zt());
821
+ var tmp = Companion_getInstance().au(this.u37().dt() + file.fv_1.du());
833
822
  // Inline function 'kotlin.collections.buildList' call
834
823
  // Inline function 'kotlin.collections.buildListInternal' call
835
824
  // Inline function 'kotlin.apply' call
836
825
  var this_0 = ArrayList_init_$Create$_0();
837
- this_0.x(new Package(this.g35().bt_1));
838
- this_0.g1(this.m35_1);
826
+ this_0.x(new Package(this.u37().bt_1));
827
+ this_0.g1(this.a38_1);
839
828
  this_0.g1(allImports);
840
- this_0.g1(file.iv_1);
841
- var tmp$ret$14 = this_0.q5();
829
+ this_0.g1(file.gv_1);
830
+ var tmp$ret$14 = this_0.r5();
842
831
  return new File(tmp, tmp$ret$14);
843
832
  };
844
833
  function buildModelImports(_this__u8e3s4, packageName) {
@@ -849,7 +838,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
849
838
  var _iterator__ex2g4s = this_0.t();
850
839
  while (_iterator__ex2g4s.u()) {
851
840
  var e = _iterator__ex2g4s.v();
852
- var key = e.n19_1;
841
+ var key = e.b1a_1;
853
842
  if (set.x(key)) {
854
843
  list.x(e);
855
844
  }
@@ -860,7 +849,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
860
849
  var _iterator__ex2g4s_0 = list.t();
861
850
  while (_iterator__ex2g4s_0.u()) {
862
851
  var item = _iterator__ex2g4s_0.v();
863
- var tmp$ret$4 = import_0(packageName.bt_1 + '.model', Companion_getInstance().wt(item.n19_1).zt());
852
+ var tmp$ret$4 = import_0(packageName.bt_1 + '.model', Companion_getInstance().au(item.b1a_1).du());
864
853
  destination.x(tmp$ret$4);
865
854
  }
866
855
  return destination;
@@ -872,20 +861,20 @@ function injectApiObject(_this__u8e3s4, endpoint) {
872
861
  var tmp = scope;
873
862
  // Inline function 'community.flock.wirespec.compiler.core.ir.injectAfter' call
874
863
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
875
- var this_0 = scope.q18_1;
864
+ var this_0 = scope.e19_1;
876
865
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
877
866
  // Inline function 'kotlin.apply' call
878
867
  var this_1 = new TransformerBuilder();
879
- this_1.k19(injectApiObject$lambda(endpoint));
880
- var tmp$ret$5 = this_1.f19();
881
- tmp.q18_1 = transform(this_0, tmp$ret$5);
882
- var tmp_0 = scope.q18_1;
868
+ this_1.y19(injectApiObject$lambda(endpoint));
869
+ var tmp$ret$5 = this_1.t19();
870
+ tmp.e19_1 = transform(this_0, tmp$ret$5);
871
+ var tmp_0 = scope.e19_1;
883
872
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
884
873
  }
885
874
  function buildApiObject(endpoint) {
886
- var pathTemplate = '/' + joinToString(endpoint.hr_1, '/', VOID, VOID, VOID, VOID, buildApiObject$lambda);
875
+ var pathTemplate = '/' + joinToString(endpoint.ir_1, '/', VOID, VOID, VOID, VOID, buildApiObject$lambda);
887
876
  // Inline function 'kotlin.let' call
888
- var p0 = trimMargin('\n |object api : Wirespec.Server<Request, Response<*>>, Wirespec.Client<Request, Response<*>> {\n | override val pathTemplate = "' + pathTemplate + '"\n | override val method = "' + endpoint.gr_1.toString() + '"\n | override fun server(serialization: Wirespec.Serialization) = object : Wirespec.ServerEdge<Request, Response<*>> {\n | override fun from(request: Wirespec.RawRequest) = fromRawRequest(serialization, request)\n | override fun to(response: Response<*>) = toRawResponse(serialization, response)\n | }\n | override fun client(serialization: Wirespec.Serialization) = object : Wirespec.ClientEdge<Request, Response<*>> {\n | override fun to(request: Request) = toRawRequest(serialization, request)\n | override fun from(response: Wirespec.RawResponse) = fromRawResponse(serialization, response)\n | }\n |}\n ');
877
+ var p0 = trimMargin('\n |object api : Wirespec.Server<Request, Response<*>>, Wirespec.Client<Request, Response<*>> {\n | override val pathTemplate = "' + pathTemplate + '"\n | override val method = "' + endpoint.hr_1.toString() + '"\n | override fun server(serialization: Wirespec.Serialization) = object : Wirespec.ServerEdge<Request, Response<*>> {\n | override fun from(request: Wirespec.RawRequest) = fromRawRequest(serialization, request)\n | override fun to(response: Response<*>) = toRawResponse(serialization, response)\n | }\n | override fun client(serialization: Wirespec.Serialization) = object : Wirespec.ClientEdge<Request, Response<*>> {\n | override fun to(request: Request) = toRawRequest(serialization, request)\n | override fun from(response: Wirespec.RawResponse) = fromRawResponse(serialization, response)\n | }\n |}\n ');
889
878
  return raw(p0);
890
879
  }
891
880
  function injectApiObject$lambda($endpoint) {
@@ -897,22 +886,22 @@ function injectApiObject$lambda($endpoint) {
897
886
  // Inline function 'kotlin.collections.isNotEmpty' call
898
887
  if (!injected.r()) {
899
888
  // Inline function 'community.flock.wirespec.compiler.core.ir.withElements' call
900
- var elements = plus_0(element.jv(), injected);
889
+ var elements = plus_0(element.hv(), injected);
901
890
  var tmp_1;
902
891
  if (element instanceof File) {
903
- tmp_1 = element.lv(VOID, elements);
892
+ tmp_1 = element.jv(VOID, elements);
904
893
  } else {
905
894
  if (element instanceof Struct) {
906
- tmp_1 = element.sx(VOID, VOID, VOID, VOID, elements);
895
+ tmp_1 = element.qx(VOID, VOID, VOID, VOID, elements);
907
896
  } else {
908
897
  if (element instanceof Namespace) {
909
- tmp_1 = element.sv(VOID, elements);
898
+ tmp_1 = element.qv(VOID, elements);
910
899
  } else {
911
900
  if (element instanceof Interface) {
912
- tmp_1 = element.bw(VOID, elements);
901
+ tmp_1 = element.zv(VOID, elements);
913
902
  } else {
914
903
  if (element instanceof Enum) {
915
- tmp_1 = element.gx(VOID, VOID, VOID, VOID, VOID, elements);
904
+ tmp_1 = element.ex(VOID, VOID, VOID, VOID, VOID, elements);
916
905
  } else {
917
906
  if (element instanceof Main) {
918
907
  tmp_1 = element;
@@ -940,10 +929,10 @@ function injectApiObject$lambda($endpoint) {
940
929
  function buildApiObject$lambda(it) {
941
930
  var tmp;
942
931
  if (it instanceof Literal) {
943
- tmp = it.w1a_1;
932
+ tmp = it.e1b_1;
944
933
  } else {
945
934
  if (it instanceof Param) {
946
- tmp = '{' + it.mr_1.o1() + '}';
935
+ tmp = '{' + it.nr_1.o1() + '}';
947
936
  } else {
948
937
  noWhenBranchMatchedException();
949
938
  }
@@ -951,10 +940,10 @@ function buildApiObject$lambda(it) {
951
940
  return tmp;
952
941
  }
953
942
  //region block: post-declaration
954
- protoOf(KotlinEmitter).a1b = get_extensions;
955
- protoOf(KotlinEmitter).to = emit_0;
956
- protoOf(KotlinEmitter).x1a = emit_1;
957
- protoOf(KotlinEmitter).c1b = beforeGenerate;
943
+ protoOf(KotlinEmitter).i1b = get_extensions;
944
+ protoOf(KotlinEmitter).uo = emit_0;
945
+ protoOf(KotlinEmitter).f1b = emit_1;
946
+ protoOf(KotlinEmitter).k1b = beforeGenerate;
958
947
  //endregion
959
948
  //region block: exports
960
949
  export {