@powerlines/deepkit 0.5.2 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/capnp.cjs +47 -48
  2. package/dist/capnp.js +2 -3
  3. package/dist/{chunk-MNUBEEIW.js → chunk-23YNDVRG.js} +5 -12
  4. package/dist/chunk-5MYRXRS2.cjs +2191 -0
  5. package/dist/{chunk-J2FVIV7W.cjs → chunk-7FXYDYVQ.cjs} +127 -127
  6. package/dist/{chunk-VMRRVNO2.cjs → chunk-7QZGCBH7.cjs} +2 -2
  7. package/dist/{chunk-MEMIQ5AA.js → chunk-ALM6UMVU.js} +1 -1
  8. package/dist/chunk-BLLXF42T.cjs +41 -0
  9. package/dist/{chunk-6QPIKQMO.cjs → chunk-CJMS4ES3.cjs} +4 -4
  10. package/dist/{chunk-LPLPOVLC.js → chunk-EJIBYA23.js} +2 -2
  11. package/dist/{chunk-2ODODKQQ.js → chunk-JE36RI7U.js} +2 -2
  12. package/dist/chunk-KGCRCOJQ.cjs +22 -0
  13. package/dist/chunk-SHUYVCID.js +4 -0
  14. package/dist/{chunk-I5CVIT7W.js → chunk-TDYIUJGY.js} +41 -41
  15. package/dist/chunk-USNT2KNT.cjs +6 -0
  16. package/dist/chunk-WL27D7L7.js +2183 -0
  17. package/dist/chunk-XHSSGKUT.js +16 -0
  18. package/dist/{chunk-EKHXI2JI.cjs → chunk-YAEE7DDW.cjs} +5 -5
  19. package/dist/esbuild-plugin.cjs +5 -5
  20. package/dist/esbuild-plugin.js +4 -4
  21. package/dist/index.cjs +66 -67
  22. package/dist/index.js +8 -9
  23. package/dist/reflect-type.cjs +6 -7
  24. package/dist/reflect-type.js +5 -6
  25. package/dist/resolve-reflections.cjs +3 -3
  26. package/dist/resolve-reflections.js +2 -2
  27. package/dist/transformer.cjs +4 -4
  28. package/dist/transformer.js +2 -2
  29. package/dist/transpile.cjs +4 -4
  30. package/dist/transpile.js +3 -3
  31. package/dist/utilities.cjs +9 -10
  32. package/dist/utilities.js +2 -3
  33. package/package.json +4 -4
  34. package/dist/chunk-7J3ZDT6O.cjs +0 -30
  35. package/dist/chunk-C7BRLIIA.js +0 -187
  36. package/dist/chunk-GRNJVY7I.cjs +0 -19
  37. package/dist/chunk-IRPJW6HH.js +0 -16
  38. package/dist/chunk-J4SVRFV4.js +0 -127
  39. package/dist/chunk-QABG54Y3.cjs +0 -193
  40. package/dist/chunk-QLKLDV3V.cjs +0 -135
  41. package/dist/chunk-VXZTOOL6.cjs +0 -69
  42. package/dist/chunk-XGQQM64U.js +0 -8
@@ -0,0 +1,16 @@
1
+ import { esbuildPlugin } from './chunk-JE36RI7U.js';
2
+ import { __name } from './chunk-SHUYVCID.js';
3
+ import { reflect } from '@powerlines/deepkit/vendor/type';
4
+ import defu from 'defu';
5
+ import { resolve } from 'powerlines/lib/utilities/resolve';
6
+
7
+ async function reflectType(context, type, overrides = {}) {
8
+ return reflect(await resolve(context, type, defu(overrides, {
9
+ plugins: [
10
+ esbuildPlugin(context)
11
+ ]
12
+ })));
13
+ }
14
+ __name(reflectType, "reflectType");
15
+
16
+ export { reflectType };
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkVXZTOOL6_cjs = require('./chunk-VXZTOOL6.cjs');
4
- var chunkGRNJVY7I_cjs = require('./chunk-GRNJVY7I.cjs');
3
+ var chunkBLLXF42T_cjs = require('./chunk-BLLXF42T.cjs');
4
+ var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
5
5
  var ts = require('typescript');
6
6
 
7
7
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -9,8 +9,8 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
9
  var ts__default = /*#__PURE__*/_interopDefault(ts);
10
10
 
11
11
  function transpile(context, code, id) {
12
- const transformer = chunkVXZTOOL6_cjs.createTransformer(context);
13
- const declarationTransformer = chunkVXZTOOL6_cjs.createDeclarationTransformer(context);
12
+ const transformer = chunkBLLXF42T_cjs.createTransformer(context);
13
+ const declarationTransformer = chunkBLLXF42T_cjs.createDeclarationTransformer(context);
14
14
  return ts__default.default.transpileModule(code, {
15
15
  compilerOptions: {
16
16
  ...context.tsconfig.options
@@ -26,6 +26,6 @@ function transpile(context, code, id) {
26
26
  }
27
27
  });
28
28
  }
29
- chunkGRNJVY7I_cjs.__name(transpile, "transpile");
29
+ chunkUSNT2KNT_cjs.__name(transpile, "transpile");
30
30
 
31
31
  exports.transpile = transpile;
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunk6QPIKQMO_cjs = require('./chunk-6QPIKQMO.cjs');
4
- require('./chunk-EKHXI2JI.cjs');
5
- require('./chunk-VXZTOOL6.cjs');
6
- require('./chunk-GRNJVY7I.cjs');
3
+ var chunkCJMS4ES3_cjs = require('./chunk-CJMS4ES3.cjs');
4
+ require('./chunk-YAEE7DDW.cjs');
5
+ require('./chunk-BLLXF42T.cjs');
6
+ require('./chunk-USNT2KNT.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "esbuildPlugin", {
11
11
  enumerable: true,
12
- get: function () { return chunk6QPIKQMO_cjs.esbuildPlugin; }
12
+ get: function () { return chunkCJMS4ES3_cjs.esbuildPlugin; }
13
13
  });
@@ -1,4 +1,4 @@
1
- export { esbuildPlugin } from './chunk-2ODODKQQ.js';
2
- import './chunk-LPLPOVLC.js';
3
- import './chunk-MNUBEEIW.js';
4
- import './chunk-IRPJW6HH.js';
1
+ export { esbuildPlugin } from './chunk-JE36RI7U.js';
2
+ import './chunk-EJIBYA23.js';
3
+ import './chunk-23YNDVRG.js';
4
+ import './chunk-SHUYVCID.js';
package/dist/index.cjs CHANGED
@@ -1,247 +1,246 @@
1
1
  'use strict';
2
2
 
3
- var chunkQLKLDV3V_cjs = require('./chunk-QLKLDV3V.cjs');
4
- var chunkJ2FVIV7W_cjs = require('./chunk-J2FVIV7W.cjs');
5
- var chunkQABG54Y3_cjs = require('./chunk-QABG54Y3.cjs');
6
- require('./chunk-7J3ZDT6O.cjs');
7
- var chunk6QPIKQMO_cjs = require('./chunk-6QPIKQMO.cjs');
8
- var chunkVMRRVNO2_cjs = require('./chunk-VMRRVNO2.cjs');
9
- var chunkEKHXI2JI_cjs = require('./chunk-EKHXI2JI.cjs');
10
- var chunkVXZTOOL6_cjs = require('./chunk-VXZTOOL6.cjs');
11
- require('./chunk-GRNJVY7I.cjs');
3
+ var chunk5MYRXRS2_cjs = require('./chunk-5MYRXRS2.cjs');
4
+ var chunk7FXYDYVQ_cjs = require('./chunk-7FXYDYVQ.cjs');
5
+ var chunkKGCRCOJQ_cjs = require('./chunk-KGCRCOJQ.cjs');
6
+ var chunkCJMS4ES3_cjs = require('./chunk-CJMS4ES3.cjs');
7
+ var chunk7QZGCBH7_cjs = require('./chunk-7QZGCBH7.cjs');
8
+ var chunkYAEE7DDW_cjs = require('./chunk-YAEE7DDW.cjs');
9
+ var chunkBLLXF42T_cjs = require('./chunk-BLLXF42T.cjs');
10
+ require('./chunk-USNT2KNT.cjs');
12
11
  require('./chunk-ORA4UQMU.cjs');
13
12
 
14
13
 
15
14
 
16
15
  Object.defineProperty(exports, "getEnumReflectionType", {
17
16
  enumerable: true,
18
- get: function () { return chunkQLKLDV3V_cjs.getEnumReflectionType; }
17
+ get: function () { return chunk5MYRXRS2_cjs.getEnumReflectionType; }
19
18
  });
20
19
  Object.defineProperty(exports, "getUnionTypes", {
21
20
  enumerable: true,
22
- get: function () { return chunkQLKLDV3V_cjs.getUnionTypes; }
21
+ get: function () { return chunk5MYRXRS2_cjs.getUnionTypes; }
23
22
  });
24
23
  Object.defineProperty(exports, "isStringUnion", {
25
24
  enumerable: true,
26
- get: function () { return chunkQLKLDV3V_cjs.isStringUnion; }
25
+ get: function () { return chunk5MYRXRS2_cjs.isStringUnion; }
27
26
  });
28
27
  Object.defineProperty(exports, "kindToName", {
29
28
  enumerable: true,
30
- get: function () { return chunkQLKLDV3V_cjs.kindToName; }
29
+ get: function () { return chunk5MYRXRS2_cjs.kindToName; }
31
30
  });
32
31
  Object.defineProperty(exports, "stringifyDefaultValue", {
33
32
  enumerable: true,
34
- get: function () { return chunkQLKLDV3V_cjs.stringifyDefaultValue; }
33
+ get: function () { return chunk5MYRXRS2_cjs.stringifyDefaultValue; }
35
34
  });
36
35
  Object.defineProperty(exports, "stringifyStringValue", {
37
36
  enumerable: true,
38
- get: function () { return chunkQLKLDV3V_cjs.stringifyStringValue; }
37
+ get: function () { return chunk5MYRXRS2_cjs.stringifyStringValue; }
39
38
  });
40
39
  Object.defineProperty(exports, "stringifyValue", {
41
40
  enumerable: true,
42
- get: function () { return chunkQLKLDV3V_cjs.stringifyValue; }
41
+ get: function () { return chunk5MYRXRS2_cjs.stringifyValue; }
43
42
  });
44
43
  Object.defineProperty(exports, "convertFromCapnp", {
45
44
  enumerable: true,
46
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnp; }
45
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnp; }
47
46
  });
48
47
  Object.defineProperty(exports, "convertFromCapnpArray", {
49
48
  enumerable: true,
50
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpArray; }
49
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpArray; }
51
50
  });
52
51
  Object.defineProperty(exports, "convertFromCapnpBase", {
53
52
  enumerable: true,
54
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpBase; }
53
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpBase; }
55
54
  });
56
55
  Object.defineProperty(exports, "convertFromCapnpClassType", {
57
56
  enumerable: true,
58
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpClassType; }
57
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpClassType; }
59
58
  });
60
59
  Object.defineProperty(exports, "convertFromCapnpDefault", {
61
60
  enumerable: true,
62
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpDefault; }
61
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpDefault; }
63
62
  });
64
63
  Object.defineProperty(exports, "convertFromCapnpEnum", {
65
64
  enumerable: true,
66
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpEnum; }
65
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpEnum; }
67
66
  });
68
67
  Object.defineProperty(exports, "convertFromCapnpFunction", {
69
68
  enumerable: true,
70
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpFunction; }
69
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpFunction; }
71
70
  });
72
71
  Object.defineProperty(exports, "convertFromCapnpIndexAccessOrigin", {
73
72
  enumerable: true,
74
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpIndexAccessOrigin; }
73
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpIndexAccessOrigin; }
75
74
  });
76
75
  Object.defineProperty(exports, "convertFromCapnpInfer", {
77
76
  enumerable: true,
78
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpInfer; }
77
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpInfer; }
79
78
  });
80
79
  Object.defineProperty(exports, "convertFromCapnpIntersection", {
81
80
  enumerable: true,
82
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpIntersection; }
81
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpIntersection; }
83
82
  });
84
83
  Object.defineProperty(exports, "convertFromCapnpLiteral", {
85
84
  enumerable: true,
86
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpLiteral; }
85
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpLiteral; }
87
86
  });
88
87
  Object.defineProperty(exports, "convertFromCapnpMethodSignature", {
89
88
  enumerable: true,
90
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpMethodSignature; }
89
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpMethodSignature; }
91
90
  });
92
91
  Object.defineProperty(exports, "convertFromCapnpObjectLiteral", {
93
92
  enumerable: true,
94
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpObjectLiteral; }
93
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpObjectLiteral; }
95
94
  });
96
95
  Object.defineProperty(exports, "convertFromCapnpOther", {
97
96
  enumerable: true,
98
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpOther; }
97
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpOther; }
99
98
  });
100
99
  Object.defineProperty(exports, "convertFromCapnpParameter", {
101
100
  enumerable: true,
102
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpParameter; }
101
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpParameter; }
103
102
  });
104
103
  Object.defineProperty(exports, "convertFromCapnpProperty", {
105
104
  enumerable: true,
106
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpProperty; }
105
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpProperty; }
107
106
  });
108
107
  Object.defineProperty(exports, "convertFromCapnpPropertySignature", {
109
108
  enumerable: true,
110
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpPropertySignature; }
109
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpPropertySignature; }
111
110
  });
112
111
  Object.defineProperty(exports, "convertFromCapnpSimple", {
113
112
  enumerable: true,
114
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpSimple; }
113
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpSimple; }
115
114
  });
116
115
  Object.defineProperty(exports, "convertFromCapnpTagsReflection", {
117
116
  enumerable: true,
118
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpTagsReflection; }
117
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpTagsReflection; }
119
118
  });
120
119
  Object.defineProperty(exports, "convertFromCapnpTuple", {
121
120
  enumerable: true,
122
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpTuple; }
121
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpTuple; }
123
122
  });
124
123
  Object.defineProperty(exports, "convertFromCapnpTupleMember", {
125
124
  enumerable: true,
126
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpTupleMember; }
125
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpTupleMember; }
127
126
  });
128
127
  Object.defineProperty(exports, "convertFromCapnpUnion", {
129
128
  enumerable: true,
130
- get: function () { return chunkJ2FVIV7W_cjs.convertFromCapnpUnion; }
129
+ get: function () { return chunk7FXYDYVQ_cjs.convertFromCapnpUnion; }
131
130
  });
132
131
  Object.defineProperty(exports, "convertToCapnp", {
133
132
  enumerable: true,
134
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnp; }
133
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnp; }
135
134
  });
136
135
  Object.defineProperty(exports, "convertToCapnpArray", {
137
136
  enumerable: true,
138
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpArray; }
137
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpArray; }
139
138
  });
140
139
  Object.defineProperty(exports, "convertToCapnpBase", {
141
140
  enumerable: true,
142
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpBase; }
141
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpBase; }
143
142
  });
144
143
  Object.defineProperty(exports, "convertToCapnpClassType", {
145
144
  enumerable: true,
146
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpClassType; }
145
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpClassType; }
147
146
  });
148
147
  Object.defineProperty(exports, "convertToCapnpDefault", {
149
148
  enumerable: true,
150
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpDefault; }
149
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpDefault; }
151
150
  });
152
151
  Object.defineProperty(exports, "convertToCapnpEnum", {
153
152
  enumerable: true,
154
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpEnum; }
153
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpEnum; }
155
154
  });
156
155
  Object.defineProperty(exports, "convertToCapnpFunction", {
157
156
  enumerable: true,
158
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpFunction; }
157
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpFunction; }
159
158
  });
160
159
  Object.defineProperty(exports, "convertToCapnpIndexAccessOrigin", {
161
160
  enumerable: true,
162
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpIndexAccessOrigin; }
161
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpIndexAccessOrigin; }
163
162
  });
164
163
  Object.defineProperty(exports, "convertToCapnpInfer", {
165
164
  enumerable: true,
166
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpInfer; }
165
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpInfer; }
167
166
  });
168
167
  Object.defineProperty(exports, "convertToCapnpIntersection", {
169
168
  enumerable: true,
170
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpIntersection; }
169
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpIntersection; }
171
170
  });
172
171
  Object.defineProperty(exports, "convertToCapnpLiteral", {
173
172
  enumerable: true,
174
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpLiteral; }
173
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpLiteral; }
175
174
  });
176
175
  Object.defineProperty(exports, "convertToCapnpMethod", {
177
176
  enumerable: true,
178
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpMethod; }
177
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpMethod; }
179
178
  });
180
179
  Object.defineProperty(exports, "convertToCapnpMethodSignature", {
181
180
  enumerable: true,
182
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpMethodSignature; }
181
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpMethodSignature; }
183
182
  });
184
183
  Object.defineProperty(exports, "convertToCapnpObjectLiteral", {
185
184
  enumerable: true,
186
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpObjectLiteral; }
185
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpObjectLiteral; }
187
186
  });
188
187
  Object.defineProperty(exports, "convertToCapnpOther", {
189
188
  enumerable: true,
190
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpOther; }
189
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpOther; }
191
190
  });
192
191
  Object.defineProperty(exports, "convertToCapnpParameter", {
193
192
  enumerable: true,
194
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpParameter; }
193
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpParameter; }
195
194
  });
196
195
  Object.defineProperty(exports, "convertToCapnpProperty", {
197
196
  enumerable: true,
198
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpProperty; }
197
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpProperty; }
199
198
  });
200
199
  Object.defineProperty(exports, "convertToCapnpPropertySignature", {
201
200
  enumerable: true,
202
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpPropertySignature; }
201
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpPropertySignature; }
203
202
  });
204
203
  Object.defineProperty(exports, "convertToCapnpSimple", {
205
204
  enumerable: true,
206
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpSimple; }
205
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpSimple; }
207
206
  });
208
207
  Object.defineProperty(exports, "convertToCapnpTagsReflection", {
209
208
  enumerable: true,
210
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpTagsReflection; }
209
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpTagsReflection; }
211
210
  });
212
211
  Object.defineProperty(exports, "convertToCapnpTuple", {
213
212
  enumerable: true,
214
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpTuple; }
213
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpTuple; }
215
214
  });
216
215
  Object.defineProperty(exports, "convertToCapnpTupleMember", {
217
216
  enumerable: true,
218
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpTupleMember; }
217
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpTupleMember; }
219
218
  });
220
219
  Object.defineProperty(exports, "convertToCapnpUnion", {
221
220
  enumerable: true,
222
- get: function () { return chunkJ2FVIV7W_cjs.convertToCapnpUnion; }
221
+ get: function () { return chunk7FXYDYVQ_cjs.convertToCapnpUnion; }
223
222
  });
224
223
  Object.defineProperty(exports, "reflectType", {
225
224
  enumerable: true,
226
- get: function () { return chunkQABG54Y3_cjs.reflectType; }
225
+ get: function () { return chunkKGCRCOJQ_cjs.reflectType; }
227
226
  });
228
227
  Object.defineProperty(exports, "esbuildPlugin", {
229
228
  enumerable: true,
230
- get: function () { return chunk6QPIKQMO_cjs.esbuildPlugin; }
229
+ get: function () { return chunkCJMS4ES3_cjs.esbuildPlugin; }
231
230
  });
232
231
  Object.defineProperty(exports, "getReflectionsPath", {
233
232
  enumerable: true,
234
- get: function () { return chunkVMRRVNO2_cjs.getReflectionsPath; }
233
+ get: function () { return chunk7QZGCBH7_cjs.getReflectionsPath; }
235
234
  });
236
235
  Object.defineProperty(exports, "transpile", {
237
236
  enumerable: true,
238
- get: function () { return chunkEKHXI2JI_cjs.transpile; }
237
+ get: function () { return chunkYAEE7DDW_cjs.transpile; }
239
238
  });
240
239
  Object.defineProperty(exports, "createDeclarationTransformer", {
241
240
  enumerable: true,
242
- get: function () { return chunkVXZTOOL6_cjs.createDeclarationTransformer; }
241
+ get: function () { return chunkBLLXF42T_cjs.createDeclarationTransformer; }
243
242
  });
244
243
  Object.defineProperty(exports, "createTransformer", {
245
244
  enumerable: true,
246
- get: function () { return chunkVXZTOOL6_cjs.createTransformer; }
245
+ get: function () { return chunkBLLXF42T_cjs.createTransformer; }
247
246
  });
package/dist/index.js CHANGED
@@ -1,10 +1,9 @@
1
- export { getEnumReflectionType, getUnionTypes, isStringUnion, kindToName, stringifyDefaultValue, stringifyStringValue, stringifyValue } from './chunk-J4SVRFV4.js';
2
- 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 } from './chunk-I5CVIT7W.js';
3
- export { reflectType } from './chunk-C7BRLIIA.js';
4
- import './chunk-XGQQM64U.js';
5
- export { esbuildPlugin } from './chunk-2ODODKQQ.js';
6
- export { getReflectionsPath } from './chunk-MEMIQ5AA.js';
7
- export { transpile } from './chunk-LPLPOVLC.js';
8
- export { createDeclarationTransformer, createTransformer } from './chunk-MNUBEEIW.js';
9
- import './chunk-IRPJW6HH.js';
1
+ export { getEnumReflectionType, getUnionTypes, isStringUnion, kindToName, stringifyDefaultValue, stringifyStringValue, stringifyValue } from './chunk-WL27D7L7.js';
2
+ 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 } from './chunk-TDYIUJGY.js';
3
+ export { reflectType } from './chunk-XHSSGKUT.js';
4
+ export { esbuildPlugin } from './chunk-JE36RI7U.js';
5
+ export { getReflectionsPath } from './chunk-ALM6UMVU.js';
6
+ export { transpile } from './chunk-EJIBYA23.js';
7
+ export { createDeclarationTransformer, createTransformer } from './chunk-23YNDVRG.js';
8
+ import './chunk-SHUYVCID.js';
10
9
  import './chunk-OULCUN6I.js';
@@ -1,15 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkQABG54Y3_cjs = require('./chunk-QABG54Y3.cjs');
4
- require('./chunk-7J3ZDT6O.cjs');
5
- require('./chunk-6QPIKQMO.cjs');
6
- require('./chunk-EKHXI2JI.cjs');
7
- require('./chunk-VXZTOOL6.cjs');
8
- require('./chunk-GRNJVY7I.cjs');
3
+ var chunkKGCRCOJQ_cjs = require('./chunk-KGCRCOJQ.cjs');
4
+ require('./chunk-CJMS4ES3.cjs');
5
+ require('./chunk-YAEE7DDW.cjs');
6
+ require('./chunk-BLLXF42T.cjs');
7
+ require('./chunk-USNT2KNT.cjs');
9
8
 
10
9
 
11
10
 
12
11
  Object.defineProperty(exports, "reflectType", {
13
12
  enumerable: true,
14
- get: function () { return chunkQABG54Y3_cjs.reflectType; }
13
+ get: function () { return chunkKGCRCOJQ_cjs.reflectType; }
15
14
  });
@@ -1,6 +1,5 @@
1
- export { reflectType } from './chunk-C7BRLIIA.js';
2
- import './chunk-XGQQM64U.js';
3
- import './chunk-2ODODKQQ.js';
4
- import './chunk-LPLPOVLC.js';
5
- import './chunk-MNUBEEIW.js';
6
- import './chunk-IRPJW6HH.js';
1
+ export { reflectType } from './chunk-XHSSGKUT.js';
2
+ import './chunk-JE36RI7U.js';
3
+ import './chunk-EJIBYA23.js';
4
+ import './chunk-23YNDVRG.js';
5
+ import './chunk-SHUYVCID.js';
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkVMRRVNO2_cjs = require('./chunk-VMRRVNO2.cjs');
4
- require('./chunk-GRNJVY7I.cjs');
3
+ var chunk7QZGCBH7_cjs = require('./chunk-7QZGCBH7.cjs');
4
+ require('./chunk-USNT2KNT.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "getReflectionsPath", {
9
9
  enumerable: true,
10
- get: function () { return chunkVMRRVNO2_cjs.getReflectionsPath; }
10
+ get: function () { return chunk7QZGCBH7_cjs.getReflectionsPath; }
11
11
  });
@@ -1,2 +1,2 @@
1
- export { getReflectionsPath } from './chunk-MEMIQ5AA.js';
2
- import './chunk-IRPJW6HH.js';
1
+ export { getReflectionsPath } from './chunk-ALM6UMVU.js';
2
+ import './chunk-SHUYVCID.js';
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunkVXZTOOL6_cjs = require('./chunk-VXZTOOL6.cjs');
4
- require('./chunk-GRNJVY7I.cjs');
3
+ var chunkBLLXF42T_cjs = require('./chunk-BLLXF42T.cjs');
4
+ require('./chunk-USNT2KNT.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "createDeclarationTransformer", {
9
9
  enumerable: true,
10
- get: function () { return chunkVXZTOOL6_cjs.createDeclarationTransformer; }
10
+ get: function () { return chunkBLLXF42T_cjs.createDeclarationTransformer; }
11
11
  });
12
12
  Object.defineProperty(exports, "createTransformer", {
13
13
  enumerable: true,
14
- get: function () { return chunkVXZTOOL6_cjs.createTransformer; }
14
+ get: function () { return chunkBLLXF42T_cjs.createTransformer; }
15
15
  });
@@ -1,2 +1,2 @@
1
- export { createDeclarationTransformer, createTransformer } from './chunk-MNUBEEIW.js';
2
- import './chunk-IRPJW6HH.js';
1
+ export { createDeclarationTransformer, createTransformer } from './chunk-23YNDVRG.js';
2
+ import './chunk-SHUYVCID.js';
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkEKHXI2JI_cjs = require('./chunk-EKHXI2JI.cjs');
4
- require('./chunk-VXZTOOL6.cjs');
5
- require('./chunk-GRNJVY7I.cjs');
3
+ var chunkYAEE7DDW_cjs = require('./chunk-YAEE7DDW.cjs');
4
+ require('./chunk-BLLXF42T.cjs');
5
+ require('./chunk-USNT2KNT.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "transpile", {
10
10
  enumerable: true,
11
- get: function () { return chunkEKHXI2JI_cjs.transpile; }
11
+ get: function () { return chunkYAEE7DDW_cjs.transpile; }
12
12
  });
package/dist/transpile.js CHANGED
@@ -1,3 +1,3 @@
1
- export { transpile } from './chunk-LPLPOVLC.js';
2
- import './chunk-MNUBEEIW.js';
3
- import './chunk-IRPJW6HH.js';
1
+ export { transpile } from './chunk-EJIBYA23.js';
2
+ import './chunk-23YNDVRG.js';
3
+ import './chunk-SHUYVCID.js';
@@ -1,36 +1,35 @@
1
1
  'use strict';
2
2
 
3
- var chunkQLKLDV3V_cjs = require('./chunk-QLKLDV3V.cjs');
4
- require('./chunk-7J3ZDT6O.cjs');
5
- require('./chunk-GRNJVY7I.cjs');
3
+ var chunk5MYRXRS2_cjs = require('./chunk-5MYRXRS2.cjs');
4
+ require('./chunk-USNT2KNT.cjs');
6
5
 
7
6
 
8
7
 
9
8
  Object.defineProperty(exports, "getEnumReflectionType", {
10
9
  enumerable: true,
11
- get: function () { return chunkQLKLDV3V_cjs.getEnumReflectionType; }
10
+ get: function () { return chunk5MYRXRS2_cjs.getEnumReflectionType; }
12
11
  });
13
12
  Object.defineProperty(exports, "getUnionTypes", {
14
13
  enumerable: true,
15
- get: function () { return chunkQLKLDV3V_cjs.getUnionTypes; }
14
+ get: function () { return chunk5MYRXRS2_cjs.getUnionTypes; }
16
15
  });
17
16
  Object.defineProperty(exports, "isStringUnion", {
18
17
  enumerable: true,
19
- get: function () { return chunkQLKLDV3V_cjs.isStringUnion; }
18
+ get: function () { return chunk5MYRXRS2_cjs.isStringUnion; }
20
19
  });
21
20
  Object.defineProperty(exports, "kindToName", {
22
21
  enumerable: true,
23
- get: function () { return chunkQLKLDV3V_cjs.kindToName; }
22
+ get: function () { return chunk5MYRXRS2_cjs.kindToName; }
24
23
  });
25
24
  Object.defineProperty(exports, "stringifyDefaultValue", {
26
25
  enumerable: true,
27
- get: function () { return chunkQLKLDV3V_cjs.stringifyDefaultValue; }
26
+ get: function () { return chunk5MYRXRS2_cjs.stringifyDefaultValue; }
28
27
  });
29
28
  Object.defineProperty(exports, "stringifyStringValue", {
30
29
  enumerable: true,
31
- get: function () { return chunkQLKLDV3V_cjs.stringifyStringValue; }
30
+ get: function () { return chunk5MYRXRS2_cjs.stringifyStringValue; }
32
31
  });
33
32
  Object.defineProperty(exports, "stringifyValue", {
34
33
  enumerable: true,
35
- get: function () { return chunkQLKLDV3V_cjs.stringifyValue; }
34
+ get: function () { return chunk5MYRXRS2_cjs.stringifyValue; }
36
35
  });
package/dist/utilities.js CHANGED
@@ -1,3 +1,2 @@
1
- export { getEnumReflectionType, getUnionTypes, isStringUnion, kindToName, stringifyDefaultValue, stringifyStringValue, stringifyValue } from './chunk-J4SVRFV4.js';
2
- import './chunk-XGQQM64U.js';
3
- import './chunk-IRPJW6HH.js';
1
+ export { getEnumReflectionType, getUnionTypes, isStringUnion, kindToName, stringifyDefaultValue, stringifyStringValue, stringifyValue } from './chunk-WL27D7L7.js';
2
+ import './chunk-SHUYVCID.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/deepkit",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "repository": {
@@ -125,7 +125,7 @@
125
125
  "chalk": "5.6.2",
126
126
  "defu": "^6.1.4",
127
127
  "jiti": "^2.6.1",
128
- "powerlines": "^0.34.8",
128
+ "powerlines": "^0.35.0",
129
129
  "typescript": "^5.9.3",
130
130
  "unplugin": "3.0.0-beta.3"
131
131
  },
@@ -134,12 +134,12 @@
134
134
  "@deepkit/type": "1.0.5",
135
135
  "@deepkit/type-compiler": "1.0.5",
136
136
  "@deepkit/type-spec": "1.0.1",
137
- "@powerlines/nx": "^0.11.21",
137
+ "@powerlines/nx": "^0.11.23",
138
138
  "@types/node": "^24.10.4",
139
139
  "dts-bundle-generator": "^9.5.1",
140
140
  "tsup": "8.4.0",
141
141
  "esbuild": "^0.25.12"
142
142
  },
143
143
  "publishConfig": { "access": "public" },
144
- "gitHead": "a6b7abef7b6414df6df50419b53d0240033ae87a"
144
+ "gitHead": "b2222b4984e94db4850cdeda830206c8f1946395"
145
145
  }
@@ -1,30 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkGRNJVY7I_cjs = require('./chunk-GRNJVY7I.cjs');
4
- var type_star = require('@deepkit/type');
5
-
6
- function _interopNamespace(e) {
7
- if (e && e.__esModule) return e;
8
- var n = Object.create(null);
9
- if (e) {
10
- Object.keys(e).forEach(function (k) {
11
- if (k !== 'default') {
12
- var d = Object.getOwnPropertyDescriptor(e, k);
13
- Object.defineProperty(n, k, d.get ? d : {
14
- enumerable: true,
15
- get: function () { return e[k]; }
16
- });
17
- }
18
- });
19
- }
20
- n.default = e;
21
- return Object.freeze(n);
22
- }
23
-
24
- var type_star__namespace = /*#__PURE__*/_interopNamespace(type_star);
25
-
26
- // src/vendor/type.ts
27
- var type_exports = {};
28
- chunkGRNJVY7I_cjs.__reExport(type_exports, type_star__namespace);
29
-
30
- exports.type_exports = type_exports;