@power-plant/schema 0.0.63 → 0.0.65
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/{deepkit-CHBsrtv1.cjs → deepkit-BhouTvk6.cjs} +6 -6
- package/dist/{deepkit-CKXwlnr2.mjs → deepkit-D-LGVRlw.mjs} +7 -7
- package/dist/deepkit-D-LGVRlw.mjs.map +1 -0
- package/dist/deepkit.cjs +1 -1
- package/dist/deepkit.d.cts +6 -6
- package/dist/deepkit.d.cts.map +1 -1
- package/dist/deepkit.d.mts +6 -6
- package/dist/deepkit.d.mts.map +1 -1
- package/dist/deepkit.mjs +1 -1
- package/dist/index-ldf5lukz.d.cts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/storage/index.cjs +1 -1
- package/dist/storage/index.mjs +1 -1
- package/dist/{storage-CZDzy5me.cjs → storage-BLfnq6kZ.cjs} +11 -5
- package/dist/{storage-BTmQwq5v.mjs → storage-DEe8ZAMI.mjs} +13 -7
- package/dist/storage-DEe8ZAMI.mjs.map +1 -0
- package/package.json +4 -4
- package/dist/deepkit-CKXwlnr2.mjs.map +0 -1
- package/dist/storage-BTmQwq5v.mjs.map +0 -1
|
@@ -8,7 +8,7 @@ micromatch = require_rolldown_runtime.__toESM(micromatch, 1);
|
|
|
8
8
|
let _typescript_vfs = require("@typescript/vfs");
|
|
9
9
|
let path = require("path");
|
|
10
10
|
|
|
11
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
11
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/reflection-ast.js
|
|
12
12
|
const { isArrowFunction: isArrowFunction$1, isComputedPropertyName, isIdentifier: isIdentifier$1, isNamedImports, isNumericLiteral, isPrivateIdentifier, isStringLiteral: isStringLiteral$2, isStringLiteralLike, setOriginalNode, getLeadingCommentRanges, isNoSubstitutionTemplateLiteral, NodeFlags: NodeFlags$1, SyntaxKind: SyntaxKind$1 } = typescript.default;
|
|
13
13
|
function is__String(value) {
|
|
14
14
|
return typeof value === "string";
|
|
@@ -276,7 +276,7 @@ function finish(oldNode, newNode) {
|
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
//#endregion
|
|
279
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
279
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/resolver.js
|
|
280
280
|
const { createSourceFile, resolveModuleName, isStringLiteral: isStringLiteral$1, JSDocParsingMode, ScriptTarget: ScriptTarget$1 } = typescript.default;
|
|
281
281
|
function patternMatch(path, patterns, base) {
|
|
282
282
|
const include = patterns.filter((pattern) => pattern[0] !== "!");
|
|
@@ -335,7 +335,7 @@ var Resolver = class {
|
|
|
335
335
|
};
|
|
336
336
|
|
|
337
337
|
//#endregion
|
|
338
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
338
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/debug.js
|
|
339
339
|
function isDebug(level = 1) {
|
|
340
340
|
const expected = "deepkit" + (level > 1 ? "+".repeat(level - 1) : "");
|
|
341
341
|
return "undefined" !== typeof process && "string" === typeof process.env.DEBUG && process.env.DEBUG.includes(expected);
|
|
@@ -354,7 +354,7 @@ function debug2(...message) {
|
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
//#endregion
|
|
357
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
357
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/config.js
|
|
358
358
|
function isObject(obj) {
|
|
359
359
|
if (!obj) return false;
|
|
360
360
|
return typeof obj === "object" && !Array.isArray(obj);
|
|
@@ -509,7 +509,7 @@ function getConfigResolver(cache, host, compilerOptions, sourceFile, tsConfigPat
|
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
//#endregion
|
|
512
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
512
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
|
|
513
513
|
const { visitEachChild, visitNode, isPropertyAssignment, isArrayTypeNode, isArrowFunction, isBlock, isCallExpression, isCallSignatureDeclaration, isClassDeclaration, isClassExpression, isConstructorDeclaration, isConstructorTypeNode, isConstructSignatureDeclaration, isEnumDeclaration, isExportDeclaration, isExpression, isExpressionWithTypeArguments, isFunctionDeclaration, isFunctionExpression, isFunctionLike, isIdentifier, isImportClause, isImportDeclaration, isImportSpecifier, isInferTypeNode, isInterfaceDeclaration, isMethodDeclaration, isMethodSignature, isModuleDeclaration, isNamedExports, isNamedTupleMember, isNewExpression, isObjectLiteralExpression, isOptionalTypeNode, isParameter, isParenthesizedExpression, isParenthesizedTypeNode, isPropertyAccessExpression, isQualifiedName, isSourceFile, isStringLiteral, isTypeAliasDeclaration, isTypeLiteralNode, isTypeParameterDeclaration, isTypeQueryNode, isTypeReferenceNode, isUnionTypeNode, isExpressionStatement, isVariableDeclaration, getEffectiveConstraintOfTypeParameter, addSyntheticLeadingComment, createCompilerHost, createPrinter, escapeLeadingUnderscores, EmitHint, NodeFlags, SyntaxKind, ScriptTarget, ModifierFlags, ScriptKind } = typescript.default;
|
|
514
514
|
function encodeOps(ops) {
|
|
515
515
|
return ops.map((v) => String.fromCharCode(v + 33)).join("");
|
|
@@ -2265,7 +2265,7 @@ const declarationTransformer = function deepkitDeclarationTransformer(context) {
|
|
|
2265
2265
|
};
|
|
2266
2266
|
|
|
2267
2267
|
//#endregion
|
|
2268
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
2268
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
|
|
2269
2269
|
var DeepkitLoader = class {
|
|
2270
2270
|
constructor() {
|
|
2271
2271
|
this.options = {
|
|
@@ -12,7 +12,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
15
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/reflection-ast.js
|
|
16
16
|
const { isArrowFunction: isArrowFunction$1, isComputedPropertyName, isIdentifier: isIdentifier$1, isNamedImports, isNumericLiteral, isPrivateIdentifier, isStringLiteral: isStringLiteral$2, isStringLiteralLike, setOriginalNode, getLeadingCommentRanges, isNoSubstitutionTemplateLiteral, NodeFlags: NodeFlags$1, SyntaxKind: SyntaxKind$1 } = ts;
|
|
17
17
|
function is__String(value) {
|
|
18
18
|
return typeof value === "string";
|
|
@@ -280,7 +280,7 @@ function finish(oldNode, newNode) {
|
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
//#endregion
|
|
283
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
283
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/resolver.js
|
|
284
284
|
const { createSourceFile, resolveModuleName, isStringLiteral: isStringLiteral$1, JSDocParsingMode, ScriptTarget: ScriptTarget$1 } = ts;
|
|
285
285
|
function patternMatch(path, patterns, base) {
|
|
286
286
|
const include = patterns.filter((pattern) => pattern[0] !== "!");
|
|
@@ -339,7 +339,7 @@ var Resolver = class {
|
|
|
339
339
|
};
|
|
340
340
|
|
|
341
341
|
//#endregion
|
|
342
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
342
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/debug.js
|
|
343
343
|
function isDebug(level = 1) {
|
|
344
344
|
const expected = "deepkit" + (level > 1 ? "+".repeat(level - 1) : "");
|
|
345
345
|
return "undefined" !== typeof process && "string" === typeof process.env.DEBUG && process.env.DEBUG.includes(expected);
|
|
@@ -358,7 +358,7 @@ function debug2(...message) {
|
|
|
358
358
|
}
|
|
359
359
|
|
|
360
360
|
//#endregion
|
|
361
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
361
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/config.js
|
|
362
362
|
function isObject(obj) {
|
|
363
363
|
if (!obj) return false;
|
|
364
364
|
return typeof obj === "object" && !Array.isArray(obj);
|
|
@@ -513,7 +513,7 @@ function getConfigResolver(cache, host, compilerOptions, sourceFile, tsConfigPat
|
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
//#endregion
|
|
516
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
516
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
|
|
517
517
|
const { visitEachChild, visitNode, isPropertyAssignment, isArrayTypeNode, isArrowFunction, isBlock, isCallExpression, isCallSignatureDeclaration, isClassDeclaration, isClassExpression, isConstructorDeclaration, isConstructorTypeNode, isConstructSignatureDeclaration, isEnumDeclaration, isExportDeclaration, isExpression, isExpressionWithTypeArguments, isFunctionDeclaration, isFunctionExpression, isFunctionLike, isIdentifier, isImportClause, isImportDeclaration, isImportSpecifier, isInferTypeNode, isInterfaceDeclaration, isMethodDeclaration, isMethodSignature, isModuleDeclaration, isNamedExports, isNamedTupleMember, isNewExpression, isObjectLiteralExpression, isOptionalTypeNode, isParameter, isParenthesizedExpression, isParenthesizedTypeNode, isPropertyAccessExpression, isQualifiedName, isSourceFile, isStringLiteral, isTypeAliasDeclaration, isTypeLiteralNode, isTypeParameterDeclaration, isTypeQueryNode, isTypeReferenceNode, isUnionTypeNode, isExpressionStatement, isVariableDeclaration, getEffectiveConstraintOfTypeParameter, addSyntheticLeadingComment, createCompilerHost, createPrinter, escapeLeadingUnderscores, EmitHint, NodeFlags, SyntaxKind, ScriptTarget, ModifierFlags, ScriptKind: ScriptKind$1 } = ts;
|
|
518
518
|
function encodeOps(ops) {
|
|
519
519
|
return ops.map((v) => String.fromCharCode(v + 33)).join("");
|
|
@@ -2269,7 +2269,7 @@ const declarationTransformer = function deepkitDeclarationTransformer(context) {
|
|
|
2269
2269
|
};
|
|
2270
2270
|
|
|
2271
2271
|
//#endregion
|
|
2272
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
2272
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
|
|
2273
2273
|
var DeepkitLoader = class {
|
|
2274
2274
|
constructor() {
|
|
2275
2275
|
this.options = {
|
|
@@ -2312,4 +2312,4 @@ var DeepkitLoader = class {
|
|
|
2312
2312
|
|
|
2313
2313
|
//#endregion
|
|
2314
2314
|
export { debugPackStruct as a, packSize as c, ReflectionTransformer as i, packSizeByte as l, Cache as n, declarationTransformer as o, DeclarationTransformer as r, encodeOps as s, DeepkitLoader as t, transformer as u };
|
|
2315
|
-
//# sourceMappingURL=deepkit-
|
|
2315
|
+
//# sourceMappingURL=deepkit-D-LGVRlw.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deepkit-D-LGVRlw.mjs","names":[],"sources":[],"mappings":""}
|
package/dist/deepkit.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_deepkit = require('./deepkit-
|
|
2
|
+
const require_deepkit = require('./deepkit-BhouTvk6.cjs');
|
|
3
3
|
|
|
4
4
|
exports.Cache = require_deepkit.Cache;
|
|
5
5
|
exports.DeclarationTransformer = require_deepkit.DeclarationTransformer;
|
package/dist/deepkit.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypeAnnotation } from "@deepkit/core";
|
|
2
2
|
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, NodeArray, NodeFactory, ParseConfigHost, PropertyAccessExpression, QualifiedName, ResolvedModule, ScriptKind, SourceFile, Statement, StringLiteral, Symbol as Symbol$1, SymbolTable, TransformationContext, TypeAliasDeclaration, TypeChecker, TypeParameterDeclaration, TypeReferenceNode } from "typescript";
|
|
3
3
|
import { ReflectionOp } from "@deepkit/type-spec";
|
|
4
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
4
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Contains @internal properties that are not yet in the public API of TS.
|
|
7
7
|
*/
|
|
@@ -19,7 +19,7 @@ interface SourceFile$1 extends SourceFile {
|
|
|
19
19
|
symbol?: Symbol$1;
|
|
20
20
|
}
|
|
21
21
|
//#endregion
|
|
22
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
22
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts
|
|
23
23
|
type PackExpression = Expression | string | number | boolean | bigint;
|
|
24
24
|
type JSDocTagValue = string | boolean;
|
|
25
25
|
declare class NodeConverter {
|
|
@@ -28,7 +28,7 @@ declare class NodeConverter {
|
|
|
28
28
|
toExpression<T extends PackExpression | PackExpression[]>(node?: T): Expression;
|
|
29
29
|
}
|
|
30
30
|
//#endregion
|
|
31
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
31
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts
|
|
32
32
|
/**
|
|
33
33
|
* A utility to resolve a module path and its declaration.
|
|
34
34
|
*
|
|
@@ -55,7 +55,7 @@ declare class Resolver {
|
|
|
55
55
|
resolveSourceFile(sourceFile: SourceFile, modulePath: StringLiteral): SourceFile | undefined;
|
|
56
56
|
}
|
|
57
57
|
//#endregion
|
|
58
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
58
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts
|
|
59
59
|
/**
|
|
60
60
|
* Default means reflection is enabled for this file.
|
|
61
61
|
* Never means the whole reflection is disabled for this file.
|
|
@@ -94,7 +94,7 @@ type ReflectionConfigCache = {
|
|
|
94
94
|
[path: string]: ConfigResolver;
|
|
95
95
|
};
|
|
96
96
|
//#endregion
|
|
97
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
97
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts
|
|
98
98
|
declare function encodeOps(ops: ReflectionOp[]): string;
|
|
99
99
|
declare const packSizeByte: number;
|
|
100
100
|
/**
|
|
@@ -423,7 +423,7 @@ declare class DeclarationTransformer extends ReflectionTransformer {
|
|
|
423
423
|
declare const transformer: CustomTransformerFactory;
|
|
424
424
|
declare const declarationTransformer: CustomTransformerFactory;
|
|
425
425
|
//#endregion
|
|
426
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
426
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/loader.d.ts
|
|
427
427
|
declare class DeepkitLoader {
|
|
428
428
|
protected options: CompilerOptions;
|
|
429
429
|
protected host: ts.CompilerHost;
|
package/dist/deepkit.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deepkit.d.cts","names":[],"sources":["../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
1
|
+
{"version":3,"file":"deepkit.d.cts","names":[],"sources":["../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/loader.d.ts","../src/deepkit.ts"],"x_google_ignoreList":[0,1,2,3,4,5],"mappings":";;;;;;;UAIiB,qBAAmB;;;;;;EAMhC;EACA,aAAa;EACb,0BAA0B;EAC1B,0BAA0B;EAC1B,wBAAwB;EACxB,SAAS;;;;KCbD,iBAAiB;KAUjB;cA6BS;YACP,GAAG;EACb,YAAY,GAAG;EACf,aAAa,UAAU,iBAAiB,kBAAkB,OAAO,IAAI;;;;;;;;;cCrCpD;EACjB,iBAAiB;EACjB,MAAM;YACI;KACL,mBAAmB;;EAExB,YAAY,iBAAiB,iBAAiB,MAAM,cAAc;KAC7D,mBAAmB;;EAExB,QAAQ,MAAM,YAAY,oBAAoB,oBAAoB,oBAAoB,iBAAiB;YAC7F,YAAY,YAAY,eAAe,YAAY,aAAa;;;;;;;;EAQ1E,kBAAkB,YAAY,YAAY,YAAY,gBAAgB;;;;;;;;;;cCjBrD;KACT,eAAe;UAkCV;;;;;EAKb;;;;;EAKA,wBAAwB;;UAOX,uBAAuB;EACpC;EACA,iBAAiB,GAAG;EACpB;;UAIa;EACb;EACA,cAAc;;KAGN,WAAW,iBAAiB;KAC5B;EACR,OAAO;EACP,QAAQ;;KAEA;GACP,eAAe;;;;iBCxEI,UAAU,KAAK;cAClB;;;;cAIA;iBACG,gBAAgB,YAAY,cAAY,SAAS,MAAM;EAC3E,KAAK;EACL,OAAO;;UAED;EACN;IACI;IACA;;EAEJ;EACA;EACA,WAAW;;KAEV,aAAa;cACJ;EACV,SAAS;EACT,aAAa;YACH,KAAK;YACL,OAAO;YACP;YACA;YACA,OAAO;YACP;IACN,KAAK;;YAEC;IACN,KAAK;;EAET,YA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|
package/dist/deepkit.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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, NodeArray, NodeFactory, ParseConfigHost, PropertyAccessExpression, QualifiedName, ResolvedModule, ScriptKind, SourceFile, Statement, StringLiteral, Symbol as Symbol$1, SymbolTable, TransformationContext, TypeAliasDeclaration, TypeChecker, TypeParameterDeclaration, TypeReferenceNode } from "typescript";
|
|
2
2
|
import { ReflectionOp } from "@deepkit/type-spec";
|
|
3
3
|
import { TypeAnnotation } from "@deepkit/core";
|
|
4
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
4
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Contains @internal properties that are not yet in the public API of TS.
|
|
7
7
|
*/
|
|
@@ -19,7 +19,7 @@ interface SourceFile$1 extends SourceFile {
|
|
|
19
19
|
symbol?: Symbol$1;
|
|
20
20
|
}
|
|
21
21
|
//#endregion
|
|
22
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
22
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts
|
|
23
23
|
type PackExpression = Expression | string | number | boolean | bigint;
|
|
24
24
|
type JSDocTagValue = string | boolean;
|
|
25
25
|
declare class NodeConverter {
|
|
@@ -28,7 +28,7 @@ declare class NodeConverter {
|
|
|
28
28
|
toExpression<T extends PackExpression | PackExpression[]>(node?: T): Expression;
|
|
29
29
|
}
|
|
30
30
|
//#endregion
|
|
31
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
31
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts
|
|
32
32
|
/**
|
|
33
33
|
* A utility to resolve a module path and its declaration.
|
|
34
34
|
*
|
|
@@ -55,7 +55,7 @@ declare class Resolver {
|
|
|
55
55
|
resolveSourceFile(sourceFile: SourceFile, modulePath: StringLiteral): SourceFile | undefined;
|
|
56
56
|
}
|
|
57
57
|
//#endregion
|
|
58
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
58
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts
|
|
59
59
|
/**
|
|
60
60
|
* Default means reflection is enabled for this file.
|
|
61
61
|
* Never means the whole reflection is disabled for this file.
|
|
@@ -94,7 +94,7 @@ type ReflectionConfigCache = {
|
|
|
94
94
|
[path: string]: ConfigResolver;
|
|
95
95
|
};
|
|
96
96
|
//#endregion
|
|
97
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
97
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts
|
|
98
98
|
declare function encodeOps(ops: ReflectionOp[]): string;
|
|
99
99
|
declare const packSizeByte: number;
|
|
100
100
|
/**
|
|
@@ -423,7 +423,7 @@ declare class DeclarationTransformer extends ReflectionTransformer {
|
|
|
423
423
|
declare const transformer: CustomTransformerFactory;
|
|
424
424
|
declare const declarationTransformer: CustomTransformerFactory;
|
|
425
425
|
//#endregion
|
|
426
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
426
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/loader.d.ts
|
|
427
427
|
declare class DeepkitLoader {
|
|
428
428
|
protected options: CompilerOptions;
|
|
429
429
|
protected host: ts.CompilerHost;
|
package/dist/deepkit.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deepkit.d.mts","names":[],"sources":["../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
1
|
+
{"version":3,"file":"deepkit.d.mts","names":[],"sources":["../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/loader.d.ts","../src/deepkit.ts"],"x_google_ignoreList":[0,1,2,3,4,5],"mappings":""}
|
package/dist/deepkit.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as debugPackStruct, c as packSize, i as ReflectionTransformer, l as packSizeByte, n as Cache, o as declarationTransformer, r as DeclarationTransformer, s as encodeOps, t as DeepkitLoader, u as transformer } from "./deepkit-
|
|
1
|
+
import { a as debugPackStruct, c as packSize, i as ReflectionTransformer, l as packSizeByte, n as Cache, o as declarationTransformer, r as DeclarationTransformer, s as encodeOps, t as DeepkitLoader, u as transformer } from "./deepkit-D-LGVRlw.mjs";
|
|
2
2
|
|
|
3
3
|
export { Cache, DeclarationTransformer, DeepkitLoader, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-ldf5lukz.d.cts","names":[],"sources":["../src/storage/helpers.ts","../src/storage/promises.ts","../src/storage/index.ts"],"mappings":";;;;;iBA0CgB,aAAa,eAAe,SAAS;;;
|
|
1
|
+
{"version":3,"file":"index-ldf5lukz.d.cts","names":[],"sources":["../src/storage/helpers.ts","../src/storage/promises.ts","../src/storage/index.ts"],"mappings":";;;;;iBA0CgB,aAAa,eAAe,SAAS;;;UCiDpC;EACf,UAAU;EACV,mBAAmB,MAAM,UAAU,UAAU,sBAAsB;EACnE,oBACE,MAAM,UACN,UAAU,uBACP;EACL,SAAS,MAAM,UAAU,QAAQ,UAAU,OAAO,SAAS;EAC3D,UAAU,eAAe;EACzB,UACE,YACA,UAAU;IAAgB;QACvB,WAAW;EAChB,SACE,YACA,QAAQ,QACR,gBACA,gBACA,4BACG;IAAU;IAAmB,QAAQ;;EAC1C,UACE,YACA,QAAQ,QACR,gBACA,gBACA,4BACG;IAAU;IAAsB,QAAQ;;EAC7C,cAAc,YAAY,iBAAiB;EAC3C,YAAY,YAAY,OAAO,UAAU,OAAO,aAAa;EAC7D,UACE,YACA,SAAS,OAAO,mBAChB,sBACG,QAAQ;EACb,WACE,YACA,SAAS,OAAO,mBAChB,sBACG,QAAQ;;iBAKC,sBAAsB,SAAS,UAAU;;;iBCtFzC,uBAAuB,SAAS,UAAU"}
|
package/dist/index.cjs
CHANGED
|
@@ -2,9 +2,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
const require_rolldown_runtime = require('./rolldown-runtime-C24Yb2bl.cjs');
|
|
3
3
|
const require_constants = require('./constants-CPMTQEYP.cjs');
|
|
4
4
|
const require_helpers = require('./helpers-C34rr_D0.cjs');
|
|
5
|
-
const require_deepkit = require('./deepkit-
|
|
5
|
+
const require_deepkit = require('./deepkit-BhouTvk6.cjs');
|
|
6
6
|
const require_codegen = require('./codegen.cjs');
|
|
7
|
-
const require_storage = require('./storage-
|
|
7
|
+
const require_storage = require('./storage-BLfnq6kZ.cjs');
|
|
8
8
|
let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
|
9
9
|
let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
10
10
|
let _stryke_type_checks = require("@stryke/type-checks");
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as ReflectionTransformer, n as Cache, r as DeclarationTransformer } from "./deepkit-
|
|
1
|
+
import { i as ReflectionTransformer, n as Cache, r as DeclarationTransformer } from "./deepkit-D-LGVRlw.mjs";
|
|
2
2
|
import { a as JSON_SCHEMA_TYPES, c as SCHEMA_RECORD_KEYWORDS, i as JSON_SCHEMA_PRIMITIVE_TYPES, l as SCHEMA_SINGLE_KEYWORDS, n as JSON_SCHEMA_CONSTRUCTOR_KEY, o as JsonSchemaTypeNames, r as JSON_SCHEMA_METADATA_KEYS, s as SCHEMA_ARRAY_CONCAT_KEYWORDS, t as JSON_SCHEMA_ANY } from "./constants-D0asFRyy.mjs";
|
|
3
3
|
import { $ as isUntypedConfig, A as isJsonSchemaNativeEnum, B as isJsonSchemaSet, C as isJsonSchemaDate, D as isJsonSchemaKeywords, E as isJsonSchemaInteger, F as isJsonSchemaObject, G as isJsonSchemaUnion, H as isJsonSchemaTuple, I as isJsonSchemaPrimitiveType, J as isSchema, K as isJsonSchemaUnknown, L as isJsonSchemaPrimitiveUnion, M as isJsonSchemaNull, N as isJsonSchemaNullable, O as isJsonSchemaLiteral, P as isJsonSchemaNumber, Q as isStandardSchema, R as isJsonSchemaRecord, S as isJsonSchemaBoolean, T as isJsonSchemaEnum, U as isJsonSchemaType, V as isJsonSchemaString, W as isJsonSchemaUndefined, X as isSchemaOf, Y as isSchemaObject, Z as isSchemaWithSource, _ as isJsonSchemaAllOf, a as getPropertiesList, at as isValibotSchema, b as isJsonSchemaArray, c as isSchemaNullable, ct as readSchemaTypes, d as merge, et as isUntypedConfigStrict, f as mergeMetadata, g as isJsonSchema, h as isFileReference, i as getProperties, it as isUntypedSchemaStrict, j as isJsonSchemaNever, k as isJsonSchemaMap, l as isValidSchemaConfigFile, m as hasJsonSchemaConstructorFlag, n as getJsonSchema, nt as isUntypedInputStrict, o as getProperty, ot as applyJsonSchemaMetadata, p as traverseSchema, q as isNullOnlyJsonSchema, r as getJsonSchemaObject, rt as isUntypedSchema, s as isPropertyOptional, st as getPrimarySchemaType, t as addProperty, tt as isUntypedInput, u as isValidSchemaInputFile, v as isJsonSchemaAny, w as isJsonSchemaDecimal, x as isJsonSchemaBigint, y as isJsonSchemaAnyOf, z as isJsonSchemaRef } from "./helpers-BCP4VzlJ.mjs";
|
|
4
4
|
import { getJsonSchemaType } from "./codegen.mjs";
|
|
5
|
-
import { n as createStoragePromises, r as normalizeKey, t as mapStorageToFileSystem } from "./storage-
|
|
5
|
+
import { n as createStoragePromises, r as normalizeKey, t as mapStorageToFileSystem } from "./storage-DEe8ZAMI.mjs";
|
|
6
6
|
import { isSetObject } from "@stryke/type-checks/is-set-object";
|
|
7
7
|
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
8
8
|
import { isBigInt, isBoolean, isEmptyObject, isInteger, isNull, isNumber, isObject, isRegExp, isSetArray, isSetObject as isSetObject$1, isSetString as isSetString$1, isString, isUndefined } from "@stryke/type-checks";
|
package/dist/storage/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_storage = require('../storage-
|
|
2
|
+
const require_storage = require('../storage-BLfnq6kZ.cjs');
|
|
3
3
|
|
|
4
4
|
exports.createStoragePromises = require_storage.createStoragePromises;
|
|
5
5
|
exports.mapStorageToFileSystem = require_storage.mapStorageToFileSystem;
|
package/dist/storage/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as createStoragePromises, r as normalizeKey, t as mapStorageToFileSystem } from "../storage-
|
|
1
|
+
import { n as createStoragePromises, r as normalizeKey, t as mapStorageToFileSystem } from "../storage-DEe8ZAMI.mjs";
|
|
2
2
|
|
|
3
3
|
export { createStoragePromises, mapStorageToFileSystem, normalizeKey };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('./rolldown-runtime-C24Yb2bl.cjs');
|
|
2
|
+
let node_fs_promises = require("node:fs/promises");
|
|
2
3
|
let node_events = require("node:events");
|
|
3
4
|
let node_fs = require("node:fs");
|
|
4
5
|
node_fs = require_rolldown_runtime.__toESM(node_fs, 1);
|
|
@@ -196,12 +197,17 @@ function createStoragePromises(storage) {
|
|
|
196
197
|
return value == null ? 0 : toBuffer(String(value)).byteLength;
|
|
197
198
|
}
|
|
198
199
|
async function readStoredFile(path, options) {
|
|
199
|
-
const key = normalizeKey(path);
|
|
200
|
-
if ((await requireEntry(key, true)).type !== "file") throw createFsError("EISDIR", "read", key, "EISDIR: illegal operation on a directory, read");
|
|
201
200
|
const encoding = getEncoding(options);
|
|
202
|
-
const
|
|
203
|
-
|
|
204
|
-
|
|
201
|
+
const key = normalizeKey(path);
|
|
202
|
+
try {
|
|
203
|
+
if ((await requireEntry(key, true)).type !== "file") throw createFsError("EISDIR", "read", key, "EISDIR: illegal operation on a directory, read");
|
|
204
|
+
const value = shouldReadRaw(options) ? await storage.getItemRaw(key) : await storage.getItem(key);
|
|
205
|
+
if (value == null) throw createFsError("ENOENT", "open", key);
|
|
206
|
+
return decodeStoredValue(value, encoding);
|
|
207
|
+
} catch (error) {
|
|
208
|
+
if ((0, node_fs.existsSync)(key)) return (0, node_fs_promises.readFile)(key, encoding);
|
|
209
|
+
throw error;
|
|
210
|
+
}
|
|
205
211
|
}
|
|
206
212
|
async function writeStoredFile(path, data, options) {
|
|
207
213
|
const key = normalizeKey(path);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { readFile } from "node:fs/promises";
|
|
1
2
|
import { EventEmitter } from "node:events";
|
|
2
3
|
import * as nodeFs from "node:fs";
|
|
3
|
-
import { Stats, constants } from "node:fs";
|
|
4
|
+
import { Stats, constants, existsSync } from "node:fs";
|
|
4
5
|
import { callbackify } from "node:util";
|
|
5
6
|
import { correctPath } from "@stryke/path/correct-path";
|
|
6
7
|
import { Buffer } from "node:buffer";
|
|
@@ -195,12 +196,17 @@ function createStoragePromises(storage) {
|
|
|
195
196
|
return value == null ? 0 : toBuffer(String(value)).byteLength;
|
|
196
197
|
}
|
|
197
198
|
async function readStoredFile(path, options) {
|
|
198
|
-
const key = normalizeKey(path);
|
|
199
|
-
if ((await requireEntry(key, true)).type !== "file") throw createFsError("EISDIR", "read", key, "EISDIR: illegal operation on a directory, read");
|
|
200
199
|
const encoding = getEncoding(options);
|
|
201
|
-
const
|
|
202
|
-
|
|
203
|
-
|
|
200
|
+
const key = normalizeKey(path);
|
|
201
|
+
try {
|
|
202
|
+
if ((await requireEntry(key, true)).type !== "file") throw createFsError("EISDIR", "read", key, "EISDIR: illegal operation on a directory, read");
|
|
203
|
+
const value = shouldReadRaw(options) ? await storage.getItemRaw(key) : await storage.getItem(key);
|
|
204
|
+
if (value == null) throw createFsError("ENOENT", "open", key);
|
|
205
|
+
return decodeStoredValue(value, encoding);
|
|
206
|
+
} catch (error) {
|
|
207
|
+
if (existsSync(key)) return readFile(key, encoding);
|
|
208
|
+
throw error;
|
|
209
|
+
}
|
|
204
210
|
}
|
|
205
211
|
async function writeStoredFile(path, data, options) {
|
|
206
212
|
const key = normalizeKey(path);
|
|
@@ -912,4 +918,4 @@ function mapStorageToFileSystem(storage) {
|
|
|
912
918
|
|
|
913
919
|
//#endregion
|
|
914
920
|
export { createStoragePromises as n, normalizeKey as r, mapStorageToFileSystem as t };
|
|
915
|
-
//# sourceMappingURL=storage-
|
|
921
|
+
//# sourceMappingURL=storage-DEe8ZAMI.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-DEe8ZAMI.mjs","names":[],"sources":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@power-plant/schema",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.65",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Power Plant utility package to help managing schemas.",
|
|
6
6
|
"keywords": [
|
|
@@ -169,9 +169,9 @@
|
|
|
169
169
|
},
|
|
170
170
|
"devDependencies": {
|
|
171
171
|
"@deepkit/type-compiler": "1.0.19",
|
|
172
|
-
"@powerlines/plugin-tsdown": "^0.1.
|
|
172
|
+
"@powerlines/plugin-tsdown": "^0.1.584",
|
|
173
173
|
"@types/node": "^25.9.5",
|
|
174
|
-
"powerlines": "^0.47.
|
|
174
|
+
"powerlines": "^0.47.183",
|
|
175
175
|
"valibot": "^1.4.2",
|
|
176
176
|
"zod": "^4.4.3"
|
|
177
177
|
},
|
|
@@ -185,5 +185,5 @@
|
|
|
185
185
|
},
|
|
186
186
|
"publishConfig": { "access": "public" },
|
|
187
187
|
"inlinedDependencies": { "@deepkit/type-compiler": "1.0.19" },
|
|
188
|
-
"gitHead": "
|
|
188
|
+
"gitHead": "5a3d58291a37542f8252e40a754067d768602f46"
|
|
189
189
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deepkit-CKXwlnr2.mjs","names":[],"sources":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storage-BTmQwq5v.mjs","names":[],"sources":[],"mappings":""}
|