@powerlines/deepkit 0.9.95 → 0.9.97

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 (59) hide show
  1. package/dist/capnp.d.cts +1 -2
  2. package/dist/capnp.d.mts +1 -2
  3. package/dist/{config-Bgt67as0.d.cts → config-dmZSl9F7.d.cts} +10 -11
  4. package/dist/{config-Bgt67as0.d.mts → config-dmZSl9F7.d.mts} +10 -11
  5. package/dist/esbuild-plugin.d.cts +0 -1
  6. package/dist/esbuild-plugin.d.mts +0 -1
  7. package/dist/index.cjs +1 -1
  8. package/dist/index.mjs +1 -1
  9. package/dist/{reflection-dZCCqxc3.d.cts → reflection-CVyhGqGH.d.cts} +17 -18
  10. package/dist/{reflection-dZCCqxc3.d.mts → reflection-CVyhGqGH.d.mts} +17 -18
  11. package/dist/resolve-reflections.d.cts +0 -1
  12. package/dist/resolve-reflections.d.mts +0 -1
  13. package/dist/rolldown-plugin.d.cts +0 -1
  14. package/dist/rolldown-plugin.d.mts +0 -1
  15. package/dist/{transformer-DnuSSWPR.cjs → transformer-CHOVkgMG.cjs} +10 -5
  16. package/dist/{transformer-9Qq95aUb.mjs → transformer-DSI6FAaZ.mjs} +11 -6
  17. package/dist/transformer.cjs +1 -1
  18. package/dist/transformer.d.cts +1 -2
  19. package/dist/transformer.d.mts +1 -2
  20. package/dist/transformer.mjs +1 -1
  21. package/dist/transpile.cjs +1 -1
  22. package/dist/transpile.d.cts +1 -2
  23. package/dist/transpile.d.mts +1 -2
  24. package/dist/transpile.mjs +1 -1
  25. package/dist/types.d.cts +2 -3
  26. package/dist/types.d.mts +2 -3
  27. package/dist/utilities.d.cts +0 -1
  28. package/dist/utilities.d.mts +0 -1
  29. package/dist/vendor/{compiler-CFzs_txx.d.cts → compiler-Bj6czf9C.d.cts} +3 -4
  30. package/dist/vendor/{compiler-EgkBSwnY.cjs → compiler-CDs-Gj-Z.cjs} +10 -5
  31. package/dist/vendor/{compiler-D4QaHzhD.d.mts → compiler-D6HDCNKP.d.mts} +3 -4
  32. package/dist/vendor/{compiler-8hCF4N7g.mjs → compiler-Dn_z_CUa.mjs} +11 -6
  33. package/dist/vendor/{config-B8wUohU6.d.cts → config-CUnBXA3v.d.cts} +10 -11
  34. package/dist/vendor/{config-B8wUohU6.d.mts → config-CUnBXA3v.d.mts} +10 -11
  35. package/dist/vendor/core.d.cts +1 -2
  36. package/dist/vendor/core.d.mts +1 -2
  37. package/dist/vendor/{type-BLubGRUo.d.cts → type-CUwNL20r.d.cts} +59 -59
  38. package/dist/vendor/{type-BLubGRUo.d.mts → type-CUwNL20r.d.mts} +59 -59
  39. package/dist/vendor/type-compiler/compiler.cjs +1 -1
  40. package/dist/vendor/type-compiler/compiler.d.cts +1 -1
  41. package/dist/vendor/type-compiler/compiler.d.mts +1 -1
  42. package/dist/vendor/type-compiler/compiler.mjs +1 -1
  43. package/dist/vendor/type-compiler/config.d.cts +1 -1
  44. package/dist/vendor/type-compiler/config.d.mts +1 -1
  45. package/dist/vendor/type-compiler/index.cjs +1 -1
  46. package/dist/vendor/type-compiler/index.d.cts +2 -3
  47. package/dist/vendor/type-compiler/index.d.mts +2 -3
  48. package/dist/vendor/type-compiler/index.mjs +1 -1
  49. package/dist/vendor/type-spec.d.cts +1 -1
  50. package/dist/vendor/type-spec.d.mts +1 -1
  51. package/dist/vendor/type.cjs +8 -2
  52. package/dist/vendor/type.d.cts +22 -27
  53. package/dist/vendor/type.d.mts +22 -27
  54. package/dist/vendor/type.mjs +8 -2
  55. package/dist/vendor/{types-Dh22x546.d.cts → types-cfMYDjR6.d.cts} +2 -2
  56. package/dist/vendor/{types-Dh22x546.d.mts → types-cfMYDjR6.d.mts} +2 -2
  57. package/package.json +7 -7
  58. package/schemas/reflection.d.cts +18 -19
  59. package/schemas/reflection.d.mts +18 -19
package/dist/capnp.d.cts CHANGED
@@ -1,7 +1,6 @@
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-dZCCqxc3.cjs";
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-CVyhGqGH.cjs";
2
2
  import { ReflectionKind, 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";
3
3
  import { List } from "@stryke/capnp";
4
-
5
4
  //#region src/capnp.d.ts
6
5
  /**
7
6
  * Converts a Deepkit serialized type to a Cap'n Proto serialized type.
package/dist/capnp.d.mts CHANGED
@@ -1,7 +1,6 @@
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-dZCCqxc3.mjs";
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-CVyhGqGH.mjs";
2
2
  import { ReflectionKind, 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";
3
3
  import { List } from "@stryke/capnp";
4
-
5
4
  //#region src/capnp.d.ts
6
5
  /**
7
6
  * Converts a Deepkit serialized type to a Cap'n Proto serialized type.
@@ -1,5 +1,4 @@
1
1
  import ts from "typescript";
2
-
3
2
  //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=91a56c95b398f90e6f5e654820112642044b9b1e47990b7_9287880872ab70824e8df5717a572baa/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts
4
3
  /**
5
4
  * Default means reflection is enabled for this file.
@@ -24,17 +23,17 @@ interface ReflectionConfig {
24
23
  */
25
24
  reflection?: string[] | Mode;
26
25
  /**
27
- * Defines the level of reflection to be used during the transpilation process.
28
- *
29
- * @remarks
30
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
31
- * - `minimal` - Only the essential type information is captured. (only "hidden", "ignore" and "internal", "readonly")
32
- * - `normal` - Additional type information is captured, including some contextual data. (adds "alias" and "runtime")
33
- * - `extended` - Even more detailed type information is captured, including extended contextual data. (adds "permissions" and "domain")
34
- * - `all` - All available type information is captured, including detailed contextual data. (adds "title" and "description")
35
- */
26
+ * Defines the level of reflection to be used during the transpilation process.
27
+ *
28
+ * @remarks
29
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
30
+ * - `minimal` - Only the essential type information is captured. (only "hidden", "ignore" and "internal", "readonly")
31
+ * - `normal` - Additional type information is captured, including some contextual data. (adds "alias" and "runtime")
32
+ * - `extended` - Even more detailed type information is captured, including extended contextual data. (adds "permissions" and "domain")
33
+ * - `all` - All available type information is captured, including detailed contextual data. (adds "title" and "description")
34
+ */
36
35
  level?: Level;
37
36
  }
38
37
  //#endregion
39
38
  export { Mode as n, ReflectionConfig as r, Level as t };
40
- //# sourceMappingURL=config-Bgt67as0.d.cts.map
39
+ //# sourceMappingURL=config-dmZSl9F7.d.cts.map
@@ -1,5 +1,4 @@
1
1
  import ts from "typescript";
2
-
3
2
  //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=91a56c95b398f90e6f5e654820112642044b9b1e47990b7_9287880872ab70824e8df5717a572baa/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts
4
3
  /**
5
4
  * Default means reflection is enabled for this file.
@@ -24,17 +23,17 @@ interface ReflectionConfig {
24
23
  */
25
24
  reflection?: string[] | Mode;
26
25
  /**
27
- * Defines the level of reflection to be used during the transpilation process.
28
- *
29
- * @remarks
30
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
31
- * - `minimal` - Only the essential type information is captured. (only "hidden", "ignore" and "internal", "readonly")
32
- * - `normal` - Additional type information is captured, including some contextual data. (adds "alias" and "runtime")
33
- * - `extended` - Even more detailed type information is captured, including extended contextual data. (adds "permissions" and "domain")
34
- * - `all` - All available type information is captured, including detailed contextual data. (adds "title" and "description")
35
- */
26
+ * Defines the level of reflection to be used during the transpilation process.
27
+ *
28
+ * @remarks
29
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
30
+ * - `minimal` - Only the essential type information is captured. (only "hidden", "ignore" and "internal", "readonly")
31
+ * - `normal` - Additional type information is captured, including some contextual data. (adds "alias" and "runtime")
32
+ * - `extended` - Even more detailed type information is captured, including extended contextual data. (adds "permissions" and "domain")
33
+ * - `all` - All available type information is captured, including detailed contextual data. (adds "title" and "description")
34
+ */
36
35
  level?: Level;
37
36
  }
38
37
  //#endregion
39
38
  export { Mode as n, ReflectionConfig as r, Level as t };
40
- //# sourceMappingURL=config-Bgt67as0.d.mts.map
39
+ //# sourceMappingURL=config-dmZSl9F7.d.mts.map
@@ -1,7 +1,6 @@
1
1
  import { ReflectionConfig } from "./types.cjs";
2
2
  import { Context } from "@powerlines/core";
3
3
  import { OnLoadOptions, Plugin } from "esbuild";
4
-
5
4
  //#region src/esbuild-plugin.d.ts
6
5
  interface ESBuildPluginOptions extends Partial<ReflectionConfig> {
7
6
  onLoad?: Partial<OnLoadOptions>;
@@ -1,7 +1,6 @@
1
1
  import { ReflectionConfig } from "./types.mjs";
2
2
  import { Context } from "@powerlines/core";
3
3
  import { OnLoadOptions, Plugin } from "esbuild";
4
-
5
4
  //#region src/esbuild-plugin.d.ts
6
5
  interface ESBuildPluginOptions extends Partial<ReflectionConfig> {
7
6
  onLoad?: Partial<OnLoadOptions>;
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_capnp = require('./capnp-CblJY6J6.cjs');
3
- const require_transformer = require('./transformer-DnuSSWPR.cjs');
3
+ const require_transformer = require('./transformer-CHOVkgMG.cjs');
4
4
  const require_transpile = require('./transpile.cjs');
5
5
  const require_esbuild_plugin = require('./esbuild-plugin.cjs');
6
6
  const require_resolve_reflections = require('./resolve-reflections.cjs');
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as createTransformer, t as createDeclarationTransformer } from "./transformer-9Qq95aUb.mjs";
1
+ import { n as createTransformer, t as createDeclarationTransformer } from "./transformer-DSI6FAaZ.mjs";
2
2
  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-DMIKW0SW.mjs";
3
3
  import { transpile } from "./transpile.mjs";
4
4
  import { esbuildPlugin } from "./esbuild-plugin.mjs";
@@ -1,5 +1,4 @@
1
1
  import * as $ from "@stryke/capnp";
2
-
3
2
  //#region schemas/reflection.d.mts
4
3
  declare const ReflectionKind: {
5
4
  readonly NEVER: 0;
@@ -1126,9 +1125,9 @@ declare class SerializedTypeLiteralSymbol extends $.Struct {
1126
1125
  size: $.ObjectSize;
1127
1126
  };
1128
1127
  /**
1129
- * "symbol"
1130
- *
1131
- */
1128
+ * "symbol"
1129
+ *
1130
+ */
1132
1131
  get type(): string;
1133
1132
  set type(value: string);
1134
1133
  get name(): string;
@@ -1142,9 +1141,9 @@ declare class SerializedTypeLiteralBigInt extends $.Struct {
1142
1141
  size: $.ObjectSize;
1143
1142
  };
1144
1143
  /**
1145
- * "bigint"
1146
- *
1147
- */
1144
+ * "bigint"
1145
+ *
1146
+ */
1148
1147
  get type(): string;
1149
1148
  set type(value: string);
1150
1149
  get value(): string;
@@ -1158,9 +1157,9 @@ declare class SerializedTypeLiteralRegex extends $.Struct {
1158
1157
  size: $.ObjectSize;
1159
1158
  };
1160
1159
  /**
1161
- * "regex"
1162
- *
1163
- */
1160
+ * "regex"
1161
+ *
1162
+ */
1164
1163
  get type(): string;
1165
1164
  set type(value: string);
1166
1165
  get regex(): string;
@@ -1330,9 +1329,9 @@ declare const SerializedType_Type_Which: {
1330
1329
  readonly TUPLE_MEMBER: 20;
1331
1330
  readonly REST: 21;
1332
1331
  /**
1333
- * For any other type that is not explicitly defined
1334
- *
1335
- */
1332
+ * For any other type that is not explicitly defined
1333
+ *
1334
+ */
1336
1335
  readonly OTHER: 22;
1337
1336
  };
1338
1337
  type SerializedType_Type_Which = (typeof SerializedType_Type_Which)[keyof typeof SerializedType_Type_Which];
@@ -1522,9 +1521,9 @@ declare class SerializedType_Type extends $.Struct {
1522
1521
  _adoptOther(value: $.Orphan<SerializedTypeOther>): void;
1523
1522
  _disownOther(): $.Orphan<SerializedTypeOther>;
1524
1523
  /**
1525
- * For any other type that is not explicitly defined
1526
- *
1527
- */
1524
+ * For any other type that is not explicitly defined
1525
+ *
1526
+ */
1528
1527
  get other(): SerializedTypeOther;
1529
1528
  _hasOther(): boolean;
1530
1529
  _initOther(): SerializedTypeOther;
@@ -1557,7 +1556,7 @@ declare class SerializedTypes extends $.Struct {
1557
1556
  _initTypes(length: number): $.List<SerializedType>;
1558
1557
  set types(value: $.List<SerializedType>);
1559
1558
  toString(): string;
1560
- } //#endregion
1559
+ }
1561
1560
  //#endregion
1562
1561
  export { SimpleSerializedType as C, SerializedTypes as S, SerializedTypePropertySignature as _, SerializedTypeClassType as a, SerializedTypeUnion as b, SerializedTypeInfer as c, SerializedTypeMethod as d, SerializedTypeMethodSignature as f, SerializedTypeProperty as g, SerializedTypeParameter as h, SerializedTypeArray as i, SerializedTypeIntersection as l, SerializedTypeOther as m, IndexAccessOrigin as n, SerializedTypeEnum as o, SerializedTypeObjectLiteral as p, SerializedType as r, SerializedTypeFunction as s, DefaultValueReflection as t, SerializedTypeLiteral as u, SerializedTypeTuple as v, TagsReflection as w, SerializedType_Type as x, SerializedTypeTupleMember as y };
1563
- //# sourceMappingURL=reflection-dZCCqxc3.d.cts.map
1562
+ //# sourceMappingURL=reflection-CVyhGqGH.d.cts.map
@@ -1,5 +1,4 @@
1
1
  import * as $ from "@stryke/capnp";
2
-
3
2
  //#region schemas/reflection.d.mts
4
3
  declare const ReflectionKind: {
5
4
  readonly NEVER: 0;
@@ -1126,9 +1125,9 @@ declare class SerializedTypeLiteralSymbol extends $.Struct {
1126
1125
  size: $.ObjectSize;
1127
1126
  };
1128
1127
  /**
1129
- * "symbol"
1130
- *
1131
- */
1128
+ * "symbol"
1129
+ *
1130
+ */
1132
1131
  get type(): string;
1133
1132
  set type(value: string);
1134
1133
  get name(): string;
@@ -1142,9 +1141,9 @@ declare class SerializedTypeLiteralBigInt extends $.Struct {
1142
1141
  size: $.ObjectSize;
1143
1142
  };
1144
1143
  /**
1145
- * "bigint"
1146
- *
1147
- */
1144
+ * "bigint"
1145
+ *
1146
+ */
1148
1147
  get type(): string;
1149
1148
  set type(value: string);
1150
1149
  get value(): string;
@@ -1158,9 +1157,9 @@ declare class SerializedTypeLiteralRegex extends $.Struct {
1158
1157
  size: $.ObjectSize;
1159
1158
  };
1160
1159
  /**
1161
- * "regex"
1162
- *
1163
- */
1160
+ * "regex"
1161
+ *
1162
+ */
1164
1163
  get type(): string;
1165
1164
  set type(value: string);
1166
1165
  get regex(): string;
@@ -1330,9 +1329,9 @@ declare const SerializedType_Type_Which: {
1330
1329
  readonly TUPLE_MEMBER: 20;
1331
1330
  readonly REST: 21;
1332
1331
  /**
1333
- * For any other type that is not explicitly defined
1334
- *
1335
- */
1332
+ * For any other type that is not explicitly defined
1333
+ *
1334
+ */
1336
1335
  readonly OTHER: 22;
1337
1336
  };
1338
1337
  type SerializedType_Type_Which = (typeof SerializedType_Type_Which)[keyof typeof SerializedType_Type_Which];
@@ -1522,9 +1521,9 @@ declare class SerializedType_Type extends $.Struct {
1522
1521
  _adoptOther(value: $.Orphan<SerializedTypeOther>): void;
1523
1522
  _disownOther(): $.Orphan<SerializedTypeOther>;
1524
1523
  /**
1525
- * For any other type that is not explicitly defined
1526
- *
1527
- */
1524
+ * For any other type that is not explicitly defined
1525
+ *
1526
+ */
1528
1527
  get other(): SerializedTypeOther;
1529
1528
  _hasOther(): boolean;
1530
1529
  _initOther(): SerializedTypeOther;
@@ -1557,7 +1556,7 @@ declare class SerializedTypes extends $.Struct {
1557
1556
  _initTypes(length: number): $.List<SerializedType>;
1558
1557
  set types(value: $.List<SerializedType>);
1559
1558
  toString(): string;
1560
- } //#endregion
1559
+ }
1561
1560
  //#endregion
1562
1561
  export { SimpleSerializedType as C, SerializedTypes as S, SerializedTypePropertySignature as _, SerializedTypeClassType as a, SerializedTypeUnion as b, SerializedTypeInfer as c, SerializedTypeMethod as d, SerializedTypeMethodSignature as f, SerializedTypeProperty as g, SerializedTypeParameter as h, SerializedTypeArray as i, SerializedTypeIntersection as l, SerializedTypeOther as m, IndexAccessOrigin as n, SerializedTypeEnum as o, SerializedTypeObjectLiteral as p, SerializedType as r, SerializedTypeFunction as s, DefaultValueReflection as t, SerializedTypeLiteral as u, SerializedTypeTuple as v, TagsReflection as w, SerializedType_Type as x, SerializedTypeTupleMember as y };
1563
- //# sourceMappingURL=reflection-dZCCqxc3.d.mts.map
1562
+ //# sourceMappingURL=reflection-CVyhGqGH.d.mts.map
@@ -1,5 +1,4 @@
1
1
  import { Context } from "@powerlines/core";
2
-
3
2
  //#region src/resolve-reflections.d.ts
4
3
  /**
5
4
  * Returns the path to the reflections artifact directory.
@@ -1,5 +1,4 @@
1
1
  import { Context } from "@powerlines/core";
2
-
3
2
  //#region src/resolve-reflections.d.ts
4
3
  /**
5
4
  * Returns the path to the reflections artifact directory.
@@ -1,7 +1,6 @@
1
1
  import { ReflectionConfig } from "./types.cjs";
2
2
  import { Context } from "@powerlines/core";
3
3
  import { HookFilter, Plugin } from "rolldown";
4
-
5
4
  //#region src/rolldown-plugin.d.ts
6
5
  interface RolldownPluginOptions extends Partial<ReflectionConfig> {
7
6
  filter?: Partial<Pick<HookFilter, "id">>;
@@ -1,7 +1,6 @@
1
1
  import { ReflectionConfig } from "./types.mjs";
2
2
  import { Context } from "@powerlines/core";
3
3
  import { HookFilter, Plugin } from "rolldown";
4
-
5
4
  //#region src/rolldown-plugin.d.ts
6
5
  interface RolldownPluginOptions extends Partial<ReflectionConfig> {
7
6
  filter?: Partial<Pick<HookFilter, "id">>;
@@ -210,9 +210,11 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ require_rolldown_runtime.__
210
210
  try {
211
211
  t = "undefined" != typeof localStorage;
212
212
  } catch (e) {}
213
- var r = "undefined" != typeof process, i = t && "function" == typeof localStorage.getItem && localStorage.getItem("DEBUG") || r && process.env.DEBUG ? console.log : function(e) {
213
+ var r = "undefined" != typeof process;
214
+ var i = t && "function" == typeof localStorage.getItem && localStorage.getItem("DEBUG") || r && process.env.DEBUG ? console.log : function(e) {
214
215
  return "";
215
- }, s = function(e, t) {
216
+ };
217
+ var s = function(e, t) {
216
218
  var r, i = e.lib || [], s = [
217
219
  "lib.d.ts",
218
220
  "lib.core.d.ts",
@@ -348,7 +350,8 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ require_rolldown_runtime.__
348
350
  return t > e ? t : e;
349
351
  }) : void 0) || 0, u = Math.max(o, c);
350
352
  return s.slice(0, u + 1);
351
- }, n = function(e, t) {
353
+ };
354
+ var n = function(e, t) {
352
355
  var r = f(), i = b(), s = function(e) {
353
356
  var t = [];
354
357
  return i.readdirSync(e).forEach(function(n) {
@@ -382,7 +385,8 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ require_rolldown_runtime.__
382
385
  skipLibCheck: !0,
383
386
  skipDefaultLibCheck: !0
384
387
  }, t.versionMajorMinor && Number(t.versionMajorMinor.split(".")[0]) >= 6 ? { ignoreDeprecations: "6.0" } : { moduleResolution: t.ModuleResolutionKind.NodeJs });
385
- }, c = function(e) {
388
+ };
389
+ var c = function(e) {
386
390
  return e.replace("/", "/lib.").toLowerCase();
387
391
  };
388
392
  function u(t, r, i) {
@@ -453,7 +457,8 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ require_rolldown_runtime.__
453
457
  }
454
458
  var f = function() {
455
459
  return require(String.fromCharCode(112, 97, 116, 104));
456
- }, b = function() {
460
+ };
461
+ var b = function() {
457
462
  return require(String.fromCharCode(102, 115));
458
463
  };
459
464
  exports.addAllFilesFromFolder = n, exports.addFilesForTypesIntoFolder = function(e) {
@@ -213,9 +213,11 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ __commonJSMin(((exports) =>
213
213
  try {
214
214
  t = "undefined" != typeof localStorage;
215
215
  } catch (e) {}
216
- var r = "undefined" != typeof process, i = t && "function" == typeof localStorage.getItem && localStorage.getItem("DEBUG") || r && process.env.DEBUG ? console.log : function(e) {
216
+ var r = "undefined" != typeof process;
217
+ var i = t && "function" == typeof localStorage.getItem && localStorage.getItem("DEBUG") || r && process.env.DEBUG ? console.log : function(e) {
217
218
  return "";
218
- }, s = function(e, t) {
219
+ };
220
+ var s = function(e, t) {
219
221
  var r, i = e.lib || [], s = [
220
222
  "lib.d.ts",
221
223
  "lib.core.d.ts",
@@ -351,7 +353,8 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ __commonJSMin(((exports) =>
351
353
  return t > e ? t : e;
352
354
  }) : void 0) || 0, u = Math.max(o, c);
353
355
  return s.slice(0, u + 1);
354
- }, n = function(e, t) {
356
+ };
357
+ var n = function(e, t) {
355
358
  var r = f(), i = b(), s = function(e) {
356
359
  var t = [];
357
360
  return i.readdirSync(e).forEach(function(n) {
@@ -385,7 +388,8 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ __commonJSMin(((exports) =>
385
388
  skipLibCheck: !0,
386
389
  skipDefaultLibCheck: !0
387
390
  }, t.versionMajorMinor && Number(t.versionMajorMinor.split(".")[0]) >= 6 ? { ignoreDeprecations: "6.0" } : { moduleResolution: t.ModuleResolutionKind.NodeJs });
388
- }, c = function(e) {
391
+ };
392
+ var c = function(e) {
389
393
  return e.replace("/", "/lib.").toLowerCase();
390
394
  };
391
395
  function u(t, r, i) {
@@ -456,7 +460,8 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ __commonJSMin(((exports) =>
456
460
  }
457
461
  var f = function() {
458
462
  return __require(String.fromCharCode(112, 97, 116, 104));
459
- }, b = function() {
463
+ };
464
+ var b = function() {
460
465
  return __require(String.fromCharCode(102, 115));
461
466
  };
462
467
  exports.addAllFilesFromFolder = n, exports.addFilesForTypesIntoFolder = function(e) {
@@ -1357,4 +1362,4 @@ function createDeclarationTransformer(context, options = {}) {
1357
1362
 
1358
1363
  //#endregion
1359
1364
  export { createTransformer as n, createDeclarationTransformer as t };
1360
- //# sourceMappingURL=transformer-9Qq95aUb.mjs.map
1365
+ //# sourceMappingURL=transformer-DSI6FAaZ.mjs.map
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_transformer = require('./transformer-DnuSSWPR.cjs');
2
+ const require_transformer = require('./transformer-CHOVkgMG.cjs');
3
3
 
4
4
  exports.createDeclarationTransformer = require_transformer.createDeclarationTransformer;
5
5
  exports.createTransformer = require_transformer.createTransformer;
@@ -1,7 +1,6 @@
1
- import { r as ReflectionConfig } from "./config-Bgt67as0.cjs";
1
+ import { r as ReflectionConfig } from "./config-dmZSl9F7.cjs";
2
2
  import { Context } from "@powerlines/core";
3
3
  import ts from "typescript";
4
-
5
4
  //#region src/transformer.d.ts
6
5
  /**
7
6
  * Creates a Deepkit TypeScript transformer.
@@ -1,7 +1,6 @@
1
- import { r as ReflectionConfig } from "./config-Bgt67as0.mjs";
1
+ import { r as ReflectionConfig } from "./config-dmZSl9F7.mjs";
2
2
  import ts from "typescript";
3
3
  import { Context } from "@powerlines/core";
4
-
5
4
  //#region src/transformer.d.ts
6
5
  /**
7
6
  * Creates a Deepkit TypeScript transformer.
@@ -1,3 +1,3 @@
1
- import { n as createTransformer, t as createDeclarationTransformer } from "./transformer-9Qq95aUb.mjs";
1
+ import { n as createTransformer, t as createDeclarationTransformer } from "./transformer-DSI6FAaZ.mjs";
2
2
 
3
3
  export { createDeclarationTransformer, createTransformer };
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_rolldown_runtime = require('./rolldown-runtime-fl3r8ClO.cjs');
3
- const require_transformer = require('./transformer-DnuSSWPR.cjs');
3
+ const require_transformer = require('./transformer-CHOVkgMG.cjs');
4
4
  let typescript = require("typescript");
5
5
  typescript = require_rolldown_runtime.__toESM(typescript, 1);
6
6
  let _powerlines_core_plugin_utils = require("@powerlines/core/plugin-utils");
@@ -1,7 +1,6 @@
1
- import { r as ReflectionConfig } from "./config-Bgt67as0.cjs";
1
+ import { r as ReflectionConfig } from "./config-dmZSl9F7.cjs";
2
2
  import { Context } from "@powerlines/core";
3
3
  import ts from "typescript";
4
-
5
4
  //#region src/transpile.d.ts
6
5
  /**
7
6
  * Transpile TypeScript code using the provided context and options.
@@ -1,7 +1,6 @@
1
- import { r as ReflectionConfig } from "./config-Bgt67as0.mjs";
1
+ import { r as ReflectionConfig } from "./config-dmZSl9F7.mjs";
2
2
  import ts from "typescript";
3
3
  import { Context } from "@powerlines/core";
4
-
5
4
  //#region src/transpile.d.ts
6
5
  /**
7
6
  * Transpile TypeScript code using the provided context and options.
@@ -1,4 +1,4 @@
1
- import { n as createTransformer, t as createDeclarationTransformer } from "./transformer-9Qq95aUb.mjs";
1
+ import { n as createTransformer, t as createDeclarationTransformer } from "./transformer-DSI6FAaZ.mjs";
2
2
  import ts from "typescript";
3
3
  import { removeVirtualPrefix } from "@powerlines/core/plugin-utils";
4
4
 
package/dist/types.d.cts CHANGED
@@ -1,7 +1,6 @@
1
- import { S as SerializedTypes$1 } from "./reflection-dZCCqxc3.cjs";
2
- import { n as Mode, t as Level } from "./config-Bgt67as0.cjs";
1
+ import { S as SerializedTypes$1 } from "./reflection-CVyhGqGH.cjs";
2
+ import { n as Mode, t as Level } from "./config-dmZSl9F7.cjs";
3
3
  import { ReflectionClass } from "@powerlines/deepkit/vendor/type";
4
-
5
4
  //#region src/types.d.ts
6
5
  interface ReflectionConfig {
7
6
  /**
package/dist/types.d.mts CHANGED
@@ -1,7 +1,6 @@
1
- import { S as SerializedTypes$1 } from "./reflection-dZCCqxc3.mjs";
2
- import { n as Mode, t as Level } from "./config-Bgt67as0.mjs";
1
+ import { S as SerializedTypes$1 } from "./reflection-CVyhGqGH.mjs";
2
+ import { n as Mode, t as Level } from "./config-dmZSl9F7.mjs";
3
3
  import { ReflectionClass } from "@powerlines/deepkit/vendor/type";
4
-
5
4
  //#region src/types.d.ts
6
5
  interface ReflectionConfig {
7
6
  /**
@@ -1,5 +1,4 @@
1
1
  import { ReflectionKind, ReflectionParameter, ReflectionProperty, Type, TypeNumber, TypeString } from "@powerlines/deepkit/vendor/type";
2
-
3
2
  //#region src/utilities.d.ts
4
3
  /**
5
4
  * Converts any {@link ReflectionProperty}, {@link ReflectionParameter}, or {@link ReflectionKind}'s value to string representation.
@@ -1,5 +1,4 @@
1
1
  import { ReflectionKind, ReflectionParameter, ReflectionProperty, Type, TypeNumber, TypeString } from "@powerlines/deepkit/vendor/type";
2
-
3
2
  //#region src/utilities.d.ts
4
3
  /**
5
4
  * Converts any {@link ReflectionProperty}, {@link ReflectionParameter}, or {@link ReflectionKind}'s value to string representation.
@@ -1,7 +1,6 @@
1
- import { n as ReflectionOp } from "./type-BLubGRUo.cjs";
2
- import { c as ReflectionConfig, i as MatchResult, l as ReflectionConfigCache, t as ConfigResolver } from "./config-B8wUohU6.cjs";
1
+ import { n as ReflectionOp } from "./type-CUwNL20r.cjs";
2
+ import { c as ReflectionConfig, i as MatchResult, l as ReflectionConfigCache, t as ConfigResolver } from "./config-CUnBXA3v.cjs";
3
3
  import ts, { ArrowFunction, Bundle, ClassDeclaration, ClassExpression, CompilerHost, CompilerOptions, ConstructorDeclaration, CustomTransformer, CustomTransformerFactory, Declaration, EntityName, ExportDeclaration, Expression, ExpressionWithTypeArguments, FunctionDeclaration, FunctionExpression, Identifier, ImportDeclaration, JSDocImportTag, MethodDeclaration, ModuleDeclaration, ModuleExportName, Node, NodeFactory, ParseConfigHost, PropertyAccessExpression, QualifiedName, ResolvedModule, ScriptKind, SourceFile, Statement, StringLiteral, Symbol as Symbol$1, SymbolTable, TransformationContext, TypeAliasDeclaration, TypeChecker, TypeParameterDeclaration, TypeReferenceNode } from "typescript";
4
-
5
4
  //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=91a56c95b398f90e6f5e654820112642044b9b1e47990b7_9287880872ab70824e8df5717a572baa/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts
6
5
  /**
7
6
  * Contains @internal properties that are not yet in the public API of TS.
@@ -377,4 +376,4 @@ declare const transformer: CustomTransformerFactory;
377
376
  declare const declarationTransformer: CustomTransformerFactory;
378
377
  //#endregion
379
378
  export { debugPackStruct as a, packSize as c, TagsReflectionStruct as i, packSizeByte as l, DeclarationTransformer as n, declarationTransformer as o, ReflectionTransformer as r, encodeOps as s, Cache as t, transformer as u };
380
- //# sourceMappingURL=compiler-CFzs_txx.d.cts.map
379
+ //# sourceMappingURL=compiler-Bj6czf9C.d.cts.map
@@ -21,9 +21,11 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ require_rolldown_runtime.__
21
21
  try {
22
22
  t = "undefined" != typeof localStorage;
23
23
  } catch (e) {}
24
- var r = "undefined" != typeof process, i = t && "function" == typeof localStorage.getItem && localStorage.getItem("DEBUG") || r && process.env.DEBUG ? console.log : function(e) {
24
+ var r = "undefined" != typeof process;
25
+ var i = t && "function" == typeof localStorage.getItem && localStorage.getItem("DEBUG") || r && process.env.DEBUG ? console.log : function(e) {
25
26
  return "";
26
- }, s = function(e, t) {
27
+ };
28
+ var s = function(e, t) {
27
29
  var r, i = e.lib || [], s = [
28
30
  "lib.d.ts",
29
31
  "lib.core.d.ts",
@@ -159,7 +161,8 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ require_rolldown_runtime.__
159
161
  return t > e ? t : e;
160
162
  }) : void 0) || 0, u = Math.max(o, c);
161
163
  return s.slice(0, u + 1);
162
- }, n = function(e, t) {
164
+ };
165
+ var n = function(e, t) {
163
166
  var r = f(), i = b(), s = function(e) {
164
167
  var t = [];
165
168
  return i.readdirSync(e).forEach(function(n) {
@@ -193,7 +196,8 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ require_rolldown_runtime.__
193
196
  skipLibCheck: !0,
194
197
  skipDefaultLibCheck: !0
195
198
  }, t.versionMajorMinor && Number(t.versionMajorMinor.split(".")[0]) >= 6 ? { ignoreDeprecations: "6.0" } : { moduleResolution: t.ModuleResolutionKind.NodeJs });
196
- }, c = function(e) {
199
+ };
200
+ var c = function(e) {
197
201
  return e.replace("/", "/lib.").toLowerCase();
198
202
  };
199
203
  function u(t, r, i) {
@@ -264,7 +268,8 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ require_rolldown_runtime.__
264
268
  }
265
269
  var f = function() {
266
270
  return require(String.fromCharCode(112, 97, 116, 104));
267
- }, b = function() {
271
+ };
272
+ var b = function() {
268
273
  return require(String.fromCharCode(102, 115));
269
274
  };
270
275
  exports.addAllFilesFromFolder = n, exports.addFilesForTypesIntoFolder = function(e) {
@@ -1,7 +1,6 @@
1
- import { n as ReflectionOp } from "./type-BLubGRUo.mjs";
2
- import { c as ReflectionConfig, i as MatchResult, l as ReflectionConfigCache, t as ConfigResolver } from "./config-B8wUohU6.mjs";
1
+ import { n as ReflectionOp } from "./type-CUwNL20r.mjs";
2
+ import { c as ReflectionConfig, i as MatchResult, l as ReflectionConfigCache, t as ConfigResolver } from "./config-CUnBXA3v.mjs";
3
3
  import ts, { ArrowFunction, Bundle, ClassDeclaration, ClassExpression, CompilerHost, CompilerOptions, ConstructorDeclaration, CustomTransformer, CustomTransformerFactory, Declaration, EntityName, ExportDeclaration, Expression, ExpressionWithTypeArguments, FunctionDeclaration, FunctionExpression, Identifier, ImportDeclaration, JSDocImportTag, MethodDeclaration, ModuleDeclaration, ModuleExportName, Node, NodeFactory, ParseConfigHost, PropertyAccessExpression, QualifiedName, ResolvedModule, ScriptKind, SourceFile, Statement, StringLiteral, Symbol as Symbol$1, SymbolTable, TransformationContext, TypeAliasDeclaration, TypeChecker, TypeParameterDeclaration, TypeReferenceNode } from "typescript";
4
-
5
4
  //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=91a56c95b398f90e6f5e654820112642044b9b1e47990b7_9287880872ab70824e8df5717a572baa/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts
6
5
  /**
7
6
  * Contains @internal properties that are not yet in the public API of TS.
@@ -377,4 +376,4 @@ declare const transformer: CustomTransformerFactory;
377
376
  declare const declarationTransformer: CustomTransformerFactory;
378
377
  //#endregion
379
378
  export { debugPackStruct as a, packSize as c, TagsReflectionStruct as i, packSizeByte as l, DeclarationTransformer as n, declarationTransformer as o, ReflectionTransformer as r, encodeOps as s, Cache as t, transformer as u };
380
- //# sourceMappingURL=compiler-D4QaHzhD.d.mts.map
379
+ //# sourceMappingURL=compiler-D6HDCNKP.d.mts.map