@powerlines/deepkit 0.7.6 → 0.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{capnp-BqAglxrS.mjs → capnp-BYEUkMpr.mjs} +265 -265
- package/dist/{capnp-BLCHrDSY.cjs → capnp-C8UENZHc.cjs} +41 -41
- package/dist/capnp.cjs +1 -1
- package/dist/capnp.d.cts +41 -41
- package/dist/capnp.d.mts +41 -41
- package/dist/capnp.mjs +1 -1
- package/dist/config-B6lMYoYG.d.mts +32 -0
- package/dist/config-C8svu6th.d.cts +32 -0
- package/dist/esbuild-plugin.d.cts +1 -1
- package/dist/esbuild-plugin.d.mts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/reflect-type.cjs +2 -2
- package/dist/reflect-type.d.cts +1 -1
- package/dist/reflect-type.d.mts +1 -1
- package/dist/reflect-type.mjs +1 -1
- package/dist/{reflection-lA4jBKKP.d.mts → reflection-DaLz4ZT5.d.mts} +1 -1
- package/dist/transformer-BiefehPu.mjs +1360 -0
- package/dist/transformer-DS0zKU7l.cjs +1367 -0
- package/dist/transformer.cjs +3 -51
- package/dist/transformer.d.cts +1 -1
- package/dist/transformer.d.mts +1 -1
- package/dist/transformer.mjs +2 -49
- package/dist/transpile.cjs +1 -1
- package/dist/transpile.d.cts +1 -1
- package/dist/transpile.d.mts +1 -1
- package/dist/transpile.mjs +1 -1
- package/dist/types.d.cts +3 -3
- package/dist/types.d.mts +3 -3
- package/dist/utilities.cjs +42 -42
- package/dist/utilities.d.cts +1 -1
- package/dist/utilities.d.mts +1 -1
- package/dist/utilities.mjs +1 -1
- package/dist/vendor/chunk-BmvPcxpV.cjs +41 -0
- package/dist/{compiler-DLeSXEon.d.mts → vendor/compiler-BYhFaVxE.d.mts} +3 -3
- package/dist/{compiler-TYAnj4GK.cjs → vendor/compiler-Ci5aO9pY.cjs} +2 -2
- package/dist/{compiler-CoBHJbw6.mjs → vendor/compiler-CqkzeoNX.mjs} +3 -3
- package/dist/{compiler-B-zwyGQf.d.cts → vendor/compiler-Dz2b4nOM.d.cts} +3 -3
- package/dist/{config-DCmu3CV2.d.cts → vendor/config-BTErH18l.d.mts} +1 -1
- package/dist/{config-SjpQNPJf.d.mts → vendor/config-Cc2qE8fH.d.cts} +1 -1
- package/dist/{config-ldWMxkkM.mjs → vendor/config-eSNKiBGB.mjs} +1 -1
- package/dist/vendor/core.cjs +1 -1
- package/dist/vendor/core.d.cts +1 -1
- package/dist/vendor/core.d.mts +1 -1
- package/dist/vendor/core.mjs +1 -1
- package/dist/{string-CjkshhTG.mjs → vendor/string-DoT35ViA.mjs} +1 -1
- package/dist/{type-DR66Hepn.d.cts → vendor/type-2yMJb9Mw.d.cts} +1 -1
- package/dist/{type-C4eOl66J.d.mts → vendor/type-BoBEcrg7.d.mts} +1 -1
- package/dist/vendor/type-compiler/compiler.cjs +1 -1
- package/dist/vendor/type-compiler/compiler.d.cts +1 -1
- package/dist/vendor/type-compiler/compiler.d.mts +1 -1
- package/dist/vendor/type-compiler/compiler.mjs +1 -1
- package/dist/vendor/type-compiler/config.cjs +1 -1
- package/dist/vendor/type-compiler/config.d.cts +1 -1
- package/dist/vendor/type-compiler/config.d.mts +1 -1
- package/dist/vendor/type-compiler/config.mjs +1 -1
- package/dist/vendor/type-compiler/index.cjs +3 -3
- package/dist/vendor/type-compiler/index.d.cts +2 -2
- package/dist/vendor/type-compiler/index.d.mts +2 -2
- package/dist/vendor/type-compiler/index.mjs +2 -2
- package/dist/vendor/type-spec.cjs +1 -1
- package/dist/vendor/type-spec.d.cts +1 -1
- package/dist/vendor/type-spec.d.mts +1 -1
- package/dist/vendor/type-spec.mjs +1 -1
- package/dist/{type-BWm74eaQ.mjs → vendor/type-wscUl8NW.mjs} +1 -1
- package/dist/vendor/type.cjs +9375 -268
- package/dist/vendor/type.d.cts +2969 -3
- package/dist/vendor/type.d.mts +2969 -3
- package/dist/vendor/type.mjs +9109 -3
- package/dist/{types-Bb6lL3KL.d.cts → vendor/types-BwPWMe3m.d.mts} +1 -1
- package/dist/{types-DYGcIrk3.d.mts → vendor/types-exLGvFgG.d.cts} +1 -1
- package/package.json +2 -2
- package/dist/config-DDRKbv_W.d.mts +0 -1
- package/dist/config-GPeRZeGl.d.cts +0 -1
- package/dist/type-8AL5U7vn.d.cts +0 -2969
- package/dist/type-C7UXbXfx.cjs +0 -10688
- package/dist/type-SyDc32SL.d.mts +0 -2969
- package/dist/type-ma8o4dJG.mjs +0 -9110
- /package/dist/{chunk-CgI6uo-e.mjs → vendor/chunk-CgI6uo-e.mjs} +0 -0
- /package/dist/{config-V3ttv0UZ.cjs → vendor/config-BbFVGRVh.cjs} +0 -0
- /package/dist/{string-CpVz34Gv.cjs → vendor/string-LTCnMzW_.cjs} +0 -0
- /package/dist/{type-DhqntM0q.cjs → vendor/type-fEQrgtBF.cjs} +0 -0
package/dist/transformer.cjs
CHANGED
|
@@ -1,53 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const
|
|
3
|
-
const require_compiler = require('./compiler-TYAnj4GK.cjs');
|
|
4
|
-
let defu = require("defu");
|
|
5
|
-
defu = require_chunk.__toESM(defu);
|
|
2
|
+
const require_transformer = require('./transformer-DS0zKU7l.cjs');
|
|
6
3
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const cache = new require_compiler.Cache();
|
|
10
|
-
/**
|
|
11
|
-
* Creates a Deepkit TypeScript transformer.
|
|
12
|
-
*
|
|
13
|
-
* @param context - The Powerlines plugin context.
|
|
14
|
-
* @param options - The transformation options.
|
|
15
|
-
* @returns A Deepkit TypeScript custom transformer factory.
|
|
16
|
-
*/
|
|
17
|
-
function createTransformer(context, options = {}) {
|
|
18
|
-
return function transformer(ctx) {
|
|
19
|
-
if (!loaded) loaded = true;
|
|
20
|
-
cache.tick();
|
|
21
|
-
return new require_compiler.ReflectionTransformer(ctx, cache).withReflection((0, defu.default)(options, {
|
|
22
|
-
reflection: context.tsconfig.tsconfigJson.compilerOptions?.reflection || context.tsconfig.tsconfigJson.reflection,
|
|
23
|
-
reflectionLevel: context.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel || context.tsconfig.tsconfigJson.reflectionLevel
|
|
24
|
-
}, {
|
|
25
|
-
exclude: [],
|
|
26
|
-
reflection: "default",
|
|
27
|
-
reflectionLevel: "normal"
|
|
28
|
-
}));
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Creates a Deepkit TypeScript declaration transformer.
|
|
33
|
-
*
|
|
34
|
-
* @param context - The Powerlines plugin context.
|
|
35
|
-
* @param options - The transformation options.
|
|
36
|
-
* @returns A Deepkit TypeScript custom declaration transformer factory.
|
|
37
|
-
*/
|
|
38
|
-
function createDeclarationTransformer(context, options = {}) {
|
|
39
|
-
return function declarationTransformer(ctx) {
|
|
40
|
-
return new require_compiler.DeclarationTransformer(ctx, cache).withReflection((0, defu.default)(options, {
|
|
41
|
-
reflection: context.tsconfig.tsconfigJson.compilerOptions?.reflection || context.tsconfig.tsconfigJson.reflection,
|
|
42
|
-
reflectionLevel: context.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel || context.tsconfig.tsconfigJson.reflectionLevel
|
|
43
|
-
}, {
|
|
44
|
-
exclude: [],
|
|
45
|
-
reflection: "default",
|
|
46
|
-
reflectionLevel: "normal"
|
|
47
|
-
}));
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
//#endregion
|
|
52
|
-
exports.createDeclarationTransformer = createDeclarationTransformer;
|
|
53
|
-
exports.createTransformer = createTransformer;
|
|
4
|
+
exports.createDeclarationTransformer = require_transformer.createDeclarationTransformer;
|
|
5
|
+
exports.createTransformer = require_transformer.createTransformer;
|
package/dist/transformer.d.cts
CHANGED
package/dist/transformer.d.mts
CHANGED
package/dist/transformer.mjs
CHANGED
|
@@ -1,50 +1,3 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import defu from "defu";
|
|
1
|
+
import { n as createTransformer, t as createDeclarationTransformer } from "./transformer-BiefehPu.mjs";
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
let loaded = false;
|
|
6
|
-
const cache = new Cache();
|
|
7
|
-
/**
|
|
8
|
-
* Creates a Deepkit TypeScript transformer.
|
|
9
|
-
*
|
|
10
|
-
* @param context - The Powerlines plugin context.
|
|
11
|
-
* @param options - The transformation options.
|
|
12
|
-
* @returns A Deepkit TypeScript custom transformer factory.
|
|
13
|
-
*/
|
|
14
|
-
function createTransformer(context, options = {}) {
|
|
15
|
-
return function transformer(ctx) {
|
|
16
|
-
if (!loaded) loaded = true;
|
|
17
|
-
cache.tick();
|
|
18
|
-
return new ReflectionTransformer(ctx, cache).withReflection(defu(options, {
|
|
19
|
-
reflection: context.tsconfig.tsconfigJson.compilerOptions?.reflection || context.tsconfig.tsconfigJson.reflection,
|
|
20
|
-
reflectionLevel: context.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel || context.tsconfig.tsconfigJson.reflectionLevel
|
|
21
|
-
}, {
|
|
22
|
-
exclude: [],
|
|
23
|
-
reflection: "default",
|
|
24
|
-
reflectionLevel: "normal"
|
|
25
|
-
}));
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Creates a Deepkit TypeScript declaration transformer.
|
|
30
|
-
*
|
|
31
|
-
* @param context - The Powerlines plugin context.
|
|
32
|
-
* @param options - The transformation options.
|
|
33
|
-
* @returns A Deepkit TypeScript custom declaration transformer factory.
|
|
34
|
-
*/
|
|
35
|
-
function createDeclarationTransformer(context, options = {}) {
|
|
36
|
-
return function declarationTransformer(ctx) {
|
|
37
|
-
return new DeclarationTransformer(ctx, cache).withReflection(defu(options, {
|
|
38
|
-
reflection: context.tsconfig.tsconfigJson.compilerOptions?.reflection || context.tsconfig.tsconfigJson.reflection,
|
|
39
|
-
reflectionLevel: context.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel || context.tsconfig.tsconfigJson.reflectionLevel
|
|
40
|
-
}, {
|
|
41
|
-
exclude: [],
|
|
42
|
-
reflection: "default",
|
|
43
|
-
reflectionLevel: "normal"
|
|
44
|
-
}));
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
//#endregion
|
|
49
|
-
export { createDeclarationTransformer, createTransformer };
|
|
50
|
-
//# sourceMappingURL=transformer.mjs.map
|
|
3
|
+
export { createDeclarationTransformer, createTransformer };
|
package/dist/transpile.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_chunk = require('./chunk-BmvPcxpV.cjs');
|
|
3
|
-
const require_transformer = require('./transformer.cjs');
|
|
3
|
+
const require_transformer = require('./transformer-DS0zKU7l.cjs');
|
|
4
4
|
let typescript = require("typescript");
|
|
5
5
|
typescript = require_chunk.__toESM(typescript);
|
|
6
6
|
|
package/dist/transpile.d.cts
CHANGED
package/dist/transpile.d.mts
CHANGED
package/dist/transpile.mjs
CHANGED
package/dist/types.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { S as SerializedTypes } from "./reflection-DGOuMF8F.cjs";
|
|
2
|
-
import {
|
|
1
|
+
import { S as SerializedTypes$1 } from "./reflection-DGOuMF8F.cjs";
|
|
2
|
+
import { ReflectionClass } from "@powerlines/deepkit/vendor/type";
|
|
3
3
|
|
|
4
4
|
//#region src/types.d.ts
|
|
5
5
|
type Reflection<T extends Record<string, any> = Record<string, any>> = ReflectionClass<T> & {
|
|
6
6
|
dataBuffer?: ArrayBuffer;
|
|
7
|
-
messageRoot?: SerializedTypes;
|
|
7
|
+
messageRoot?: SerializedTypes$1;
|
|
8
8
|
};
|
|
9
9
|
type ReflectionRecord<T extends Record<string, any> = Record<string, any>> = Record<string, Reflection<T>>;
|
|
10
10
|
interface ContextReflectionRecord<T extends Record<string, any> = Record<string, any>> extends Record<string, Reflection<T> | ContextReflectionRecord<T>> {}
|
package/dist/types.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { S as SerializedTypes } from "./reflection-
|
|
2
|
-
import {
|
|
1
|
+
import { S as SerializedTypes$1 } from "./reflection-DaLz4ZT5.mjs";
|
|
2
|
+
import { ReflectionClass } from "@powerlines/deepkit/vendor/type";
|
|
3
3
|
|
|
4
4
|
//#region src/types.d.ts
|
|
5
5
|
type Reflection<T extends Record<string, any> = Record<string, any>> = ReflectionClass<T> & {
|
|
6
6
|
dataBuffer?: ArrayBuffer;
|
|
7
|
-
messageRoot?: SerializedTypes;
|
|
7
|
+
messageRoot?: SerializedTypes$1;
|
|
8
8
|
};
|
|
9
9
|
type ReflectionRecord<T extends Record<string, any> = Record<string, any>> = Record<string, Reflection<T>>;
|
|
10
10
|
interface ContextReflectionRecord<T extends Record<string, any> = Record<string, any>> extends Record<string, Reflection<T> | ContextReflectionRecord<T>> {}
|
package/dist/utilities.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_chunk = require('./chunk-BmvPcxpV.cjs');
|
|
3
|
-
|
|
3
|
+
let _powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
4
4
|
let _stryke_type_checks = require("@stryke/type-checks");
|
|
5
5
|
let _stryke_helpers_get_unique = require("@stryke/helpers/get-unique");
|
|
6
6
|
let _stryke_json_storm_json = require("@stryke/json/storm-json");
|
|
@@ -36,7 +36,7 @@ function stringifyStringValue(value) {
|
|
|
36
36
|
* @returns A string representation of the value.
|
|
37
37
|
*/
|
|
38
38
|
function stringifyValue(type, value) {
|
|
39
|
-
return (0, _stryke_type_checks_is_undefined.isUndefined)(value) ? "undefined" : (0, _stryke_type_checks_is_null.isNull)(value) ? "null" : type.kind ===
|
|
39
|
+
return (0, _stryke_type_checks_is_undefined.isUndefined)(value) ? "undefined" : (0, _stryke_type_checks_is_null.isNull)(value) ? "null" : type.kind === _powerlines_deepkit_vendor_type.ReflectionKind.boolean ? String(value).trim().toLowerCase() === "true" ? "true" : "false" : type.kind === _powerlines_deepkit_vendor_type.ReflectionKind.string || type.kind === _powerlines_deepkit_vendor_type.ReflectionKind.literal && (0, _stryke_type_checks_is_string.isString)(type.literal) ? stringifyStringValue(value) : type.kind === _powerlines_deepkit_vendor_type.ReflectionKind.enum ? getEnumReflectionType(type).kind === _powerlines_deepkit_vendor_type.ReflectionKind.string ? stringifyStringValue(value) : `${String(value)}` : type.kind === _powerlines_deepkit_vendor_type.ReflectionKind.union ? isStringUnion(type) ? stringifyStringValue(value) : `${String(value)}` : type.kind === _powerlines_deepkit_vendor_type.ReflectionKind.array ? stringifyStringValue(_stryke_json_storm_json.StormJSON.stringify(value)) : type.kind === _powerlines_deepkit_vendor_type.ReflectionKind.object || type.kind === _powerlines_deepkit_vendor_type.ReflectionKind.objectLiteral ? _stryke_json_storm_json.StormJSON.stringify(value) : (type.kind === _powerlines_deepkit_vendor_type.ReflectionKind.property || type.kind === _powerlines_deepkit_vendor_type.ReflectionKind.parameter) && type.type?.kind ? stringifyValue(type.type, value) : String(value)?.includes("\"") || String(value)?.includes("'") ? stringifyStringValue(value) : String(value);
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* Converts a {@link TypeEnum} to its underlying primitive type representation.
|
|
@@ -45,10 +45,10 @@ function stringifyValue(type, value) {
|
|
|
45
45
|
* @returns A string representation of the primitive type.
|
|
46
46
|
*/
|
|
47
47
|
function getEnumReflectionType(type) {
|
|
48
|
-
if (type.kind !==
|
|
49
|
-
const unique = (0, _stryke_helpers_get_unique.getUniqueBy)(type.values.filter((value) => value !== void 0 && value !== null), (enumMember) => (0, _stryke_type_checks_is_string.isString)(enumMember) ? { kind:
|
|
48
|
+
if (type.kind !== _powerlines_deepkit_vendor_type.ReflectionKind.enum) throw new Error(`Expected a TypeEnum, but received ${type.kind}.`);
|
|
49
|
+
const unique = (0, _stryke_helpers_get_unique.getUniqueBy)(type.values.filter((value) => value !== void 0 && value !== null), (enumMember) => (0, _stryke_type_checks_is_string.isString)(enumMember) ? { kind: _powerlines_deepkit_vendor_type.ReflectionKind.string } : { kind: _powerlines_deepkit_vendor_type.ReflectionKind.number });
|
|
50
50
|
if (unique.length === 0) throw new Error(`No valid enum members could be found.`);
|
|
51
|
-
return unique[0] && (0, _stryke_type_checks_is_string.isString)(unique[0]) ? { kind:
|
|
51
|
+
return unique[0] && (0, _stryke_type_checks_is_string.isString)(unique[0]) ? { kind: _powerlines_deepkit_vendor_type.ReflectionKind.string } : { kind: _powerlines_deepkit_vendor_type.ReflectionKind.number };
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* Converts a {@link TypeUnion} to its underlying primitive type representation.
|
|
@@ -57,11 +57,11 @@ function getEnumReflectionType(type) {
|
|
|
57
57
|
* @returns A string representation of the primitive type.
|
|
58
58
|
*/
|
|
59
59
|
function getUnionTypes(type) {
|
|
60
|
-
if (type.kind ===
|
|
60
|
+
if (type.kind === _powerlines_deepkit_vendor_type.ReflectionKind.union && type.types.length > 0) return (0, _stryke_helpers_get_unique.getUniqueBy)(type.types, (member) => member.kind);
|
|
61
61
|
throw new Error(`Expected a TypeUnion, but received ${type.kind}.`);
|
|
62
62
|
}
|
|
63
63
|
function isStringUnion(type) {
|
|
64
|
-
return getUnionTypes(type).some((member) => member.kind ===
|
|
64
|
+
return getUnionTypes(type).some((member) => member.kind === _powerlines_deepkit_vendor_type.ReflectionKind.string || member.kind === _powerlines_deepkit_vendor_type.ReflectionKind.literal && (0, _stryke_type_checks_is_string.isString)(member.literal));
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* Converts a ReflectionKind to its string representation.
|
|
@@ -70,41 +70,41 @@ function isStringUnion(type) {
|
|
|
70
70
|
* @returns A string representation of the kind.
|
|
71
71
|
*/
|
|
72
72
|
function kindToName(kind) {
|
|
73
|
-
if (kind ===
|
|
74
|
-
else if (kind ===
|
|
75
|
-
else if (kind ===
|
|
76
|
-
else if (kind ===
|
|
77
|
-
else if (kind ===
|
|
78
|
-
else if (kind ===
|
|
79
|
-
else if (kind ===
|
|
80
|
-
else if (kind ===
|
|
81
|
-
else if (kind ===
|
|
82
|
-
else if (kind ===
|
|
83
|
-
else if (kind ===
|
|
84
|
-
else if (kind ===
|
|
85
|
-
else if (kind ===
|
|
86
|
-
else if (kind ===
|
|
87
|
-
else if (kind ===
|
|
88
|
-
else if (kind ===
|
|
89
|
-
else if (kind ===
|
|
90
|
-
else if (kind ===
|
|
91
|
-
else if (kind ===
|
|
92
|
-
else if (kind ===
|
|
93
|
-
else if (kind ===
|
|
94
|
-
else if (kind ===
|
|
95
|
-
else if (kind ===
|
|
96
|
-
else if (kind ===
|
|
97
|
-
else if (kind ===
|
|
98
|
-
else if (kind ===
|
|
99
|
-
else if (kind ===
|
|
100
|
-
else if (kind ===
|
|
101
|
-
else if (kind ===
|
|
102
|
-
else if (kind ===
|
|
103
|
-
else if (kind ===
|
|
104
|
-
else if (kind ===
|
|
105
|
-
else if (kind ===
|
|
106
|
-
else if (kind ===
|
|
107
|
-
else if (kind ===
|
|
73
|
+
if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.void) return "void";
|
|
74
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.never) return "never";
|
|
75
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.null) return "null";
|
|
76
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.undefined) return "undefined";
|
|
77
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.symbol) return "symbol";
|
|
78
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.bigint) return "bigint";
|
|
79
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.number) return "number";
|
|
80
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.string) return "string";
|
|
81
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.boolean) return "boolean";
|
|
82
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.literal) return "literal";
|
|
83
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.class) return "class";
|
|
84
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.array) return "array";
|
|
85
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.object) return "object";
|
|
86
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.objectLiteral) return "objectLiteral";
|
|
87
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.union) return "union";
|
|
88
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.enum) return "enum";
|
|
89
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.regexp) return "regexp";
|
|
90
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.templateLiteral) return "templateLiteral";
|
|
91
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.property) return "property";
|
|
92
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.method) return "method";
|
|
93
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.function) return "function";
|
|
94
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.parameter) return "parameter";
|
|
95
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.promise) return "promise";
|
|
96
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.typeParameter) return "typeParameter";
|
|
97
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.tuple) return "tuple";
|
|
98
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.tupleMember) return "tupleMember";
|
|
99
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.enumMember) return "enumMember";
|
|
100
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.rest) return "rest";
|
|
101
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.indexSignature) return "indexSignature";
|
|
102
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.propertySignature) return "propertySignature";
|
|
103
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.methodSignature) return "methodSignature";
|
|
104
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.infer) return "infer";
|
|
105
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.callSignature) return "callSignature";
|
|
106
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.any) return "any";
|
|
107
|
+
else if (kind === _powerlines_deepkit_vendor_type.ReflectionKind.intersection) return "intersection";
|
|
108
108
|
return "unknown";
|
|
109
109
|
}
|
|
110
110
|
|
package/dist/utilities.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReflectionKind, ReflectionParameter, ReflectionProperty, Type, TypeNumber, TypeString } from "@powerlines/deepkit/vendor/type";
|
|
2
2
|
|
|
3
3
|
//#region src/utilities.d.ts
|
|
4
4
|
/**
|
package/dist/utilities.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReflectionKind, ReflectionParameter, ReflectionProperty, Type, TypeNumber, TypeString } from "@powerlines/deepkit/vendor/type";
|
|
2
2
|
|
|
3
3
|
//#region src/utilities.d.ts
|
|
4
4
|
/**
|
package/dist/utilities.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReflectionKind } from "@powerlines/deepkit/vendor/type";
|
|
2
2
|
import { isSetObject } from "@stryke/type-checks";
|
|
3
3
|
import { getUniqueBy } from "@stryke/helpers/get-unique";
|
|
4
4
|
import { StormJSON } from "@stryke/json/storm-json";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
|
+
key = keys[i];
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
14
|
+
__defProp(to, key, {
|
|
15
|
+
get: ((k) => from[k]).bind(null, key),
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
24
|
+
value: mod,
|
|
25
|
+
enumerable: true
|
|
26
|
+
}) : target, mod));
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
|
|
30
|
+
Object.defineProperty(exports, '__commonJSMin', {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return __commonJSMin;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, '__toESM', {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return __toESM;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ReflectionOp } from "./type-
|
|
2
|
-
import { c as ReflectionConfig, i as MatchResult, l as ReflectionConfigCache, t as ConfigResolver } from "./config-
|
|
1
|
+
import { n as ReflectionOp } from "./type-BoBEcrg7.mjs";
|
|
2
|
+
import { c as ReflectionConfig, i as MatchResult, l as ReflectionConfigCache, t as ConfigResolver } from "./config-BTErH18l.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
4
|
|
|
5
5
|
//#region ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=439aa6e683a9a48c3ebbf3529be5811680c45c22d6a265d_be73b50bc43bac944747b8ca0498113a/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts
|
|
@@ -377,4 +377,4 @@ declare const transformer: CustomTransformerFactory;
|
|
|
377
377
|
declare const declarationTransformer: CustomTransformerFactory;
|
|
378
378
|
//#endregion
|
|
379
379
|
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-
|
|
380
|
+
//# sourceMappingURL=compiler-BYhFaVxE.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-BmvPcxpV.cjs');
|
|
2
|
-
const require_type = require('./type-
|
|
3
|
-
const require_config = require('./config-
|
|
2
|
+
const require_type = require('./type-fEQrgtBF.cjs');
|
|
3
|
+
const require_config = require('./config-BbFVGRVh.cjs');
|
|
4
4
|
let typescript = require("typescript");
|
|
5
5
|
typescript = require_chunk.__toESM(typescript);
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __require, t as __commonJSMin } from "./chunk-CgI6uo-e.mjs";
|
|
2
|
-
import { n as TypeNumberBrand, t as ReflectionOp } from "./type-
|
|
3
|
-
import { c as Resolver, l as debug, n as getConfigResolver, o as reflectionModeMatcher, u as debug2 } from "./config-
|
|
2
|
+
import { n as TypeNumberBrand, t as ReflectionOp } from "./type-wscUl8NW.mjs";
|
|
3
|
+
import { c as Resolver, l as debug, n as getConfigResolver, o as reflectionModeMatcher, u as debug2 } from "./config-eSNKiBGB.mjs";
|
|
4
4
|
import ts, { isBigIntLiteral } from "typescript";
|
|
5
5
|
|
|
6
6
|
//#region ../../node_modules/.pnpm/@typescript+vfs@1.6.4_typescript@5.9.3/node_modules/@typescript/vfs/dist/vfs.cjs.production.min.js
|
|
@@ -6549,4 +6549,4 @@ const declarationTransformer = function deepkitDeclarationTransformer(context) {
|
|
|
6549
6549
|
|
|
6550
6550
|
//#endregion
|
|
6551
6551
|
export { declarationTransformer as a, packSizeByte as c, debugPackStruct as i, transformer as l, DeclarationTransformer as n, encodeOps as o, ReflectionTransformer as r, packSize as s, Cache as t };
|
|
6552
|
-
//# sourceMappingURL=compiler-
|
|
6552
|
+
//# sourceMappingURL=compiler-CqkzeoNX.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ReflectionOp } from "./type-
|
|
2
|
-
import { c as ReflectionConfig, i as MatchResult, l as ReflectionConfigCache, t as ConfigResolver } from "./config-
|
|
1
|
+
import { n as ReflectionOp } from "./type-2yMJb9Mw.cjs";
|
|
2
|
+
import { c as ReflectionConfig, i as MatchResult, l as ReflectionConfigCache, t as ConfigResolver } from "./config-Cc2qE8fH.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
4
|
|
|
5
5
|
//#region ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=439aa6e683a9a48c3ebbf3529be5811680c45c22d6a265d_be73b50bc43bac944747b8ca0498113a/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts
|
|
@@ -377,4 +377,4 @@ declare const transformer: CustomTransformerFactory;
|
|
|
377
377
|
declare const declarationTransformer: CustomTransformerFactory;
|
|
378
378
|
//#endregion
|
|
379
379
|
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-
|
|
380
|
+
//# sourceMappingURL=compiler-Dz2b4nOM.d.cts.map
|
|
@@ -113,4 +113,4 @@ declare function getConfigResolver(cache: ReflectionConfigCache, host: ParseConf
|
|
|
113
113
|
}, tsConfigPath?: string): ConfigResolver;
|
|
114
114
|
//#endregion
|
|
115
115
|
export { reflectionModeMatcher as _, Matcher as a, ReflectionConfig as c, TsConfigJson as d, defaultExcluded as f, reflectionLevel as g, parseRawMode as h, MatchResult as i, ReflectionConfigCache as l, isObject as m, CurrentConfig as n, Mode as o, getConfigResolver as p, Level as r, RawMode as s, ConfigResolver as t, ResolvedConfig as u, reflectionModes as v };
|
|
116
|
-
//# sourceMappingURL=config-
|
|
116
|
+
//# sourceMappingURL=config-BTErH18l.d.mts.map
|
|
@@ -113,4 +113,4 @@ declare function getConfigResolver(cache: ReflectionConfigCache, host: ParseConf
|
|
|
113
113
|
}, tsConfigPath?: string): ConfigResolver;
|
|
114
114
|
//#endregion
|
|
115
115
|
export { reflectionModeMatcher as _, Matcher as a, ReflectionConfig as c, TsConfigJson as d, defaultExcluded as f, reflectionLevel as g, parseRawMode as h, MatchResult as i, ReflectionConfigCache as l, isObject as m, CurrentConfig as n, Mode as o, getConfigResolver as p, Level as r, RawMode as s, ConfigResolver as t, ResolvedConfig as u, reflectionModes as v };
|
|
116
|
-
//# sourceMappingURL=config-
|
|
116
|
+
//# sourceMappingURL=config-Cc2qE8fH.d.cts.map
|
|
@@ -3608,4 +3608,4 @@ function getConfigResolver(cache, host, compilerOptions, sourceFile, tsConfigPat
|
|
|
3608
3608
|
|
|
3609
3609
|
//#endregion
|
|
3610
3610
|
export { reflectionLevel as a, Resolver as c, parseRawMode as i, debug as l, getConfigResolver as n, reflectionModeMatcher as o, isObject as r, reflectionModes as s, defaultExcluded as t, debug2 as u };
|
|
3611
|
-
//# sourceMappingURL=config-
|
|
3611
|
+
//# sourceMappingURL=config-eSNKiBGB.mjs.map
|
package/dist/vendor/core.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_string = require('
|
|
2
|
+
const require_string = require('./string-LTCnMzW_.cjs');
|
|
3
3
|
|
|
4
4
|
//#region ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/decorators.js
|
|
5
5
|
const __ΩPropertyDescriptor = [
|
package/dist/vendor/core.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as isClassInstance, A as ensureError, At as zip, B as getCurrentFileName, C as changeClass, Ct as range, D as createStack, Dt as sleep, E as createDynamicClass, Et as size, F as formatError, G as hasProperty, H as getObjectKeysSize, I as forwardTypeArguments, J as inDebugMode, K as humanBytes, L as getClassName, M as first, N as firstKey, O as deletePathValue, Ot as stringifyValueWithType, P as fixAsyncOperation, Q as isClass, R as getClassPropertyName, S as average, St as prettyPrintObject, T as copy, Tt as setPathValue, U as getParentClass, V as getInheritanceChain, W as getPathValue, X as isArray, Y as indexOf, Z as isAsyncFunction, _ as appendObject, _t as last, a as __ΩInjectMeta, at as isNull, b as assertInstanceOf, bt as mergeStack, c as AbstractClassType, ct as isObject, d as CustomError, dt as isPromise, et as isConstructable, f as ExtractClassType, ft as isPrototypeOfBase, g as __ΩExtractClassType, gt as iterableSize, h as __ΩCustomError, ht as isUndefined, i as __ΩInject, it as isIterable, j as escapeRegExp, k as empty, kt as time, l as AsyncFunction, lt as isObjectLiteral, m as __ΩClassType, mt as isString, n as InjectMeta, nt as isGlobalClass, o as __ΩTypeAnnotation, ot as isNumber, p as __ΩAbstractClassType, pt as isSet, q as identifyType, r as TypeAnnotation, rt as isInteger, s as CompilerContext, st as isNumeric, t as Inject, tt as isFunction, u as ClassType, ut as isPlainObject, v as applyDefaults, vt as lastKey, w as collectForMicrotask, wt as rangeArray, x as asyncOperation, xt as prependObjectKeys, y as assertDefined, yt as mergePromiseStack, z as getClassTypeFromInstance } from "
|
|
1
|
+
import { $ as isClassInstance, A as ensureError, At as zip, B as getCurrentFileName, C as changeClass, Ct as range, D as createStack, Dt as sleep, E as createDynamicClass, Et as size, F as formatError, G as hasProperty, H as getObjectKeysSize, I as forwardTypeArguments, J as inDebugMode, K as humanBytes, L as getClassName, M as first, N as firstKey, O as deletePathValue, Ot as stringifyValueWithType, P as fixAsyncOperation, Q as isClass, R as getClassPropertyName, S as average, St as prettyPrintObject, T as copy, Tt as setPathValue, U as getParentClass, V as getInheritanceChain, W as getPathValue, X as isArray, Y as indexOf, Z as isAsyncFunction, _ as appendObject, _t as last, a as __ΩInjectMeta, at as isNull, b as assertInstanceOf, bt as mergeStack, c as AbstractClassType, ct as isObject, d as CustomError, dt as isPromise, et as isConstructable, f as ExtractClassType, ft as isPrototypeOfBase, g as __ΩExtractClassType, gt as iterableSize, h as __ΩCustomError, ht as isUndefined, i as __ΩInject, it as isIterable, j as escapeRegExp, k as empty, kt as time, l as AsyncFunction, lt as isObjectLiteral, m as __ΩClassType, mt as isString, n as InjectMeta, nt as isGlobalClass, o as __ΩTypeAnnotation, ot as isNumber, p as __ΩAbstractClassType, pt as isSet, q as identifyType, r as TypeAnnotation, rt as isInteger, s as CompilerContext, st as isNumeric, t as Inject, tt as isFunction, u as ClassType, ut as isPlainObject, v as applyDefaults, vt as lastKey, w as collectForMicrotask, wt as rangeArray, x as asyncOperation, xt as prependObjectKeys, y as assertDefined, yt as mergePromiseStack, z as getClassTypeFromInstance } from "./types-exLGvFgG.cjs";
|
|
2
2
|
|
|
3
3
|
//#region ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/cjs/src/decorators.d.ts
|
|
4
4
|
/**
|
package/dist/vendor/core.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as isClassInstance, A as ensureError, At as zip, B as getCurrentFileName, C as changeClass, Ct as range, D as createStack, Dt as sleep, E as createDynamicClass, Et as size, F as formatError, G as hasProperty, H as getObjectKeysSize, I as forwardTypeArguments, J as inDebugMode, K as humanBytes, L as getClassName, M as first, N as firstKey, O as deletePathValue, Ot as stringifyValueWithType, P as fixAsyncOperation, Q as isClass, R as getClassPropertyName, S as average, St as prettyPrintObject, T as copy, Tt as setPathValue, U as getParentClass, V as getInheritanceChain, W as getPathValue, X as isArray, Y as indexOf, Z as isAsyncFunction, _ as appendObject, _t as last, a as __ΩInjectMeta, at as isNull, b as assertInstanceOf, bt as mergeStack, c as AbstractClassType, ct as isObject, d as CustomError, dt as isPromise, et as isConstructable, f as ExtractClassType, ft as isPrototypeOfBase, g as __ΩExtractClassType, gt as iterableSize, h as __ΩCustomError, ht as isUndefined, i as __ΩInject, it as isIterable, j as escapeRegExp, k as empty, kt as time, l as AsyncFunction, lt as isObjectLiteral, m as __ΩClassType, mt as isString, n as InjectMeta, nt as isGlobalClass, o as __ΩTypeAnnotation, ot as isNumber, p as __ΩAbstractClassType, pt as isSet, q as identifyType, r as TypeAnnotation, rt as isInteger, s as CompilerContext, st as isNumeric, t as Inject, tt as isFunction, u as ClassType, ut as isPlainObject, v as applyDefaults, vt as lastKey, w as collectForMicrotask, wt as rangeArray, x as asyncOperation, xt as prependObjectKeys, y as assertDefined, yt as mergePromiseStack, z as getClassTypeFromInstance } from "
|
|
1
|
+
import { $ as isClassInstance, A as ensureError, At as zip, B as getCurrentFileName, C as changeClass, Ct as range, D as createStack, Dt as sleep, E as createDynamicClass, Et as size, F as formatError, G as hasProperty, H as getObjectKeysSize, I as forwardTypeArguments, J as inDebugMode, K as humanBytes, L as getClassName, M as first, N as firstKey, O as deletePathValue, Ot as stringifyValueWithType, P as fixAsyncOperation, Q as isClass, R as getClassPropertyName, S as average, St as prettyPrintObject, T as copy, Tt as setPathValue, U as getParentClass, V as getInheritanceChain, W as getPathValue, X as isArray, Y as indexOf, Z as isAsyncFunction, _ as appendObject, _t as last, a as __ΩInjectMeta, at as isNull, b as assertInstanceOf, bt as mergeStack, c as AbstractClassType, ct as isObject, d as CustomError, dt as isPromise, et as isConstructable, f as ExtractClassType, ft as isPrototypeOfBase, g as __ΩExtractClassType, gt as iterableSize, h as __ΩCustomError, ht as isUndefined, i as __ΩInject, it as isIterable, j as escapeRegExp, k as empty, kt as time, l as AsyncFunction, lt as isObjectLiteral, m as __ΩClassType, mt as isString, n as InjectMeta, nt as isGlobalClass, o as __ΩTypeAnnotation, ot as isNumber, p as __ΩAbstractClassType, pt as isSet, q as identifyType, r as TypeAnnotation, rt as isInteger, s as CompilerContext, st as isNumeric, t as Inject, tt as isFunction, u as ClassType, ut as isPlainObject, v as applyDefaults, vt as lastKey, w as collectForMicrotask, wt as rangeArray, x as asyncOperation, xt as prependObjectKeys, y as assertDefined, yt as mergePromiseStack, z as getClassTypeFromInstance } from "./types-BwPWMe3m.mjs";
|
|
2
2
|
|
|
3
3
|
//#region ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/cjs/src/decorators.d.ts
|
|
4
4
|
/**
|
package/dist/vendor/core.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as isFunction, A as first, At as eachKey, B as getObjectKeysSize, C as copy, Ct as setPathValue, D as empty, Dt as time, E as deletePathValue, Et as stringifyValueWithType, F as getClassName, G as identifyType, H as getPathValue, I as getClassPropertyName, J as isArray, K as inDebugMode, L as getClassTypeFromInstance, M as fixAsyncOperation, N as formatError, O as ensureError, Ot as zip, P as forwardTypeArguments, Q as isConstructable, R as getCurrentFileName, S as collectForMicrotask, St as rangeArray, T as createStack, Tt as sleep, U as hasProperty, V as getParentClass, W as humanBytes, X as isClass, Y as isAsyncFunction, Z as isClassInstance, _ as assertDefined, _t as mergePromiseStack, a as arrayHasItem, at as isNumeric, b as average, bt as prettyPrintObject, c as toFastProperties, ct as isPlainObject, d as __ΩAbstractClassType, dt as isSet, et as isGlobalClass, f as __ΩClassType, ft as isString, g as applyDefaults, gt as lastKey, h as appendObject, ht as last, i as arrayClear, it as isNumber, j as firstKey, jt as eachPair, k as escapeRegExp, kt as each, l as AsyncFunction, lt as isPromise, m as __ΩExtractClassType, mt as iterableSize, n as indent, nt as isIterable, o as arrayMoveItem, ot as isObject, p as __ΩCustomError, pt as isUndefined, q as indexOf, r as CompilerContext, rt as isNull, s as arrayRemoveItem, st as isObjectLiteral, t as capitalize, tt as isInteger, u as CustomError, ut as isPrototypeOfBase, v as assertInstanceOf, vt as mergeStack, w as createDynamicClass, wt as size, x as changeClass, xt as range, y as asyncOperation, yt as prependObjectKeys, z as getInheritanceChain } from "
|
|
1
|
+
import { $ as isFunction, A as first, At as eachKey, B as getObjectKeysSize, C as copy, Ct as setPathValue, D as empty, Dt as time, E as deletePathValue, Et as stringifyValueWithType, F as getClassName, G as identifyType, H as getPathValue, I as getClassPropertyName, J as isArray, K as inDebugMode, L as getClassTypeFromInstance, M as fixAsyncOperation, N as formatError, O as ensureError, Ot as zip, P as forwardTypeArguments, Q as isConstructable, R as getCurrentFileName, S as collectForMicrotask, St as rangeArray, T as createStack, Tt as sleep, U as hasProperty, V as getParentClass, W as humanBytes, X as isClass, Y as isAsyncFunction, Z as isClassInstance, _ as assertDefined, _t as mergePromiseStack, a as arrayHasItem, at as isNumeric, b as average, bt as prettyPrintObject, c as toFastProperties, ct as isPlainObject, d as __ΩAbstractClassType, dt as isSet, et as isGlobalClass, f as __ΩClassType, ft as isString, g as applyDefaults, gt as lastKey, h as appendObject, ht as last, i as arrayClear, it as isNumber, j as firstKey, jt as eachPair, k as escapeRegExp, kt as each, l as AsyncFunction, lt as isPromise, m as __ΩExtractClassType, mt as iterableSize, n as indent, nt as isIterable, o as arrayMoveItem, ot as isObject, p as __ΩCustomError, pt as isUndefined, q as indexOf, r as CompilerContext, rt as isNull, s as arrayRemoveItem, st as isObjectLiteral, t as capitalize, tt as isInteger, u as CustomError, ut as isPrototypeOfBase, v as assertInstanceOf, vt as mergeStack, w as createDynamicClass, wt as size, x as changeClass, xt as range, y as asyncOperation, yt as prependObjectKeys, z as getInheritanceChain } from "./string-DoT35ViA.mjs";
|
|
2
2
|
|
|
3
3
|
//#region ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/decorators.js
|
|
4
4
|
const __ΩPropertyDescriptor = [
|
|
@@ -2439,4 +2439,4 @@ capitalize.__type = [
|
|
|
2439
2439
|
|
|
2440
2440
|
//#endregion
|
|
2441
2441
|
export { isFunction as $, first as A, eachKey as At, getObjectKeysSize as B, copy as C, setPathValue as Ct, empty as D, time as Dt, deletePathValue as E, stringifyValueWithType as Et, getClassName as F, identifyType as G, getPathValue as H, getClassPropertyName as I, isArray as J, inDebugMode as K, getClassTypeFromInstance as L, fixAsyncOperation as M, formatError as N, ensureError as O, zip as Ot, forwardTypeArguments as P, isConstructable as Q, getCurrentFileName as R, collectForMicrotask as S, rangeArray as St, createStack as T, sleep as Tt, hasProperty as U, getParentClass as V, humanBytes as W, isClass as X, isAsyncFunction as Y, isClassInstance as Z, assertDefined as _, mergePromiseStack as _t, arrayHasItem as a, isNumeric as at, average as b, prettyPrintObject as bt, toFastProperties as c, isPlainObject as ct, __ΩAbstractClassType as d, isSet as dt, isGlobalClass as et, __ΩClassType as f, isString as ft, applyDefaults as g, lastKey as gt, appendObject as h, last as ht, arrayClear as i, isNumber as it, firstKey as j, eachPair as jt, escapeRegExp as k, each as kt, AsyncFunction as l, isPromise as lt, __ΩExtractClassType as m, iterableSize as mt, indent as n, isIterable as nt, arrayMoveItem as o, isObject as ot, __ΩCustomError as p, isUndefined as pt, indexOf as q, CompilerContext as r, isNull as rt, arrayRemoveItem as s, isObjectLiteral as st, capitalize as t, isInteger as tt, CustomError as u, isPrototypeOfBase as ut, assertInstanceOf as v, mergeStack as vt, createDynamicClass as w, size as wt, changeClass as x, range as xt, asyncOperation as y, prependObjectKeys as yt, getInheritanceChain as z };
|
|
2442
|
-
//# sourceMappingURL=string-
|
|
2442
|
+
//# sourceMappingURL=string-DoT35ViA.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_compiler = require('
|
|
2
|
+
const require_compiler = require('../compiler-Ci5aO9pY.cjs');
|
|
3
3
|
|
|
4
4
|
exports.Cache = require_compiler.Cache;
|
|
5
5
|
exports.DeclarationTransformer = require_compiler.DeclarationTransformer;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as debugPackStruct, c as packSize, i as TagsReflectionStruct, l as packSizeByte, n as DeclarationTransformer, o as declarationTransformer, r as ReflectionTransformer, s as encodeOps, t as Cache, u as transformer } from "
|
|
1
|
+
import { a as debugPackStruct, c as packSize, i as TagsReflectionStruct, l as packSizeByte, n as DeclarationTransformer, o as declarationTransformer, r as ReflectionTransformer, s as encodeOps, t as Cache, u as transformer } from "../compiler-Dz2b4nOM.cjs";
|
|
2
2
|
export { Cache, DeclarationTransformer, ReflectionTransformer, TagsReflectionStruct, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as debugPackStruct, c as packSize, i as TagsReflectionStruct, l as packSizeByte, n as DeclarationTransformer, o as declarationTransformer, r as ReflectionTransformer, s as encodeOps, t as Cache, u as transformer } from "
|
|
1
|
+
import { a as debugPackStruct, c as packSize, i as TagsReflectionStruct, l as packSizeByte, n as DeclarationTransformer, o as declarationTransformer, r as ReflectionTransformer, s as encodeOps, t as Cache, u as transformer } from "../compiler-BYhFaVxE.mjs";
|
|
2
2
|
export { Cache, DeclarationTransformer, ReflectionTransformer, TagsReflectionStruct, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as declarationTransformer, c as packSizeByte, i as debugPackStruct, l as transformer, n as DeclarationTransformer, o as encodeOps, r as ReflectionTransformer, s as packSize, t as Cache } from "
|
|
1
|
+
import { a as declarationTransformer, c as packSizeByte, i as debugPackStruct, l as transformer, n as DeclarationTransformer, o as encodeOps, r as ReflectionTransformer, s as packSize, t as Cache } from "../compiler-CqkzeoNX.mjs";
|
|
2
2
|
|
|
3
3
|
export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_config = require('
|
|
2
|
+
const require_config = require('../config-BbFVGRVh.cjs');
|
|
3
3
|
|
|
4
4
|
exports.defaultExcluded = require_config.defaultExcluded;
|
|
5
5
|
exports.getConfigResolver = require_config.getConfigResolver;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as reflectionModeMatcher, a as Matcher, c as ReflectionConfig, d as TsConfigJson, f as defaultExcluded, g as reflectionLevel, h as parseRawMode, i as MatchResult, l as ReflectionConfigCache, m as isObject, n as CurrentConfig, o as Mode, p as getConfigResolver, r as Level, s as RawMode, t as ConfigResolver, u as ResolvedConfig, v as reflectionModes } from "
|
|
1
|
+
import { _ as reflectionModeMatcher, a as Matcher, c as ReflectionConfig, d as TsConfigJson, f as defaultExcluded, g as reflectionLevel, h as parseRawMode, i as MatchResult, l as ReflectionConfigCache, m as isObject, n as CurrentConfig, o as Mode, p as getConfigResolver, r as Level, s as RawMode, t as ConfigResolver, u as ResolvedConfig, v as reflectionModes } from "../config-Cc2qE8fH.cjs";
|
|
2
2
|
export { ConfigResolver, CurrentConfig, Level, MatchResult, Matcher, Mode, RawMode, ReflectionConfig, ReflectionConfigCache, ResolvedConfig, TsConfigJson, defaultExcluded, getConfigResolver, isObject, parseRawMode, reflectionLevel, reflectionModeMatcher, reflectionModes };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as reflectionModeMatcher, a as Matcher, c as ReflectionConfig, d as TsConfigJson, f as defaultExcluded, g as reflectionLevel, h as parseRawMode, i as MatchResult, l as ReflectionConfigCache, m as isObject, n as CurrentConfig, o as Mode, p as getConfigResolver, r as Level, s as RawMode, t as ConfigResolver, u as ResolvedConfig, v as reflectionModes } from "
|
|
1
|
+
import { _ as reflectionModeMatcher, a as Matcher, c as ReflectionConfig, d as TsConfigJson, f as defaultExcluded, g as reflectionLevel, h as parseRawMode, i as MatchResult, l as ReflectionConfigCache, m as isObject, n as CurrentConfig, o as Mode, p as getConfigResolver, r as Level, s as RawMode, t as ConfigResolver, u as ResolvedConfig, v as reflectionModes } from "../config-BTErH18l.mjs";
|
|
2
2
|
export { ConfigResolver, CurrentConfig, Level, MatchResult, Matcher, Mode, RawMode, ReflectionConfig, ReflectionConfigCache, ResolvedConfig, TsConfigJson, defaultExcluded, getConfigResolver, isObject, parseRawMode, reflectionLevel, reflectionModeMatcher, reflectionModes };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as reflectionLevel, i as parseRawMode, n as getConfigResolver, o as reflectionModeMatcher, r as isObject, s as reflectionModes, t as defaultExcluded } from "
|
|
1
|
+
import { a as reflectionLevel, i as parseRawMode, n as getConfigResolver, o as reflectionModeMatcher, r as isObject, s as reflectionModes, t as defaultExcluded } from "../config-eSNKiBGB.mjs";
|
|
2
2
|
|
|
3
3
|
export { defaultExcluded, getConfigResolver, isObject, parseRawMode, reflectionLevel, reflectionModeMatcher, reflectionModes };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_chunk = require('
|
|
3
|
-
const require_compiler = require('
|
|
4
|
-
const require_config = require('
|
|
2
|
+
const require_chunk = require('../chunk-BmvPcxpV.cjs');
|
|
3
|
+
const require_compiler = require('../compiler-Ci5aO9pY.cjs');
|
|
4
|
+
const require_config = require('../config-BbFVGRVh.cjs');
|
|
5
5
|
let typescript = require("typescript");
|
|
6
6
|
typescript = require_chunk.__toESM(typescript);
|
|
7
7
|
|