@powerlines/deepkit 0.7.3 → 0.7.5

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 (91) hide show
  1. package/dist/{capnp-BLx1WTBU.cjs → capnp-BLCHrDSY.cjs} +42 -42
  2. package/dist/{capnp-BiGNkOmV.mjs → capnp-BqAglxrS.mjs} +265 -265
  3. package/dist/capnp.cjs +1 -1
  4. package/dist/capnp.d.cts +42 -44
  5. package/dist/capnp.d.mts +42 -44
  6. package/dist/capnp.mjs +1 -1
  7. package/dist/{chunk-C0xms8kb.cjs → chunk-BmvPcxpV.cjs} +7 -0
  8. package/dist/chunk-CgI6uo-e.mjs +32 -0
  9. package/dist/{vendor/type-compiler/compiler-D1z5h1MK.d.cts → compiler-B-zwyGQf.d.cts} +3 -201
  10. package/dist/{vendor/type-compiler/compiler-Bg8jX6qU.mjs → compiler-BUUdv7wG.mjs} +4 -191
  11. package/dist/{vendor/type-compiler/compiler-Nkxc4PLJ.d.mts → compiler-BzOZmhWO.d.mts} +3 -201
  12. package/dist/{vendor/type-compiler/compiler-BUrWMhGi.cjs → compiler-DTp8Jvav.cjs} +207 -394
  13. package/dist/{vendor/type-compiler/config-B_cKkYZm.d.cts → config-B2hS4_tR.d.mts} +1 -1
  14. package/dist/config-C0OHvihx.d.mts +1 -0
  15. package/dist/{vendor/type-compiler/config-y0HNkbCH.mjs → config-CuXC21KA.mjs} +3 -32
  16. package/dist/{vendor/type-compiler/config-D9DM7Du_.d.mts → config-DCmu3CV2.d.cts} +1 -1
  17. package/dist/config-GPeRZeGl.d.cts +1 -0
  18. package/dist/{vendor/type-compiler/config-BEX924PC.cjs → config-GVyELKY1.cjs} +20 -59
  19. package/dist/esbuild-plugin-BUYqx8_5.cjs +80 -0
  20. package/dist/esbuild-plugin-CRQUmm86.mjs +75 -0
  21. package/dist/esbuild-plugin.cjs +2 -47
  22. package/dist/esbuild-plugin.d.cts +18 -4
  23. package/dist/esbuild-plugin.d.mts +18 -4
  24. package/dist/esbuild-plugin.mjs +2 -47
  25. package/dist/index.cjs +3 -3
  26. package/dist/index.d.cts +4 -4
  27. package/dist/index.d.mts +4 -4
  28. package/dist/index.mjs +3 -3
  29. package/dist/reflect-type.cjs +4 -4
  30. package/dist/reflect-type.d.cts +1 -1
  31. package/dist/reflect-type.d.mts +1 -1
  32. package/dist/reflect-type.mjs +2 -2
  33. package/dist/{reflection-C4IlLDrv.d.cts → reflection-Bhe75GyI.d.mts} +2 -2
  34. package/dist/{reflection-BB3pXP5l.d.mts → reflection-DGOuMF8F.d.cts} +2 -2
  35. package/dist/resolve-reflections.cjs +1 -1
  36. package/dist/rolldown-plugin.cjs +1 -1
  37. package/dist/{vendor/string-BuMgdahD.mjs → string-CjkshhTG.mjs} +3 -28
  38. package/dist/{vendor/string-BoXo0wS7.cjs → string-CpVz34Gv.cjs} +6 -39
  39. package/dist/transformer.cjs +7 -8
  40. package/dist/transformer.d.cts +1 -1
  41. package/dist/transformer.d.mts +1 -1
  42. package/dist/transformer.mjs +3 -4
  43. package/dist/transpile.cjs +6 -2
  44. package/dist/transpile.d.cts +1 -1
  45. package/dist/transpile.d.mts +1 -1
  46. package/dist/transpile.mjs +5 -1
  47. package/dist/type-8AL5U7vn.d.cts +2969 -0
  48. package/dist/type-BDuj5wg2.d.mts +2969 -0
  49. package/dist/{vendor/type-Dgeqs-rL.mjs → type-BWm74eaQ.mjs} +2 -1
  50. package/dist/type-C7UXbXfx.cjs +10688 -0
  51. package/dist/type-DR66Hepn.d.cts +223 -0
  52. package/dist/type-DfwJ6GTs.d.mts +223 -0
  53. package/dist/type-ma8o4dJG.mjs +9110 -0
  54. package/dist/types-BO3PJV5p.d.mts +511 -0
  55. package/dist/types-Bb6lL3KL.d.cts +511 -0
  56. package/dist/types.d.cts +3 -5
  57. package/dist/types.d.mts +3 -5
  58. package/dist/utilities-CT_jcB5h.mjs +1483 -0
  59. package/dist/utilities-Dr3TzxMb.cjs +1523 -0
  60. package/dist/utilities.cjs +8 -116
  61. package/dist/utilities.d.cts +1 -1
  62. package/dist/utilities.d.mts +1 -1
  63. package/dist/utilities.mjs +2 -110
  64. package/dist/vendor/core.cjs +1 -1
  65. package/dist/vendor/core.d.cts +158 -637
  66. package/dist/vendor/core.d.mts +158 -637
  67. package/dist/vendor/core.mjs +3 -2
  68. package/dist/vendor/type-compiler/compiler.cjs +1 -1
  69. package/dist/vendor/type-compiler/compiler.d.cts +1 -1
  70. package/dist/vendor/type-compiler/compiler.d.mts +1 -1
  71. package/dist/vendor/type-compiler/compiler.mjs +1 -1
  72. package/dist/vendor/type-compiler/config.cjs +1 -1
  73. package/dist/vendor/type-compiler/config.d.cts +1 -1
  74. package/dist/vendor/type-compiler/config.d.mts +1 -1
  75. package/dist/vendor/type-compiler/config.mjs +1 -1
  76. package/dist/vendor/type-compiler/index.cjs +11 -3
  77. package/dist/vendor/type-compiler/index.d.cts +3 -2
  78. package/dist/vendor/type-compiler/index.d.mts +3 -2
  79. package/dist/vendor/type-compiler/index.mjs +3 -2
  80. package/dist/vendor/type-spec.cjs +1 -1
  81. package/dist/vendor/type-spec.d.cts +2 -192
  82. package/dist/vendor/type-spec.d.mts +2 -192
  83. package/dist/vendor/type-spec.mjs +1 -1
  84. package/dist/vendor/type.cjs +268 -9374
  85. package/dist/vendor/type.d.cts +3 -3239
  86. package/dist/vendor/type.d.mts +3 -3239
  87. package/dist/vendor/type.mjs +2 -9107
  88. package/package.json +11 -16
  89. package/schemas/reflection.d.cts +1 -6
  90. package/schemas/reflection.d.mts +1 -6
  91. /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-BLx1WTBU.cjs');
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$1, _ as SerializedTypePropertySignature$1, a as SerializedTypeClassType$1, b as SerializedTypeUnion$1, c as SerializedTypeInfer$1, d as SerializedTypeMethod$1, f as SerializedTypeMethodSignature$1, g as SerializedTypeProperty$1, h as SerializedTypeParameter$1, i as SerializedTypeArray$1, l as SerializedTypeIntersection$1, m as SerializedTypeOther, n as IndexAccessOrigin, o as SerializedTypeEnum$1, p as SerializedTypeObjectLiteral$1, r as SerializedType$1, s as SerializedTypeFunction$1, t as DefaultValueReflection, u as SerializedTypeLiteral$1, v as SerializedTypeTuple$1, w as TagsReflection$1, x as SerializedType_Type, y as SerializedTypeTupleMember$1 } from "./reflection-C4IlLDrv.cjs";
2
- import { SerializedType, SerializedTypeArray, SerializedTypeClassType, SerializedTypeEnum, SerializedTypeFunction, SerializedTypeInfer, SerializedTypeIntersection, SerializedTypeLiteral, SerializedTypeMethod, SerializedTypeMethodSignature, SerializedTypeObjectLiteral, SerializedTypeParameter, SerializedTypeProperty, SerializedTypePropertySignature, SerializedTypeReference, SerializedTypeTuple, SerializedTypeTupleMember, SerializedTypeUnion, SerializedTypes, SimpleSerializedType, TagsReflection } from "@powerlines/deepkit/vendor/type";
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$1>): List<SerializedType$1>;
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$1>): SerializedTypes;
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$1, serializedType?: TagsReflection): TagsReflection$1;
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$1): 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$1): SimpleSerializedType$1;
91
- declare function convertFromCapnpLiteral(serializedType: SerializedTypeLiteral$1): SerializedTypeLiteral;
92
- declare function convertToCapnpLiteral(serializedType: SerializedTypeLiteral, result: SerializedTypeLiteral$1): SerializedTypeLiteral$1;
93
- declare function convertFromCapnpMethodSignature(serializedType: SerializedTypeMethodSignature$1): SerializedTypeMethodSignature;
94
- declare function convertToCapnpMethodSignature(serializedType: SerializedTypeMethodSignature, result: SerializedTypeMethodSignature$1): SerializedTypeMethodSignature$1;
95
- declare function convertFromCapnpPropertySignature(serializedType: SerializedTypePropertySignature$1): 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$1): SerializedTypePropertySignature$1;
99
- declare function convertToCapnpTupleMember(serializedType: SerializedTypeTupleMember, result: SerializedTypeTupleMember$1): SerializedTypeTupleMember$1;
100
- declare function convertFromCapnpTupleMember(serializedType: SerializedTypeTupleMember$1): SerializedTypeTupleMember;
101
- declare function convertToCapnpTuple(serializedType: SerializedTypeTuple, result: SerializedTypeTuple$1): SerializedTypeTuple$1;
102
- declare function convertFromCapnpTuple(serializedType: SerializedTypeTuple$1): SerializedTypeTuple;
103
- declare function convertToCapnpProperty(serializedType: SerializedTypeProperty, result: SerializedTypeProperty$1): SerializedTypeProperty$1;
104
- declare function convertFromCapnpProperty(serializedType: SerializedTypeProperty$1): SerializedTypeProperty;
105
- declare function convertToCapnpEnum(serializedType: SerializedTypeEnum, result: SerializedTypeEnum$1): SerializedTypeEnum$1;
106
- declare function convertFromCapnpEnum(serializedType: SerializedTypeEnum$1): SerializedTypeEnum;
107
- declare function convertToCapnpIntersection(serializedType: SerializedTypeIntersection, result: SerializedTypeIntersection$1): SerializedTypeIntersection$1;
108
- declare function convertFromCapnpIntersection(serializedType: SerializedTypeIntersection$1): SerializedTypeIntersection;
109
- declare function convertToCapnpArray(serializedType: SerializedTypeArray, result: SerializedTypeArray$1): SerializedTypeArray$1;
110
- declare function convertFromCapnpArray(serializedType: SerializedTypeArray$1): 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$1): SerializedTypeUnion$1;
118
- declare function convertFromCapnpUnion(serializedType: SerializedTypeUnion$1): 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$1): SerializedTypeInfer$1;
126
- declare function convertFromCapnpInfer(serializedType: SerializedTypeInfer$1): 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$1): SerializedTypeFunction$1;
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$1): SerializedTypeMethod$1;
141
- declare function convertFromCapnpFunction(serializedType: SerializedTypeFunction$1): 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$1): SerializedTypeClassType$1;
149
- declare function convertFromCapnpClassType(serializedType: SerializedTypeClassType$1): 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$1): SerializedTypeObjectLiteral$1;
157
- declare function convertFromCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral$1): 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$1): SerializedTypeParameter$1;
165
- declare function convertFromCapnpParameter(serializedType: SerializedTypeParameter$1): 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, __Ω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 };
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$1, _ as SerializedTypePropertySignature$1, a as SerializedTypeClassType$1, b as SerializedTypeUnion$1, c as SerializedTypeInfer$1, d as SerializedTypeMethod$1, f as SerializedTypeMethodSignature$1, g as SerializedTypeProperty$1, h as SerializedTypeParameter$1, i as SerializedTypeArray$1, l as SerializedTypeIntersection$1, m as SerializedTypeOther, n as IndexAccessOrigin, o as SerializedTypeEnum$1, p as SerializedTypeObjectLiteral$1, r as SerializedType$1, s as SerializedTypeFunction$1, t as DefaultValueReflection, u as SerializedTypeLiteral$1, v as SerializedTypeTuple$1, w as TagsReflection$1, x as SerializedType_Type, y as SerializedTypeTupleMember$1 } from "./reflection-BB3pXP5l.mjs";
2
- import { SerializedType, SerializedTypeArray, SerializedTypeClassType, SerializedTypeEnum, SerializedTypeFunction, SerializedTypeInfer, SerializedTypeIntersection, SerializedTypeLiteral, SerializedTypeMethod, SerializedTypeMethodSignature, SerializedTypeObjectLiteral, SerializedTypeParameter, SerializedTypeProperty, SerializedTypePropertySignature, SerializedTypeReference, SerializedTypeTuple, SerializedTypeTupleMember, SerializedTypeUnion, SerializedTypes, SimpleSerializedType, TagsReflection } from "@powerlines/deepkit/vendor/type";
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-Bhe75GyI.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-BDuj5wg2.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$1>): List<SerializedType$1>;
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$1>): SerializedTypes;
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$1, serializedType?: TagsReflection): TagsReflection$1;
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$1): 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$1): SimpleSerializedType$1;
91
- declare function convertFromCapnpLiteral(serializedType: SerializedTypeLiteral$1): SerializedTypeLiteral;
92
- declare function convertToCapnpLiteral(serializedType: SerializedTypeLiteral, result: SerializedTypeLiteral$1): SerializedTypeLiteral$1;
93
- declare function convertFromCapnpMethodSignature(serializedType: SerializedTypeMethodSignature$1): SerializedTypeMethodSignature;
94
- declare function convertToCapnpMethodSignature(serializedType: SerializedTypeMethodSignature, result: SerializedTypeMethodSignature$1): SerializedTypeMethodSignature$1;
95
- declare function convertFromCapnpPropertySignature(serializedType: SerializedTypePropertySignature$1): 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$1): SerializedTypePropertySignature$1;
99
- declare function convertToCapnpTupleMember(serializedType: SerializedTypeTupleMember, result: SerializedTypeTupleMember$1): SerializedTypeTupleMember$1;
100
- declare function convertFromCapnpTupleMember(serializedType: SerializedTypeTupleMember$1): SerializedTypeTupleMember;
101
- declare function convertToCapnpTuple(serializedType: SerializedTypeTuple, result: SerializedTypeTuple$1): SerializedTypeTuple$1;
102
- declare function convertFromCapnpTuple(serializedType: SerializedTypeTuple$1): SerializedTypeTuple;
103
- declare function convertToCapnpProperty(serializedType: SerializedTypeProperty, result: SerializedTypeProperty$1): SerializedTypeProperty$1;
104
- declare function convertFromCapnpProperty(serializedType: SerializedTypeProperty$1): SerializedTypeProperty;
105
- declare function convertToCapnpEnum(serializedType: SerializedTypeEnum, result: SerializedTypeEnum$1): SerializedTypeEnum$1;
106
- declare function convertFromCapnpEnum(serializedType: SerializedTypeEnum$1): SerializedTypeEnum;
107
- declare function convertToCapnpIntersection(serializedType: SerializedTypeIntersection, result: SerializedTypeIntersection$1): SerializedTypeIntersection$1;
108
- declare function convertFromCapnpIntersection(serializedType: SerializedTypeIntersection$1): SerializedTypeIntersection;
109
- declare function convertToCapnpArray(serializedType: SerializedTypeArray, result: SerializedTypeArray$1): SerializedTypeArray$1;
110
- declare function convertFromCapnpArray(serializedType: SerializedTypeArray$1): 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$1): SerializedTypeUnion$1;
118
- declare function convertFromCapnpUnion(serializedType: SerializedTypeUnion$1): 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$1): SerializedTypeInfer$1;
126
- declare function convertFromCapnpInfer(serializedType: SerializedTypeInfer$1): 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$1): SerializedTypeFunction$1;
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$1): SerializedTypeMethod$1;
141
- declare function convertFromCapnpFunction(serializedType: SerializedTypeFunction$1): 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$1): SerializedTypeClassType$1;
149
- declare function convertFromCapnpClassType(serializedType: SerializedTypeClassType$1): 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$1): SerializedTypeObjectLiteral$1;
157
- declare function convertFromCapnpObjectLiteral(serializedType: SerializedTypeObjectLiteral$1): 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$1): SerializedTypeParameter$1;
165
- declare function convertFromCapnpParameter(serializedType: SerializedTypeParameter$1): 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, __Ω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 };
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-BiGNkOmV.mjs";
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 };