@powerlines/deepkit 0.8.0 → 0.8.2
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-CkbeQ2uR.cjs → capnp-SW2Ro2lE.cjs} +1 -1
- package/dist/capnp.cjs +1 -1
- package/dist/{config-ClUYu_c-.d.mts → config-WhZyw1PK.d.mts} +2 -2
- package/dist/{config-u7zg69VP.d.cts → config-omER4_br.d.cts} +2 -2
- 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 +1 -1
- package/dist/reflect-type.cjs +1 -1
- package/dist/{transformer-Ct9lYNRY.cjs → transformer-BaG4yeVb.cjs} +2 -2
- package/dist/{transformer-BseLGhId.mjs → transformer-CQR2M4x_.mjs} +2 -2
- package/dist/transformer.cjs +1 -1
- package/dist/transformer.d.cts +1 -1
- package/dist/transformer.d.mts +1 -1
- package/dist/transformer.mjs +1 -1
- package/dist/transpile.cjs +2 -2
- package/dist/transpile.d.cts +1 -1
- package/dist/transpile.d.mts +1 -1
- package/dist/transpile.mjs +1 -1
- package/dist/vendor/{compiler-Ba99lbTF.mjs → compiler-BTPzbHyC.mjs} +15 -12
- package/dist/vendor/{compiler-DYfCGCv5.cjs → compiler-C0u000J9.cjs} +175 -171
- package/dist/vendor/{compiler-CZ0k-pTB.d.cts → compiler-DZULKKdI.d.cts} +6 -6
- package/dist/vendor/{compiler-DIcnaeXC.d.mts → compiler-tVqzhDgZ.d.mts} +6 -6
- package/dist/vendor/{config-BQtfsjwX.d.mts → config-B7x14BD7.d.cts} +2 -2
- package/dist/vendor/{config-D0jKbRFV.d.cts → config-D6zsQbZD.d.mts} +2 -2
- package/dist/vendor/{config-BFH3ETeQ.mjs → config-DH0_s6ur.mjs} +4 -4
- package/dist/vendor/{config-Cadu6Rkt.cjs → config-DND92zIN.cjs} +6 -5
- package/dist/vendor/core.cjs +1 -1
- package/dist/vendor/core.mjs +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 +4 -4
- package/dist/vendor/type-compiler/index.d.cts +3 -3
- package/dist/vendor/type-compiler/index.d.mts +3 -3
- package/dist/vendor/type-compiler/index.mjs +3 -3
- package/dist/vendor/type.cjs +47 -39
- package/dist/vendor/type.d.cts +23 -23
- package/dist/vendor/type.d.mts +23 -23
- package/dist/vendor/type.mjs +47 -39
- package/dist/vendor/{types--t65boB8.mjs → types-BkXamnO8.mjs} +2 -2
- package/dist/vendor/{types-BzOSMMf1.cjs → types-Dd5_2tGT.cjs} +1 -1
- package/package.json +6 -6
- package/schemas/reflection.cjs +1 -1
package/dist/vendor/type.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { c as AbstractClassType, d as CustomError, f as ExtractClassType, r as T
|
|
|
2
2
|
import { n as ReflectionOp, r as TypeNumberBrand } from "./type-BoBEcrg7.mjs";
|
|
3
3
|
import { Buffer } from "node:buffer";
|
|
4
4
|
|
|
5
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
5
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/changes.d.ts
|
|
6
6
|
type NumberFields<T> = { [K in keyof T]: T[K] extends number | bigint ? K : never }[keyof T];
|
|
7
7
|
type Expression<T> = { [P in keyof T & string]?: string };
|
|
8
8
|
type Partial$1<T> = { [P in keyof T & string]?: T[P] };
|
|
@@ -56,7 +56,7 @@ declare type __ΩPartial = any[];
|
|
|
56
56
|
declare type __ΩDeepPartial = any[];
|
|
57
57
|
declare type __ΩChangesInterface = any[];
|
|
58
58
|
//#endregion
|
|
59
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
59
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/reflection/type.d.ts
|
|
60
60
|
declare enum ReflectionVisibility {
|
|
61
61
|
public = 0,
|
|
62
62
|
protected = 1,
|
|
@@ -1270,7 +1270,7 @@ declare type __ΩSQLite = any[];
|
|
|
1270
1270
|
declare type __ΩDatabaseField = any[];
|
|
1271
1271
|
declare type __ΩBinaryBigIntType = any[];
|
|
1272
1272
|
//#endregion
|
|
1273
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
1273
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/type-serialization.d.ts
|
|
1274
1274
|
interface SerializedTypeAnnotations {
|
|
1275
1275
|
entityOptions?: EntityOptions;
|
|
1276
1276
|
typeName?: string;
|
|
@@ -1498,7 +1498,7 @@ declare type __ΩSerializedType = any[];
|
|
|
1498
1498
|
declare type __ΩSerializedTypes = any[];
|
|
1499
1499
|
declare type __ΩSerializerState = any[];
|
|
1500
1500
|
//#endregion
|
|
1501
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
1501
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/serializer.d.ts
|
|
1502
1502
|
/**
|
|
1503
1503
|
* Make sure to change the id when a custom naming strategy is implemented, since caches are based on it.
|
|
1504
1504
|
*/
|
|
@@ -1902,7 +1902,7 @@ declare type __ΩGuard = any[];
|
|
|
1902
1902
|
declare type __ΩTemplate = any[];
|
|
1903
1903
|
declare type __ΩTemplateHook = any[];
|
|
1904
1904
|
//#endregion
|
|
1905
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
1905
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/validator.d.ts
|
|
1906
1906
|
type ValidatorMeta<Name extends string, Args extends [...args: any[]] = []> = TypeAnnotation<'validator', [Name, Args]>;
|
|
1907
1907
|
type ValidateFunction = (value: any, type: Type, options: any) => ValidatorError | void;
|
|
1908
1908
|
type Validate<T extends ValidateFunction, Options extends Parameters<T>[2] = unknown> = ValidatorMeta<'function', [T, Options]>;
|
|
@@ -2041,7 +2041,7 @@ declare type __ΩBeforeNow = any[];
|
|
|
2041
2041
|
declare type __ΩAfterNow = any[];
|
|
2042
2042
|
declare type __ΩEmail = any[];
|
|
2043
2043
|
//#endregion
|
|
2044
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
2044
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/reflection/processor.d.ts
|
|
2045
2045
|
type RuntimeStackEntry = Type | Object | (() => ClassType | Object) | string | number | boolean | bigint;
|
|
2046
2046
|
type Packed = (RuntimeStackEntry | string)[] & {
|
|
2047
2047
|
__is?: (data: any) => boolean;
|
|
@@ -2166,7 +2166,7 @@ declare type __ΩRuntimeStackEntry = any[];
|
|
|
2166
2166
|
declare type __ΩPacked = any[];
|
|
2167
2167
|
declare type __ΩReflectOptions = any[];
|
|
2168
2168
|
//#endregion
|
|
2169
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
2169
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/reflection/reflection.d.ts
|
|
2170
2170
|
/**
|
|
2171
2171
|
* Receives the runtime type of template argument.
|
|
2172
2172
|
*
|
|
@@ -2643,7 +2643,7 @@ declare class ReflectionClass<T> {
|
|
|
2643
2643
|
declare type __ΩReceiveType = any[];
|
|
2644
2644
|
declare type __ΩSerializerFn = any[];
|
|
2645
2645
|
//#endregion
|
|
2646
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
2646
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/change-detector.d.ts
|
|
2647
2647
|
/**
|
|
2648
2648
|
* This is a comparator function for the snapshots. They are either string, number, boolean, array, or objects.
|
|
2649
2649
|
* No date, moment, or custom classes involved here.
|
|
@@ -2652,7 +2652,7 @@ declare function genericEqual(a: any, b: any): boolean;
|
|
|
2652
2652
|
declare function getChangeDetector<T extends object>(classSchema: ReflectionClass<T>): (last: any, current: any, item: T) => ItemChanges<T> | undefined;
|
|
2653
2653
|
declare function buildChanges<T extends object>(classSchema: ReflectionClass<T>, lastSnapshot: any, item: T): Changes<T>;
|
|
2654
2654
|
//#endregion
|
|
2655
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
2655
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/core.d.ts
|
|
2656
2656
|
declare enum UnpopulatedCheck {
|
|
2657
2657
|
None = 0,
|
|
2658
2658
|
//returns undefined
|
|
@@ -2738,7 +2738,7 @@ declare type __ΩTypeSettings = any[];
|
|
|
2738
2738
|
declare type __ΩTypedArrayClassType = any[];
|
|
2739
2739
|
declare type __ΩTypedArray = any[];
|
|
2740
2740
|
//#endregion
|
|
2741
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
2741
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/decorator-builder.d.ts
|
|
2742
2742
|
type ClassDecoratorFn = (classType: AbstractClassType, property?: string, parameterIndexOrDescriptor?: any) => void;
|
|
2743
2743
|
type PropertyDecoratorFn = (prototype: object, property?: number | string | symbol, parameterIndexOrDescriptor?: any) => void;
|
|
2744
2744
|
type FluidDecorator<T, D extends Function> = { [name in keyof T]: T[name] extends ((...args: infer K) => any) ? (...args: K) => D & FluidDecorator<T, D> : D & FluidDecorator<T, D> & {
|
|
@@ -2814,7 +2814,7 @@ declare type __ΩFreeDecoratorFn = any[];
|
|
|
2814
2814
|
declare type __ΩFreeFluidDecorator = any[];
|
|
2815
2815
|
declare type __ΩFreeDecoratorResult = any[];
|
|
2816
2816
|
//#endregion
|
|
2817
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
2817
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/decorator.d.ts
|
|
2818
2818
|
declare class TDecorator {
|
|
2819
2819
|
t: TData;
|
|
2820
2820
|
onDecorator(target: any, property?: string, parameterIndexOrDescriptor?: any): void;
|
|
@@ -2872,14 +2872,14 @@ declare function isWithDeferredDecorators(obj: any): obj is {
|
|
|
2872
2872
|
__decorators: DeferredDecorator[];
|
|
2873
2873
|
};
|
|
2874
2874
|
//#endregion
|
|
2875
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
2875
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/default.d.ts
|
|
2876
2876
|
/**
|
|
2877
2877
|
* Returns a sensible default value for a given type.
|
|
2878
2878
|
* Sensible means it satisfies the type checker, but not necessarily attached validators.
|
|
2879
2879
|
*/
|
|
2880
2880
|
declare function defaultValue(type: Type): any;
|
|
2881
2881
|
//#endregion
|
|
2882
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
2882
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/mixin.d.ts
|
|
2883
2883
|
type UnionToIntersection$1<T> = (T extends any ? (x: T) => any : never) extends ((x: infer R) => any) ? R : never;
|
|
2884
2884
|
/**
|
|
2885
2885
|
* Function to mixin multiple classes together and create a new class, which can be extended from.
|
|
@@ -2907,13 +2907,13 @@ type UnionToIntersection$1<T> = (T extends any ? (x: T) => any : never) extends
|
|
|
2907
2907
|
*/
|
|
2908
2908
|
declare function mixin<T extends AbstractClassType[]>(...classTypes: T): ClassType<UnionToIntersection$1<ExtractClassType<T[number]>>>;
|
|
2909
2909
|
//#endregion
|
|
2910
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
2910
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/path.d.ts
|
|
2911
2911
|
type Resolver = (path: string) => Type | undefined;
|
|
2912
2912
|
declare function resolvePath<T>(path: string, type?: ReceiveType<T>): Type;
|
|
2913
2913
|
declare function pathResolver<T>(type?: ReceiveType<T>, jitStack?: JitStack): Resolver;
|
|
2914
2914
|
declare type __ΩResolver = any[];
|
|
2915
2915
|
//#endregion
|
|
2916
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
2916
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/reference.d.ts
|
|
2917
2917
|
declare function isReferenceInstance(obj: any): boolean;
|
|
2918
2918
|
declare function getReferenceInfo<T>(obj: T): ReferenceInfo<T> | undefined;
|
|
2919
2919
|
declare function getReferenceItemInfo<T>(obj: T): ReferenceItemInfo<T> | undefined;
|
|
@@ -2935,7 +2935,7 @@ declare function createReferenceClass<T>(reflection: ReflectionClass<any>): Clas
|
|
|
2935
2935
|
declare type __ΩReferenceInfo = any[];
|
|
2936
2936
|
declare type __ΩReferenceItemInfo = any[];
|
|
2937
2937
|
//#endregion
|
|
2938
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
2938
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/registry.d.ts
|
|
2939
2939
|
interface RegistryDecorator<T> {
|
|
2940
2940
|
predicate: (type: Type) => boolean;
|
|
2941
2941
|
v: T;
|
|
@@ -2969,7 +2969,7 @@ declare class TypeRegistry<T> {
|
|
|
2969
2969
|
set(kind: ReflectionKind | ReflectionKind[] | ((type: Type) => boolean), v: T): void;
|
|
2970
2970
|
}
|
|
2971
2971
|
//#endregion
|
|
2972
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
2972
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/utils.d.ts
|
|
2973
2973
|
declare class NoTypeReceived extends Error {
|
|
2974
2974
|
constructor(message?: string);
|
|
2975
2975
|
}
|
|
@@ -2997,7 +2997,7 @@ declare type __ΩJSONPartialObject = any[];
|
|
|
2997
2997
|
declare type __ΩJSONSingle = any[];
|
|
2998
2998
|
declare type __ΩJSONEntity = any[];
|
|
2999
2999
|
//#endregion
|
|
3000
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
3000
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/serializer-facade.d.ts
|
|
3001
3001
|
/**
|
|
3002
3002
|
* Casts/coerces a given data structure to the target data type and validates all attached validators.
|
|
3003
3003
|
*
|
|
@@ -3080,7 +3080,7 @@ declare function cloneClass<T>(target: T, options?: SerializationOptions): T;
|
|
|
3080
3080
|
*/
|
|
3081
3081
|
declare function validatedDeserialize<T>(data: any, options?: SerializationOptions, serializerToUse?: Serializer, namingStrategy?: NamingStrategy, type?: ReceiveType<T>): T;
|
|
3082
3082
|
//#endregion
|
|
3083
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
3083
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/snapshot.d.ts
|
|
3084
3084
|
declare class SnapshotSerializer extends Serializer {
|
|
3085
3085
|
name: string;
|
|
3086
3086
|
protected registerSerializers(): void;
|
|
@@ -3111,7 +3111,7 @@ declare function getPrimaryKeyExtractor<T>(reflectionClass: ReflectionClass<T>):
|
|
|
3111
3111
|
declare function getPrimaryKeyHashGenerator(reflectionClass: ReflectionClass<any>, serializerToUse?: Serializer): (value: any) => string;
|
|
3112
3112
|
declare function getSimplePrimaryKeyHashGenerator(reflectionClass: ReflectionClass<any>): (data: PrimaryKeyFields<any>) => string;
|
|
3113
3113
|
//#endregion
|
|
3114
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
3114
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/typeguard.d.ts
|
|
3115
3115
|
/**
|
|
3116
3116
|
* ```typescript
|
|
3117
3117
|
* const validator = getValidatorFunction<MyType>();
|
|
@@ -3130,14 +3130,14 @@ declare function guard<T>(serializerToUse?: Serializer, receiveType?: ReceiveTyp
|
|
|
3130
3130
|
*/
|
|
3131
3131
|
declare function assert<T>(data: any, serializerToUse?: Serializer, receiveType?: ReceiveType<T>): asserts data is T;
|
|
3132
3132
|
//#endregion
|
|
3133
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
3133
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/types.d.ts
|
|
3134
3134
|
type AutoId = number & PrimaryKey & AutoIncrement & Positive;
|
|
3135
3135
|
declare type __ΩAutoId = any[];
|
|
3136
3136
|
//#endregion
|
|
3137
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
3137
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/validators.d.ts
|
|
3138
3138
|
declare const validators: { [name in string]?: (...args: any[]) => (value: any) => ValidatorError | undefined };
|
|
3139
3139
|
//#endregion
|
|
3140
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
3140
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/cjs/src/reflection/extends.d.ts
|
|
3141
3141
|
type AssignableType = Type | string | boolean | number | symbol | bigint | undefined | null;
|
|
3142
3142
|
type StackEntry = {
|
|
3143
3143
|
left: Type;
|
package/dist/vendor/type.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as isClass, A as empty, B as getClassTypeFromInstance, H as getInheritanceChain, K as hasProperty, R as getClassName, U as getObjectKeysSize, W as getParentClass, Z as isArray, _ as __ΩExtractClassType, _t as iterableSize, a as indent, at as isIterable, ct as isNumeric, d as toFastProperties, h as __ΩClassType, it as isInteger, kt as stringifyValueWithType, lt as isObject, m as __ΩAbstractClassType, nt as isFunction, o as CompilerContext, p as CustomError, pt as isPrototypeOfBase, r as __ΩTypeAnnotation, rt as isGlobalClass, u as arrayRemoveItem, ut as isObjectLiteral } from "./types
|
|
1
|
+
import { $ as isClass, A as empty, B as getClassTypeFromInstance, H as getInheritanceChain, K as hasProperty, R as getClassName, U as getObjectKeysSize, W as getParentClass, Z as isArray, _ as __ΩExtractClassType, _t as iterableSize, a as indent, at as isIterable, ct as isNumeric, d as toFastProperties, h as __ΩClassType, it as isInteger, kt as stringifyValueWithType, lt as isObject, m as __ΩAbstractClassType, nt as isFunction, o as CompilerContext, p as CustomError, pt as isPrototypeOfBase, r as __ΩTypeAnnotation, rt as isGlobalClass, u as arrayRemoveItem, ut as isObjectLiteral } from "./types-BkXamnO8.mjs";
|
|
2
2
|
import { n as TypeNumberBrand, t as ReflectionOp } from "./type-wscUl8NW.mjs";
|
|
3
3
|
import { Buffer } from "node:buffer";
|
|
4
4
|
import crypto from "node:crypto";
|
|
5
5
|
|
|
6
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
6
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/changes.js
|
|
7
7
|
const __ΩPick$1 = [
|
|
8
8
|
"T",
|
|
9
9
|
"K",
|
|
@@ -220,7 +220,7 @@ atomicChange.__type = [
|
|
|
220
220
|
];
|
|
221
221
|
|
|
222
222
|
//#endregion
|
|
223
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
223
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/debug.js
|
|
224
224
|
function isDebug(level = 1) {
|
|
225
225
|
const expected = "deepkit" + (level > 1 ? "+".repeat(level - 1) : "");
|
|
226
226
|
return "undefined" !== typeof process && "string" === typeof process.env.DEBUG && process.env.DEBUG.includes(expected);
|
|
@@ -255,7 +255,7 @@ debug2.__type = [
|
|
|
255
255
|
];
|
|
256
256
|
|
|
257
257
|
//#endregion
|
|
258
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
258
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/decorator-builder.js
|
|
259
259
|
const __ΩOmit = [
|
|
260
260
|
"T",
|
|
261
261
|
"K",
|
|
@@ -803,7 +803,7 @@ isDecoratorContext.__type = [
|
|
|
803
803
|
];
|
|
804
804
|
|
|
805
805
|
//#endregion
|
|
806
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
806
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/core.js
|
|
807
807
|
const __ΩArrayBufferLike = [
|
|
808
808
|
() => __ΩArrayBufferTypes,
|
|
809
809
|
() => __ΩArrayBufferTypes,
|
|
@@ -996,7 +996,7 @@ arrayBufferTo.__type = [
|
|
|
996
996
|
];
|
|
997
997
|
|
|
998
998
|
//#endregion
|
|
999
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
999
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/decorator.js
|
|
1000
1000
|
var TDecorator = class {
|
|
1001
1001
|
constructor() {
|
|
1002
1002
|
this.t = new TData();
|
|
@@ -1164,7 +1164,7 @@ addDeferredDecorator.__type = [
|
|
|
1164
1164
|
];
|
|
1165
1165
|
|
|
1166
1166
|
//#endregion
|
|
1167
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
1167
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/reflection/extends.js
|
|
1168
1168
|
function __assignType$13(fn, args) {
|
|
1169
1169
|
fn.__type = args;
|
|
1170
1170
|
return fn;
|
|
@@ -1756,11 +1756,11 @@ inferFromTuple.__type = [
|
|
|
1756
1756
|
];
|
|
1757
1757
|
|
|
1758
1758
|
//#endregion
|
|
1759
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
1759
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/reflection/state.js
|
|
1760
1760
|
const state = { nominalId: 1 };
|
|
1761
1761
|
|
|
1762
1762
|
//#endregion
|
|
1763
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
1763
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/reflection/processor.js
|
|
1764
1764
|
const __ΩPartial$5 = [
|
|
1765
1765
|
"T",
|
|
1766
1766
|
"Partial",
|
|
@@ -3736,7 +3736,7 @@ resolveFunction.__type = [
|
|
|
3736
3736
|
];
|
|
3737
3737
|
|
|
3738
3738
|
//#endregion
|
|
3739
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
3739
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/inheritance.js
|
|
3740
3740
|
function findCommonLiteral(reflectionClasses) {
|
|
3741
3741
|
const candidates = {};
|
|
3742
3742
|
for (const schema of reflectionClasses) for (const property of schema.getProperties()) {
|
|
@@ -3817,7 +3817,7 @@ function v4(options, buf, offset) {
|
|
|
3817
3817
|
}
|
|
3818
3818
|
|
|
3819
3819
|
//#endregion
|
|
3820
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
3820
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/utils.js
|
|
3821
3821
|
var NoTypeReceived = class extends Error {
|
|
3822
3822
|
constructor(message = "No type information received. Circular import or no runtime type available.") {
|
|
3823
3823
|
super(message);
|
|
@@ -3909,7 +3909,7 @@ regExpFromString.__type = [
|
|
|
3909
3909
|
];
|
|
3910
3910
|
|
|
3911
3911
|
//#endregion
|
|
3912
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
3912
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/type-serialization.js
|
|
3913
3913
|
const __ΩPartial$4 = [
|
|
3914
3914
|
"T",
|
|
3915
3915
|
"Partial",
|
|
@@ -4903,7 +4903,7 @@ deserializeType.__type = [
|
|
|
4903
4903
|
];
|
|
4904
4904
|
|
|
4905
4905
|
//#endregion
|
|
4906
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
4906
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/reflection/reflection.js
|
|
4907
4907
|
function __assignType$10(fn, args) {
|
|
4908
4908
|
fn.__type = args;
|
|
4909
4909
|
return fn;
|
|
@@ -5793,16 +5793,16 @@ var ReflectionProperty = class ReflectionProperty {
|
|
|
5793
5793
|
return this.property.tags ?? {};
|
|
5794
5794
|
}
|
|
5795
5795
|
isHidden() {
|
|
5796
|
-
return this.getTags().hidden === true || this.reflectionClass.isHidden();
|
|
5796
|
+
return Boolean(this.getTags().hidden) === true || this.reflectionClass.isHidden();
|
|
5797
5797
|
}
|
|
5798
5798
|
isIgnored() {
|
|
5799
|
-
return this.getTags().ignore === true || this.reflectionClass.isIgnored();
|
|
5799
|
+
return Boolean(this.getTags().ignore) === true || this.reflectionClass.isIgnored();
|
|
5800
5800
|
}
|
|
5801
5801
|
isInternal() {
|
|
5802
|
-
return this.getTags().internal === true || this.reflectionClass.isInternal();
|
|
5802
|
+
return Boolean(this.getTags().internal) === true || this.reflectionClass.isInternal();
|
|
5803
5803
|
}
|
|
5804
5804
|
isRuntime() {
|
|
5805
|
-
return this.getTags().runtime === true || this.reflectionClass.isRuntime();
|
|
5805
|
+
return Boolean(this.getTags().runtime) === true || this.reflectionClass.isRuntime();
|
|
5806
5806
|
}
|
|
5807
5807
|
getAlias() {
|
|
5808
5808
|
return this.getTags().alias ?? [];
|
|
@@ -6000,7 +6000,7 @@ var ReflectionClass = class ReflectionClass {
|
|
|
6000
6000
|
reflection.subClasses = this.subClasses.slice();
|
|
6001
6001
|
reflection.data = { ...this.data };
|
|
6002
6002
|
reflection.description = this.description;
|
|
6003
|
-
reflection.tags = this.tags;
|
|
6003
|
+
reflection.tags = { ...this.tags };
|
|
6004
6004
|
return reflection;
|
|
6005
6005
|
}
|
|
6006
6006
|
toString() {
|
|
@@ -6350,7 +6350,7 @@ var ReflectionClass = class ReflectionClass {
|
|
|
6350
6350
|
};
|
|
6351
6351
|
|
|
6352
6352
|
//#endregion
|
|
6353
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
6353
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/reflection/type.js
|
|
6354
6354
|
var _a$1, _b$1, _c, _d, _e, _f;
|
|
6355
6355
|
const __ΩPartial$3 = [
|
|
6356
6356
|
"T",
|
|
@@ -7984,13 +7984,21 @@ isNullable.__type = [
|
|
|
7984
7984
|
* Get tags from type.
|
|
7985
7985
|
*/
|
|
7986
7986
|
function getTags(type) {
|
|
7987
|
-
if (
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7993
|
-
|
|
7987
|
+
if ([
|
|
7988
|
+
ReflectionKind.property,
|
|
7989
|
+
ReflectionKind.propertySignature,
|
|
7990
|
+
ReflectionKind.indexSignature,
|
|
7991
|
+
ReflectionKind.method,
|
|
7992
|
+
ReflectionKind.methodSignature,
|
|
7993
|
+
ReflectionKind.class,
|
|
7994
|
+
ReflectionKind.objectLiteral,
|
|
7995
|
+
ReflectionKind.function,
|
|
7996
|
+
ReflectionKind.enum,
|
|
7997
|
+
ReflectionKind.enumMember,
|
|
7998
|
+
ReflectionKind.parameter,
|
|
7999
|
+
ReflectionKind.typeParameter,
|
|
8000
|
+
ReflectionKind.array
|
|
8001
|
+
].includes(type.kind)) return type.tags ?? {};
|
|
7994
8002
|
return {};
|
|
7995
8003
|
}
|
|
7996
8004
|
getTags.__type = [
|
|
@@ -9736,7 +9744,7 @@ annotateClass.__type = [
|
|
|
9736
9744
|
];
|
|
9737
9745
|
|
|
9738
9746
|
//#endregion
|
|
9739
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
9747
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/reference.js
|
|
9740
9748
|
function __assignType$8(fn, args) {
|
|
9741
9749
|
fn.__type = args;
|
|
9742
9750
|
return fn;
|
|
@@ -9887,7 +9895,7 @@ createReferenceClass.__type = [
|
|
|
9887
9895
|
];
|
|
9888
9896
|
|
|
9889
9897
|
//#endregion
|
|
9890
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
9898
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/typeguard.js
|
|
9891
9899
|
function __assignType$7(fn, args) {
|
|
9892
9900
|
fn.__type = args;
|
|
9893
9901
|
return fn;
|
|
@@ -9979,7 +9987,7 @@ assert.__type = [
|
|
|
9979
9987
|
];
|
|
9980
9988
|
|
|
9981
9989
|
//#endregion
|
|
9982
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
9990
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/validator.js
|
|
9983
9991
|
var __decorate = void 0 && (void 0).__decorate || function(decorators, target, key, desc) {
|
|
9984
9992
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9985
9993
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -10329,7 +10337,7 @@ validates.__type = [
|
|
|
10329
10337
|
];
|
|
10330
10338
|
|
|
10331
10339
|
//#endregion
|
|
10332
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
10340
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/validators.js
|
|
10333
10341
|
function __assignType$5(fn, args) {
|
|
10334
10342
|
fn.__type = args;
|
|
10335
10343
|
return fn;
|
|
@@ -10573,7 +10581,7 @@ const validators = {
|
|
|
10573
10581
|
};
|
|
10574
10582
|
|
|
10575
10583
|
//#endregion
|
|
10576
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
10584
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/serializer.js
|
|
10577
10585
|
var _a, _b;
|
|
10578
10586
|
const __ΩPartial$2 = [
|
|
10579
10587
|
"T",
|
|
@@ -13652,7 +13660,7 @@ EmptySerializer.__type = [
|
|
|
13652
13660
|
const serializer = new Serializer();
|
|
13653
13661
|
|
|
13654
13662
|
//#endregion
|
|
13655
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
13663
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/snapshot.js
|
|
13656
13664
|
const __ΩPartial$1 = [
|
|
13657
13665
|
"T",
|
|
13658
13666
|
"Partial",
|
|
@@ -13992,7 +14000,7 @@ createPrimaryKeyHashGenerator.__type = [
|
|
|
13992
14000
|
];
|
|
13993
14001
|
|
|
13994
14002
|
//#endregion
|
|
13995
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
14003
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/change-detector.js
|
|
13996
14004
|
function __assignType$2(fn, args) {
|
|
13997
14005
|
fn.__type = args;
|
|
13998
14006
|
return fn;
|
|
@@ -14278,7 +14286,7 @@ buildChanges.__type = [
|
|
|
14278
14286
|
];
|
|
14279
14287
|
|
|
14280
14288
|
//#endregion
|
|
14281
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
14289
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/default.js
|
|
14282
14290
|
/**
|
|
14283
14291
|
* Returns a sensible default value for a given type.
|
|
14284
14292
|
* Sensible means it satisfies the type checker, but not necessarily attached validators.
|
|
@@ -14348,7 +14356,7 @@ defaultValue.__type = [
|
|
|
14348
14356
|
];
|
|
14349
14357
|
|
|
14350
14358
|
//#endregion
|
|
14351
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
14359
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/mixin.js
|
|
14352
14360
|
function __assignType$1(fn, args) {
|
|
14353
14361
|
fn.__type = args;
|
|
14354
14362
|
return fn;
|
|
@@ -14429,7 +14437,7 @@ mixin.__type = [
|
|
|
14429
14437
|
];
|
|
14430
14438
|
|
|
14431
14439
|
//#endregion
|
|
14432
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
14440
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/path.js
|
|
14433
14441
|
const __ΩResolver = [
|
|
14434
14442
|
"path",
|
|
14435
14443
|
"Type",
|
|
@@ -14557,7 +14565,7 @@ pathResolver.__type = [
|
|
|
14557
14565
|
];
|
|
14558
14566
|
|
|
14559
14567
|
//#endregion
|
|
14560
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
14568
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/registry.js
|
|
14561
14569
|
const __ΩRegistryDecorator = [
|
|
14562
14570
|
"T",
|
|
14563
14571
|
"Type",
|
|
@@ -14666,7 +14674,7 @@ TypeRegistry.__type = [
|
|
|
14666
14674
|
];
|
|
14667
14675
|
|
|
14668
14676
|
//#endregion
|
|
14669
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
14677
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/serializer-facade.js
|
|
14670
14678
|
function __assignType(fn, args) {
|
|
14671
14679
|
fn.__type = args;
|
|
14672
14680
|
return fn;
|
|
@@ -14987,7 +14995,7 @@ validatedDeserialize.__type = [
|
|
|
14987
14995
|
];
|
|
14988
14996
|
|
|
14989
14997
|
//#endregion
|
|
14990
|
-
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=
|
|
14998
|
+
//#region ../../node_modules/.pnpm/@deepkit+type@1.0.5_patch_hash=17c60c07374c9da3514394a2d04fad4a83ac0ae8b88d5311f9e3af70_07f0fd87d125e88586cdd9a0713e08aa/node_modules/@deepkit/type/dist/esm/src/types.js
|
|
14991
14999
|
const __ΩAutoId = [
|
|
14992
15000
|
() => __ΩPrimaryKey,
|
|
14993
15001
|
() => __ΩAutoIncrement,
|
|
@@ -87,6 +87,7 @@ var require_dot_prop = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
87
87
|
|
|
88
88
|
//#endregion
|
|
89
89
|
//#region ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/iterators.js
|
|
90
|
+
var import_dot_prop = /* @__PURE__ */ __toESM(require_dot_prop(), 1);
|
|
90
91
|
const __ΩArrayLike = [
|
|
91
92
|
"T",
|
|
92
93
|
"length",
|
|
@@ -220,7 +221,6 @@ eachPair.__type = [
|
|
|
220
221
|
|
|
221
222
|
//#endregion
|
|
222
223
|
//#region ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/core.js
|
|
223
|
-
var import_dot_prop = /* @__PURE__ */ __toESM(require_dot_prop(), 1);
|
|
224
224
|
const __ΩObject = [
|
|
225
225
|
() => Function,
|
|
226
226
|
"constructor",
|
|
@@ -2462,4 +2462,4 @@ const __ΩInject = [
|
|
|
2462
2462
|
|
|
2463
2463
|
//#endregion
|
|
2464
2464
|
export { isClass as $, empty as A, time as At, getClassTypeFromInstance as B, average as C, prettyPrintObject as Ct, createDynamicClass as D, size as Dt, copy as E, setPathValue as Et, fixAsyncOperation as F, getPathValue as G, getInheritanceChain as H, formatError as I, identifyType as J, hasProperty as K, forwardTypeArguments as L, escapeRegExp as M, each as Mt, first as N, eachKey as Nt, createStack as O, sleep as Ot, firstKey as P, eachPair as Pt, isAsyncFunction as Q, getClassName as R, asyncOperation as S, prependObjectKeys as St, collectForMicrotask as T, rangeArray as Tt, getObjectKeysSize as U, getCurrentFileName as V, getParentClass as W, indexOf as X, inDebugMode as Y, isArray as Z, __ΩExtractClassType as _, iterableSize as _t, indent as a, isIterable as at, assertDefined as b, mergePromiseStack as bt, arrayHasItem as c, isNumeric as ct, toFastProperties as d, isPlainObject as dt, isClassInstance as et, AsyncFunction as f, isPromise as ft, __ΩCustomError as g, isUndefined as gt, __ΩClassType as h, isString as ht, capitalize as i, isInteger as it, ensureError as j, zip as jt, deletePathValue as k, stringifyValueWithType as kt, arrayMoveItem as l, isObject as lt, __ΩAbstractClassType as m, isSet as mt, __ΩInjectMeta as n, isFunction as nt, CompilerContext as o, isNull as ot, CustomError as p, isPrototypeOfBase as pt, humanBytes as q, __ΩTypeAnnotation as r, isGlobalClass as rt, arrayClear as s, isNumber as st, __ΩInject as t, isConstructable as tt, arrayRemoveItem as u, isObjectLiteral as ut, appendObject as v, last as vt, changeClass as w, range as wt, assertInstanceOf as x, mergeStack as xt, applyDefaults as y, lastKey as yt, getClassPropertyName as z };
|
|
2465
|
-
//# sourceMappingURL=types
|
|
2465
|
+
//# sourceMappingURL=types-BkXamnO8.mjs.map
|
|
@@ -87,6 +87,7 @@ var require_dot_prop = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
|
|
|
87
87
|
|
|
88
88
|
//#endregion
|
|
89
89
|
//#region ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/iterators.js
|
|
90
|
+
var import_dot_prop = /* @__PURE__ */ require_chunk.__toESM(require_dot_prop(), 1);
|
|
90
91
|
const __ΩArrayLike = [
|
|
91
92
|
"T",
|
|
92
93
|
"length",
|
|
@@ -220,7 +221,6 @@ eachPair.__type = [
|
|
|
220
221
|
|
|
221
222
|
//#endregion
|
|
222
223
|
//#region ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/core.js
|
|
223
|
-
var import_dot_prop = /* @__PURE__ */ require_chunk.__toESM(require_dot_prop(), 1);
|
|
224
224
|
const __ΩObject = [
|
|
225
225
|
() => Function,
|
|
226
226
|
"constructor",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/deepkit",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"keywords": ["deepkit", "powerlines", "storm-software"],
|
|
@@ -114,9 +114,9 @@
|
|
|
114
114
|
"bin": { "deepkit-install": "bin/deepkit-install.cjs" },
|
|
115
115
|
"files": ["bin/*", "dist/**/*", "schemas/*"],
|
|
116
116
|
"dependencies": {
|
|
117
|
-
"@powerlines/core": "^0.13.
|
|
118
|
-
"@powerlines/plugin-esbuild": "^0.13.
|
|
119
|
-
"@storm-software/config-tools": "^1.189.
|
|
117
|
+
"@powerlines/core": "^0.13.11",
|
|
118
|
+
"@powerlines/plugin-esbuild": "^0.13.398",
|
|
119
|
+
"@storm-software/config-tools": "^1.189.76",
|
|
120
120
|
"@stryke/capnp": "^0.12.92",
|
|
121
121
|
"@stryke/fs": "^0.33.66",
|
|
122
122
|
"@stryke/path": "^0.27.4",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"@deepkit/type-spec": "1.0.1",
|
|
137
137
|
"@types/node": "^25.6.0",
|
|
138
138
|
"rolldown": "1.0.0-rc.9",
|
|
139
|
-
"tsdown": "^0.21.
|
|
139
|
+
"tsdown": "^0.21.8",
|
|
140
140
|
"esbuild": "^0.27.7"
|
|
141
141
|
},
|
|
142
142
|
"peerDependencies": { "esbuild": "*", "rolldown": "*" },
|
|
@@ -145,5 +145,5 @@
|
|
|
145
145
|
"rolldown": { "optional": true }
|
|
146
146
|
},
|
|
147
147
|
"publishConfig": { "access": "public" },
|
|
148
|
-
"gitHead": "
|
|
148
|
+
"gitHead": "dbee10b00be4d975152b4e5b82422c2a94455f70"
|
|
149
149
|
}
|
package/schemas/reflection.cjs
CHANGED
|
@@ -27,7 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
|
|
28
28
|
//#endregion
|
|
29
29
|
let _stryke_capnp = require("@stryke/capnp");
|
|
30
|
-
_stryke_capnp = __toESM(_stryke_capnp);
|
|
30
|
+
_stryke_capnp = __toESM(_stryke_capnp, 1);
|
|
31
31
|
|
|
32
32
|
//#region schemas/reflection.ts
|
|
33
33
|
const _capnpFileId = BigInt("0xae3c363dcecf2729");
|