@flock/wirespec 0.17.18 → 0.17.19
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.mjs +1148 -1148
- package/colormath-root-colormath.mjs +418 -418
- package/kotlin-kotlin-stdlib.mjs +5 -5
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-rgxgen.mjs +1766 -1766
- package/kotlinx-io-kotlinx-io-core.mjs +379 -379
- package/markdown.mjs +1829 -1829
- package/mordant-mordant.mjs +1582 -1582
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +205 -182
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +120 -120
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +104 -104
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +64 -64
- package/wirespec-src-compiler-emitters-typescript.mjs +43 -43
- package/wirespec-src-compiler-emitters-wirespec.mjs +27 -27
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +260 -260
- package/wirespec-src-converter-avro.mjs +269 -269
- package/wirespec-src-converter-openapi.mjs +370 -368
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-plugin-arguments.mjs +130 -130
- package/wirespec-src-plugin-cli.mjs +74 -74
- package/wirespec-src-plugin-npm.mjs +11 -11
- package/wirespec-src-tools-generator.mjs +13 -13
|
@@ -80,7 +80,7 @@ function emit(identifier) {
|
|
|
80
80
|
}
|
|
81
81
|
initMetadataForInterface(TypeScriptIdentifierEmitter, 'TypeScriptIdentifierEmitter');
|
|
82
82
|
function sanitizeSymbol(_this__u8e3s4) {
|
|
83
|
-
return this.
|
|
83
|
+
return this.n2b(_this__u8e3s4.b1());
|
|
84
84
|
}
|
|
85
85
|
function sanitizeSymbol_0(_this__u8e3s4) {
|
|
86
86
|
var tmp = asSequence(_this__u8e3s4);
|
|
@@ -96,7 +96,7 @@ function emit_0(type, module_0) {
|
|
|
96
96
|
while (tmp0_iterator.h()) {
|
|
97
97
|
var e = tmp0_iterator.i();
|
|
98
98
|
// Inline function 'community.flock.wirespec.emitters.typescript.TypeScriptTypeDefinitionEmitter.emit.<anonymous>' call
|
|
99
|
-
var key = e.
|
|
99
|
+
var key = e.l29_1;
|
|
100
100
|
if (set.e(key)) {
|
|
101
101
|
list.e(e);
|
|
102
102
|
}
|
|
@@ -107,11 +107,11 @@ function emit_0(type, module_0) {
|
|
|
107
107
|
while (tmp0_iterator_0.h()) {
|
|
108
108
|
var item = tmp0_iterator_0.i();
|
|
109
109
|
// Inline function 'community.flock.wirespec.emitters.typescript.TypeScriptTypeDefinitionEmitter.emit.<anonymous>' call
|
|
110
|
-
var tmp$ret$2 = 'import {' + item.
|
|
110
|
+
var tmp$ret$2 = 'import {' + item.l29_1 + "} from './" + item.l29_1 + "'";
|
|
111
111
|
destination.e(tmp$ret$2);
|
|
112
112
|
}
|
|
113
113
|
var tmp = destination;
|
|
114
|
-
return trimMargin('\n |' + joinToString(tmp, '\n', VOID, VOID, VOID, VOID, TypeScriptTypeDefinitionEmitter$emit$lambda) + '\n |export type ' + this.
|
|
114
|
+
return trimMargin('\n |' + joinToString(tmp, '\n', VOID, VOID, VOID, VOID, TypeScriptTypeDefinitionEmitter$emit$lambda) + '\n |export type ' + this.q2b(type.x23_1) + ' = {\n |' + this.x24(type.y23_1) + '\n |}\n |\n ');
|
|
115
115
|
}
|
|
116
116
|
function emit_1(_this__u8e3s4) {
|
|
117
117
|
// Inline function 'kotlin.let' call
|
|
@@ -129,10 +129,10 @@ function emit_1(_this__u8e3s4) {
|
|
|
129
129
|
tmp = 'any';
|
|
130
130
|
} else {
|
|
131
131
|
if (_this__u8e3s4 instanceof Custom) {
|
|
132
|
-
tmp = this.
|
|
132
|
+
tmp = this.n2b(_this__u8e3s4.l29_1);
|
|
133
133
|
} else {
|
|
134
134
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
135
|
-
tmp = this.
|
|
135
|
+
tmp = this.r2b(_this__u8e3s4);
|
|
136
136
|
} else {
|
|
137
137
|
noWhenBranchMatchedException();
|
|
138
138
|
}
|
|
@@ -146,7 +146,7 @@ function emit_1(_this__u8e3s4) {
|
|
|
146
146
|
return tmp + (_this__u8e3s4.jm() ? ' | undefined' : '');
|
|
147
147
|
}
|
|
148
148
|
function emitPrimitive(_this__u8e3s4) {
|
|
149
|
-
var tmp0_subject = _this__u8e3s4.
|
|
149
|
+
var tmp0_subject = _this__u8e3s4.p29_1;
|
|
150
150
|
var tmp;
|
|
151
151
|
if (tmp0_subject instanceof String_0) {
|
|
152
152
|
tmp = 'string';
|
|
@@ -177,7 +177,7 @@ function emit_2(_this__u8e3s4) {
|
|
|
177
177
|
tmp = Spacer_instance.toString() + 'return ' + _RegExp___get_value__impl__7o7618(_this__u8e3s4.a28_1) + '.test(value);';
|
|
178
178
|
} else {
|
|
179
179
|
if (_this__u8e3s4 instanceof Bound) {
|
|
180
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
180
|
+
var tmp1_safe_receiver = _this__u8e3s4.q28_1;
|
|
181
181
|
var tmp_0;
|
|
182
182
|
if (tmp1_safe_receiver == null) {
|
|
183
183
|
tmp_0 = null;
|
|
@@ -188,7 +188,7 @@ function emit_2(_this__u8e3s4) {
|
|
|
188
188
|
tmp_0 = tmp1_safe_receiver + ' < value';
|
|
189
189
|
}
|
|
190
190
|
var minCheck = tmp_0;
|
|
191
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
191
|
+
var tmp2_safe_receiver = _this__u8e3s4.r28_1;
|
|
192
192
|
var tmp_1;
|
|
193
193
|
if (tmp2_safe_receiver == null) {
|
|
194
194
|
tmp_1 = null;
|
|
@@ -265,7 +265,7 @@ function emitClient(ast) {
|
|
|
265
265
|
while (tmp0_iterator_1.h()) {
|
|
266
266
|
var e = tmp0_iterator_1.i();
|
|
267
267
|
// Inline function 'community.flock.wirespec.emitters.typescript.TypeScriptClientEmitter.emitClient.<anonymous>' call
|
|
268
|
-
var key = e.
|
|
268
|
+
var key = e.l29_1;
|
|
269
269
|
if (set.e(key)) {
|
|
270
270
|
list_1.e(e);
|
|
271
271
|
}
|
|
@@ -286,7 +286,7 @@ function emit_5(endpoint) {
|
|
|
286
286
|
while (tmp0_iterator.h()) {
|
|
287
287
|
var e = tmp0_iterator.i();
|
|
288
288
|
// Inline function 'community.flock.wirespec.emitters.typescript.TypeScriptEndpointDefinitionEmitter.emit.<anonymous>' call
|
|
289
|
-
var key = e.
|
|
289
|
+
var key = e.l29_1;
|
|
290
290
|
if (set.e(key)) {
|
|
291
291
|
list.e(e);
|
|
292
292
|
}
|
|
@@ -297,12 +297,12 @@ function emit_5(endpoint) {
|
|
|
297
297
|
while (tmp0_iterator_0.h()) {
|
|
298
298
|
var item = tmp0_iterator_0.i();
|
|
299
299
|
// Inline function 'community.flock.wirespec.emitters.typescript.TypeScriptEndpointDefinitionEmitter.emit.<anonymous>' call
|
|
300
|
-
var tmp$ret$2 = 'import {type ' + item.
|
|
300
|
+
var tmp$ret$2 = 'import {type ' + item.l29_1 + "} from '../model'";
|
|
301
301
|
destination.e(tmp$ret$2);
|
|
302
302
|
}
|
|
303
303
|
var tmp = destination;
|
|
304
304
|
var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, TypeScriptEndpointDefinitionEmitter$emit$lambda);
|
|
305
|
-
var tmp_1 = this.
|
|
305
|
+
var tmp_1 = this.q2b(endpoint.g24_1);
|
|
306
306
|
var tmp_2 = get_pathParams(endpoint);
|
|
307
307
|
var tmp_3 = emitType(tmp_2, this, 'Path', TypeScriptEndpointDefinitionEmitter$emit$lambda_0(this));
|
|
308
308
|
var tmp_4 = emitType(endpoint.j24_1, this, 'Queries', TypeScriptEndpointDefinitionEmitter$emit$lambda_1(this));
|
|
@@ -324,36 +324,36 @@ function emit_5(endpoint) {
|
|
|
324
324
|
var tmp_20 = prependIndent(emitServer(endpoint, this), Spacer_instance.s26(1));
|
|
325
325
|
var tmp_21 = Spacer_instance.toString();
|
|
326
326
|
var tmp_22 = Spacer_instance.s26(2);
|
|
327
|
-
var tmp_23 = Companion_instance_0.r25(this.
|
|
327
|
+
var tmp_23 = Companion_instance_0.r25(this.q2b(endpoint.g24_1));
|
|
328
328
|
var tmp_24 = Spacer_instance.s26(2);
|
|
329
329
|
var tmp_25 = Spacer_instance.s26(2);
|
|
330
330
|
return trimMargin('\n |' + tmp_0 + '\n |export namespace ' + tmp_1 + ' {\n |' + tmp_3 + '\n |' + tmp_4 + '\n |' + tmp_5 + '\n |' + tmp_6 + '\n |' + tmp_8 + '\n |' + tmp_9 + 'export type Response = ' + tmp_11 + '\n |' + tmp_12 + '\n |' + tmp_14 + '\n |' + tmp_15 + 'export type Handler = {\n |' + tmp_16 + tmp_17 + '\n |' + tmp_18 + '}\n |' + tmp_19 + '\n |' + tmp_20 + '\n |' + tmp_21 + 'export const api = {\n |' + tmp_22 + 'name: "' + tmp_23 + '",\n |' + tmp_24 + 'method: "' + endpoint.h24_1.q2_1 + '",\n |' + tmp_25 + 'path: "' + joinToString(endpoint.i24_1, '/', VOID, VOID, VOID, VOID, TypeScriptEndpointDefinitionEmitter$emit$lambda_6(this)) + '",\n |' + Spacer_instance.s26(2) + 'server,\n |' + Spacer_instance.s26(2) + 'client\n |' + Spacer_instance.toString() + '} as const\n |}\n |\n ');
|
|
331
331
|
}
|
|
332
332
|
initMetadataForInterface(TypeScriptEndpointDefinitionEmitter, 'TypeScriptEndpointDefinitionEmitter', VOID, VOID, [TypeScriptTypeDefinitionEmitter]);
|
|
333
333
|
function emit_6(enum_0, module_0) {
|
|
334
|
-
var tmp = this.
|
|
334
|
+
var tmp = this.q2b(enum_0.i26_1);
|
|
335
335
|
return 'export type ' + tmp + ' = ' + joinToString(enum_0.j26_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEnumDefinitionEmitter$emit$lambda) + '\n';
|
|
336
336
|
}
|
|
337
337
|
initMetadataForInterface(TypeScriptEnumDefinitionEmitter, 'TypeScriptEnumDefinitionEmitter', VOID, VOID, [TypeScriptTypeDefinitionEmitter]);
|
|
338
338
|
function emit_7(refined) {
|
|
339
|
-
return trimMargin('\n |export type ' + this.
|
|
339
|
+
return trimMargin('\n |export type ' + this.q2b(refined.d26_1) + ' = ' + this.z24(refined.e26_1) + ';\n |export const validate' + refined.d26_1.b1() + ' = (value: ' + this.z24(refined.e26_1) + '): value is ' + this.q2b(refined.d26_1) + ' => {\n |' + this.m26(refined) + '\n |}\n |\n ');
|
|
340
340
|
}
|
|
341
341
|
function emitValidator(_this__u8e3s4) {
|
|
342
342
|
var defaultReturn = Spacer_instance.toString() + 'return true;';
|
|
343
|
-
var type = _this__u8e3s4.e26_1.
|
|
343
|
+
var type = _this__u8e3s4.e26_1.p29_1;
|
|
344
344
|
var tmp;
|
|
345
345
|
if (type instanceof Integer) {
|
|
346
|
-
var tmp0_safe_receiver = type.
|
|
346
|
+
var tmp0_safe_receiver = type.v28_1;
|
|
347
347
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.a25(tmp0_safe_receiver);
|
|
348
348
|
tmp = tmp1_elvis_lhs == null ? defaultReturn : tmp1_elvis_lhs;
|
|
349
349
|
} else {
|
|
350
350
|
if (type instanceof Number_0) {
|
|
351
|
-
var tmp2_safe_receiver = type.
|
|
351
|
+
var tmp2_safe_receiver = type.y28_1;
|
|
352
352
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.a25(tmp2_safe_receiver);
|
|
353
353
|
tmp = tmp3_elvis_lhs == null ? defaultReturn : tmp3_elvis_lhs;
|
|
354
354
|
} else {
|
|
355
355
|
if (type instanceof String_0) {
|
|
356
|
-
var tmp4_safe_receiver = type.
|
|
356
|
+
var tmp4_safe_receiver = type.s28_1;
|
|
357
357
|
var tmp_0;
|
|
358
358
|
var tmp_1 = tmp4_safe_receiver;
|
|
359
359
|
if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
|
|
@@ -379,7 +379,7 @@ function emitValidator(_this__u8e3s4) {
|
|
|
379
379
|
return tmp;
|
|
380
380
|
}
|
|
381
381
|
initMetadataForInterface(TypeScriptRefinedTypeDefinitionEmitter, 'TypeScriptRefinedTypeDefinitionEmitter', VOID, VOID, [TypeScriptTypeDefinitionEmitter]);
|
|
382
|
-
initMetadataForClass(TypeScriptEmitter, 'TypeScriptEmitter', TypeScriptEmitter, LanguageEmitter, [LanguageEmitter, TypeScriptEndpointDefinitionEmitter, TypeScriptEnumDefinitionEmitter,
|
|
382
|
+
initMetadataForClass(TypeScriptEmitter, 'TypeScriptEmitter', TypeScriptEmitter, LanguageEmitter, [LanguageEmitter, TypeScriptTypeDefinitionEmitter, TypeScriptEndpointDefinitionEmitter, TypeScriptEnumDefinitionEmitter, TypeScriptClientEmitter, TypeScriptIdentifierEmitter, TypeScriptRefinedTypeDefinitionEmitter]);
|
|
383
383
|
initMetadataForObject(TypeScriptShared, 'TypeScriptShared');
|
|
384
384
|
//endregion
|
|
385
385
|
function emitClientInterface(_this__u8e3s4, $this, endpoint) {
|
|
@@ -450,7 +450,7 @@ function TypeScriptClientEmitter$emitClient$lambda(_destruct__k2r9zo) {
|
|
|
450
450
|
return 'import {' + endpoint.g24_1.b1() + '} from "./endpoint/' + endpoint.g24_1.b1() + '"';
|
|
451
451
|
}
|
|
452
452
|
function TypeScriptClientEmitter$emitClient$lambda_0(it) {
|
|
453
|
-
return 'import {type ' + it.
|
|
453
|
+
return 'import {type ' + it.l29_1 + '} from "./model/' + it.l29_1 + '"';
|
|
454
454
|
}
|
|
455
455
|
function TypeScriptClientEmitter$emitClient$lambda_1(this$0) {
|
|
456
456
|
return function (_destruct__k2r9zo) {
|
|
@@ -480,18 +480,18 @@ function TypeScriptEmitter$emit$lambda_1(this$0) {
|
|
|
480
480
|
}
|
|
481
481
|
function TypeScriptEmitter() {
|
|
482
482
|
LanguageEmitter.call(this);
|
|
483
|
-
this.
|
|
484
|
-
this.
|
|
485
|
-
this.
|
|
483
|
+
this.s2b_1 = FileExtension_TypeScript_getInstance();
|
|
484
|
+
this.t2b_1 = TypeScriptShared_getInstance();
|
|
485
|
+
this.u2b_1 = '//';
|
|
486
486
|
}
|
|
487
487
|
protoOf(TypeScriptEmitter).g25 = function () {
|
|
488
|
-
return this.
|
|
488
|
+
return this.s2b_1;
|
|
489
489
|
};
|
|
490
|
-
protoOf(TypeScriptEmitter).
|
|
491
|
-
return this.
|
|
490
|
+
protoOf(TypeScriptEmitter).s2a = function () {
|
|
491
|
+
return this.t2b_1;
|
|
492
492
|
};
|
|
493
493
|
protoOf(TypeScriptEmitter).h25 = function () {
|
|
494
|
-
return this.
|
|
494
|
+
return this.u2b_1;
|
|
495
495
|
};
|
|
496
496
|
protoOf(TypeScriptEmitter).q22 = function (ast, logger) {
|
|
497
497
|
// Inline function 'kotlin.run' call
|
|
@@ -500,7 +500,7 @@ protoOf(TypeScriptEmitter).q22 = function (ast, logger) {
|
|
|
500
500
|
var $this$run = protoOf(LanguageEmitter).q22.call(this, ast, logger);
|
|
501
501
|
var tmp;
|
|
502
502
|
if (hasEndpoints(ast)) {
|
|
503
|
-
tmp = $this$run.vk(this.
|
|
503
|
+
tmp = $this$run.vk(this.p2b(ast));
|
|
504
504
|
} else {
|
|
505
505
|
tmp = $this$run;
|
|
506
506
|
}
|
|
@@ -565,7 +565,7 @@ protoOf(TypeScriptEmitter).v25 = function (module_0, logger) {
|
|
|
565
565
|
// Inline function 'kotlin.let' call
|
|
566
566
|
// Inline function 'kotlin.contracts.contract' call
|
|
567
567
|
// Inline function 'community.flock.wirespec.emitters.typescript.TypeScriptEmitter.emit.<anonymous>' call
|
|
568
|
-
return protoOf(LanguageEmitter).v25.call(this, module_0, logger).vk(new Emitted('Wirespec', this.
|
|
568
|
+
return protoOf(LanguageEmitter).v25.call(this, module_0, logger).vk(new Emitted('Wirespec', this.s2a().w2b_1));
|
|
569
569
|
};
|
|
570
570
|
protoOf(TypeScriptEmitter).w25 = function (definition, module_0, logger) {
|
|
571
571
|
// Inline function 'kotlin.let' call
|
|
@@ -573,7 +573,7 @@ protoOf(TypeScriptEmitter).w25 = function (definition, module_0, logger) {
|
|
|
573
573
|
// Inline function 'community.flock.wirespec.emitters.typescript.TypeScriptEmitter.emit.<anonymous>' call
|
|
574
574
|
var it = protoOf(LanguageEmitter).w25.call(this, definition, module_0, logger);
|
|
575
575
|
var subPackageName = plus(Companion_instance.n26(''), definition);
|
|
576
|
-
return new Emitted(subPackageName.q26() + this.
|
|
576
|
+
return new Emitted(subPackageName.q26() + this.n2b(it.k23_1), trimMargin("\n |import {Wirespec} from '../Wirespec'\n |\n |" + it.l23_1 + '\n '));
|
|
577
577
|
};
|
|
578
578
|
protoOf(TypeScriptEmitter).a26 = function (union) {
|
|
579
579
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -585,7 +585,7 @@ protoOf(TypeScriptEmitter).a26 = function (union) {
|
|
|
585
585
|
while (tmp0_iterator.h()) {
|
|
586
586
|
var e = tmp0_iterator.i();
|
|
587
587
|
// Inline function 'community.flock.wirespec.emitters.typescript.TypeScriptEmitter.emit.<anonymous>' call
|
|
588
|
-
var key = e.
|
|
588
|
+
var key = e.l29_1;
|
|
589
589
|
if (set.e(key)) {
|
|
590
590
|
list.e(e);
|
|
591
591
|
}
|
|
@@ -596,12 +596,12 @@ protoOf(TypeScriptEmitter).a26 = function (union) {
|
|
|
596
596
|
while (tmp0_iterator_0.h()) {
|
|
597
597
|
var item = tmp0_iterator_0.i();
|
|
598
598
|
// Inline function 'community.flock.wirespec.emitters.typescript.TypeScriptEmitter.emit.<anonymous>' call
|
|
599
|
-
var tmp$ret$2 = 'import {type ' + item.
|
|
599
|
+
var tmp$ret$2 = 'import {type ' + item.l29_1 + "} from '../model'";
|
|
600
600
|
destination.e(tmp$ret$2);
|
|
601
601
|
}
|
|
602
602
|
var tmp = destination;
|
|
603
603
|
var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda_0);
|
|
604
|
-
var tmp_1 = this.
|
|
604
|
+
var tmp_1 = this.q2b(union.s23_1);
|
|
605
605
|
return trimMargin('\n |' + tmp_0 + '\n |export type ' + tmp_1 + ' = ' + joinToString(union.t23_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda_1(this)) + '\n |\n ');
|
|
606
606
|
};
|
|
607
607
|
protoOf(TypeScriptEmitter).z25 = function (channel) {
|
|
@@ -821,7 +821,7 @@ function emit_9(_this__u8e3s4, $this) {
|
|
|
821
821
|
return Spacer_instance.toString() + $this.y25(_this__u8e3s4.n24_1) + ': ' + $this.z24(_this__u8e3s4.o24_1);
|
|
822
822
|
}
|
|
823
823
|
function emit_10(_this__u8e3s4, $this) {
|
|
824
|
-
return $this.y25(_this__u8e3s4.l25_1) + (_this__u8e3s4.m25_1.jm() ? '?' : '') + ': ' + $this.z24(_this__u8e3s4.m25_1.
|
|
824
|
+
return $this.y25(_this__u8e3s4.l25_1) + (_this__u8e3s4.m25_1.jm() ? '?' : '') + ': ' + $this.z24(_this__u8e3s4.m25_1.f29(false));
|
|
825
825
|
}
|
|
826
826
|
function emitDeserialize(_this__u8e3s4, $this) {
|
|
827
827
|
return $this.y25(_this__u8e3s4.rd_1.n24_1) + ': serialization.deserialize(it.path[' + _this__u8e3s4.qd_1 + '])';
|
|
@@ -840,7 +840,7 @@ function joinToObject(_this__u8e3s4, $this, transform) {
|
|
|
840
840
|
return joinToString(_this__u8e3s4, ', ', '{', '}', VOID, VOID, transform);
|
|
841
841
|
}
|
|
842
842
|
function emitHandleFunction($this, endpoint) {
|
|
843
|
-
return Companion_instance_0.r25($this.
|
|
843
|
+
return Companion_instance_0.r25($this.q2b(endpoint.g24_1)) + ': (request:Request) => Promise<Response>';
|
|
844
844
|
}
|
|
845
845
|
function lowercase(_this__u8e3s4, $this) {
|
|
846
846
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -1000,8 +1000,8 @@ function TypeScriptRefinedTypeDefinitionEmitter() {
|
|
|
1000
1000
|
}
|
|
1001
1001
|
function TypeScriptShared() {
|
|
1002
1002
|
TypeScriptShared_instance = this;
|
|
1003
|
-
this.
|
|
1004
|
-
this.
|
|
1003
|
+
this.v2b_1 = 'community.flock.wirespec';
|
|
1004
|
+
this.w2b_1 = trimMargin('\n |export namespace Wirespec {\n |' + Spacer_instance.toString() + 'export type Method = "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE"\n |' + Spacer_instance.toString() + 'export type RawRequest = { method: Method, path: string[], queries: Record<string, string>, headers: Record<string, string>, body?: string }\n |' + Spacer_instance.toString() + 'export type RawResponse = { status: number, headers: Record<string, string>, body?: string }\n |' + Spacer_instance.toString() + 'export type Request<T> = { path: Record<string, unknown>, method: Method, queries?: Record<string, unknown>, headers?: Record<string, unknown>, body?:T }\n |' + Spacer_instance.toString() + 'export type Response<T> = { status:number, headers?: Record<string, unknown>, body?:T }\n |' + Spacer_instance.toString() + 'export type Serialization = { serialize: <T>(type: T) => string; deserialize: <T>(raw: string | undefined) => T }\n |' + Spacer_instance.toString() + 'export type Client<REQ extends Request<unknown>, RES extends Response<unknown>> = (serialization: Serialization) => { to: (request: REQ) => RawRequest; from: (response: RawResponse) => RES }\n |' + Spacer_instance.toString() + 'export type Server<REQ extends Request<unknown>, RES extends Response<unknown>> = (serialization: Serialization) => { from: (request: RawRequest) => REQ; to: (response: RES) => RawResponse }\n |' + Spacer_instance.toString() + 'export type Api<REQ extends Request<unknown>, RES extends Response<unknown>> = { name: string; method: Method, path: string, client: Client<REQ, RES>; server: Server<REQ, RES> }\n |}\n ');
|
|
1005
1005
|
}
|
|
1006
1006
|
protoOf(TypeScriptShared).toString = function () {
|
|
1007
1007
|
return 'TypeScriptShared';
|
|
@@ -1048,10 +1048,10 @@ protoOf(TypeScriptEmitter).y25 = emit;
|
|
|
1048
1048
|
protoOf(TypeScriptEmitter).l26 = emit_5;
|
|
1049
1049
|
protoOf(TypeScriptEmitter).f26 = emit_7;
|
|
1050
1050
|
protoOf(TypeScriptEmitter).m26 = emitValidator;
|
|
1051
|
-
protoOf(TypeScriptEmitter).
|
|
1052
|
-
protoOf(TypeScriptEmitter).
|
|
1053
|
-
protoOf(TypeScriptEmitter).
|
|
1054
|
-
protoOf(TypeScriptEmitter).
|
|
1051
|
+
protoOf(TypeScriptEmitter).q2b = sanitizeSymbol;
|
|
1052
|
+
protoOf(TypeScriptEmitter).n2b = sanitizeSymbol_0;
|
|
1053
|
+
protoOf(TypeScriptEmitter).r2b = emitPrimitive;
|
|
1054
|
+
protoOf(TypeScriptEmitter).p2b = emitClient;
|
|
1055
1055
|
protoOf(TypeScriptEmitter).c25 = emitClientEndpointRequest;
|
|
1056
1056
|
//endregion
|
|
1057
1057
|
//region block: exports
|
|
@@ -62,13 +62,13 @@ function emit(identifier) {
|
|
|
62
62
|
// Inline function 'kotlin.run' call
|
|
63
63
|
// Inline function 'kotlin.contracts.contract' call
|
|
64
64
|
// Inline function 'community.flock.wirespec.emitters.wirespec.WirespecIdentifierEmitter.emit.<anonymous>' call
|
|
65
|
-
tmp = Companion_getInstance().
|
|
65
|
+
tmp = Companion_getInstance().p2c_1.o1(identifier.b1()) ? addBackticks(identifier.b1()) : identifier.b1();
|
|
66
66
|
} else {
|
|
67
67
|
if (identifier instanceof FieldIdentifier) {
|
|
68
68
|
// Inline function 'kotlin.run' call
|
|
69
69
|
// Inline function 'kotlin.contracts.contract' call
|
|
70
70
|
// Inline function 'community.flock.wirespec.emitters.wirespec.WirespecIdentifierEmitter.emit.<anonymous>' call
|
|
71
|
-
tmp = Companion_getInstance().
|
|
71
|
+
tmp = Companion_getInstance().p2c_1.o1(identifier.b1()) || isUpperCase(first(identifier.b1())) ? addBackticks(identifier.b1()) : identifier.b1();
|
|
72
72
|
} else {
|
|
73
73
|
noWhenBranchMatchedException();
|
|
74
74
|
}
|
|
@@ -101,10 +101,10 @@ function emit_3(_this__u8e3s4) {
|
|
|
101
101
|
tmp = 'Any';
|
|
102
102
|
} else {
|
|
103
103
|
if (_this__u8e3s4 instanceof Custom) {
|
|
104
|
-
tmp = _this__u8e3s4.
|
|
104
|
+
tmp = _this__u8e3s4.l29_1;
|
|
105
105
|
} else {
|
|
106
106
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
107
|
-
var t = _this__u8e3s4.
|
|
107
|
+
var t = _this__u8e3s4.p29_1;
|
|
108
108
|
var tmp_0;
|
|
109
109
|
if (t instanceof String_0) {
|
|
110
110
|
tmp_0 = 'String';
|
|
@@ -117,7 +117,7 @@ function emit_3(_this__u8e3s4) {
|
|
|
117
117
|
} else {
|
|
118
118
|
if (t instanceof Integer) {
|
|
119
119
|
var tmp_1;
|
|
120
|
-
switch (t.
|
|
120
|
+
switch (t.u28_1.r2_1) {
|
|
121
121
|
case 0:
|
|
122
122
|
tmp_1 = 'Integer32';
|
|
123
123
|
break;
|
|
@@ -132,7 +132,7 @@ function emit_3(_this__u8e3s4) {
|
|
|
132
132
|
} else {
|
|
133
133
|
if (t instanceof Number_0) {
|
|
134
134
|
var tmp_2;
|
|
135
|
-
switch (t.
|
|
135
|
+
switch (t.x28_1.r2_1) {
|
|
136
136
|
case 0:
|
|
137
137
|
tmp_2 = 'Number32';
|
|
138
138
|
break;
|
|
@@ -185,30 +185,24 @@ function emit_6(union) {
|
|
|
185
185
|
return 'type ' + tmp + ' = ' + joinToString(union.t23_1, ' | ', VOID, VOID, VOID, VOID, WirespecUnionDefinitionEmitter$emit$lambda(this)) + '\n';
|
|
186
186
|
}
|
|
187
187
|
initMetadataForInterface(WirespecUnionDefinitionEmitter, 'WirespecUnionDefinitionEmitter', VOID, VOID, [WirespecTypeDefinitionEmitter]);
|
|
188
|
-
function emit_7(
|
|
189
|
-
var tmp = this.y25(enum_0.i26_1);
|
|
190
|
-
var tmp_0 = Spacer_instance.toString();
|
|
191
|
-
return 'enum ' + tmp + ' {\n' + tmp_0 + joinToString(enum_0.j26_1, ', ', VOID, VOID, VOID, VOID, WirespecEnumDefinitionEmitter$emit$lambda(this)) + '\n}\n';
|
|
192
|
-
}
|
|
193
|
-
initMetadataForInterface(WirespecEnumDefinitionEmitter, 'WirespecEnumDefinitionEmitter', VOID, VOID, [WirespecIdentifierEmitter]);
|
|
194
|
-
function emit_8(refined) {
|
|
188
|
+
function emit_7(refined) {
|
|
195
189
|
return 'type ' + this.y25(refined.d26_1) + ' = ' + this.z24(refined.e26_1) + this.m26(refined) + '\n';
|
|
196
190
|
}
|
|
197
191
|
function emitValidator(_this__u8e3s4) {
|
|
198
|
-
var type = _this__u8e3s4.e26_1.
|
|
192
|
+
var type = _this__u8e3s4.e26_1.p29_1;
|
|
199
193
|
var tmp;
|
|
200
194
|
if (type instanceof Integer) {
|
|
201
|
-
var tmp0_safe_receiver = type.
|
|
195
|
+
var tmp0_safe_receiver = type.v28_1;
|
|
202
196
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.a25(tmp0_safe_receiver);
|
|
203
197
|
tmp = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
204
198
|
} else {
|
|
205
199
|
if (type instanceof Number_0) {
|
|
206
|
-
var tmp2_safe_receiver = type.
|
|
200
|
+
var tmp2_safe_receiver = type.y28_1;
|
|
207
201
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.a25(tmp2_safe_receiver);
|
|
208
202
|
tmp = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
209
203
|
} else {
|
|
210
204
|
if (type instanceof String_0) {
|
|
211
|
-
var tmp4_safe_receiver = type.
|
|
205
|
+
var tmp4_safe_receiver = type.s28_1;
|
|
212
206
|
var tmp_0;
|
|
213
207
|
var tmp_1 = tmp4_safe_receiver;
|
|
214
208
|
if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
|
|
@@ -234,22 +228,28 @@ function emitValidator(_this__u8e3s4) {
|
|
|
234
228
|
return tmp;
|
|
235
229
|
}
|
|
236
230
|
initMetadataForInterface(WirespecRefinedTypeDefinitionEmitter, 'WirespecRefinedTypeDefinitionEmitter', VOID, VOID, [WirespecTypeDefinitionEmitter]);
|
|
237
|
-
|
|
231
|
+
function emit_8(enum_0, module_0) {
|
|
232
|
+
var tmp = this.y25(enum_0.i26_1);
|
|
233
|
+
var tmp_0 = Spacer_instance.toString();
|
|
234
|
+
return 'enum ' + tmp + ' {\n' + tmp_0 + joinToString(enum_0.j26_1, ', ', VOID, VOID, VOID, VOID, WirespecEnumDefinitionEmitter$emit$lambda(this)) + '\n}\n';
|
|
235
|
+
}
|
|
236
|
+
initMetadataForInterface(WirespecEnumDefinitionEmitter, 'WirespecEnumDefinitionEmitter', VOID, VOID, [WirespecIdentifierEmitter]);
|
|
237
|
+
initMetadataForClass(WirespecEmitter, 'WirespecEmitter', WirespecEmitter, LanguageEmitter, [LanguageEmitter, WirespecEndpointDefinitionEmitter, WirespecUnionDefinitionEmitter, WirespecChannelDefinitionEmitter, WirespecRefinedTypeDefinitionEmitter, WirespecIdentifierEmitter, WirespecTypeDefinitionEmitter, WirespecEnumDefinitionEmitter]);
|
|
238
238
|
initMetadataForCompanion(Companion);
|
|
239
239
|
//endregion
|
|
240
240
|
function WirespecChannelDefinitionEmitter() {
|
|
241
241
|
}
|
|
242
242
|
function WirespecEmitter() {
|
|
243
243
|
LanguageEmitter.call(this);
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
244
|
+
this.m2c_1 = FileExtension_Wirespec_getInstance();
|
|
245
|
+
this.n2c_1 = null;
|
|
246
|
+
this.o2c_1 = '\n';
|
|
247
247
|
}
|
|
248
248
|
protoOf(WirespecEmitter).g25 = function () {
|
|
249
|
-
return this.
|
|
249
|
+
return this.m2c_1;
|
|
250
250
|
};
|
|
251
251
|
protoOf(WirespecEmitter).h25 = function () {
|
|
252
|
-
return this.
|
|
252
|
+
return this.o2c_1;
|
|
253
253
|
};
|
|
254
254
|
protoOf(WirespecEmitter).q22 = function (ast, logger) {
|
|
255
255
|
// Inline function 'kotlin.let' call
|
|
@@ -282,7 +282,7 @@ protoOf(WirespecEmitter).a25 = function (_this__u8e3s4) {
|
|
|
282
282
|
tmp = '(' + _RegExp___get_value__impl__7o7618(_this__u8e3s4.a28_1) + ')';
|
|
283
283
|
} else {
|
|
284
284
|
if (_this__u8e3s4 instanceof Bound) {
|
|
285
|
-
tmp = '(' + _this__u8e3s4.
|
|
285
|
+
tmp = '(' + _this__u8e3s4.q28_1 + ', ' + _this__u8e3s4.r28_1 + ')';
|
|
286
286
|
} else {
|
|
287
287
|
noWhenBranchMatchedException();
|
|
288
288
|
}
|
|
@@ -449,7 +449,7 @@ function WirespecEnumDefinitionEmitter() {
|
|
|
449
449
|
}
|
|
450
450
|
function Companion() {
|
|
451
451
|
Companion_instance = this;
|
|
452
|
-
this.
|
|
452
|
+
this.p2c_1 = setOf(['type', 'enum', 'endpoint']);
|
|
453
453
|
}
|
|
454
454
|
var Companion_instance;
|
|
455
455
|
function Companion_getInstance() {
|
|
@@ -483,9 +483,9 @@ protoOf(WirespecEmitter).y24 = emit_2;
|
|
|
483
483
|
protoOf(WirespecEmitter).z24 = emit_3;
|
|
484
484
|
protoOf(WirespecEmitter).l26 = emit_5;
|
|
485
485
|
protoOf(WirespecEmitter).z25 = emit_4;
|
|
486
|
-
protoOf(WirespecEmitter).k26 =
|
|
486
|
+
protoOf(WirespecEmitter).k26 = emit_8;
|
|
487
487
|
protoOf(WirespecEmitter).a26 = emit_6;
|
|
488
|
-
protoOf(WirespecEmitter).f26 =
|
|
488
|
+
protoOf(WirespecEmitter).f26 = emit_7;
|
|
489
489
|
protoOf(WirespecEmitter).m26 = emitValidator;
|
|
490
490
|
//endregion
|
|
491
491
|
//region block: exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecIdentifierEmitter.kt","src/kotlin/util/Standard.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecTypeDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecChannelDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecEndpointDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecUnionDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecIdentifierEmitter.kt","src/kotlin/util/Standard.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecTypeDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecChannelDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecEndpointDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecUnionDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecRefinedTypeDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecEnumDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecEmitter.kt","../../../../../../../../../../../arrow/arrow/arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/NonEmptyList.kt","common/src/generated/_Collections.kt","src/kotlin/text/Strings.kt","src/kotlin/collections/Collections.kt","js/src/kotlin/dynamic.kt","js/src/kotlin/text/stringJs.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["emit","identifier","type","module","<this>","t","channel","endpoint","union","refined","emitValidator","enum","<init>","<get-extension>","<get-singleLineComment>","ast","logger","item","emitPath","emitRequest","emitQuery","emitHeader","WirespecEndpointDefinitionEmitter$emit$lambda","WirespecEndpointDefinitionEmitter$emit$lambda$lambda","it","WirespecEndpointDefinitionEmitter$emitPath$lambda","WirespecEndpointDefinitionEmitter$emitPath$lambda$lambda","WirespecEndpointDefinitionEmitter$emitQuery$lambda","WirespecEndpointDefinitionEmitter$emitQuery$lambda$lambda","WirespecEndpointDefinitionEmitter$emitHeader$lambda","WirespecEndpointDefinitionEmitter$emitHeader$lambda$lambda","capitalize","WirespecEnumDefinitionEmitter$emit$lambda","WirespecEnumDefinitionEmitter$emit$lambda$lambda","WirespecTypeDefinitionEmitter$emit$lambda","WirespecTypeDefinitionEmitter$emit$lambda$lambda","WirespecUnionDefinitionEmitter$emit$lambda","WirespecUnionDefinitionEmitter$emit$lambda$lambda"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAWIA,CAAkBC,UAAlBD,EAA4C;A;EACxC,IAD8C,UAC9C,iC;;;;UAAgD,wBAAS,KAAT,ICQrD,UDRqD,SAAiC,aCQtF,UDRgF,KAAM,CAAjC,GCQrD,UDR0G,K;;IACrG,IAF8C,UAE9C,4B;;;;YACQ,wBAAS,KAAT,ICUE,UDVF,UAA2C,YAAR,MCUjC,UDV2B,KAAM,CAAQ,CAA3C,GAAgE,aCU9D,UDVwD,KAAM,CAAhE,GCUE,UDVkF,K;;MAHpD,8B;;;EAK3C,U;AAAD,C;;eELAA,CAAkBE,I,EAAYC,QAA9BH,EAAgD;A,EAI3B,OAAZ,WAJ0C,k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