@powerlines/deepkit 0.5.0 → 0.5.1
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/dist/capnp.cjs +48 -47
- package/dist/capnp.js +3 -2
- package/dist/{chunk-TVDEXHJN.js → chunk-4V4LIAN2.js} +8 -9
- package/dist/chunk-7J3ZDT6O.cjs +30 -0
- package/dist/{chunk-U4JSDAXK.js → chunk-B6GTAZEL.js} +8 -7
- package/dist/{chunk-KYFUOGZ6.cjs → chunk-ESVH44QW.cjs} +9 -10
- package/dist/chunk-FFBZWTR7.cjs +63 -0
- package/dist/chunk-GRNJVY7I.cjs +19 -0
- package/dist/{chunk-DGXATHAN.js → chunk-I5CVIT7W.js} +41 -46
- package/dist/chunk-IRPJW6HH.js +16 -0
- package/dist/{chunk-SKYW5GV2.cjs → chunk-J2FVIV7W.cjs} +127 -132
- package/dist/chunk-J4SVRFV4.js +127 -0
- package/dist/{chunk-FEBG7WWO.js → chunk-MEMIQ5AA.js} +1 -3
- package/dist/chunk-ORA4UQMU.cjs +2 -0
- package/dist/chunk-OULCUN6I.js +1 -0
- package/dist/chunk-PKLLVKY2.cjs +193 -0
- package/dist/chunk-QLKLDV3V.cjs +135 -0
- package/dist/chunk-U5O6DHJ2.js +187 -0
- package/dist/{chunk-JHEBLHYK.cjs → chunk-VMRRVNO2.cjs} +2 -4
- package/dist/{chunk-55HOZO7D.cjs → chunk-VWKKT7CM.cjs} +5 -7
- package/dist/chunk-XGQQM64U.js +8 -0
- package/dist/{chunk-BTXPY3B4.js → chunk-YQQIT5YX.js} +2 -4
- package/dist/esbuild-plugin.cjs +5 -5
- package/dist/esbuild-plugin.d.cts +3 -2
- package/dist/esbuild-plugin.d.ts +3 -2
- package/dist/esbuild-plugin.js +4 -4
- package/dist/index.cjs +69 -69
- package/dist/index.js +10 -12
- package/dist/reflect-type.cjs +7 -6
- package/dist/reflect-type.js +6 -5
- package/dist/resolve-reflections.cjs +3 -3
- package/dist/resolve-reflections.js +2 -2
- package/dist/transformer.cjs +4 -4
- package/dist/transformer.js +2 -2
- package/dist/transpile.cjs +4 -4
- package/dist/transpile.js +3 -3
- package/dist/types.cjs +1 -2
- package/dist/types.js +1 -2
- package/dist/utilities.cjs +10 -9
- package/dist/utilities.js +3 -2
- package/dist/{chunk-YKFG2BZQ.cjs → vendor/chunk-5NPGWGPO.cjs} +0 -6
- package/dist/vendor/{chunk-BLN7QVCP.js → chunk-7LAB3COT.js} +7 -154
- package/dist/vendor/chunk-IOMA7ABE.js +359 -0
- package/dist/vendor/chunk-K5KCTNDL.cjs +2678 -0
- package/dist/vendor/chunk-L3KIZV6P.js +2664 -0
- package/dist/vendor/chunk-M3FJ3QXG.cjs +377 -0
- package/dist/vendor/chunk-SHUYVCID.js +4 -0
- package/dist/vendor/chunk-USNT2KNT.cjs +6 -0
- package/dist/{chunk-4WJJKR53.js → vendor/chunk-ZDFKNN7Y.cjs} +281 -322
- package/dist/vendor/compiler.cjs +12 -13
- package/dist/vendor/compiler.js +2 -5
- package/dist/vendor/config.cjs +9 -10
- package/dist/vendor/config.js +1 -5
- package/dist/vendor/core.cjs +130 -131
- package/dist/vendor/core.js +2 -5
- package/dist/vendor/index.cjs +14 -22
- package/dist/vendor/index.js +3 -11
- package/dist/vendor/type-spec.cjs +5 -6
- package/dist/vendor/type-spec.js +2 -5
- package/dist/vendor/type.cjs +631 -758
- package/dist/vendor/type.js +15 -138
- package/package.json +4 -4
- package/dist/chunk-2V4ET57D.js +0 -6954
- package/dist/chunk-6ETLMANX.js +0 -3472
- package/dist/chunk-6IQVU53O.cjs +0 -24
- package/dist/chunk-6OXPIOZY.cjs +0 -43
- package/dist/chunk-7WAH4JD3.js +0 -115
- package/dist/chunk-B4PTD5KQ.js +0 -4
- package/dist/chunk-ITQKPDCW.cjs +0 -3859
- package/dist/chunk-LBHO5BRF.js +0 -2251
- package/dist/chunk-OYRIJX67.cjs +0 -3487
- package/dist/chunk-PANPZ6S6.cjs +0 -6
- package/dist/chunk-QPSZUUB6.cjs +0 -2259
- package/dist/chunk-QQ7GKXIS.js +0 -43
- package/dist/chunk-SA3DCC4M.cjs +0 -6968
- package/dist/chunk-WVKPC33H.cjs +0 -49
- package/dist/chunk-YUO4MCOI.js +0 -18
- package/dist/vendor/chunk-5BKT4CS5.js +0 -28
- package/dist/vendor/chunk-BDXVTHBY.cjs +0 -3859
- package/dist/vendor/chunk-EQXMWOHO.cjs +0 -115
- package/dist/vendor/chunk-MCNMRQDT.js +0 -3513
- package/dist/vendor/chunk-MO4O4UYI.cjs +0 -42
- package/dist/vendor/chunk-RH4YMONA.js +0 -7064
- package/dist/vendor/chunk-RZKB5IQZ.cjs +0 -3531
- package/dist/vendor/chunk-WOXMCJJU.cjs +0 -7078
- package/dist/vendor/type-compiler/compiler.cjs +0 -46
- package/dist/vendor/type-compiler/compiler.d.cts +0 -1
- package/dist/vendor/type-compiler/compiler.d.ts +0 -1
- package/dist/vendor/type-compiler/compiler.js +0 -7
- package/dist/vendor/type-compiler/config.cjs +0 -36
- package/dist/vendor/type-compiler/config.d.cts +0 -6
- package/dist/vendor/type-compiler/config.d.ts +0 -6
- package/dist/vendor/type-compiler/config.js +0 -5
- package/dist/vendor/type-compiler/index.cjs +0 -108
- package/dist/vendor/type-compiler/index.d.cts +0 -1
- package/dist/vendor/type-compiler/index.d.ts +0 -1
- package/dist/vendor/type-compiler/index.js +0 -67
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk7J3ZDT6O_cjs = require('./chunk-7J3ZDT6O.cjs');
|
|
4
|
+
var chunkGRNJVY7I_cjs = require('./chunk-GRNJVY7I.cjs');
|
|
5
5
|
var typeChecks = require('@stryke/type-checks');
|
|
6
6
|
var $ = require('@stryke/capnp');
|
|
7
7
|
|
|
@@ -25,11 +25,6 @@ function _interopNamespace(e) {
|
|
|
25
25
|
|
|
26
26
|
var $__namespace = /*#__PURE__*/_interopNamespace($);
|
|
27
27
|
|
|
28
|
-
// src/capnp.ts
|
|
29
|
-
chunkWVKPC33H_cjs.init_cjs_shims();
|
|
30
|
-
|
|
31
|
-
// schemas/reflection.ts
|
|
32
|
-
chunkWVKPC33H_cjs.init_cjs_shims();
|
|
33
28
|
BigInt("0xae3c363dcecf2729");
|
|
34
29
|
var ReflectionVisibility = {
|
|
35
30
|
PUBLIC: 0,
|
|
@@ -38,7 +33,7 @@ var ReflectionVisibility = {
|
|
|
38
33
|
};
|
|
39
34
|
var TagsReflection = class extends $__namespace.Struct {
|
|
40
35
|
static {
|
|
41
|
-
|
|
36
|
+
chunkGRNJVY7I_cjs.__name(this, "TagsReflection");
|
|
42
37
|
}
|
|
43
38
|
static _capnp = {
|
|
44
39
|
displayName: "TagsReflection",
|
|
@@ -130,7 +125,7 @@ var DefaultValueReflection_Value_Which = {
|
|
|
130
125
|
};
|
|
131
126
|
var DefaultValueReflection_Value = class extends $__namespace.Struct {
|
|
132
127
|
static {
|
|
133
|
-
|
|
128
|
+
chunkGRNJVY7I_cjs.__name(this, "DefaultValueReflection_Value");
|
|
134
129
|
}
|
|
135
130
|
static UNDEFINED = DefaultValueReflection_Value_Which.UNDEFINED;
|
|
136
131
|
static BOOLEAN = DefaultValueReflection_Value_Which.BOOLEAN;
|
|
@@ -201,7 +196,7 @@ var DefaultValueReflection_Value = class extends $__namespace.Struct {
|
|
|
201
196
|
};
|
|
202
197
|
var DefaultValueReflection = class extends $__namespace.Struct {
|
|
203
198
|
static {
|
|
204
|
-
|
|
199
|
+
chunkGRNJVY7I_cjs.__name(this, "DefaultValueReflection");
|
|
205
200
|
}
|
|
206
201
|
static _capnp = {
|
|
207
202
|
displayName: "DefaultValueReflection",
|
|
@@ -220,7 +215,7 @@ var DefaultValueReflection = class extends $__namespace.Struct {
|
|
|
220
215
|
};
|
|
221
216
|
var SerializedTypeReference = class extends $__namespace.Struct {
|
|
222
217
|
static {
|
|
223
|
-
|
|
218
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeReference");
|
|
224
219
|
}
|
|
225
220
|
static _capnp = {
|
|
226
221
|
displayName: "SerializedTypeReference",
|
|
@@ -239,7 +234,7 @@ var SerializedTypeReference = class extends $__namespace.Struct {
|
|
|
239
234
|
};
|
|
240
235
|
var IndexAccessOrigin = class extends $__namespace.Struct {
|
|
241
236
|
static {
|
|
242
|
-
|
|
237
|
+
chunkGRNJVY7I_cjs.__name(this, "IndexAccessOrigin");
|
|
243
238
|
}
|
|
244
239
|
static _capnp = {
|
|
245
240
|
displayName: "IndexAccessOrigin",
|
|
@@ -288,7 +283,7 @@ var IndexAccessOrigin = class extends $__namespace.Struct {
|
|
|
288
283
|
};
|
|
289
284
|
var EntityOptions_EntityIndexOptions = class extends $__namespace.Struct {
|
|
290
285
|
static {
|
|
291
|
-
|
|
286
|
+
chunkGRNJVY7I_cjs.__name(this, "EntityOptions_EntityIndexOptions");
|
|
292
287
|
}
|
|
293
288
|
static _capnp = {
|
|
294
289
|
displayName: "EntityIndexOptions",
|
|
@@ -329,7 +324,7 @@ var EntityOptions_EntityIndexOptions = class extends $__namespace.Struct {
|
|
|
329
324
|
};
|
|
330
325
|
var EntityOptions = class _EntityOptions extends $__namespace.Struct {
|
|
331
326
|
static {
|
|
332
|
-
|
|
327
|
+
chunkGRNJVY7I_cjs.__name(this, "EntityOptions");
|
|
333
328
|
}
|
|
334
329
|
static EntityIndexOptions = EntityOptions_EntityIndexOptions;
|
|
335
330
|
static _capnp = {
|
|
@@ -392,7 +387,7 @@ var EntityOptions = class _EntityOptions extends $__namespace.Struct {
|
|
|
392
387
|
};
|
|
393
388
|
var SerializedTypeObjectLiteral = class _SerializedTypeObjectLiteral extends $__namespace.Struct {
|
|
394
389
|
static {
|
|
395
|
-
|
|
390
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeObjectLiteral");
|
|
396
391
|
}
|
|
397
392
|
static _capnp = {
|
|
398
393
|
displayName: "SerializedTypeObjectLiteral",
|
|
@@ -510,7 +505,7 @@ var SerializedTypeObjectLiteral = class _SerializedTypeObjectLiteral extends $__
|
|
|
510
505
|
};
|
|
511
506
|
var SerializedTypeClassType = class _SerializedTypeClassType extends $__namespace.Struct {
|
|
512
507
|
static {
|
|
513
|
-
|
|
508
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeClassType");
|
|
514
509
|
}
|
|
515
510
|
static _capnp = {
|
|
516
511
|
displayName: "SerializedTypeClassType",
|
|
@@ -702,7 +697,7 @@ var SerializedTypeClassType = class _SerializedTypeClassType extends $__namespac
|
|
|
702
697
|
};
|
|
703
698
|
var SerializedTypeParameter = class _SerializedTypeParameter extends $__namespace.Struct {
|
|
704
699
|
static {
|
|
705
|
-
|
|
700
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeParameter");
|
|
706
701
|
}
|
|
707
702
|
static _capnp = {
|
|
708
703
|
displayName: "SerializedTypeParameter",
|
|
@@ -861,7 +856,7 @@ var SerializedTypeParameter = class _SerializedTypeParameter extends $__namespac
|
|
|
861
856
|
};
|
|
862
857
|
var SerializedTypeMethod = class _SerializedTypeMethod extends $__namespace.Struct {
|
|
863
858
|
static {
|
|
864
|
-
|
|
859
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeMethod");
|
|
865
860
|
}
|
|
866
861
|
static _capnp = {
|
|
867
862
|
displayName: "SerializedTypeMethod",
|
|
@@ -1027,7 +1022,7 @@ var SerializedTypeMethod = class _SerializedTypeMethod extends $__namespace.Stru
|
|
|
1027
1022
|
};
|
|
1028
1023
|
var SerializedTypeProperty = class _SerializedTypeProperty extends $__namespace.Struct {
|
|
1029
1024
|
static {
|
|
1030
|
-
|
|
1025
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeProperty");
|
|
1031
1026
|
}
|
|
1032
1027
|
static _capnp = {
|
|
1033
1028
|
displayName: "SerializedTypeProperty",
|
|
@@ -1198,7 +1193,7 @@ var SerializedTypeProperty = class _SerializedTypeProperty extends $__namespace.
|
|
|
1198
1193
|
};
|
|
1199
1194
|
var SerializedTypeFunction = class _SerializedTypeFunction extends $__namespace.Struct {
|
|
1200
1195
|
static {
|
|
1201
|
-
|
|
1196
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeFunction");
|
|
1202
1197
|
}
|
|
1203
1198
|
static _capnp = {
|
|
1204
1199
|
displayName: "SerializedTypeFunction",
|
|
@@ -1364,7 +1359,7 @@ var SerializedTypeFunction = class _SerializedTypeFunction extends $__namespace.
|
|
|
1364
1359
|
};
|
|
1365
1360
|
var SerializedTypePromise = class _SerializedTypePromise extends $__namespace.Struct {
|
|
1366
1361
|
static {
|
|
1367
|
-
|
|
1362
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypePromise");
|
|
1368
1363
|
}
|
|
1369
1364
|
static _capnp = {
|
|
1370
1365
|
displayName: "SerializedTypePromise",
|
|
@@ -1451,7 +1446,7 @@ var SerializedTypePromise = class _SerializedTypePromise extends $__namespace.St
|
|
|
1451
1446
|
};
|
|
1452
1447
|
var SerializedTypeEnumEntry = class extends $__namespace.Struct {
|
|
1453
1448
|
static {
|
|
1454
|
-
|
|
1449
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeEnumEntry");
|
|
1455
1450
|
}
|
|
1456
1451
|
static _capnp = {
|
|
1457
1452
|
displayName: "SerializedTypeEnumEntry",
|
|
@@ -1476,7 +1471,7 @@ var SerializedTypeEnumEntry = class extends $__namespace.Struct {
|
|
|
1476
1471
|
};
|
|
1477
1472
|
var SerializedTypeEnum = class _SerializedTypeEnum extends $__namespace.Struct {
|
|
1478
1473
|
static {
|
|
1479
|
-
|
|
1474
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeEnum");
|
|
1480
1475
|
}
|
|
1481
1476
|
static _capnp = {
|
|
1482
1477
|
displayName: "SerializedTypeEnum",
|
|
@@ -1630,7 +1625,7 @@ var SerializedTypeEnum = class _SerializedTypeEnum extends $__namespace.Struct {
|
|
|
1630
1625
|
};
|
|
1631
1626
|
var SerializedTypeUnion = class _SerializedTypeUnion extends $__namespace.Struct {
|
|
1632
1627
|
static {
|
|
1633
|
-
|
|
1628
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeUnion");
|
|
1634
1629
|
}
|
|
1635
1630
|
static _capnp = {
|
|
1636
1631
|
displayName: "SerializedTypeUnion",
|
|
@@ -1730,7 +1725,7 @@ var SerializedTypeUnion = class _SerializedTypeUnion extends $__namespace.Struct
|
|
|
1730
1725
|
};
|
|
1731
1726
|
var SerializedTypeIntersection = class _SerializedTypeIntersection extends $__namespace.Struct {
|
|
1732
1727
|
static {
|
|
1733
|
-
|
|
1728
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeIntersection");
|
|
1734
1729
|
}
|
|
1735
1730
|
static _capnp = {
|
|
1736
1731
|
displayName: "SerializedTypeIntersection",
|
|
@@ -1830,7 +1825,7 @@ var SerializedTypeIntersection = class _SerializedTypeIntersection extends $__na
|
|
|
1830
1825
|
};
|
|
1831
1826
|
var SerializedTypeArray = class _SerializedTypeArray extends $__namespace.Struct {
|
|
1832
1827
|
static {
|
|
1833
|
-
|
|
1828
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeArray");
|
|
1834
1829
|
}
|
|
1835
1830
|
static _capnp = {
|
|
1836
1831
|
displayName: "SerializedTypeArray",
|
|
@@ -1947,7 +1942,7 @@ var SerializedTypeArray = class _SerializedTypeArray extends $__namespace.Struct
|
|
|
1947
1942
|
};
|
|
1948
1943
|
var SerializedTypeIndexSignature = class _SerializedTypeIndexSignature extends $__namespace.Struct {
|
|
1949
1944
|
static {
|
|
1950
|
-
|
|
1945
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeIndexSignature");
|
|
1951
1946
|
}
|
|
1952
1947
|
static _capnp = {
|
|
1953
1948
|
displayName: "SerializedTypeIndexSignature",
|
|
@@ -2064,7 +2059,7 @@ var SerializedTypeIndexSignature = class _SerializedTypeIndexSignature extends $
|
|
|
2064
2059
|
};
|
|
2065
2060
|
var SerializedTypePropertySignature = class _SerializedTypePropertySignature extends $__namespace.Struct {
|
|
2066
2061
|
static {
|
|
2067
|
-
|
|
2062
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypePropertySignature");
|
|
2068
2063
|
}
|
|
2069
2064
|
static _capnp = {
|
|
2070
2065
|
displayName: "SerializedTypePropertySignature",
|
|
@@ -2223,7 +2218,7 @@ var SerializedTypePropertySignature = class _SerializedTypePropertySignature ext
|
|
|
2223
2218
|
};
|
|
2224
2219
|
var SerializedTypeMethodSignature = class _SerializedTypeMethodSignature extends $__namespace.Struct {
|
|
2225
2220
|
static {
|
|
2226
|
-
|
|
2221
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeMethodSignature");
|
|
2227
2222
|
}
|
|
2228
2223
|
static _capnp = {
|
|
2229
2224
|
displayName: "SerializedTypeMethodSignature",
|
|
@@ -2371,7 +2366,7 @@ var SerializedTypeMethodSignature = class _SerializedTypeMethodSignature extends
|
|
|
2371
2366
|
};
|
|
2372
2367
|
var SerializedTypeTypeParameter = class _SerializedTypeTypeParameter extends $__namespace.Struct {
|
|
2373
2368
|
static {
|
|
2374
|
-
|
|
2369
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeTypeParameter");
|
|
2375
2370
|
}
|
|
2376
2371
|
static _capnp = {
|
|
2377
2372
|
displayName: "SerializedTypeTypeParameter",
|
|
@@ -2458,7 +2453,7 @@ var SerializedTypeTypeParameter = class _SerializedTypeTypeParameter extends $__
|
|
|
2458
2453
|
};
|
|
2459
2454
|
var SerializedTypeInfer = class _SerializedTypeInfer extends $__namespace.Struct {
|
|
2460
2455
|
static {
|
|
2461
|
-
|
|
2456
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeInfer");
|
|
2462
2457
|
}
|
|
2463
2458
|
static _capnp = {
|
|
2464
2459
|
displayName: "SerializedTypeInfer",
|
|
@@ -2539,7 +2534,7 @@ var SerializedTypeInfer = class _SerializedTypeInfer extends $__namespace.Struct
|
|
|
2539
2534
|
};
|
|
2540
2535
|
var SerializedTypeTupleMember = class _SerializedTypeTupleMember extends $__namespace.Struct {
|
|
2541
2536
|
static {
|
|
2542
|
-
|
|
2537
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeTupleMember");
|
|
2543
2538
|
}
|
|
2544
2539
|
static _capnp = {
|
|
2545
2540
|
displayName: "SerializedTypeTupleMember",
|
|
@@ -2650,7 +2645,7 @@ var SerializedTypeTupleMember = class _SerializedTypeTupleMember extends $__name
|
|
|
2650
2645
|
};
|
|
2651
2646
|
var SerializedTypeTuple = class _SerializedTypeTuple extends $__namespace.Struct {
|
|
2652
2647
|
static {
|
|
2653
|
-
|
|
2648
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeTuple");
|
|
2654
2649
|
}
|
|
2655
2650
|
static _capnp = {
|
|
2656
2651
|
displayName: "SerializedTypeTuple",
|
|
@@ -2750,7 +2745,7 @@ var SerializedTypeTuple = class _SerializedTypeTuple extends $__namespace.Struct
|
|
|
2750
2745
|
};
|
|
2751
2746
|
var SerializedTypeRest = class _SerializedTypeRest extends $__namespace.Struct {
|
|
2752
2747
|
static {
|
|
2753
|
-
|
|
2748
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeRest");
|
|
2754
2749
|
}
|
|
2755
2750
|
static _capnp = {
|
|
2756
2751
|
displayName: "SerializedTypeRest",
|
|
@@ -2849,7 +2844,7 @@ var SerializedTypeRest = class _SerializedTypeRest extends $__namespace.Struct {
|
|
|
2849
2844
|
};
|
|
2850
2845
|
var SimpleSerializedType = class _SimpleSerializedType extends $__namespace.Struct {
|
|
2851
2846
|
static {
|
|
2852
|
-
|
|
2847
|
+
chunkGRNJVY7I_cjs.__name(this, "SimpleSerializedType");
|
|
2853
2848
|
}
|
|
2854
2849
|
static _capnp = {
|
|
2855
2850
|
displayName: "SimpleSerializedType",
|
|
@@ -2948,7 +2943,7 @@ var SimpleSerializedType = class _SimpleSerializedType extends $__namespace.Stru
|
|
|
2948
2943
|
};
|
|
2949
2944
|
var SerializedTypeLiteralSymbol = class extends $__namespace.Struct {
|
|
2950
2945
|
static {
|
|
2951
|
-
|
|
2946
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeLiteralSymbol");
|
|
2952
2947
|
}
|
|
2953
2948
|
static _capnp = {
|
|
2954
2949
|
displayName: "SerializedTypeLiteralSymbol",
|
|
@@ -2977,7 +2972,7 @@ var SerializedTypeLiteralSymbol = class extends $__namespace.Struct {
|
|
|
2977
2972
|
};
|
|
2978
2973
|
var SerializedTypeLiteralBigInt = class extends $__namespace.Struct {
|
|
2979
2974
|
static {
|
|
2980
|
-
|
|
2975
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeLiteralBigInt");
|
|
2981
2976
|
}
|
|
2982
2977
|
static _capnp = {
|
|
2983
2978
|
displayName: "SerializedTypeLiteralBigInt",
|
|
@@ -3006,7 +3001,7 @@ var SerializedTypeLiteralBigInt = class extends $__namespace.Struct {
|
|
|
3006
3001
|
};
|
|
3007
3002
|
var SerializedTypeLiteralRegex = class extends $__namespace.Struct {
|
|
3008
3003
|
static {
|
|
3009
|
-
|
|
3004
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeLiteralRegex");
|
|
3010
3005
|
}
|
|
3011
3006
|
static _capnp = {
|
|
3012
3007
|
displayName: "SerializedTypeLiteralRegex",
|
|
@@ -3043,7 +3038,7 @@ var SerializedTypeLiteral_Literal_Which = {
|
|
|
3043
3038
|
};
|
|
3044
3039
|
var SerializedTypeLiteral_Literal = class extends $__namespace.Struct {
|
|
3045
3040
|
static {
|
|
3046
|
-
|
|
3041
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeLiteral_Literal");
|
|
3047
3042
|
}
|
|
3048
3043
|
static SYMBOL = SerializedTypeLiteral_Literal_Which.SYMBOL;
|
|
3049
3044
|
static STRING = SerializedTypeLiteral_Literal_Which.STRING;
|
|
@@ -3173,7 +3168,7 @@ var SerializedTypeLiteral_Literal = class extends $__namespace.Struct {
|
|
|
3173
3168
|
};
|
|
3174
3169
|
var SerializedTypeLiteral = class _SerializedTypeLiteral extends $__namespace.Struct {
|
|
3175
3170
|
static {
|
|
3176
|
-
|
|
3171
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeLiteral");
|
|
3177
3172
|
}
|
|
3178
3173
|
static _capnp = {
|
|
3179
3174
|
displayName: "SerializedTypeLiteral",
|
|
@@ -3260,7 +3255,7 @@ var SerializedTypeLiteral = class _SerializedTypeLiteral extends $__namespace.St
|
|
|
3260
3255
|
};
|
|
3261
3256
|
var SerializedTypeTemplateLiteral = class _SerializedTypeTemplateLiteral extends $__namespace.Struct {
|
|
3262
3257
|
static {
|
|
3263
|
-
|
|
3258
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeTemplateLiteral");
|
|
3264
3259
|
}
|
|
3265
3260
|
static _capnp = {
|
|
3266
3261
|
displayName: "SerializedTypeTemplateLiteral",
|
|
@@ -3360,7 +3355,7 @@ var SerializedTypeTemplateLiteral = class _SerializedTypeTemplateLiteral extends
|
|
|
3360
3355
|
};
|
|
3361
3356
|
var SerializedTypeOther = class extends $__namespace.Struct {
|
|
3362
3357
|
static {
|
|
3363
|
-
|
|
3358
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypeOther");
|
|
3364
3359
|
}
|
|
3365
3360
|
static _capnp = {
|
|
3366
3361
|
displayName: "SerializedTypeOther",
|
|
@@ -3414,7 +3409,7 @@ var SerializedType_Type_Which = {
|
|
|
3414
3409
|
};
|
|
3415
3410
|
var SerializedType_Type = class extends $__namespace.Struct {
|
|
3416
3411
|
static {
|
|
3417
|
-
|
|
3412
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedType_Type");
|
|
3418
3413
|
}
|
|
3419
3414
|
static SIMPLE = SerializedType_Type_Which.SIMPLE;
|
|
3420
3415
|
static LITERAL = SerializedType_Type_Which.LITERAL;
|
|
@@ -4032,7 +4027,7 @@ var SerializedType_Type = class extends $__namespace.Struct {
|
|
|
4032
4027
|
};
|
|
4033
4028
|
var SerializedType = class extends $__namespace.Struct {
|
|
4034
4029
|
static {
|
|
4035
|
-
|
|
4030
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedType");
|
|
4036
4031
|
}
|
|
4037
4032
|
static _capnp = {
|
|
4038
4033
|
displayName: "SerializedType",
|
|
@@ -4051,7 +4046,7 @@ var SerializedType = class extends $__namespace.Struct {
|
|
|
4051
4046
|
};
|
|
4052
4047
|
var SerializedTypes = class _SerializedTypes extends $__namespace.Struct {
|
|
4053
4048
|
static {
|
|
4054
|
-
|
|
4049
|
+
chunkGRNJVY7I_cjs.__name(this, "SerializedTypes");
|
|
4055
4050
|
}
|
|
4056
4051
|
static _capnp = {
|
|
4057
4052
|
displayName: "SerializedTypes",
|
|
@@ -4153,7 +4148,7 @@ function convertToCapnp(serializedTypes, result) {
|
|
|
4153
4148
|
});
|
|
4154
4149
|
return result;
|
|
4155
4150
|
}
|
|
4156
|
-
|
|
4151
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnp, "convertToCapnp");
|
|
4157
4152
|
function convertFromCapnp(serializedTypes) {
|
|
4158
4153
|
if (!serializedTypes) {
|
|
4159
4154
|
throw new Error("Invalid serialized type provided for conversion.");
|
|
@@ -4165,7 +4160,7 @@ function convertFromCapnp(serializedTypes) {
|
|
|
4165
4160
|
});
|
|
4166
4161
|
return result;
|
|
4167
4162
|
}
|
|
4168
|
-
|
|
4163
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnp, "convertFromCapnp");
|
|
4169
4164
|
function convertToCapnpTagsReflection(result, serializedType) {
|
|
4170
4165
|
if (serializedType?.alias?.length) {
|
|
4171
4166
|
const alias = result._initAlias(serializedType.alias.length);
|
|
@@ -4191,7 +4186,7 @@ function convertToCapnpTagsReflection(result, serializedType) {
|
|
|
4191
4186
|
}
|
|
4192
4187
|
return result;
|
|
4193
4188
|
}
|
|
4194
|
-
|
|
4189
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpTagsReflection, "convertToCapnpTagsReflection");
|
|
4195
4190
|
function convertFromCapnpTagsReflection(serializedType) {
|
|
4196
4191
|
return serializedType._hasTags() ? {
|
|
4197
4192
|
alias: serializedType.tags?.alias?.length ? serializedType.tags?.alias.map((value) => value) : void 0,
|
|
@@ -4204,7 +4199,7 @@ function convertFromCapnpTagsReflection(serializedType) {
|
|
|
4204
4199
|
permission: serializedType.tags?.permission?.length ? serializedType.tags?.permission?.map((value) => value) : void 0
|
|
4205
4200
|
} : void 0;
|
|
4206
4201
|
}
|
|
4207
|
-
|
|
4202
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpTagsReflection, "convertFromCapnpTagsReflection");
|
|
4208
4203
|
function convertToCapnpIndexAccessOrigin(result, serializedType) {
|
|
4209
4204
|
const indexAccessOriginIndex = result._initIndex();
|
|
4210
4205
|
indexAccessOriginIndex.id = serializedType?.index ?? 0;
|
|
@@ -4212,64 +4207,64 @@ function convertToCapnpIndexAccessOrigin(result, serializedType) {
|
|
|
4212
4207
|
indexAccessOriginContainer.id = serializedType?.container ?? 0;
|
|
4213
4208
|
return result;
|
|
4214
4209
|
}
|
|
4215
|
-
|
|
4210
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpIndexAccessOrigin, "convertToCapnpIndexAccessOrigin");
|
|
4216
4211
|
function convertFromCapnpIndexAccessOrigin(serializedType) {
|
|
4217
4212
|
return serializedType._hasIndexAccessOrigin() ? {
|
|
4218
4213
|
container: Number(serializedType.indexAccessOrigin?.container.id),
|
|
4219
4214
|
index: Number(serializedType.indexAccessOrigin?.index.id)
|
|
4220
4215
|
} : void 0;
|
|
4221
4216
|
}
|
|
4222
|
-
|
|
4217
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpIndexAccessOrigin, "convertFromCapnpIndexAccessOrigin");
|
|
4223
4218
|
function convertToCapnpBase(serializedType, result) {
|
|
4224
|
-
if (serializedType.kind ===
|
|
4219
|
+
if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.objectLiteral) {
|
|
4225
4220
|
const objectLiteral = result._initObjectLiteral();
|
|
4226
4221
|
convertToCapnpObjectLiteral(serializedType, objectLiteral);
|
|
4227
|
-
} else if (serializedType.kind ===
|
|
4222
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.class) {
|
|
4228
4223
|
const classType = result._initClassType();
|
|
4229
4224
|
convertToCapnpClassType(serializedType, classType);
|
|
4230
|
-
} else if (serializedType.kind ===
|
|
4225
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.parameter) {
|
|
4231
4226
|
const parameter = result._initParameter();
|
|
4232
4227
|
convertToCapnpParameter(serializedType, parameter);
|
|
4233
|
-
} else if (serializedType.kind ===
|
|
4228
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.function) {
|
|
4234
4229
|
const functionType = result._initFunction();
|
|
4235
4230
|
convertToCapnpFunction(serializedType, functionType);
|
|
4236
|
-
} else if (serializedType.kind ===
|
|
4231
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.method) {
|
|
4237
4232
|
const methodType = result._initMethod();
|
|
4238
4233
|
convertToCapnpMethod(serializedType, methodType);
|
|
4239
|
-
} else if (serializedType.kind ===
|
|
4234
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.infer) {
|
|
4240
4235
|
const inferType = result._initInfer();
|
|
4241
4236
|
convertToCapnpInfer(serializedType, inferType);
|
|
4242
|
-
} else if (serializedType.kind ===
|
|
4237
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.union) {
|
|
4243
4238
|
const unionType = result._initUnion();
|
|
4244
4239
|
convertToCapnpUnion(serializedType, unionType);
|
|
4245
|
-
} else if (serializedType.kind ===
|
|
4240
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.array) {
|
|
4246
4241
|
const arrayType = result._initArray();
|
|
4247
4242
|
convertToCapnpArray(serializedType, arrayType);
|
|
4248
|
-
} else if (serializedType.kind ===
|
|
4243
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.intersection) {
|
|
4249
4244
|
const intersectionType = result._initIntersection();
|
|
4250
4245
|
convertToCapnpIntersection(serializedType, intersectionType);
|
|
4251
|
-
} else if (serializedType.kind ===
|
|
4246
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.enum) {
|
|
4252
4247
|
const enumType = result._initEnum();
|
|
4253
4248
|
convertToCapnpEnum(serializedType, enumType);
|
|
4254
|
-
} else if (serializedType.kind ===
|
|
4249
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.property) {
|
|
4255
4250
|
const propertyType = result._initProperty();
|
|
4256
4251
|
convertToCapnpProperty(serializedType, propertyType);
|
|
4257
|
-
} else if (serializedType.kind ===
|
|
4252
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.tuple) {
|
|
4258
4253
|
const tupleType = result._initTuple();
|
|
4259
4254
|
convertToCapnpTuple(serializedType, tupleType);
|
|
4260
|
-
} else if (serializedType.kind ===
|
|
4255
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.tupleMember) {
|
|
4261
4256
|
const tupleMemberType = result._initTupleMember();
|
|
4262
4257
|
convertToCapnpTupleMember(serializedType, tupleMemberType);
|
|
4263
|
-
} else if (serializedType.kind ===
|
|
4258
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.propertySignature) {
|
|
4264
4259
|
const propertySignatureType = result._initPropertySignature();
|
|
4265
4260
|
convertToCapnpPropertySignature(serializedType, propertySignatureType);
|
|
4266
|
-
} else if (serializedType.kind ===
|
|
4261
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.methodSignature) {
|
|
4267
4262
|
const methodSignatureType = result._initMethodSignature();
|
|
4268
4263
|
convertToCapnpMethodSignature(serializedType, methodSignatureType);
|
|
4269
|
-
} else if (serializedType.kind ===
|
|
4264
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.literal) {
|
|
4270
4265
|
const literalType = result._initLiteral();
|
|
4271
4266
|
convertToCapnpLiteral(serializedType, literalType);
|
|
4272
|
-
} else if (serializedType.kind ===
|
|
4267
|
+
} else if (serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.never || serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.any || serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.unknown || serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.void || serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.object || serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.string || serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.number || serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.boolean || serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.symbol || serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.bigint || serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.null || serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.undefined || serializedType.kind === chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.regexp) {
|
|
4273
4268
|
const simpleType = result._initSimple();
|
|
4274
4269
|
convertToCapnpSimple(serializedType, simpleType);
|
|
4275
4270
|
} else {
|
|
@@ -4278,7 +4273,7 @@ function convertToCapnpBase(serializedType, result) {
|
|
|
4278
4273
|
}
|
|
4279
4274
|
return result;
|
|
4280
4275
|
}
|
|
4281
|
-
|
|
4276
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpBase, "convertToCapnpBase");
|
|
4282
4277
|
function convertFromCapnpBase(serializedType) {
|
|
4283
4278
|
if (serializedType._isObjectLiteral) {
|
|
4284
4279
|
return convertFromCapnpObjectLiteral(serializedType.objectLiteral);
|
|
@@ -4320,14 +4315,14 @@ function convertFromCapnpBase(serializedType) {
|
|
|
4320
4315
|
throw new Error(`Unsupported serialized type kind: ${serializedType.toString()}`);
|
|
4321
4316
|
}
|
|
4322
4317
|
}
|
|
4323
|
-
|
|
4318
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpBase, "convertFromCapnpBase");
|
|
4324
4319
|
function convertFromCapnpOther(serializedType) {
|
|
4325
4320
|
return {
|
|
4326
4321
|
kind: serializedType.kind,
|
|
4327
4322
|
typeName: serializedType.typeName || void 0
|
|
4328
4323
|
};
|
|
4329
4324
|
}
|
|
4330
|
-
|
|
4325
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpOther, "convertFromCapnpOther");
|
|
4331
4326
|
function convertFromCapnpSimple(serializedType) {
|
|
4332
4327
|
const result = {
|
|
4333
4328
|
kind: serializedType.kind,
|
|
@@ -4341,13 +4336,13 @@ function convertFromCapnpSimple(serializedType) {
|
|
|
4341
4336
|
}
|
|
4342
4337
|
return result;
|
|
4343
4338
|
}
|
|
4344
|
-
|
|
4339
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpSimple, "convertFromCapnpSimple");
|
|
4345
4340
|
function convertToCapnpOther(serializedType, result) {
|
|
4346
4341
|
result.kind = serializedType.kind;
|
|
4347
4342
|
result.typeName = serializedType.typeName || "";
|
|
4348
4343
|
return result;
|
|
4349
4344
|
}
|
|
4350
|
-
|
|
4345
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpOther, "convertToCapnpOther");
|
|
4351
4346
|
function convertToCapnpSimple(serializedType, result) {
|
|
4352
4347
|
result.kind = serializedType.kind;
|
|
4353
4348
|
result.typeName = serializedType.typeName || "";
|
|
@@ -4375,10 +4370,10 @@ function convertToCapnpSimple(serializedType, result) {
|
|
|
4375
4370
|
}
|
|
4376
4371
|
return result;
|
|
4377
4372
|
}
|
|
4378
|
-
|
|
4373
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpSimple, "convertToCapnpSimple");
|
|
4379
4374
|
function convertFromCapnpLiteral(serializedType) {
|
|
4380
4375
|
const result = {
|
|
4381
|
-
kind:
|
|
4376
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.literal,
|
|
4382
4377
|
literal: serializedType.literal._isString ? serializedType.literal.string : serializedType.literal._isNumber ? serializedType.literal.number : serializedType.literal._isBoolean ? serializedType.literal.boolean : serializedType.literal._isBigint ? {
|
|
4383
4378
|
type: "bigint",
|
|
4384
4379
|
value: serializedType.literal.bigint.value
|
|
@@ -4396,7 +4391,7 @@ function convertFromCapnpLiteral(serializedType) {
|
|
|
4396
4391
|
};
|
|
4397
4392
|
return result;
|
|
4398
4393
|
}
|
|
4399
|
-
|
|
4394
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpLiteral, "convertFromCapnpLiteral");
|
|
4400
4395
|
function convertToCapnpLiteral(serializedType, result) {
|
|
4401
4396
|
result.kind = serializedType.kind;
|
|
4402
4397
|
result.typeName = serializedType.typeName || "";
|
|
@@ -4440,10 +4435,10 @@ function convertToCapnpLiteral(serializedType, result) {
|
|
|
4440
4435
|
}
|
|
4441
4436
|
return result;
|
|
4442
4437
|
}
|
|
4443
|
-
|
|
4438
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpLiteral, "convertToCapnpLiteral");
|
|
4444
4439
|
function convertFromCapnpMethodSignature(serializedType) {
|
|
4445
4440
|
const result = {
|
|
4446
|
-
kind:
|
|
4441
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.methodSignature,
|
|
4447
4442
|
name: serializedType.name,
|
|
4448
4443
|
typeName: serializedType.typeName || void 0,
|
|
4449
4444
|
decorators: serializedType._hasDecorators() ? serializedType.decorators.map((d) => d.id) : void 0,
|
|
@@ -4453,7 +4448,7 @@ function convertFromCapnpMethodSignature(serializedType) {
|
|
|
4453
4448
|
};
|
|
4454
4449
|
return result;
|
|
4455
4450
|
}
|
|
4456
|
-
|
|
4451
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpMethodSignature, "convertFromCapnpMethodSignature");
|
|
4457
4452
|
function convertToCapnpMethodSignature(serializedType, result) {
|
|
4458
4453
|
result.kind = serializedType.kind;
|
|
4459
4454
|
result.name = String(serializedType.name);
|
|
@@ -4482,10 +4477,10 @@ function convertToCapnpMethodSignature(serializedType, result) {
|
|
|
4482
4477
|
}
|
|
4483
4478
|
return result;
|
|
4484
4479
|
}
|
|
4485
|
-
|
|
4480
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpMethodSignature, "convertToCapnpMethodSignature");
|
|
4486
4481
|
function convertFromCapnpPropertySignature(serializedType) {
|
|
4487
4482
|
const result = {
|
|
4488
|
-
kind:
|
|
4483
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.propertySignature,
|
|
4489
4484
|
name: serializedType.name,
|
|
4490
4485
|
typeName: serializedType.typeName || void 0,
|
|
4491
4486
|
description: serializedType.description,
|
|
@@ -4500,7 +4495,7 @@ function convertFromCapnpPropertySignature(serializedType) {
|
|
|
4500
4495
|
};
|
|
4501
4496
|
return result;
|
|
4502
4497
|
}
|
|
4503
|
-
|
|
4498
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpPropertySignature, "convertFromCapnpPropertySignature");
|
|
4504
4499
|
function convertToCapnpDefault(defaultValue, result) {
|
|
4505
4500
|
if (typeof defaultValue !== "undefined" && defaultValue !== "") {
|
|
4506
4501
|
result._initValue();
|
|
@@ -4517,7 +4512,7 @@ function convertToCapnpDefault(defaultValue, result) {
|
|
|
4517
4512
|
}
|
|
4518
4513
|
}
|
|
4519
4514
|
}
|
|
4520
|
-
|
|
4515
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpDefault, "convertToCapnpDefault");
|
|
4521
4516
|
function convertFromCapnpDefault(serializedType) {
|
|
4522
4517
|
if (typeof serializedType.value === "undefined") {
|
|
4523
4518
|
return void 0;
|
|
@@ -4531,7 +4526,7 @@ function convertFromCapnpDefault(serializedType) {
|
|
|
4531
4526
|
return serializedType.value.string;
|
|
4532
4527
|
}
|
|
4533
4528
|
}
|
|
4534
|
-
|
|
4529
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpDefault, "convertFromCapnpDefault");
|
|
4535
4530
|
function convertToCapnpPropertySignature(serializedType, result) {
|
|
4536
4531
|
result.kind = serializedType.kind;
|
|
4537
4532
|
result.name = String(serializedType.name) || "";
|
|
@@ -4569,7 +4564,7 @@ function convertToCapnpPropertySignature(serializedType, result) {
|
|
|
4569
4564
|
}
|
|
4570
4565
|
return result;
|
|
4571
4566
|
}
|
|
4572
|
-
|
|
4567
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpPropertySignature, "convertToCapnpPropertySignature");
|
|
4573
4568
|
function convertToCapnpTupleMember(serializedType, result) {
|
|
4574
4569
|
result.kind = serializedType.kind;
|
|
4575
4570
|
result.typeName = serializedType.typeName || "";
|
|
@@ -4595,10 +4590,10 @@ function convertToCapnpTupleMember(serializedType, result) {
|
|
|
4595
4590
|
}
|
|
4596
4591
|
return result;
|
|
4597
4592
|
}
|
|
4598
|
-
|
|
4593
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpTupleMember, "convertToCapnpTupleMember");
|
|
4599
4594
|
function convertFromCapnpTupleMember(serializedType) {
|
|
4600
4595
|
const result = {
|
|
4601
|
-
kind:
|
|
4596
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.tupleMember,
|
|
4602
4597
|
type: serializedType.type.id,
|
|
4603
4598
|
typeName: serializedType.typeName || void 0,
|
|
4604
4599
|
decorators: serializedType._hasDecorators() ? serializedType.decorators.map((d) => d.id) : void 0,
|
|
@@ -4607,7 +4602,7 @@ function convertFromCapnpTupleMember(serializedType) {
|
|
|
4607
4602
|
};
|
|
4608
4603
|
return result;
|
|
4609
4604
|
}
|
|
4610
|
-
|
|
4605
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpTupleMember, "convertFromCapnpTupleMember");
|
|
4611
4606
|
function convertToCapnpTuple(serializedType, result) {
|
|
4612
4607
|
result.kind = serializedType.kind;
|
|
4613
4608
|
result.typeName = serializedType.typeName || "";
|
|
@@ -4636,10 +4631,10 @@ function convertToCapnpTuple(serializedType, result) {
|
|
|
4636
4631
|
}
|
|
4637
4632
|
return result;
|
|
4638
4633
|
}
|
|
4639
|
-
|
|
4634
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpTuple, "convertToCapnpTuple");
|
|
4640
4635
|
function convertFromCapnpTuple(serializedType) {
|
|
4641
4636
|
const result = {
|
|
4642
|
-
kind:
|
|
4637
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.tuple,
|
|
4643
4638
|
typeName: serializedType.typeName || void 0,
|
|
4644
4639
|
types: serializedType._hasTypes() ? serializedType.types.map((t) => convertFromCapnpTupleMember(t)) : [],
|
|
4645
4640
|
decorators: serializedType._hasDecorators() ? serializedType.decorators.map((d) => d.id) : void 0,
|
|
@@ -4648,22 +4643,22 @@ function convertFromCapnpTuple(serializedType) {
|
|
|
4648
4643
|
};
|
|
4649
4644
|
return result;
|
|
4650
4645
|
}
|
|
4651
|
-
|
|
4646
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpTuple, "convertFromCapnpTuple");
|
|
4652
4647
|
function convertToCapnpProperty(serializedType, result) {
|
|
4653
4648
|
result.kind = serializedType.kind;
|
|
4654
4649
|
result.typeName = serializedType.typeName || "";
|
|
4655
4650
|
result.description = serializedType.description || "";
|
|
4656
4651
|
result.optional = serializedType.optional ?? false;
|
|
4657
4652
|
result.readonly = serializedType.readonly ?? false;
|
|
4658
|
-
result.visibility = serializedType.visibility ===
|
|
4653
|
+
result.visibility = serializedType.visibility === chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.public ? ReflectionVisibility.PUBLIC : serializedType.visibility === chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.protected ? ReflectionVisibility.PROTECTED : ReflectionVisibility.PRIVATE;
|
|
4659
4654
|
result.abstract = serializedType.abstract ?? false;
|
|
4660
4655
|
result.name = String(serializedType.name) || "";
|
|
4661
4656
|
if (typeof serializedType.default !== "undefined") {
|
|
4662
4657
|
const defaultValue = result._initDefault();
|
|
4663
4658
|
convertToCapnpDefault(serializedType.default, defaultValue);
|
|
4664
4659
|
}
|
|
4665
|
-
const type
|
|
4666
|
-
type
|
|
4660
|
+
const type = result._initType();
|
|
4661
|
+
type.id = serializedType.type;
|
|
4667
4662
|
if (serializedType.decorators?.length) {
|
|
4668
4663
|
const decorators = result._initDecorators(serializedType.decorators?.length ?? 0);
|
|
4669
4664
|
serializedType.decorators?.forEach((d, index) => {
|
|
@@ -4688,16 +4683,16 @@ function convertToCapnpProperty(serializedType, result) {
|
|
|
4688
4683
|
}
|
|
4689
4684
|
return result;
|
|
4690
4685
|
}
|
|
4691
|
-
|
|
4686
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpProperty, "convertToCapnpProperty");
|
|
4692
4687
|
function convertFromCapnpProperty(serializedType) {
|
|
4693
4688
|
const result = {
|
|
4694
|
-
kind:
|
|
4689
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.property,
|
|
4695
4690
|
typeName: serializedType.typeName || void 0,
|
|
4696
4691
|
description: serializedType.description,
|
|
4697
4692
|
default: convertFromCapnpDefault(serializedType.default),
|
|
4698
4693
|
optional: serializedType.optional ? true : void 0,
|
|
4699
4694
|
readonly: serializedType.readonly ? true : void 0,
|
|
4700
|
-
visibility: serializedType.visibility === ReflectionVisibility.PUBLIC ?
|
|
4695
|
+
visibility: serializedType.visibility === ReflectionVisibility.PUBLIC ? chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.public : serializedType.visibility === ReflectionVisibility.PROTECTED ? chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.protected : chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.private,
|
|
4701
4696
|
abstract: serializedType.abstract ? true : void 0,
|
|
4702
4697
|
name: serializedType.name,
|
|
4703
4698
|
type: serializedType.type.id,
|
|
@@ -4708,7 +4703,7 @@ function convertFromCapnpProperty(serializedType) {
|
|
|
4708
4703
|
};
|
|
4709
4704
|
return result;
|
|
4710
4705
|
}
|
|
4711
|
-
|
|
4706
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpProperty, "convertFromCapnpProperty");
|
|
4712
4707
|
function convertToCapnpEnum(serializedType, result) {
|
|
4713
4708
|
result.kind = serializedType.kind;
|
|
4714
4709
|
result.typeName = serializedType.typeName || "";
|
|
@@ -4750,10 +4745,10 @@ function convertToCapnpEnum(serializedType, result) {
|
|
|
4750
4745
|
}
|
|
4751
4746
|
return result;
|
|
4752
4747
|
}
|
|
4753
|
-
|
|
4748
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpEnum, "convertToCapnpEnum");
|
|
4754
4749
|
function convertFromCapnpEnum(serializedType) {
|
|
4755
4750
|
const result = {
|
|
4756
|
-
kind:
|
|
4751
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.enum,
|
|
4757
4752
|
typeName: serializedType.typeName || void 0,
|
|
4758
4753
|
indexType: serializedType.indexType.id,
|
|
4759
4754
|
decorators: serializedType._hasDecorators() ? serializedType.decorators.map((d) => d.id) : void 0,
|
|
@@ -4768,7 +4763,7 @@ function convertFromCapnpEnum(serializedType) {
|
|
|
4768
4763
|
};
|
|
4769
4764
|
return result;
|
|
4770
4765
|
}
|
|
4771
|
-
|
|
4766
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpEnum, "convertFromCapnpEnum");
|
|
4772
4767
|
function convertToCapnpIntersection(serializedType, result) {
|
|
4773
4768
|
result.kind = serializedType.kind;
|
|
4774
4769
|
result.typeName = serializedType.typeName || "";
|
|
@@ -4797,10 +4792,10 @@ function convertToCapnpIntersection(serializedType, result) {
|
|
|
4797
4792
|
}
|
|
4798
4793
|
return result;
|
|
4799
4794
|
}
|
|
4800
|
-
|
|
4795
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpIntersection, "convertToCapnpIntersection");
|
|
4801
4796
|
function convertFromCapnpIntersection(serializedType) {
|
|
4802
4797
|
const result = {
|
|
4803
|
-
kind:
|
|
4798
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.intersection,
|
|
4804
4799
|
typeName: serializedType.typeName || void 0,
|
|
4805
4800
|
types: serializedType._hasTypes() ? serializedType.types.map((t) => t.id) : [],
|
|
4806
4801
|
decorators: serializedType._hasDecorators() ? serializedType.decorators.map((d) => d.id) : void 0,
|
|
@@ -4809,7 +4804,7 @@ function convertFromCapnpIntersection(serializedType) {
|
|
|
4809
4804
|
};
|
|
4810
4805
|
return result;
|
|
4811
4806
|
}
|
|
4812
|
-
|
|
4807
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpIntersection, "convertFromCapnpIntersection");
|
|
4813
4808
|
function convertToCapnpArray(serializedType, result) {
|
|
4814
4809
|
result.kind = serializedType.kind;
|
|
4815
4810
|
result.typeName = serializedType.typeName || "";
|
|
@@ -4839,10 +4834,10 @@ function convertToCapnpArray(serializedType, result) {
|
|
|
4839
4834
|
}
|
|
4840
4835
|
return result;
|
|
4841
4836
|
}
|
|
4842
|
-
|
|
4837
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpArray, "convertToCapnpArray");
|
|
4843
4838
|
function convertFromCapnpArray(serializedType) {
|
|
4844
4839
|
const result = {
|
|
4845
|
-
kind:
|
|
4840
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.array,
|
|
4846
4841
|
typeName: serializedType.typeName || void 0,
|
|
4847
4842
|
type: serializedType.type.id,
|
|
4848
4843
|
decorators: serializedType._hasDecorators() ? serializedType.decorators.map((d) => d.id) : void 0,
|
|
@@ -4852,7 +4847,7 @@ function convertFromCapnpArray(serializedType) {
|
|
|
4852
4847
|
};
|
|
4853
4848
|
return result;
|
|
4854
4849
|
}
|
|
4855
|
-
|
|
4850
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpArray, "convertFromCapnpArray");
|
|
4856
4851
|
function convertToCapnpUnion(serializedType, result) {
|
|
4857
4852
|
result.kind = serializedType.kind;
|
|
4858
4853
|
result.typeName = serializedType.typeName || "";
|
|
@@ -4881,10 +4876,10 @@ function convertToCapnpUnion(serializedType, result) {
|
|
|
4881
4876
|
}
|
|
4882
4877
|
return result;
|
|
4883
4878
|
}
|
|
4884
|
-
|
|
4879
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpUnion, "convertToCapnpUnion");
|
|
4885
4880
|
function convertFromCapnpUnion(serializedType) {
|
|
4886
4881
|
const result = {
|
|
4887
|
-
kind:
|
|
4882
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.union,
|
|
4888
4883
|
typeName: serializedType.typeName || void 0,
|
|
4889
4884
|
types: serializedType._hasTypes() ? serializedType.types.map((t) => t.id) : [],
|
|
4890
4885
|
decorators: serializedType._hasDecorators() ? serializedType.decorators.map((d) => d.id) : void 0,
|
|
@@ -4893,7 +4888,7 @@ function convertFromCapnpUnion(serializedType) {
|
|
|
4893
4888
|
};
|
|
4894
4889
|
return result;
|
|
4895
4890
|
}
|
|
4896
|
-
|
|
4891
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpUnion, "convertFromCapnpUnion");
|
|
4897
4892
|
function convertToCapnpInfer(serializedType, result) {
|
|
4898
4893
|
result.kind = serializedType.kind;
|
|
4899
4894
|
result.typeName = serializedType.typeName || "";
|
|
@@ -4917,10 +4912,10 @@ function convertToCapnpInfer(serializedType, result) {
|
|
|
4917
4912
|
}
|
|
4918
4913
|
return result;
|
|
4919
4914
|
}
|
|
4920
|
-
|
|
4915
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpInfer, "convertToCapnpInfer");
|
|
4921
4916
|
function convertFromCapnpInfer(serializedType) {
|
|
4922
4917
|
const result = {
|
|
4923
|
-
kind:
|
|
4918
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.infer,
|
|
4924
4919
|
typeName: serializedType.typeName || void 0,
|
|
4925
4920
|
decorators: serializedType._hasDecorators() ? serializedType.decorators.map((d) => d.id) : void 0,
|
|
4926
4921
|
typeArguments: serializedType._hasTypeArguments() ? serializedType.typeArguments.map((t) => t.id) : void 0,
|
|
@@ -4928,7 +4923,7 @@ function convertFromCapnpInfer(serializedType) {
|
|
|
4928
4923
|
};
|
|
4929
4924
|
return result;
|
|
4930
4925
|
}
|
|
4931
|
-
|
|
4926
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpInfer, "convertFromCapnpInfer");
|
|
4932
4927
|
function convertToCapnpFunction(serializedType, result) {
|
|
4933
4928
|
result.name = String(serializedType.name) || "";
|
|
4934
4929
|
result.kind = serializedType.kind;
|
|
@@ -4966,13 +4961,13 @@ function convertToCapnpFunction(serializedType, result) {
|
|
|
4966
4961
|
}
|
|
4967
4962
|
return result;
|
|
4968
4963
|
}
|
|
4969
|
-
|
|
4964
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpFunction, "convertToCapnpFunction");
|
|
4970
4965
|
function convertToCapnpMethod(serializedType, result) {
|
|
4971
4966
|
result.name = String(serializedType.name) || "";
|
|
4972
4967
|
result.kind = serializedType.kind;
|
|
4973
4968
|
result.typeName = serializedType.typeName || "";
|
|
4974
4969
|
result.abstract = serializedType.abstract ?? false;
|
|
4975
|
-
result.visibility = serializedType.visibility ===
|
|
4970
|
+
result.visibility = serializedType.visibility === chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.public ? ReflectionVisibility.PUBLIC : serializedType.visibility === chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.protected ? ReflectionVisibility.PROTECTED : ReflectionVisibility.PRIVATE;
|
|
4976
4971
|
if (serializedType.decorators?.length) {
|
|
4977
4972
|
const decorators = result._initDecorators(serializedType.decorators.length);
|
|
4978
4973
|
serializedType.decorators.forEach((d, index) => {
|
|
@@ -5006,10 +5001,10 @@ function convertToCapnpMethod(serializedType, result) {
|
|
|
5006
5001
|
}
|
|
5007
5002
|
return result;
|
|
5008
5003
|
}
|
|
5009
|
-
|
|
5004
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpMethod, "convertToCapnpMethod");
|
|
5010
5005
|
function convertFromCapnpFunction(serializedType) {
|
|
5011
5006
|
const result = {
|
|
5012
|
-
kind:
|
|
5007
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.function,
|
|
5013
5008
|
name: serializedType.name,
|
|
5014
5009
|
typeName: serializedType.typeName || void 0,
|
|
5015
5010
|
decorators: serializedType._hasDecorators() ? serializedType.decorators.map((d) => d.id) : void 0,
|
|
@@ -5021,20 +5016,20 @@ function convertFromCapnpFunction(serializedType) {
|
|
|
5021
5016
|
};
|
|
5022
5017
|
return result;
|
|
5023
5018
|
}
|
|
5024
|
-
|
|
5019
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpFunction, "convertFromCapnpFunction");
|
|
5025
5020
|
function convertFromCapnpMethod(serializedType) {
|
|
5026
5021
|
const result = {
|
|
5027
|
-
kind:
|
|
5022
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.method,
|
|
5028
5023
|
name: serializedType.name,
|
|
5029
5024
|
typeName: serializedType.typeName || void 0,
|
|
5030
5025
|
abstract: serializedType.abstract ? true : void 0,
|
|
5031
5026
|
return: serializedType.return.id,
|
|
5032
|
-
visibility: serializedType.visibility === ReflectionVisibility.PUBLIC ?
|
|
5027
|
+
visibility: serializedType.visibility === ReflectionVisibility.PUBLIC ? chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.public : serializedType.visibility === ReflectionVisibility.PROTECTED ? chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.protected : chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.private,
|
|
5033
5028
|
parameters: serializedType._hasParameters() ? serializedType.parameters.map((parameter) => convertFromCapnpParameter(parameter)) : []
|
|
5034
5029
|
};
|
|
5035
5030
|
return result;
|
|
5036
5031
|
}
|
|
5037
|
-
|
|
5032
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpMethod, "convertFromCapnpMethod");
|
|
5038
5033
|
function convertToCapnpClassType(serializedType, result) {
|
|
5039
5034
|
result.kind = serializedType.kind;
|
|
5040
5035
|
result.typeName = serializedType.typeName || "";
|
|
@@ -5082,10 +5077,10 @@ function convertToCapnpClassType(serializedType, result) {
|
|
|
5082
5077
|
}
|
|
5083
5078
|
return result;
|
|
5084
5079
|
}
|
|
5085
|
-
|
|
5080
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpClassType, "convertToCapnpClassType");
|
|
5086
5081
|
function convertFromCapnpClassType(serializedType) {
|
|
5087
5082
|
const result = {
|
|
5088
|
-
kind:
|
|
5083
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.class,
|
|
5089
5084
|
typeName: serializedType.typeName || void 0,
|
|
5090
5085
|
classType: serializedType.classType,
|
|
5091
5086
|
globalObject: serializedType.globalObject ? true : void 0,
|
|
@@ -5100,7 +5095,7 @@ function convertFromCapnpClassType(serializedType) {
|
|
|
5100
5095
|
};
|
|
5101
5096
|
return result;
|
|
5102
5097
|
}
|
|
5103
|
-
|
|
5098
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpClassType, "convertFromCapnpClassType");
|
|
5104
5099
|
function convertToCapnpObjectLiteral(serializedType, result) {
|
|
5105
5100
|
if (serializedType.decorators?.length) {
|
|
5106
5101
|
const decorators = result._initDecorators(serializedType.decorators?.length ?? 0);
|
|
@@ -5133,10 +5128,10 @@ function convertToCapnpObjectLiteral(serializedType, result) {
|
|
|
5133
5128
|
}
|
|
5134
5129
|
return result;
|
|
5135
5130
|
}
|
|
5136
|
-
|
|
5131
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpObjectLiteral, "convertToCapnpObjectLiteral");
|
|
5137
5132
|
function convertFromCapnpObjectLiteral(serializedType) {
|
|
5138
5133
|
const result = {
|
|
5139
|
-
kind:
|
|
5134
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.objectLiteral,
|
|
5140
5135
|
typeName: serializedType.typeName || void 0,
|
|
5141
5136
|
decorators: serializedType._hasDecorators() ? serializedType.decorators.map((d) => d.id) : void 0,
|
|
5142
5137
|
types: serializedType._hasTypes() ? serializedType.types.map((t) => t.id) : [],
|
|
@@ -5146,14 +5141,14 @@ function convertFromCapnpObjectLiteral(serializedType) {
|
|
|
5146
5141
|
};
|
|
5147
5142
|
return result;
|
|
5148
5143
|
}
|
|
5149
|
-
|
|
5144
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpObjectLiteral, "convertFromCapnpObjectLiteral");
|
|
5150
5145
|
function convertToCapnpParameter(serializedType, result) {
|
|
5151
5146
|
result.kind = serializedType.kind;
|
|
5152
5147
|
result.typeName = serializedType.typeName || "";
|
|
5153
5148
|
result.name = serializedType.name || "";
|
|
5154
5149
|
result.optional = serializedType.optional ?? false;
|
|
5155
5150
|
result.readonly = serializedType.readonly ?? false;
|
|
5156
|
-
result.visibility = serializedType.visibility ===
|
|
5151
|
+
result.visibility = serializedType.visibility === chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.public ? ReflectionVisibility.PUBLIC : serializedType.visibility === chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.protected ? ReflectionVisibility.PROTECTED : ReflectionVisibility.PRIVATE;
|
|
5157
5152
|
if (typeof serializedType.default !== "undefined") {
|
|
5158
5153
|
const defaultValue = result._initDefault();
|
|
5159
5154
|
convertToCapnpDefault(serializedType.default, defaultValue);
|
|
@@ -5184,16 +5179,16 @@ function convertToCapnpParameter(serializedType, result) {
|
|
|
5184
5179
|
}
|
|
5185
5180
|
return result;
|
|
5186
5181
|
}
|
|
5187
|
-
|
|
5182
|
+
chunkGRNJVY7I_cjs.__name(convertToCapnpParameter, "convertToCapnpParameter");
|
|
5188
5183
|
function convertFromCapnpParameter(serializedType) {
|
|
5189
5184
|
const result = {
|
|
5190
|
-
kind:
|
|
5185
|
+
kind: chunk7J3ZDT6O_cjs.type_exports.ReflectionKind.parameter,
|
|
5191
5186
|
typeName: serializedType.typeName || void 0,
|
|
5192
5187
|
name: serializedType.name,
|
|
5193
5188
|
default: convertFromCapnpDefault(serializedType.default),
|
|
5194
5189
|
optional: serializedType.optional ? true : void 0,
|
|
5195
5190
|
readonly: serializedType.readonly ? true : void 0,
|
|
5196
|
-
visibility: serializedType.visibility === ReflectionVisibility.PUBLIC ?
|
|
5191
|
+
visibility: serializedType.visibility === ReflectionVisibility.PUBLIC ? chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.public : serializedType.visibility === ReflectionVisibility.PROTECTED ? chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.protected : chunk7J3ZDT6O_cjs.type_exports.ReflectionVisibility.private,
|
|
5197
5192
|
type: serializedType.type.id,
|
|
5198
5193
|
decorators: serializedType._hasDecorators() ? serializedType.decorators.map((d) => d.id) : void 0,
|
|
5199
5194
|
typeArguments: serializedType._hasTypeArguments() ? serializedType.typeArguments.map((t) => t.id) : void 0,
|
|
@@ -5202,7 +5197,7 @@ function convertFromCapnpParameter(serializedType) {
|
|
|
5202
5197
|
};
|
|
5203
5198
|
return result;
|
|
5204
5199
|
}
|
|
5205
|
-
|
|
5200
|
+
chunkGRNJVY7I_cjs.__name(convertFromCapnpParameter, "convertFromCapnpParameter");
|
|
5206
5201
|
|
|
5207
5202
|
exports.convertFromCapnp = convertFromCapnp;
|
|
5208
5203
|
exports.convertFromCapnpArray = convertFromCapnpArray;
|