@powerlines/deepkit 0.7.4 → 0.7.6
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-BLx1WTBU.cjs → capnp-BLCHrDSY.cjs} +42 -42
- package/dist/{capnp-BiGNkOmV.mjs → capnp-BqAglxrS.mjs} +265 -265
- package/dist/capnp.cjs +1 -1
- package/dist/capnp.d.cts +42 -44
- package/dist/capnp.d.mts +42 -44
- package/dist/capnp.mjs +1 -1
- package/dist/{chunk-C0xms8kb.cjs → chunk-BmvPcxpV.cjs} +7 -0
- package/dist/chunk-CgI6uo-e.mjs +32 -0
- package/dist/{vendor/type-compiler/compiler-D1z5h1MK.d.cts → compiler-B-zwyGQf.d.cts} +3 -201
- package/dist/{vendor/type-compiler/compiler-Bg8jX6qU.mjs → compiler-CoBHJbw6.mjs} +4 -191
- package/dist/{vendor/type-compiler/compiler-Nkxc4PLJ.d.mts → compiler-DLeSXEon.d.mts} +3 -201
- package/dist/{vendor/type-compiler/compiler-BUrWMhGi.cjs → compiler-TYAnj4GK.cjs} +207 -394
- package/dist/{vendor/type-compiler/config-B_cKkYZm.d.cts → config-DCmu3CV2.d.cts} +1 -1
- package/dist/config-DDRKbv_W.d.mts +1 -0
- package/dist/config-GPeRZeGl.d.cts +1 -0
- package/dist/{vendor/type-compiler/config-D9DM7Du_.d.mts → config-SjpQNPJf.d.mts} +1 -1
- package/dist/{vendor/type-compiler/config-BEX924PC.cjs → config-V3ttv0UZ.cjs} +20 -59
- package/dist/{vendor/type-compiler/config-y0HNkbCH.mjs → config-ldWMxkkM.mjs} +3 -32
- package/dist/esbuild-plugin.cjs +1 -1
- package/dist/esbuild-plugin.d.cts +18 -4
- package/dist/esbuild-plugin.d.mts +18 -4
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +1 -1
- package/dist/reflect-type.cjs +3 -3
- package/dist/reflect-type.d.cts +1 -1
- package/dist/reflect-type.d.mts +1 -1
- package/dist/reflect-type.mjs +1 -1
- package/dist/{reflection-C4IlLDrv.d.cts → reflection-DGOuMF8F.d.cts} +2 -2
- package/dist/{reflection-BB3pXP5l.d.mts → reflection-lA4jBKKP.d.mts} +2 -2
- package/dist/resolve-reflections.cjs +1 -1
- package/dist/rolldown-plugin.cjs +1 -1
- package/dist/{vendor/string-BuMgdahD.mjs → string-CjkshhTG.mjs} +2 -28
- package/dist/{vendor/string-BoXo0wS7.cjs → string-CpVz34Gv.cjs} +6 -39
- package/dist/transformer.cjs +6 -7
- package/dist/transformer.d.cts +1 -1
- package/dist/transformer.d.mts +1 -1
- package/dist/transformer.mjs +2 -3
- package/dist/transpile.cjs +6 -2
- package/dist/transpile.d.cts +1 -1
- package/dist/transpile.d.mts +1 -1
- package/dist/transpile.mjs +5 -1
- package/dist/type-8AL5U7vn.d.cts +2969 -0
- package/dist/{vendor/type-Dgeqs-rL.mjs → type-BWm74eaQ.mjs} +1 -1
- package/dist/{vendor/type-2yMJb9Mw.d.cts → type-C4eOl66J.d.mts} +1 -1
- package/dist/type-C7UXbXfx.cjs +10688 -0
- package/dist/{vendor/type-DEpHWwMt.d.mts → type-DR66Hepn.d.cts} +1 -1
- package/dist/type-SyDc32SL.d.mts +2969 -0
- package/dist/type-ma8o4dJG.mjs +9110 -0
- package/dist/{vendor/types-Ur6a2Srw.d.mts → types-Bb6lL3KL.d.cts} +1 -1
- package/dist/{vendor/types-exLGvFgG.d.cts → types-DYGcIrk3.d.mts} +1 -1
- package/dist/types.d.cts +4 -7
- package/dist/types.d.mts +4 -7
- package/dist/utilities.cjs +43 -43
- package/dist/utilities.d.cts +1 -1
- package/dist/utilities.d.mts +1 -1
- package/dist/utilities.mjs +1 -1
- package/dist/vendor/core.cjs +1 -1
- package/dist/vendor/core.d.cts +1 -1
- package/dist/vendor/core.d.mts +1 -1
- package/dist/vendor/core.mjs +1 -1
- package/dist/vendor/type-compiler/compiler.cjs +1 -1
- package/dist/vendor/type-compiler/compiler.d.cts +1 -1
- package/dist/vendor/type-compiler/compiler.d.mts +1 -1
- package/dist/vendor/type-compiler/compiler.mjs +1 -1
- package/dist/vendor/type-compiler/config.cjs +1 -1
- package/dist/vendor/type-compiler/config.d.cts +1 -1
- package/dist/vendor/type-compiler/config.d.mts +1 -1
- package/dist/vendor/type-compiler/config.mjs +1 -1
- package/dist/vendor/type-compiler/index.cjs +11 -3
- package/dist/vendor/type-compiler/index.d.cts +3 -2
- package/dist/vendor/type-compiler/index.d.mts +3 -2
- package/dist/vendor/type-compiler/index.mjs +3 -2
- package/dist/vendor/type-spec.cjs +1 -1
- package/dist/vendor/type-spec.d.cts +1 -1
- package/dist/vendor/type-spec.d.mts +1 -1
- package/dist/vendor/type-spec.mjs +1 -1
- package/dist/vendor/type.cjs +268 -9374
- package/dist/vendor/type.d.cts +3 -2969
- package/dist/vendor/type.d.mts +3 -2969
- package/dist/vendor/type.mjs +3 -9109
- package/package.json +13 -26
- package/schemas/reflection.d.cts +1 -6
- package/schemas/reflection.d.mts +1 -6
- /package/dist/{vendor/type-BMLjRtLY.cjs → type-DhqntM0q.cjs} +0 -0
package/dist/capnp.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_capnp = require('./capnp-
|
|
2
|
+
const require_capnp = require('./capnp-BLCHrDSY.cjs');
|
|
3
3
|
|
|
4
4
|
exports.convertFromCapnp = require_capnp.convertFromCapnp;
|
|
5
5
|
exports.convertFromCapnpArray = require_capnp.convertFromCapnpArray;
|
package/dist/capnp.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as SimpleSerializedType
|
|
2
|
-
import {
|
|
1
|
+
import { C as SimpleSerializedType, _ as SerializedTypePropertySignature, a as SerializedTypeClassType, b as SerializedTypeUnion, c as SerializedTypeInfer, d as SerializedTypeMethod, f as SerializedTypeMethodSignature, g as SerializedTypeProperty, h as SerializedTypeParameter, i as SerializedTypeArray, l as SerializedTypeIntersection, m as SerializedTypeOther, n as IndexAccessOrigin, o as SerializedTypeEnum, p as SerializedTypeObjectLiteral, r as SerializedType, s as SerializedTypeFunction, t as DefaultValueReflection, u as SerializedTypeLiteral, v as SerializedTypeTuple, w as TagsReflection, x as SerializedType_Type, y as SerializedTypeTupleMember } from "./reflection-DGOuMF8F.cjs";
|
|
2
|
+
import { Ci as SerializedTypeProperty$1, Mi as SerializedTypes, Oa as TagsReflection$1, Oi as SerializedTypeTuple$1, Pi as SimpleSerializedType$1, Sa as ReflectionKind, Ti as SerializedTypeReference, _i as SerializedTypeLiteral$1, bi as SerializedTypeObjectLiteral$1, di as SerializedTypeClassType$1, fi as SerializedTypeEnum$1, gi as SerializedTypeIntersection$1, hi as SerializedTypeInfer$1, ji as SerializedTypeUnion$1, ki as SerializedTypeTupleMember$1, li as SerializedTypeArray$1, pi as SerializedTypeFunction$1, si as SerializedType$1, vi as SerializedTypeMethod$1, wi as SerializedTypePropertySignature$1, xi as SerializedTypeParameter$1, yi as SerializedTypeMethodSignature$1 } from "./type-8AL5U7vn.cjs";
|
|
3
3
|
import { List } from "@stryke/capnp";
|
|
4
4
|
|
|
5
5
|
//#region src/capnp.d.ts
|
|
@@ -9,21 +9,21 @@ import { List } from "@stryke/capnp";
|
|
|
9
9
|
* @param serializedTypes - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
10
10
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
11
11
|
*/
|
|
12
|
-
declare function convertToCapnp(serializedTypes: SerializedTypes, result: List<SerializedType
|
|
12
|
+
declare function convertToCapnp(serializedTypes: SerializedTypes, result: List<SerializedType>): List<SerializedType>;
|
|
13
13
|
/**
|
|
14
14
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
15
15
|
*
|
|
16
16
|
* @param serializedTypes - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema
|
|
17
17
|
* @returns The [Deepkit](https://deepkit.io/) {@link SerializedTypes | serialized types} converted from the Cap'n Proto serialized type
|
|
18
18
|
*/
|
|
19
|
-
declare function convertFromCapnp(serializedTypes: List<SerializedType
|
|
19
|
+
declare function convertFromCapnp(serializedTypes: List<SerializedType>): SerializedTypes;
|
|
20
20
|
/**
|
|
21
21
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
22
22
|
*
|
|
23
23
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
24
24
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
25
25
|
*/
|
|
26
|
-
declare function convertToCapnpTagsReflection(result: TagsReflection
|
|
26
|
+
declare function convertToCapnpTagsReflection(result: TagsReflection, serializedType?: TagsReflection$1): TagsReflection;
|
|
27
27
|
interface WithTagsReflection {
|
|
28
28
|
_hasTags: () => boolean;
|
|
29
29
|
tags?: {
|
|
@@ -79,92 +79,90 @@ declare function convertFromCapnpIndexAccessOrigin(serializedType: WithIndexAcce
|
|
|
79
79
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
80
80
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
81
81
|
*/
|
|
82
|
-
declare function convertToCapnpBase(serializedType: SerializedType, result: SerializedType_Type): SerializedType_Type;
|
|
83
|
-
declare function convertFromCapnpBase(serializedType: SerializedType_Type): SerializedType;
|
|
84
|
-
declare function convertFromCapnpOther(serializedType: SerializedTypeOther): SerializedType;
|
|
85
|
-
declare function convertFromCapnpSimple(serializedType: SimpleSerializedType
|
|
82
|
+
declare function convertToCapnpBase(serializedType: SerializedType$1, result: SerializedType_Type): SerializedType_Type;
|
|
83
|
+
declare function convertFromCapnpBase(serializedType: SerializedType_Type): SerializedType$1;
|
|
84
|
+
declare function convertFromCapnpOther(serializedType: SerializedTypeOther): SerializedType$1;
|
|
85
|
+
declare function convertFromCapnpSimple(serializedType: SimpleSerializedType): SimpleSerializedType$1;
|
|
86
86
|
declare function convertToCapnpOther(serializedType: {
|
|
87
87
|
kind: ReflectionKind;
|
|
88
88
|
typeName?: string;
|
|
89
89
|
}, result: SerializedTypeOther): SerializedTypeOther;
|
|
90
|
-
declare function convertToCapnpSimple(serializedType: SimpleSerializedType, result: SimpleSerializedType
|
|
91
|
-
declare function convertFromCapnpLiteral(serializedType: SerializedTypeLiteral
|
|
92
|
-
declare function convertToCapnpLiteral(serializedType: SerializedTypeLiteral, result: SerializedTypeLiteral
|
|
93
|
-
declare function convertFromCapnpMethodSignature(serializedType: SerializedTypeMethodSignature
|
|
94
|
-
declare function convertToCapnpMethodSignature(serializedType: SerializedTypeMethodSignature, result: SerializedTypeMethodSignature
|
|
95
|
-
declare function convertFromCapnpPropertySignature(serializedType: SerializedTypePropertySignature
|
|
90
|
+
declare function convertToCapnpSimple(serializedType: SimpleSerializedType$1, result: SimpleSerializedType): SimpleSerializedType;
|
|
91
|
+
declare function convertFromCapnpLiteral(serializedType: SerializedTypeLiteral): SerializedTypeLiteral$1;
|
|
92
|
+
declare function convertToCapnpLiteral(serializedType: SerializedTypeLiteral$1, result: SerializedTypeLiteral): SerializedTypeLiteral;
|
|
93
|
+
declare function convertFromCapnpMethodSignature(serializedType: SerializedTypeMethodSignature): SerializedTypeMethodSignature$1;
|
|
94
|
+
declare function convertToCapnpMethodSignature(serializedType: SerializedTypeMethodSignature$1, result: SerializedTypeMethodSignature): SerializedTypeMethodSignature;
|
|
95
|
+
declare function convertFromCapnpPropertySignature(serializedType: SerializedTypePropertySignature): SerializedTypePropertySignature$1;
|
|
96
96
|
declare function convertToCapnpDefault(defaultValue: any, result: DefaultValueReflection): void;
|
|
97
97
|
declare function convertFromCapnpDefault(serializedType: DefaultValueReflection): any;
|
|
98
|
-
declare function convertToCapnpPropertySignature(serializedType: SerializedTypePropertySignature, result: SerializedTypePropertySignature
|
|
99
|
-
declare function convertToCapnpTupleMember(serializedType: SerializedTypeTupleMember, result: SerializedTypeTupleMember
|
|
100
|
-
declare function convertFromCapnpTupleMember(serializedType: SerializedTypeTupleMember
|
|
101
|
-
declare function convertToCapnpTuple(serializedType: SerializedTypeTuple, result: SerializedTypeTuple
|
|
102
|
-
declare function convertFromCapnpTuple(serializedType: SerializedTypeTuple
|
|
103
|
-
declare function convertToCapnpProperty(serializedType: SerializedTypeProperty, result: SerializedTypeProperty
|
|
104
|
-
declare function convertFromCapnpProperty(serializedType: SerializedTypeProperty
|
|
105
|
-
declare function convertToCapnpEnum(serializedType: SerializedTypeEnum, result: SerializedTypeEnum
|
|
106
|
-
declare function convertFromCapnpEnum(serializedType: SerializedTypeEnum
|
|
107
|
-
declare function convertToCapnpIntersection(serializedType: SerializedTypeIntersection, result: SerializedTypeIntersection
|
|
108
|
-
declare function convertFromCapnpIntersection(serializedType: SerializedTypeIntersection
|
|
109
|
-
declare function convertToCapnpArray(serializedType: SerializedTypeArray, result: SerializedTypeArray
|
|
110
|
-
declare function convertFromCapnpArray(serializedType: SerializedTypeArray
|
|
98
|
+
declare function convertToCapnpPropertySignature(serializedType: SerializedTypePropertySignature$1, result: SerializedTypePropertySignature): SerializedTypePropertySignature;
|
|
99
|
+
declare function convertToCapnpTupleMember(serializedType: SerializedTypeTupleMember$1, result: SerializedTypeTupleMember): SerializedTypeTupleMember;
|
|
100
|
+
declare function convertFromCapnpTupleMember(serializedType: SerializedTypeTupleMember): SerializedTypeTupleMember$1;
|
|
101
|
+
declare function convertToCapnpTuple(serializedType: SerializedTypeTuple$1, result: SerializedTypeTuple): SerializedTypeTuple;
|
|
102
|
+
declare function convertFromCapnpTuple(serializedType: SerializedTypeTuple): SerializedTypeTuple$1;
|
|
103
|
+
declare function convertToCapnpProperty(serializedType: SerializedTypeProperty$1, result: SerializedTypeProperty): SerializedTypeProperty;
|
|
104
|
+
declare function convertFromCapnpProperty(serializedType: SerializedTypeProperty): SerializedTypeProperty$1;
|
|
105
|
+
declare function convertToCapnpEnum(serializedType: SerializedTypeEnum$1, result: SerializedTypeEnum): SerializedTypeEnum;
|
|
106
|
+
declare function convertFromCapnpEnum(serializedType: SerializedTypeEnum): SerializedTypeEnum$1;
|
|
107
|
+
declare function convertToCapnpIntersection(serializedType: SerializedTypeIntersection$1, result: SerializedTypeIntersection): SerializedTypeIntersection;
|
|
108
|
+
declare function convertFromCapnpIntersection(serializedType: SerializedTypeIntersection): SerializedTypeIntersection$1;
|
|
109
|
+
declare function convertToCapnpArray(serializedType: SerializedTypeArray$1, result: SerializedTypeArray): SerializedTypeArray;
|
|
110
|
+
declare function convertFromCapnpArray(serializedType: SerializedTypeArray): SerializedTypeArray$1;
|
|
111
111
|
/**
|
|
112
112
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
113
113
|
*
|
|
114
114
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
115
115
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
116
116
|
*/
|
|
117
|
-
declare function convertToCapnpUnion(serializedType: SerializedTypeUnion, result: SerializedTypeUnion
|
|
118
|
-
declare function convertFromCapnpUnion(serializedType: SerializedTypeUnion
|
|
117
|
+
declare function convertToCapnpUnion(serializedType: SerializedTypeUnion$1, result: SerializedTypeUnion): SerializedTypeUnion;
|
|
118
|
+
declare function convertFromCapnpUnion(serializedType: SerializedTypeUnion): SerializedTypeUnion$1;
|
|
119
119
|
/**
|
|
120
120
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
121
121
|
*
|
|
122
122
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert.
|
|
123
123
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
124
124
|
*/
|
|
125
|
-
declare function convertToCapnpInfer(serializedType: SerializedTypeInfer, result: SerializedTypeInfer
|
|
126
|
-
declare function convertFromCapnpInfer(serializedType: SerializedTypeInfer
|
|
125
|
+
declare function convertToCapnpInfer(serializedType: SerializedTypeInfer$1, result: SerializedTypeInfer): SerializedTypeInfer;
|
|
126
|
+
declare function convertFromCapnpInfer(serializedType: SerializedTypeInfer): SerializedTypeInfer$1;
|
|
127
127
|
/**
|
|
128
128
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
129
129
|
*
|
|
130
130
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
131
131
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
132
132
|
*/
|
|
133
|
-
declare function convertToCapnpFunction(serializedType: SerializedTypeFunction, result: SerializedTypeFunction
|
|
133
|
+
declare function convertToCapnpFunction(serializedType: SerializedTypeFunction$1, result: SerializedTypeFunction): SerializedTypeFunction;
|
|
134
134
|
/**
|
|
135
135
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
136
136
|
*
|
|
137
137
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
138
138
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
139
139
|
*/
|
|
140
|
-
declare function convertToCapnpMethod(serializedType: SerializedTypeMethod, result: SerializedTypeMethod
|
|
141
|
-
declare function convertFromCapnpFunction(serializedType: SerializedTypeFunction
|
|
140
|
+
declare function convertToCapnpMethod(serializedType: SerializedTypeMethod$1, result: SerializedTypeMethod): SerializedTypeMethod;
|
|
141
|
+
declare function convertFromCapnpFunction(serializedType: SerializedTypeFunction): SerializedTypeFunction$1;
|
|
142
142
|
/**
|
|
143
143
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
144
144
|
*
|
|
145
145
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
146
146
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
147
147
|
*/
|
|
148
|
-
declare function convertToCapnpClassType(serializedType: SerializedTypeClassType, result: SerializedTypeClassType
|
|
149
|
-
declare function convertFromCapnpClassType(serializedType: SerializedTypeClassType
|
|
148
|
+
declare function convertToCapnpClassType(serializedType: SerializedTypeClassType$1, result: SerializedTypeClassType): SerializedTypeClassType;
|
|
149
|
+
declare function convertFromCapnpClassType(serializedType: SerializedTypeClassType): SerializedTypeClassType$1;
|
|
150
150
|
/**
|
|
151
151
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
152
152
|
*
|
|
153
153
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
154
154
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
155
155
|
*/
|
|
156
|
-
declare function convertToCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral, result: SerializedTypeObjectLiteral
|
|
157
|
-
declare function convertFromCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral
|
|
156
|
+
declare function convertToCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral$1, result: SerializedTypeObjectLiteral): SerializedTypeObjectLiteral;
|
|
157
|
+
declare function convertFromCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral): SerializedTypeObjectLiteral$1;
|
|
158
158
|
/**
|
|
159
159
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
160
160
|
*
|
|
161
161
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
162
162
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
163
163
|
*/
|
|
164
|
-
declare function convertToCapnpParameter(serializedType: SerializedTypeParameter, result: SerializedTypeParameter
|
|
165
|
-
declare function convertFromCapnpParameter(serializedType: SerializedTypeParameter
|
|
166
|
-
declare type __ΩWithTagsReflection = any[];
|
|
167
|
-
declare type __ΩWithIndexAccessOrigin = any[];
|
|
164
|
+
declare function convertToCapnpParameter(serializedType: SerializedTypeParameter$1, result: SerializedTypeParameter): SerializedTypeParameter;
|
|
165
|
+
declare function convertFromCapnpParameter(serializedType: SerializedTypeParameter): SerializedTypeParameter$1;
|
|
168
166
|
//#endregion
|
|
169
|
-
export { WithIndexAccessOrigin, WithTagsReflection,
|
|
167
|
+
export { WithIndexAccessOrigin, WithTagsReflection, convertFromCapnp, convertFromCapnpArray, convertFromCapnpBase, convertFromCapnpClassType, convertFromCapnpDefault, convertFromCapnpEnum, convertFromCapnpFunction, convertFromCapnpIndexAccessOrigin, convertFromCapnpInfer, convertFromCapnpIntersection, convertFromCapnpLiteral, convertFromCapnpMethodSignature, convertFromCapnpObjectLiteral, convertFromCapnpOther, convertFromCapnpParameter, convertFromCapnpProperty, convertFromCapnpPropertySignature, convertFromCapnpSimple, convertFromCapnpTagsReflection, convertFromCapnpTuple, convertFromCapnpTupleMember, convertFromCapnpUnion, convertToCapnp, convertToCapnpArray, convertToCapnpBase, convertToCapnpClassType, convertToCapnpDefault, convertToCapnpEnum, convertToCapnpFunction, convertToCapnpIndexAccessOrigin, convertToCapnpInfer, convertToCapnpIntersection, convertToCapnpLiteral, convertToCapnpMethod, convertToCapnpMethodSignature, convertToCapnpObjectLiteral, convertToCapnpOther, convertToCapnpParameter, convertToCapnpProperty, convertToCapnpPropertySignature, convertToCapnpSimple, convertToCapnpTagsReflection, convertToCapnpTuple, convertToCapnpTupleMember, convertToCapnpUnion };
|
|
170
168
|
//# sourceMappingURL=capnp.d.cts.map
|
package/dist/capnp.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as SimpleSerializedType
|
|
2
|
-
import {
|
|
1
|
+
import { C as SimpleSerializedType, _ as SerializedTypePropertySignature, a as SerializedTypeClassType, b as SerializedTypeUnion, c as SerializedTypeInfer, d as SerializedTypeMethod, f as SerializedTypeMethodSignature, g as SerializedTypeProperty, h as SerializedTypeParameter, i as SerializedTypeArray, l as SerializedTypeIntersection, m as SerializedTypeOther, n as IndexAccessOrigin, o as SerializedTypeEnum, p as SerializedTypeObjectLiteral, r as SerializedType, s as SerializedTypeFunction, t as DefaultValueReflection, u as SerializedTypeLiteral, v as SerializedTypeTuple, w as TagsReflection, x as SerializedType_Type, y as SerializedTypeTupleMember } from "./reflection-lA4jBKKP.mjs";
|
|
2
|
+
import { Ci as SerializedTypeProperty$1, Mi as SerializedTypes, Oa as TagsReflection$1, Oi as SerializedTypeTuple$1, Pi as SimpleSerializedType$1, Sa as ReflectionKind, Ti as SerializedTypeReference, _i as SerializedTypeLiteral$1, bi as SerializedTypeObjectLiteral$1, di as SerializedTypeClassType$1, fi as SerializedTypeEnum$1, gi as SerializedTypeIntersection$1, hi as SerializedTypeInfer$1, ji as SerializedTypeUnion$1, ki as SerializedTypeTupleMember$1, li as SerializedTypeArray$1, pi as SerializedTypeFunction$1, si as SerializedType$1, vi as SerializedTypeMethod$1, wi as SerializedTypePropertySignature$1, xi as SerializedTypeParameter$1, yi as SerializedTypeMethodSignature$1 } from "./type-SyDc32SL.mjs";
|
|
3
3
|
import { List } from "@stryke/capnp";
|
|
4
4
|
|
|
5
5
|
//#region src/capnp.d.ts
|
|
@@ -9,21 +9,21 @@ import { List } from "@stryke/capnp";
|
|
|
9
9
|
* @param serializedTypes - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
10
10
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
11
11
|
*/
|
|
12
|
-
declare function convertToCapnp(serializedTypes: SerializedTypes, result: List<SerializedType
|
|
12
|
+
declare function convertToCapnp(serializedTypes: SerializedTypes, result: List<SerializedType>): List<SerializedType>;
|
|
13
13
|
/**
|
|
14
14
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
15
15
|
*
|
|
16
16
|
* @param serializedTypes - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema
|
|
17
17
|
* @returns The [Deepkit](https://deepkit.io/) {@link SerializedTypes | serialized types} converted from the Cap'n Proto serialized type
|
|
18
18
|
*/
|
|
19
|
-
declare function convertFromCapnp(serializedTypes: List<SerializedType
|
|
19
|
+
declare function convertFromCapnp(serializedTypes: List<SerializedType>): SerializedTypes;
|
|
20
20
|
/**
|
|
21
21
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
22
22
|
*
|
|
23
23
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
24
24
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
25
25
|
*/
|
|
26
|
-
declare function convertToCapnpTagsReflection(result: TagsReflection
|
|
26
|
+
declare function convertToCapnpTagsReflection(result: TagsReflection, serializedType?: TagsReflection$1): TagsReflection;
|
|
27
27
|
interface WithTagsReflection {
|
|
28
28
|
_hasTags: () => boolean;
|
|
29
29
|
tags?: {
|
|
@@ -79,92 +79,90 @@ declare function convertFromCapnpIndexAccessOrigin(serializedType: WithIndexAcce
|
|
|
79
79
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
80
80
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
81
81
|
*/
|
|
82
|
-
declare function convertToCapnpBase(serializedType: SerializedType, result: SerializedType_Type): SerializedType_Type;
|
|
83
|
-
declare function convertFromCapnpBase(serializedType: SerializedType_Type): SerializedType;
|
|
84
|
-
declare function convertFromCapnpOther(serializedType: SerializedTypeOther): SerializedType;
|
|
85
|
-
declare function convertFromCapnpSimple(serializedType: SimpleSerializedType
|
|
82
|
+
declare function convertToCapnpBase(serializedType: SerializedType$1, result: SerializedType_Type): SerializedType_Type;
|
|
83
|
+
declare function convertFromCapnpBase(serializedType: SerializedType_Type): SerializedType$1;
|
|
84
|
+
declare function convertFromCapnpOther(serializedType: SerializedTypeOther): SerializedType$1;
|
|
85
|
+
declare function convertFromCapnpSimple(serializedType: SimpleSerializedType): SimpleSerializedType$1;
|
|
86
86
|
declare function convertToCapnpOther(serializedType: {
|
|
87
87
|
kind: ReflectionKind;
|
|
88
88
|
typeName?: string;
|
|
89
89
|
}, result: SerializedTypeOther): SerializedTypeOther;
|
|
90
|
-
declare function convertToCapnpSimple(serializedType: SimpleSerializedType, result: SimpleSerializedType
|
|
91
|
-
declare function convertFromCapnpLiteral(serializedType: SerializedTypeLiteral
|
|
92
|
-
declare function convertToCapnpLiteral(serializedType: SerializedTypeLiteral, result: SerializedTypeLiteral
|
|
93
|
-
declare function convertFromCapnpMethodSignature(serializedType: SerializedTypeMethodSignature
|
|
94
|
-
declare function convertToCapnpMethodSignature(serializedType: SerializedTypeMethodSignature, result: SerializedTypeMethodSignature
|
|
95
|
-
declare function convertFromCapnpPropertySignature(serializedType: SerializedTypePropertySignature
|
|
90
|
+
declare function convertToCapnpSimple(serializedType: SimpleSerializedType$1, result: SimpleSerializedType): SimpleSerializedType;
|
|
91
|
+
declare function convertFromCapnpLiteral(serializedType: SerializedTypeLiteral): SerializedTypeLiteral$1;
|
|
92
|
+
declare function convertToCapnpLiteral(serializedType: SerializedTypeLiteral$1, result: SerializedTypeLiteral): SerializedTypeLiteral;
|
|
93
|
+
declare function convertFromCapnpMethodSignature(serializedType: SerializedTypeMethodSignature): SerializedTypeMethodSignature$1;
|
|
94
|
+
declare function convertToCapnpMethodSignature(serializedType: SerializedTypeMethodSignature$1, result: SerializedTypeMethodSignature): SerializedTypeMethodSignature;
|
|
95
|
+
declare function convertFromCapnpPropertySignature(serializedType: SerializedTypePropertySignature): SerializedTypePropertySignature$1;
|
|
96
96
|
declare function convertToCapnpDefault(defaultValue: any, result: DefaultValueReflection): void;
|
|
97
97
|
declare function convertFromCapnpDefault(serializedType: DefaultValueReflection): any;
|
|
98
|
-
declare function convertToCapnpPropertySignature(serializedType: SerializedTypePropertySignature, result: SerializedTypePropertySignature
|
|
99
|
-
declare function convertToCapnpTupleMember(serializedType: SerializedTypeTupleMember, result: SerializedTypeTupleMember
|
|
100
|
-
declare function convertFromCapnpTupleMember(serializedType: SerializedTypeTupleMember
|
|
101
|
-
declare function convertToCapnpTuple(serializedType: SerializedTypeTuple, result: SerializedTypeTuple
|
|
102
|
-
declare function convertFromCapnpTuple(serializedType: SerializedTypeTuple
|
|
103
|
-
declare function convertToCapnpProperty(serializedType: SerializedTypeProperty, result: SerializedTypeProperty
|
|
104
|
-
declare function convertFromCapnpProperty(serializedType: SerializedTypeProperty
|
|
105
|
-
declare function convertToCapnpEnum(serializedType: SerializedTypeEnum, result: SerializedTypeEnum
|
|
106
|
-
declare function convertFromCapnpEnum(serializedType: SerializedTypeEnum
|
|
107
|
-
declare function convertToCapnpIntersection(serializedType: SerializedTypeIntersection, result: SerializedTypeIntersection
|
|
108
|
-
declare function convertFromCapnpIntersection(serializedType: SerializedTypeIntersection
|
|
109
|
-
declare function convertToCapnpArray(serializedType: SerializedTypeArray, result: SerializedTypeArray
|
|
110
|
-
declare function convertFromCapnpArray(serializedType: SerializedTypeArray
|
|
98
|
+
declare function convertToCapnpPropertySignature(serializedType: SerializedTypePropertySignature$1, result: SerializedTypePropertySignature): SerializedTypePropertySignature;
|
|
99
|
+
declare function convertToCapnpTupleMember(serializedType: SerializedTypeTupleMember$1, result: SerializedTypeTupleMember): SerializedTypeTupleMember;
|
|
100
|
+
declare function convertFromCapnpTupleMember(serializedType: SerializedTypeTupleMember): SerializedTypeTupleMember$1;
|
|
101
|
+
declare function convertToCapnpTuple(serializedType: SerializedTypeTuple$1, result: SerializedTypeTuple): SerializedTypeTuple;
|
|
102
|
+
declare function convertFromCapnpTuple(serializedType: SerializedTypeTuple): SerializedTypeTuple$1;
|
|
103
|
+
declare function convertToCapnpProperty(serializedType: SerializedTypeProperty$1, result: SerializedTypeProperty): SerializedTypeProperty;
|
|
104
|
+
declare function convertFromCapnpProperty(serializedType: SerializedTypeProperty): SerializedTypeProperty$1;
|
|
105
|
+
declare function convertToCapnpEnum(serializedType: SerializedTypeEnum$1, result: SerializedTypeEnum): SerializedTypeEnum;
|
|
106
|
+
declare function convertFromCapnpEnum(serializedType: SerializedTypeEnum): SerializedTypeEnum$1;
|
|
107
|
+
declare function convertToCapnpIntersection(serializedType: SerializedTypeIntersection$1, result: SerializedTypeIntersection): SerializedTypeIntersection;
|
|
108
|
+
declare function convertFromCapnpIntersection(serializedType: SerializedTypeIntersection): SerializedTypeIntersection$1;
|
|
109
|
+
declare function convertToCapnpArray(serializedType: SerializedTypeArray$1, result: SerializedTypeArray): SerializedTypeArray;
|
|
110
|
+
declare function convertFromCapnpArray(serializedType: SerializedTypeArray): SerializedTypeArray$1;
|
|
111
111
|
/**
|
|
112
112
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
113
113
|
*
|
|
114
114
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
115
115
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
116
116
|
*/
|
|
117
|
-
declare function convertToCapnpUnion(serializedType: SerializedTypeUnion, result: SerializedTypeUnion
|
|
118
|
-
declare function convertFromCapnpUnion(serializedType: SerializedTypeUnion
|
|
117
|
+
declare function convertToCapnpUnion(serializedType: SerializedTypeUnion$1, result: SerializedTypeUnion): SerializedTypeUnion;
|
|
118
|
+
declare function convertFromCapnpUnion(serializedType: SerializedTypeUnion): SerializedTypeUnion$1;
|
|
119
119
|
/**
|
|
120
120
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
121
121
|
*
|
|
122
122
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert.
|
|
123
123
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
124
124
|
*/
|
|
125
|
-
declare function convertToCapnpInfer(serializedType: SerializedTypeInfer, result: SerializedTypeInfer
|
|
126
|
-
declare function convertFromCapnpInfer(serializedType: SerializedTypeInfer
|
|
125
|
+
declare function convertToCapnpInfer(serializedType: SerializedTypeInfer$1, result: SerializedTypeInfer): SerializedTypeInfer;
|
|
126
|
+
declare function convertFromCapnpInfer(serializedType: SerializedTypeInfer): SerializedTypeInfer$1;
|
|
127
127
|
/**
|
|
128
128
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
129
129
|
*
|
|
130
130
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
131
131
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
132
132
|
*/
|
|
133
|
-
declare function convertToCapnpFunction(serializedType: SerializedTypeFunction, result: SerializedTypeFunction
|
|
133
|
+
declare function convertToCapnpFunction(serializedType: SerializedTypeFunction$1, result: SerializedTypeFunction): SerializedTypeFunction;
|
|
134
134
|
/**
|
|
135
135
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
136
136
|
*
|
|
137
137
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
138
138
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
139
139
|
*/
|
|
140
|
-
declare function convertToCapnpMethod(serializedType: SerializedTypeMethod, result: SerializedTypeMethod
|
|
141
|
-
declare function convertFromCapnpFunction(serializedType: SerializedTypeFunction
|
|
140
|
+
declare function convertToCapnpMethod(serializedType: SerializedTypeMethod$1, result: SerializedTypeMethod): SerializedTypeMethod;
|
|
141
|
+
declare function convertFromCapnpFunction(serializedType: SerializedTypeFunction): SerializedTypeFunction$1;
|
|
142
142
|
/**
|
|
143
143
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
144
144
|
*
|
|
145
145
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
146
146
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
147
147
|
*/
|
|
148
|
-
declare function convertToCapnpClassType(serializedType: SerializedTypeClassType, result: SerializedTypeClassType
|
|
149
|
-
declare function convertFromCapnpClassType(serializedType: SerializedTypeClassType
|
|
148
|
+
declare function convertToCapnpClassType(serializedType: SerializedTypeClassType$1, result: SerializedTypeClassType): SerializedTypeClassType;
|
|
149
|
+
declare function convertFromCapnpClassType(serializedType: SerializedTypeClassType): SerializedTypeClassType$1;
|
|
150
150
|
/**
|
|
151
151
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
152
152
|
*
|
|
153
153
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
154
154
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
155
155
|
*/
|
|
156
|
-
declare function convertToCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral, result: SerializedTypeObjectLiteral
|
|
157
|
-
declare function convertFromCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral
|
|
156
|
+
declare function convertToCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral$1, result: SerializedTypeObjectLiteral): SerializedTypeObjectLiteral;
|
|
157
|
+
declare function convertFromCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral): SerializedTypeObjectLiteral$1;
|
|
158
158
|
/**
|
|
159
159
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
160
160
|
*
|
|
161
161
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
162
162
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
163
163
|
*/
|
|
164
|
-
declare function convertToCapnpParameter(serializedType: SerializedTypeParameter, result: SerializedTypeParameter
|
|
165
|
-
declare function convertFromCapnpParameter(serializedType: SerializedTypeParameter
|
|
166
|
-
declare type __ΩWithTagsReflection = any[];
|
|
167
|
-
declare type __ΩWithIndexAccessOrigin = any[];
|
|
164
|
+
declare function convertToCapnpParameter(serializedType: SerializedTypeParameter$1, result: SerializedTypeParameter): SerializedTypeParameter;
|
|
165
|
+
declare function convertFromCapnpParameter(serializedType: SerializedTypeParameter): SerializedTypeParameter$1;
|
|
168
166
|
//#endregion
|
|
169
|
-
export { WithIndexAccessOrigin, WithTagsReflection,
|
|
167
|
+
export { WithIndexAccessOrigin, WithTagsReflection, convertFromCapnp, convertFromCapnpArray, convertFromCapnpBase, convertFromCapnpClassType, convertFromCapnpDefault, convertFromCapnpEnum, convertFromCapnpFunction, convertFromCapnpIndexAccessOrigin, convertFromCapnpInfer, convertFromCapnpIntersection, convertFromCapnpLiteral, convertFromCapnpMethodSignature, convertFromCapnpObjectLiteral, convertFromCapnpOther, convertFromCapnpParameter, convertFromCapnpProperty, convertFromCapnpPropertySignature, convertFromCapnpSimple, convertFromCapnpTagsReflection, convertFromCapnpTuple, convertFromCapnpTupleMember, convertFromCapnpUnion, convertToCapnp, convertToCapnpArray, convertToCapnpBase, convertToCapnpClassType, convertToCapnpDefault, convertToCapnpEnum, convertToCapnpFunction, convertToCapnpIndexAccessOrigin, convertToCapnpInfer, convertToCapnpIntersection, convertToCapnpLiteral, convertToCapnpMethod, convertToCapnpMethodSignature, convertToCapnpObjectLiteral, convertToCapnpOther, convertToCapnpParameter, convertToCapnpProperty, convertToCapnpPropertySignature, convertToCapnpSimple, convertToCapnpTagsReflection, convertToCapnpTuple, convertToCapnpTupleMember, convertToCapnpUnion };
|
|
170
168
|
//# sourceMappingURL=capnp.d.mts.map
|
package/dist/capnp.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as convertToCapnpIndexAccessOrigin, B as convertToCapnpPropertySignature, C as convertToCapnp, D as convertToCapnpDefault, E as convertToCapnpClassType, F as convertToCapnpMethodSignature, G as convertToCapnpUnion, H as convertToCapnpTagsReflection, I as convertToCapnpObjectLiteral, L as convertToCapnpOther, M as convertToCapnpIntersection, N as convertToCapnpLiteral, O as convertToCapnpEnum, P as convertToCapnpMethod, R as convertToCapnpParameter, S as convertFromCapnpUnion, T as convertToCapnpBase, U as convertToCapnpTuple, V as convertToCapnpSimple, W as convertToCapnpTupleMember, _ as convertFromCapnpPropertySignature, a as convertFromCapnpDefault, b as convertFromCapnpTuple, c as convertFromCapnpIndexAccessOrigin, d as convertFromCapnpLiteral, f as convertFromCapnpMethodSignature, g as convertFromCapnpProperty, h as convertFromCapnpParameter, i as convertFromCapnpClassType, j as convertToCapnpInfer, k as convertToCapnpFunction, l as convertFromCapnpInfer, m as convertFromCapnpOther, n as convertFromCapnpArray, o as convertFromCapnpEnum, p as convertFromCapnpObjectLiteral, r as convertFromCapnpBase, s as convertFromCapnpFunction, t as convertFromCapnp, u as convertFromCapnpIntersection, v as convertFromCapnpSimple, w as convertToCapnpArray, x as convertFromCapnpTupleMember, y as convertFromCapnpTagsReflection, z as convertToCapnpProperty } from "./capnp-
|
|
1
|
+
import { A as convertToCapnpIndexAccessOrigin, B as convertToCapnpPropertySignature, C as convertToCapnp, D as convertToCapnpDefault, E as convertToCapnpClassType, F as convertToCapnpMethodSignature, G as convertToCapnpUnion, H as convertToCapnpTagsReflection, I as convertToCapnpObjectLiteral, L as convertToCapnpOther, M as convertToCapnpIntersection, N as convertToCapnpLiteral, O as convertToCapnpEnum, P as convertToCapnpMethod, R as convertToCapnpParameter, S as convertFromCapnpUnion, T as convertToCapnpBase, U as convertToCapnpTuple, V as convertToCapnpSimple, W as convertToCapnpTupleMember, _ as convertFromCapnpPropertySignature, a as convertFromCapnpDefault, b as convertFromCapnpTuple, c as convertFromCapnpIndexAccessOrigin, d as convertFromCapnpLiteral, f as convertFromCapnpMethodSignature, g as convertFromCapnpProperty, h as convertFromCapnpParameter, i as convertFromCapnpClassType, j as convertToCapnpInfer, k as convertToCapnpFunction, l as convertFromCapnpInfer, m as convertFromCapnpOther, n as convertFromCapnpArray, o as convertFromCapnpEnum, p as convertFromCapnpObjectLiteral, r as convertFromCapnpBase, s as convertFromCapnpFunction, t as convertFromCapnp, u as convertFromCapnpIntersection, v as convertFromCapnpSimple, w as convertToCapnpArray, x as convertFromCapnpTupleMember, y as convertFromCapnpTagsReflection, z as convertToCapnpProperty } from "./capnp-BqAglxrS.mjs";
|
|
2
2
|
|
|
3
3
|
export { convertFromCapnp, convertFromCapnpArray, convertFromCapnpBase, convertFromCapnpClassType, convertFromCapnpDefault, convertFromCapnpEnum, convertFromCapnpFunction, convertFromCapnpIndexAccessOrigin, convertFromCapnpInfer, convertFromCapnpIntersection, convertFromCapnpLiteral, convertFromCapnpMethodSignature, convertFromCapnpObjectLiteral, convertFromCapnpOther, convertFromCapnpParameter, convertFromCapnpProperty, convertFromCapnpPropertySignature, convertFromCapnpSimple, convertFromCapnpTagsReflection, convertFromCapnpTuple, convertFromCapnpTupleMember, convertFromCapnpUnion, convertToCapnp, convertToCapnpArray, convertToCapnpBase, convertToCapnpClassType, convertToCapnpDefault, convertToCapnpEnum, convertToCapnpFunction, convertToCapnpIndexAccessOrigin, convertToCapnpInfer, convertToCapnpIntersection, convertToCapnpLiteral, convertToCapnpMethod, convertToCapnpMethodSignature, convertToCapnpObjectLiteral, convertToCapnpOther, convertToCapnpParameter, convertToCapnpProperty, convertToCapnpPropertySignature, convertToCapnpSimple, convertToCapnpTagsReflection, convertToCapnpTuple, convertToCapnpTupleMember, convertToCapnpUnion };
|
|
@@ -5,6 +5,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
8
9
|
var __copyProps = (to, from, except, desc) => {
|
|
9
10
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
11
|
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
@@ -26,6 +27,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
27
|
|
|
27
28
|
//#endregion
|
|
28
29
|
|
|
30
|
+
Object.defineProperty(exports, '__commonJSMin', {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return __commonJSMin;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
29
36
|
Object.defineProperty(exports, '__toESM', {
|
|
30
37
|
enumerable: true,
|
|
31
38
|
get: function () {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
|
|
3
|
+
//#region \0rolldown/runtime.js
|
|
4
|
+
var __create = Object.create;
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
9
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
14
|
+
key = keys[i];
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
16
|
+
__defProp(to, key, {
|
|
17
|
+
get: ((k) => from[k]).bind(null, key),
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return to;
|
|
24
|
+
};
|
|
25
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
26
|
+
value: mod,
|
|
27
|
+
enumerable: true
|
|
28
|
+
}) : target, mod));
|
|
29
|
+
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
export { __require as n, __toESM as r, __commonJSMin as t };
|