@powerlines/deepkit 0.5.117 → 0.5.119
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.d.cts +26 -26
- package/dist/capnp.d.ts +26 -26
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{reflection-DTM1oT21.d.cts → reflection-BHSdc6oZ.d.cts} +1 -1
- package/dist/{reflection-DTM1oT21.d.ts → reflection-BHSdc6oZ.d.ts} +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utilities.d.cts +1 -1
- package/dist/utilities.d.ts +1 -1
- package/dist/vendor/type-compiler/{chunk-QUPBPOX2.js → chunk-F5PWCKTX.js} +5 -5
- package/dist/vendor/type-compiler/{chunk-JVY3SHAG.cjs → chunk-IGS7NERS.cjs} +508 -508
- package/dist/vendor/type-compiler/{chunk-F3MLZBZ5.cjs → chunk-KEHQEVYT.cjs} +4 -4
- package/dist/vendor/type-compiler/{chunk-KRPSLI7S.js → chunk-LUGILS55.js} +4 -4
- package/dist/vendor/type-compiler/compiler.cjs +12 -12
- package/dist/vendor/type-compiler/compiler.js +2 -2
- package/dist/vendor/type-compiler/config.cjs +9 -9
- package/dist/vendor/type-compiler/config.js +2 -2
- package/dist/vendor/type-compiler/index.cjs +26 -26
- package/dist/vendor/type-compiler/index.js +6 -6
- package/package.json +4 -4
package/dist/capnp.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SerializedTypes,
|
|
1
|
+
import { SerializedTypes, SerializedTypeArray as SerializedTypeArray$1, SerializedType as SerializedType$1, SerializedTypeClassType as SerializedTypeClassType$1, SerializedTypeEnum as SerializedTypeEnum$1, SerializedTypeFunction as SerializedTypeFunction$1, SerializedTypeInfer as SerializedTypeInfer$1, SerializedTypeIntersection as SerializedTypeIntersection$1, SerializedTypeLiteral as SerializedTypeLiteral$1, SerializedTypeMethodSignature as SerializedTypeMethodSignature$1, SerializedTypeObjectLiteral as SerializedTypeObjectLiteral$1, SerializedTypeParameter as SerializedTypeParameter$1, SerializedTypeProperty as SerializedTypeProperty$1, SerializedTypePropertySignature as SerializedTypePropertySignature$1, SimpleSerializedType as SimpleSerializedType$1, SerializedTypeTuple as SerializedTypeTuple$1, SerializedTypeTupleMember as SerializedTypeTupleMember$1, SerializedTypeUnion as SerializedTypeUnion$1, SerializedTypeReference, SerializedTypeMethod, ReflectionKind, TagsReflection as TagsReflection$1 } from '@powerlines/deepkit/vendor/type';
|
|
2
2
|
import { List } from '@stryke/capnp';
|
|
3
|
-
import { S as SerializedType,
|
|
3
|
+
import { S as SerializedType, a as SerializedTypeArray, b as SerializedType_Type, c as SerializedTypeClassType, D as DefaultValueReflection, d as SerializedTypeEnum, e as SerializedTypeFunction, f as SerializedTypeInfer, g as SerializedTypeIntersection, h as SerializedTypeLiteral, i as SerializedTypeMethodSignature, j as SerializedTypeObjectLiteral, k as SerializedTypeOther, l as SerializedTypeParameter, m as SerializedTypeProperty, n as SerializedTypePropertySignature, o as SimpleSerializedType, p as SerializedTypeTuple, q as SerializedTypeTupleMember, r as SerializedTypeUnion, I as IndexAccessOrigin, s as SerializedTypeMethod$1, T as TagsReflection } from './reflection-BHSdc6oZ.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
@@ -95,41 +95,41 @@ declare function convertFromCapnpPropertySignature(serializedType: SerializedTyp
|
|
|
95
95
|
declare function convertToCapnpDefault(defaultValue: any, result: DefaultValueReflection): void;
|
|
96
96
|
declare function convertFromCapnpDefault(serializedType: DefaultValueReflection): any;
|
|
97
97
|
declare function convertToCapnpPropertySignature(serializedType: SerializedTypePropertySignature$1, result: SerializedTypePropertySignature): SerializedTypePropertySignature;
|
|
98
|
-
declare function convertToCapnpTupleMember(serializedType: SerializedTypeTupleMember, result: SerializedTypeTupleMember
|
|
99
|
-
declare function convertFromCapnpTupleMember(serializedType: SerializedTypeTupleMember
|
|
100
|
-
declare function convertToCapnpTuple(serializedType: SerializedTypeTuple, result: SerializedTypeTuple
|
|
101
|
-
declare function convertFromCapnpTuple(serializedType: SerializedTypeTuple
|
|
102
|
-
declare function convertToCapnpProperty(serializedType: SerializedTypeProperty, result: SerializedTypeProperty
|
|
103
|
-
declare function convertFromCapnpProperty(serializedType: SerializedTypeProperty
|
|
104
|
-
declare function convertToCapnpEnum(serializedType: SerializedTypeEnum, result: SerializedTypeEnum
|
|
105
|
-
declare function convertFromCapnpEnum(serializedType: SerializedTypeEnum
|
|
106
|
-
declare function convertToCapnpIntersection(serializedType: SerializedTypeIntersection, result: SerializedTypeIntersection
|
|
107
|
-
declare function convertFromCapnpIntersection(serializedType: SerializedTypeIntersection
|
|
108
|
-
declare function convertToCapnpArray(serializedType: SerializedTypeArray, result: SerializedTypeArray
|
|
109
|
-
declare function convertFromCapnpArray(serializedType: SerializedTypeArray
|
|
98
|
+
declare function convertToCapnpTupleMember(serializedType: SerializedTypeTupleMember$1, result: SerializedTypeTupleMember): SerializedTypeTupleMember;
|
|
99
|
+
declare function convertFromCapnpTupleMember(serializedType: SerializedTypeTupleMember): SerializedTypeTupleMember$1;
|
|
100
|
+
declare function convertToCapnpTuple(serializedType: SerializedTypeTuple$1, result: SerializedTypeTuple): SerializedTypeTuple;
|
|
101
|
+
declare function convertFromCapnpTuple(serializedType: SerializedTypeTuple): SerializedTypeTuple$1;
|
|
102
|
+
declare function convertToCapnpProperty(serializedType: SerializedTypeProperty$1, result: SerializedTypeProperty): SerializedTypeProperty;
|
|
103
|
+
declare function convertFromCapnpProperty(serializedType: SerializedTypeProperty): SerializedTypeProperty$1;
|
|
104
|
+
declare function convertToCapnpEnum(serializedType: SerializedTypeEnum$1, result: SerializedTypeEnum): SerializedTypeEnum;
|
|
105
|
+
declare function convertFromCapnpEnum(serializedType: SerializedTypeEnum): SerializedTypeEnum$1;
|
|
106
|
+
declare function convertToCapnpIntersection(serializedType: SerializedTypeIntersection$1, result: SerializedTypeIntersection): SerializedTypeIntersection;
|
|
107
|
+
declare function convertFromCapnpIntersection(serializedType: SerializedTypeIntersection): SerializedTypeIntersection$1;
|
|
108
|
+
declare function convertToCapnpArray(serializedType: SerializedTypeArray$1, result: SerializedTypeArray): SerializedTypeArray;
|
|
109
|
+
declare function convertFromCapnpArray(serializedType: SerializedTypeArray): SerializedTypeArray$1;
|
|
110
110
|
/**
|
|
111
111
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
112
112
|
*
|
|
113
113
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
114
114
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
115
115
|
*/
|
|
116
|
-
declare function convertToCapnpUnion(serializedType: SerializedTypeUnion, result: SerializedTypeUnion
|
|
117
|
-
declare function convertFromCapnpUnion(serializedType: SerializedTypeUnion
|
|
116
|
+
declare function convertToCapnpUnion(serializedType: SerializedTypeUnion$1, result: SerializedTypeUnion): SerializedTypeUnion;
|
|
117
|
+
declare function convertFromCapnpUnion(serializedType: SerializedTypeUnion): SerializedTypeUnion$1;
|
|
118
118
|
/**
|
|
119
119
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
120
120
|
*
|
|
121
121
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert.
|
|
122
122
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
123
123
|
*/
|
|
124
|
-
declare function convertToCapnpInfer(serializedType: SerializedTypeInfer, result: SerializedTypeInfer
|
|
125
|
-
declare function convertFromCapnpInfer(serializedType: SerializedTypeInfer
|
|
124
|
+
declare function convertToCapnpInfer(serializedType: SerializedTypeInfer$1, result: SerializedTypeInfer): SerializedTypeInfer;
|
|
125
|
+
declare function convertFromCapnpInfer(serializedType: SerializedTypeInfer): SerializedTypeInfer$1;
|
|
126
126
|
/**
|
|
127
127
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
128
128
|
*
|
|
129
129
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
130
130
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
131
131
|
*/
|
|
132
|
-
declare function convertToCapnpFunction(serializedType: SerializedTypeFunction, result: SerializedTypeFunction
|
|
132
|
+
declare function convertToCapnpFunction(serializedType: SerializedTypeFunction$1, result: SerializedTypeFunction): SerializedTypeFunction;
|
|
133
133
|
/**
|
|
134
134
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
135
135
|
*
|
|
@@ -137,31 +137,31 @@ declare function convertToCapnpFunction(serializedType: SerializedTypeFunction,
|
|
|
137
137
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
138
138
|
*/
|
|
139
139
|
declare function convertToCapnpMethod(serializedType: SerializedTypeMethod, result: SerializedTypeMethod$1): SerializedTypeMethod$1;
|
|
140
|
-
declare function convertFromCapnpFunction(serializedType: SerializedTypeFunction
|
|
140
|
+
declare function convertFromCapnpFunction(serializedType: SerializedTypeFunction): SerializedTypeFunction$1;
|
|
141
141
|
/**
|
|
142
142
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
143
143
|
*
|
|
144
144
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
145
145
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
146
146
|
*/
|
|
147
|
-
declare function convertToCapnpClassType(serializedType: SerializedTypeClassType, result: SerializedTypeClassType
|
|
148
|
-
declare function convertFromCapnpClassType(serializedType: SerializedTypeClassType
|
|
147
|
+
declare function convertToCapnpClassType(serializedType: SerializedTypeClassType$1, result: SerializedTypeClassType): SerializedTypeClassType;
|
|
148
|
+
declare function convertFromCapnpClassType(serializedType: SerializedTypeClassType): SerializedTypeClassType$1;
|
|
149
149
|
/**
|
|
150
150
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
151
151
|
*
|
|
152
152
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
153
153
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
154
154
|
*/
|
|
155
|
-
declare function convertToCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral, result: SerializedTypeObjectLiteral
|
|
156
|
-
declare function convertFromCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral
|
|
155
|
+
declare function convertToCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral$1, result: SerializedTypeObjectLiteral): SerializedTypeObjectLiteral;
|
|
156
|
+
declare function convertFromCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral): SerializedTypeObjectLiteral$1;
|
|
157
157
|
/**
|
|
158
158
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
159
159
|
*
|
|
160
160
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
161
161
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
162
162
|
*/
|
|
163
|
-
declare function convertToCapnpParameter(serializedType: SerializedTypeParameter, result: SerializedTypeParameter
|
|
164
|
-
declare function convertFromCapnpParameter(serializedType: SerializedTypeParameter
|
|
163
|
+
declare function convertToCapnpParameter(serializedType: SerializedTypeParameter$1, result: SerializedTypeParameter): SerializedTypeParameter;
|
|
164
|
+
declare function convertFromCapnpParameter(serializedType: SerializedTypeParameter): SerializedTypeParameter$1;
|
|
165
165
|
|
|
166
166
|
declare type __ΩWithTagsReflection = any[];
|
|
167
167
|
declare type __ΩWithIndexAccessOrigin = any[];
|
package/dist/capnp.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SerializedTypes,
|
|
1
|
+
import { SerializedTypes, SerializedTypeArray as SerializedTypeArray$1, SerializedType as SerializedType$1, SerializedTypeClassType as SerializedTypeClassType$1, SerializedTypeEnum as SerializedTypeEnum$1, SerializedTypeFunction as SerializedTypeFunction$1, SerializedTypeInfer as SerializedTypeInfer$1, SerializedTypeIntersection as SerializedTypeIntersection$1, SerializedTypeLiteral as SerializedTypeLiteral$1, SerializedTypeMethodSignature as SerializedTypeMethodSignature$1, SerializedTypeObjectLiteral as SerializedTypeObjectLiteral$1, SerializedTypeParameter as SerializedTypeParameter$1, SerializedTypeProperty as SerializedTypeProperty$1, SerializedTypePropertySignature as SerializedTypePropertySignature$1, SimpleSerializedType as SimpleSerializedType$1, SerializedTypeTuple as SerializedTypeTuple$1, SerializedTypeTupleMember as SerializedTypeTupleMember$1, SerializedTypeUnion as SerializedTypeUnion$1, SerializedTypeReference, SerializedTypeMethod, ReflectionKind, TagsReflection as TagsReflection$1 } from '@powerlines/deepkit/vendor/type';
|
|
2
2
|
import { List } from '@stryke/capnp';
|
|
3
|
-
import { S as SerializedType,
|
|
3
|
+
import { S as SerializedType, a as SerializedTypeArray, b as SerializedType_Type, c as SerializedTypeClassType, D as DefaultValueReflection, d as SerializedTypeEnum, e as SerializedTypeFunction, f as SerializedTypeInfer, g as SerializedTypeIntersection, h as SerializedTypeLiteral, i as SerializedTypeMethodSignature, j as SerializedTypeObjectLiteral, k as SerializedTypeOther, l as SerializedTypeParameter, m as SerializedTypeProperty, n as SerializedTypePropertySignature, o as SimpleSerializedType, p as SerializedTypeTuple, q as SerializedTypeTupleMember, r as SerializedTypeUnion, I as IndexAccessOrigin, s as SerializedTypeMethod$1, T as TagsReflection } from './reflection-BHSdc6oZ.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
@@ -95,41 +95,41 @@ declare function convertFromCapnpPropertySignature(serializedType: SerializedTyp
|
|
|
95
95
|
declare function convertToCapnpDefault(defaultValue: any, result: DefaultValueReflection): void;
|
|
96
96
|
declare function convertFromCapnpDefault(serializedType: DefaultValueReflection): any;
|
|
97
97
|
declare function convertToCapnpPropertySignature(serializedType: SerializedTypePropertySignature$1, result: SerializedTypePropertySignature): SerializedTypePropertySignature;
|
|
98
|
-
declare function convertToCapnpTupleMember(serializedType: SerializedTypeTupleMember, result: SerializedTypeTupleMember
|
|
99
|
-
declare function convertFromCapnpTupleMember(serializedType: SerializedTypeTupleMember
|
|
100
|
-
declare function convertToCapnpTuple(serializedType: SerializedTypeTuple, result: SerializedTypeTuple
|
|
101
|
-
declare function convertFromCapnpTuple(serializedType: SerializedTypeTuple
|
|
102
|
-
declare function convertToCapnpProperty(serializedType: SerializedTypeProperty, result: SerializedTypeProperty
|
|
103
|
-
declare function convertFromCapnpProperty(serializedType: SerializedTypeProperty
|
|
104
|
-
declare function convertToCapnpEnum(serializedType: SerializedTypeEnum, result: SerializedTypeEnum
|
|
105
|
-
declare function convertFromCapnpEnum(serializedType: SerializedTypeEnum
|
|
106
|
-
declare function convertToCapnpIntersection(serializedType: SerializedTypeIntersection, result: SerializedTypeIntersection
|
|
107
|
-
declare function convertFromCapnpIntersection(serializedType: SerializedTypeIntersection
|
|
108
|
-
declare function convertToCapnpArray(serializedType: SerializedTypeArray, result: SerializedTypeArray
|
|
109
|
-
declare function convertFromCapnpArray(serializedType: SerializedTypeArray
|
|
98
|
+
declare function convertToCapnpTupleMember(serializedType: SerializedTypeTupleMember$1, result: SerializedTypeTupleMember): SerializedTypeTupleMember;
|
|
99
|
+
declare function convertFromCapnpTupleMember(serializedType: SerializedTypeTupleMember): SerializedTypeTupleMember$1;
|
|
100
|
+
declare function convertToCapnpTuple(serializedType: SerializedTypeTuple$1, result: SerializedTypeTuple): SerializedTypeTuple;
|
|
101
|
+
declare function convertFromCapnpTuple(serializedType: SerializedTypeTuple): SerializedTypeTuple$1;
|
|
102
|
+
declare function convertToCapnpProperty(serializedType: SerializedTypeProperty$1, result: SerializedTypeProperty): SerializedTypeProperty;
|
|
103
|
+
declare function convertFromCapnpProperty(serializedType: SerializedTypeProperty): SerializedTypeProperty$1;
|
|
104
|
+
declare function convertToCapnpEnum(serializedType: SerializedTypeEnum$1, result: SerializedTypeEnum): SerializedTypeEnum;
|
|
105
|
+
declare function convertFromCapnpEnum(serializedType: SerializedTypeEnum): SerializedTypeEnum$1;
|
|
106
|
+
declare function convertToCapnpIntersection(serializedType: SerializedTypeIntersection$1, result: SerializedTypeIntersection): SerializedTypeIntersection;
|
|
107
|
+
declare function convertFromCapnpIntersection(serializedType: SerializedTypeIntersection): SerializedTypeIntersection$1;
|
|
108
|
+
declare function convertToCapnpArray(serializedType: SerializedTypeArray$1, result: SerializedTypeArray): SerializedTypeArray;
|
|
109
|
+
declare function convertFromCapnpArray(serializedType: SerializedTypeArray): SerializedTypeArray$1;
|
|
110
110
|
/**
|
|
111
111
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
112
112
|
*
|
|
113
113
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
114
114
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
115
115
|
*/
|
|
116
|
-
declare function convertToCapnpUnion(serializedType: SerializedTypeUnion, result: SerializedTypeUnion
|
|
117
|
-
declare function convertFromCapnpUnion(serializedType: SerializedTypeUnion
|
|
116
|
+
declare function convertToCapnpUnion(serializedType: SerializedTypeUnion$1, result: SerializedTypeUnion): SerializedTypeUnion;
|
|
117
|
+
declare function convertFromCapnpUnion(serializedType: SerializedTypeUnion): SerializedTypeUnion$1;
|
|
118
118
|
/**
|
|
119
119
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
120
120
|
*
|
|
121
121
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert.
|
|
122
122
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
123
123
|
*/
|
|
124
|
-
declare function convertToCapnpInfer(serializedType: SerializedTypeInfer, result: SerializedTypeInfer
|
|
125
|
-
declare function convertFromCapnpInfer(serializedType: SerializedTypeInfer
|
|
124
|
+
declare function convertToCapnpInfer(serializedType: SerializedTypeInfer$1, result: SerializedTypeInfer): SerializedTypeInfer;
|
|
125
|
+
declare function convertFromCapnpInfer(serializedType: SerializedTypeInfer): SerializedTypeInfer$1;
|
|
126
126
|
/**
|
|
127
127
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
128
128
|
*
|
|
129
129
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
130
130
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
131
131
|
*/
|
|
132
|
-
declare function convertToCapnpFunction(serializedType: SerializedTypeFunction, result: SerializedTypeFunction
|
|
132
|
+
declare function convertToCapnpFunction(serializedType: SerializedTypeFunction$1, result: SerializedTypeFunction): SerializedTypeFunction;
|
|
133
133
|
/**
|
|
134
134
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
135
135
|
*
|
|
@@ -137,31 +137,31 @@ declare function convertToCapnpFunction(serializedType: SerializedTypeFunction,
|
|
|
137
137
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
138
138
|
*/
|
|
139
139
|
declare function convertToCapnpMethod(serializedType: SerializedTypeMethod, result: SerializedTypeMethod$1): SerializedTypeMethod$1;
|
|
140
|
-
declare function convertFromCapnpFunction(serializedType: SerializedTypeFunction
|
|
140
|
+
declare function convertFromCapnpFunction(serializedType: SerializedTypeFunction): SerializedTypeFunction$1;
|
|
141
141
|
/**
|
|
142
142
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
143
143
|
*
|
|
144
144
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
145
145
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
146
146
|
*/
|
|
147
|
-
declare function convertToCapnpClassType(serializedType: SerializedTypeClassType, result: SerializedTypeClassType
|
|
148
|
-
declare function convertFromCapnpClassType(serializedType: SerializedTypeClassType
|
|
147
|
+
declare function convertToCapnpClassType(serializedType: SerializedTypeClassType$1, result: SerializedTypeClassType): SerializedTypeClassType;
|
|
148
|
+
declare function convertFromCapnpClassType(serializedType: SerializedTypeClassType): SerializedTypeClassType$1;
|
|
149
149
|
/**
|
|
150
150
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
151
151
|
*
|
|
152
152
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
153
153
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
154
154
|
*/
|
|
155
|
-
declare function convertToCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral, result: SerializedTypeObjectLiteral
|
|
156
|
-
declare function convertFromCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral
|
|
155
|
+
declare function convertToCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral$1, result: SerializedTypeObjectLiteral): SerializedTypeObjectLiteral;
|
|
156
|
+
declare function convertFromCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral): SerializedTypeObjectLiteral$1;
|
|
157
157
|
/**
|
|
158
158
|
* Converts a Deepkit serialized type to a Cap'n Proto serialized type.
|
|
159
159
|
*
|
|
160
160
|
* @param serializedType - The [Deepkit](https://deepkit.io/) {@link SerializedType | serialized type} to convert
|
|
161
161
|
* @param result - The {@link capnp.List | list} object defined in a [Cap'n Proto](https://capnproto.org/) schema to write the converted type to
|
|
162
162
|
*/
|
|
163
|
-
declare function convertToCapnpParameter(serializedType: SerializedTypeParameter, result: SerializedTypeParameter
|
|
164
|
-
declare function convertFromCapnpParameter(serializedType: SerializedTypeParameter
|
|
163
|
+
declare function convertToCapnpParameter(serializedType: SerializedTypeParameter$1, result: SerializedTypeParameter): SerializedTypeParameter;
|
|
164
|
+
declare function convertFromCapnpParameter(serializedType: SerializedTypeParameter): SerializedTypeParameter$1;
|
|
165
165
|
|
|
166
166
|
declare type __ΩWithTagsReflection = any[];
|
|
167
167
|
declare type __ΩWithIndexAccessOrigin = any[];
|
package/dist/index.d.cts
CHANGED
|
@@ -8,7 +8,7 @@ export { ContextReflectionRecord, Reflection, ReflectionRecord, __ΩContextRefle
|
|
|
8
8
|
export { getEnumReflectionType, getUnionTypes, isStringUnion, kindToName, stringifyDefaultValue, stringifyStringValue, stringifyValue } from './utilities.cjs';
|
|
9
9
|
import '@powerlines/deepkit/vendor/type';
|
|
10
10
|
import '@stryke/capnp';
|
|
11
|
-
import './reflection-
|
|
11
|
+
import './reflection-BHSdc6oZ.cjs';
|
|
12
12
|
import 'esbuild';
|
|
13
13
|
import 'powerlines/types/context';
|
|
14
14
|
import '@stryke/types/configuration';
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export { ContextReflectionRecord, Reflection, ReflectionRecord, __ΩContextRefle
|
|
|
8
8
|
export { getEnumReflectionType, getUnionTypes, isStringUnion, kindToName, stringifyDefaultValue, stringifyStringValue, stringifyValue } from './utilities.js';
|
|
9
9
|
import '@powerlines/deepkit/vendor/type';
|
|
10
10
|
import '@stryke/capnp';
|
|
11
|
-
import './reflection-
|
|
11
|
+
import './reflection-BHSdc6oZ.js';
|
|
12
12
|
import 'esbuild';
|
|
13
13
|
import 'powerlines/types/context';
|
|
14
14
|
import '@stryke/types/configuration';
|
|
@@ -1556,4 +1556,4 @@ declare class SerializedTypes extends $.Struct {
|
|
|
1556
1556
|
toString(): string;
|
|
1557
1557
|
}
|
|
1558
1558
|
|
|
1559
|
-
export { DefaultValueReflection as D, IndexAccessOrigin as I, SerializedType as S, TagsReflection as T,
|
|
1559
|
+
export { DefaultValueReflection as D, IndexAccessOrigin as I, SerializedType as S, TagsReflection as T, SerializedTypeArray as a, SerializedType_Type as b, SerializedTypeClassType as c, SerializedTypeEnum as d, SerializedTypeFunction as e, SerializedTypeInfer as f, SerializedTypeIntersection as g, SerializedTypeLiteral as h, SerializedTypeMethodSignature as i, SerializedTypeObjectLiteral as j, SerializedTypeOther as k, SerializedTypeParameter as l, SerializedTypeProperty as m, SerializedTypePropertySignature as n, SimpleSerializedType as o, SerializedTypeTuple as p, SerializedTypeTupleMember as q, SerializedTypeUnion as r, SerializedTypeMethod as s, SerializedTypes as t };
|
|
@@ -1556,4 +1556,4 @@ declare class SerializedTypes extends $.Struct {
|
|
|
1556
1556
|
toString(): string;
|
|
1557
1557
|
}
|
|
1558
1558
|
|
|
1559
|
-
export { DefaultValueReflection as D, IndexAccessOrigin as I, SerializedType as S, TagsReflection as T,
|
|
1559
|
+
export { DefaultValueReflection as D, IndexAccessOrigin as I, SerializedType as S, TagsReflection as T, SerializedTypeArray as a, SerializedType_Type as b, SerializedTypeClassType as c, SerializedTypeEnum as d, SerializedTypeFunction as e, SerializedTypeInfer as f, SerializedTypeIntersection as g, SerializedTypeLiteral as h, SerializedTypeMethodSignature as i, SerializedTypeObjectLiteral as j, SerializedTypeOther as k, SerializedTypeParameter as l, SerializedTypeProperty as m, SerializedTypePropertySignature as n, SimpleSerializedType as o, SerializedTypeTuple as p, SerializedTypeTupleMember as q, SerializedTypeUnion as r, SerializedTypeMethod as s, SerializedTypes as t };
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReflectionClass } from '@powerlines/deepkit/vendor/type';
|
|
2
|
-
import { t as SerializedTypes } from './reflection-
|
|
2
|
+
import { t as SerializedTypes } from './reflection-BHSdc6oZ.cjs';
|
|
3
3
|
import '@stryke/capnp';
|
|
4
4
|
|
|
5
5
|
type Reflection<T extends Record<string, any> = Record<string, any>> = ReflectionClass<T> & {
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReflectionClass } from '@powerlines/deepkit/vendor/type';
|
|
2
|
-
import { t as SerializedTypes } from './reflection-
|
|
2
|
+
import { t as SerializedTypes } from './reflection-BHSdc6oZ.js';
|
|
3
3
|
import '@stryke/capnp';
|
|
4
4
|
|
|
5
5
|
type Reflection<T extends Record<string, any> = Record<string, any>> = ReflectionClass<T> & {
|
package/dist/utilities.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type, TypeString, TypeNumber, ReflectionKind, ReflectionProperty, ReflectionParameter } from '@powerlines/deepkit/vendor/type';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Converts any {@link ReflectionProperty}, {@link ReflectionParameter}, or {@link ReflectionKind}'s value to string representation.
|
package/dist/utilities.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type, TypeString, TypeNumber, ReflectionKind, ReflectionProperty, ReflectionParameter } from '@powerlines/deepkit/vendor/type';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Converts any {@link ReflectionProperty}, {@link ReflectionParameter}, or {@link ReflectionKind}'s value to string representation.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dirname,
|
|
1
|
+
import { dirname, isAbsolute, join } from 'path';
|
|
2
2
|
import ts2 from 'typescript';
|
|
3
3
|
import { readFileSync } from 'fs';
|
|
4
4
|
|
|
@@ -3132,10 +3132,10 @@ var require_micromatch = __commonJS({
|
|
|
3132
3132
|
}
|
|
3133
3133
|
});
|
|
3134
3134
|
|
|
3135
|
-
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=
|
|
3135
|
+
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_a463f95227b0a65b059d61e0cdd59d21/node_modules/@deepkit/type-compiler/dist/esm/src/config.js
|
|
3136
3136
|
init_esm_shims();
|
|
3137
3137
|
|
|
3138
|
-
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=
|
|
3138
|
+
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_a463f95227b0a65b059d61e0cdd59d21/node_modules/@deepkit/type-compiler/dist/esm/src/debug.js
|
|
3139
3139
|
init_esm_shims();
|
|
3140
3140
|
function isDebug(level = 1) {
|
|
3141
3141
|
const expected = "deepkit" + (level > 1 ? "+".repeat(level - 1) : "");
|
|
@@ -3155,7 +3155,7 @@ function debug2(...message) {
|
|
|
3155
3155
|
}
|
|
3156
3156
|
__name(debug2, "debug2");
|
|
3157
3157
|
|
|
3158
|
-
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=
|
|
3158
|
+
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_a463f95227b0a65b059d61e0cdd59d21/node_modules/@deepkit/type-compiler/dist/esm/src/resolver.js
|
|
3159
3159
|
init_esm_shims();
|
|
3160
3160
|
var import_micromatch = __toESM(require_micromatch());
|
|
3161
3161
|
var { createSourceFile, resolveModuleName, isStringLiteral, JSDocParsingMode, ScriptTarget } = ts2;
|
|
@@ -3242,7 +3242,7 @@ var Resolver = class {
|
|
|
3242
3242
|
}
|
|
3243
3243
|
};
|
|
3244
3244
|
|
|
3245
|
-
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=
|
|
3245
|
+
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_a463f95227b0a65b059d61e0cdd59d21/node_modules/@deepkit/type-compiler/dist/esm/src/config.js
|
|
3246
3246
|
var reflectionModes = [
|
|
3247
3247
|
"default",
|
|
3248
3248
|
"explicit",
|