@power-plant/schema 0.0.41 → 0.0.43
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-DPc7jHOL.cjs → deepkit-BiQwD8ud.cjs} +14 -14
- package/dist/{deepkit-h4w2bXJ2.mjs → deepkit-DzjNJe42.mjs} +16 -16
- package/dist/deepkit-DzjNJe42.mjs.map +1 -0
- package/dist/deepkit.cjs +1 -1
- package/dist/deepkit.d.cts +7 -7
- package/dist/deepkit.d.cts.map +1 -1
- package/dist/deepkit.d.mts +7 -7
- package/dist/deepkit.d.mts.map +1 -1
- package/dist/deepkit.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
- package/dist/deepkit-h4w2bXJ2.mjs.map +0 -1
|
@@ -3523,7 +3523,7 @@ function executeCloneNode(node, options) {
|
|
|
3523
3523
|
}
|
|
3524
3524
|
|
|
3525
3525
|
//#endregion
|
|
3526
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
3526
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/esm/src/reflection-ast.js
|
|
3527
3527
|
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;
|
|
3528
3528
|
function is__String(value) {
|
|
3529
3529
|
return typeof value === "string";
|
|
@@ -7141,7 +7141,7 @@ var require_micromatch = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(
|
|
|
7141
7141
|
}));
|
|
7142
7142
|
|
|
7143
7143
|
//#endregion
|
|
7144
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
7144
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/esm/src/resolver.js
|
|
7145
7145
|
var import_micromatch = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_micromatch(), 1);
|
|
7146
7146
|
const { createSourceFile, resolveModuleName, isStringLiteral: isStringLiteral$1, JSDocParsingMode, ScriptTarget: ScriptTarget$1 } = typescript.default;
|
|
7147
7147
|
function patternMatch(path, patterns, base) {
|
|
@@ -7201,7 +7201,7 @@ var Resolver = class {
|
|
|
7201
7201
|
};
|
|
7202
7202
|
|
|
7203
7203
|
//#endregion
|
|
7204
|
-
//#region ../../../node_modules/.pnpm/@typescript+vfs@1.5.
|
|
7204
|
+
//#region ../../../node_modules/.pnpm/@typescript+vfs@1.5.0/node_modules/@typescript/vfs/dist/vfs.cjs.production.min.js
|
|
7205
7205
|
var require_vfs_cjs_production_min = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
7206
7206
|
function e() {
|
|
7207
7207
|
return (e = Object.assign || function(e) {
|
|
@@ -7605,7 +7605,7 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ require_rolldown_runtime.__
|
|
|
7605
7605
|
}));
|
|
7606
7606
|
|
|
7607
7607
|
//#endregion
|
|
7608
|
-
//#region ../../../node_modules/.pnpm/@typescript+vfs@1.5.
|
|
7608
|
+
//#region ../../../node_modules/.pnpm/@typescript+vfs@1.5.0/node_modules/@typescript/vfs/dist/vfs.cjs.development.js
|
|
7609
7609
|
var require_vfs_cjs_development = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
7610
7610
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7611
7611
|
function _extends() {
|
|
@@ -8145,14 +8145,14 @@ var require_vfs_cjs_development = /* @__PURE__ */ require_rolldown_runtime.__com
|
|
|
8145
8145
|
}));
|
|
8146
8146
|
|
|
8147
8147
|
//#endregion
|
|
8148
|
-
//#region ../../../node_modules/.pnpm/@typescript+vfs@1.5.
|
|
8148
|
+
//#region ../../../node_modules/.pnpm/@typescript+vfs@1.5.0/node_modules/@typescript/vfs/dist/index.js
|
|
8149
8149
|
var require_dist = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
|
|
8150
8150
|
if (process.env.NODE_ENV === "production") module.exports = require_vfs_cjs_production_min();
|
|
8151
8151
|
else module.exports = require_vfs_cjs_development();
|
|
8152
8152
|
}));
|
|
8153
8153
|
|
|
8154
8154
|
//#endregion
|
|
8155
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
8155
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/esm/src/debug.js
|
|
8156
8156
|
var import_dist = require_dist();
|
|
8157
8157
|
function isDebug(level = 1) {
|
|
8158
8158
|
const expected = "deepkit" + (level > 1 ? "+".repeat(level - 1) : "");
|
|
@@ -8172,7 +8172,7 @@ function debug2(...message) {
|
|
|
8172
8172
|
}
|
|
8173
8173
|
|
|
8174
8174
|
//#endregion
|
|
8175
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
8175
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/esm/src/config.js
|
|
8176
8176
|
function isObject(obj) {
|
|
8177
8177
|
if (!obj) return false;
|
|
8178
8178
|
return typeof obj === "object" && !Array.isArray(obj);
|
|
@@ -8327,7 +8327,7 @@ function getConfigResolver(cache, host, compilerOptions, sourceFile, tsConfigPat
|
|
|
8327
8327
|
}
|
|
8328
8328
|
|
|
8329
8329
|
//#endregion
|
|
8330
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
8330
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
|
|
8331
8331
|
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;
|
|
8332
8332
|
function encodeOps(ops) {
|
|
8333
8333
|
return ops.map((v) => String.fromCharCode(v + 33)).join("");
|
|
@@ -9098,12 +9098,12 @@ var ReflectionTransformer = class {
|
|
|
9098
9098
|
else program.pushOp(_deepkit_type_spec.ReflectionOp.never);
|
|
9099
9099
|
let modifier = 0;
|
|
9100
9100
|
if (narrowed.questionToken) {
|
|
9101
|
-
if (narrowed.questionToken.kind === SyntaxKind.QuestionToken) modifier |=
|
|
9102
|
-
if (narrowed.questionToken.kind === SyntaxKind.MinusToken) modifier |=
|
|
9101
|
+
if (narrowed.questionToken.kind === SyntaxKind.QuestionToken) modifier |= 1;
|
|
9102
|
+
if (narrowed.questionToken.kind === SyntaxKind.MinusToken) modifier |= 2;
|
|
9103
9103
|
}
|
|
9104
9104
|
if (narrowed.readonlyToken) {
|
|
9105
|
-
if (narrowed.readonlyToken.kind === SyntaxKind.ReadonlyKeyword) modifier |=
|
|
9106
|
-
if (narrowed.readonlyToken.kind === SyntaxKind.MinusToken) modifier |=
|
|
9105
|
+
if (narrowed.readonlyToken.kind === SyntaxKind.ReadonlyKeyword) modifier |= 4;
|
|
9106
|
+
if (narrowed.readonlyToken.kind === SyntaxKind.MinusToken) modifier |= 8;
|
|
9107
9107
|
}
|
|
9108
9108
|
program.pushCoRoutine();
|
|
9109
9109
|
if (narrowed.nameType) program.pushFrame();
|
|
@@ -9958,7 +9958,7 @@ var ReflectionTransformer = class {
|
|
|
9958
9958
|
}
|
|
9959
9959
|
/**
|
|
9960
9960
|
* Emit `{ __meta?: never & [name, value] }` — the runtime shape of `TypeAnnotation<name, value>`.
|
|
9961
|
-
* Consumed later via `typeAnnotation.
|
|
9961
|
+
* Consumed later via `typeAnnotation.getForName(type, name)`.
|
|
9962
9962
|
*/
|
|
9963
9963
|
emitTypeAnnotation(program, name, value) {
|
|
9964
9964
|
program.pushFrame();
|
|
@@ -10082,7 +10082,7 @@ const declarationTransformer = function deepkitDeclarationTransformer(context) {
|
|
|
10082
10082
|
};
|
|
10083
10083
|
|
|
10084
10084
|
//#endregion
|
|
10085
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
10085
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
|
|
10086
10086
|
var DeepkitLoader = class {
|
|
10087
10087
|
constructor() {
|
|
10088
10088
|
this.options = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
2
|
import ts, { isBigIntLiteral, isJSDocImportTag } from "typescript";
|
|
3
|
-
import {
|
|
3
|
+
import { ReflectionOp, TypeNumberBrand } from "@deepkit/type-spec";
|
|
4
4
|
import { dirname, isAbsolute, join } from "path";
|
|
5
5
|
|
|
6
6
|
//#region \0rolldown/runtime.js
|
|
@@ -3551,7 +3551,7 @@ function executeCloneNode(node, options) {
|
|
|
3551
3551
|
}
|
|
3552
3552
|
|
|
3553
3553
|
//#endregion
|
|
3554
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
3554
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/esm/src/reflection-ast.js
|
|
3555
3555
|
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;
|
|
3556
3556
|
function is__String(value) {
|
|
3557
3557
|
return typeof value === "string";
|
|
@@ -7169,7 +7169,7 @@ var require_micromatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7169
7169
|
}));
|
|
7170
7170
|
|
|
7171
7171
|
//#endregion
|
|
7172
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
7172
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/esm/src/resolver.js
|
|
7173
7173
|
var import_micromatch = /* @__PURE__ */ __toESM(require_micromatch(), 1);
|
|
7174
7174
|
const { createSourceFile, resolveModuleName, isStringLiteral: isStringLiteral$1, JSDocParsingMode, ScriptTarget: ScriptTarget$1 } = ts;
|
|
7175
7175
|
function patternMatch(path, patterns, base) {
|
|
@@ -7229,7 +7229,7 @@ var Resolver = class {
|
|
|
7229
7229
|
};
|
|
7230
7230
|
|
|
7231
7231
|
//#endregion
|
|
7232
|
-
//#region ../../../node_modules/.pnpm/@typescript+vfs@1.5.
|
|
7232
|
+
//#region ../../../node_modules/.pnpm/@typescript+vfs@1.5.0/node_modules/@typescript/vfs/dist/vfs.cjs.production.min.js
|
|
7233
7233
|
var require_vfs_cjs_production_min = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7234
7234
|
function e() {
|
|
7235
7235
|
return (e = Object.assign || function(e) {
|
|
@@ -7633,7 +7633,7 @@ var require_vfs_cjs_production_min = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
7633
7633
|
}));
|
|
7634
7634
|
|
|
7635
7635
|
//#endregion
|
|
7636
|
-
//#region ../../../node_modules/.pnpm/@typescript+vfs@1.5.
|
|
7636
|
+
//#region ../../../node_modules/.pnpm/@typescript+vfs@1.5.0/node_modules/@typescript/vfs/dist/vfs.cjs.development.js
|
|
7637
7637
|
var require_vfs_cjs_development = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7638
7638
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7639
7639
|
function _extends() {
|
|
@@ -8173,14 +8173,14 @@ var require_vfs_cjs_development = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
8173
8173
|
}));
|
|
8174
8174
|
|
|
8175
8175
|
//#endregion
|
|
8176
|
-
//#region ../../../node_modules/.pnpm/@typescript+vfs@1.5.
|
|
8176
|
+
//#region ../../../node_modules/.pnpm/@typescript+vfs@1.5.0/node_modules/@typescript/vfs/dist/index.js
|
|
8177
8177
|
var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8178
8178
|
if (process.env.NODE_ENV === "production") module.exports = require_vfs_cjs_production_min();
|
|
8179
8179
|
else module.exports = require_vfs_cjs_development();
|
|
8180
8180
|
}));
|
|
8181
8181
|
|
|
8182
8182
|
//#endregion
|
|
8183
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
8183
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/esm/src/debug.js
|
|
8184
8184
|
var import_dist = require_dist();
|
|
8185
8185
|
function isDebug(level = 1) {
|
|
8186
8186
|
const expected = "deepkit" + (level > 1 ? "+".repeat(level - 1) : "");
|
|
@@ -8200,7 +8200,7 @@ function debug2(...message) {
|
|
|
8200
8200
|
}
|
|
8201
8201
|
|
|
8202
8202
|
//#endregion
|
|
8203
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
8203
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/esm/src/config.js
|
|
8204
8204
|
function isObject(obj) {
|
|
8205
8205
|
if (!obj) return false;
|
|
8206
8206
|
return typeof obj === "object" && !Array.isArray(obj);
|
|
@@ -8355,7 +8355,7 @@ function getConfigResolver(cache, host, compilerOptions, sourceFile, tsConfigPat
|
|
|
8355
8355
|
}
|
|
8356
8356
|
|
|
8357
8357
|
//#endregion
|
|
8358
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
8358
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
|
|
8359
8359
|
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;
|
|
8360
8360
|
function encodeOps(ops) {
|
|
8361
8361
|
return ops.map((v) => String.fromCharCode(v + 33)).join("");
|
|
@@ -9126,12 +9126,12 @@ var ReflectionTransformer = class {
|
|
|
9126
9126
|
else program.pushOp(ReflectionOp.never);
|
|
9127
9127
|
let modifier = 0;
|
|
9128
9128
|
if (narrowed.questionToken) {
|
|
9129
|
-
if (narrowed.questionToken.kind === SyntaxKind.QuestionToken) modifier |=
|
|
9130
|
-
if (narrowed.questionToken.kind === SyntaxKind.MinusToken) modifier |=
|
|
9129
|
+
if (narrowed.questionToken.kind === SyntaxKind.QuestionToken) modifier |= 1;
|
|
9130
|
+
if (narrowed.questionToken.kind === SyntaxKind.MinusToken) modifier |= 2;
|
|
9131
9131
|
}
|
|
9132
9132
|
if (narrowed.readonlyToken) {
|
|
9133
|
-
if (narrowed.readonlyToken.kind === SyntaxKind.ReadonlyKeyword) modifier |=
|
|
9134
|
-
if (narrowed.readonlyToken.kind === SyntaxKind.MinusToken) modifier |=
|
|
9133
|
+
if (narrowed.readonlyToken.kind === SyntaxKind.ReadonlyKeyword) modifier |= 4;
|
|
9134
|
+
if (narrowed.readonlyToken.kind === SyntaxKind.MinusToken) modifier |= 8;
|
|
9135
9135
|
}
|
|
9136
9136
|
program.pushCoRoutine();
|
|
9137
9137
|
if (narrowed.nameType) program.pushFrame();
|
|
@@ -9986,7 +9986,7 @@ var ReflectionTransformer = class {
|
|
|
9986
9986
|
}
|
|
9987
9987
|
/**
|
|
9988
9988
|
* Emit `{ __meta?: never & [name, value] }` — the runtime shape of `TypeAnnotation<name, value>`.
|
|
9989
|
-
* Consumed later via `typeAnnotation.
|
|
9989
|
+
* Consumed later via `typeAnnotation.getForName(type, name)`.
|
|
9990
9990
|
*/
|
|
9991
9991
|
emitTypeAnnotation(program, name, value) {
|
|
9992
9992
|
program.pushFrame();
|
|
@@ -10110,7 +10110,7 @@ const declarationTransformer = function deepkitDeclarationTransformer(context) {
|
|
|
10110
10110
|
};
|
|
10111
10111
|
|
|
10112
10112
|
//#endregion
|
|
10113
|
-
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=
|
|
10113
|
+
//#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
|
|
10114
10114
|
var DeepkitLoader = class {
|
|
10115
10115
|
constructor() {
|
|
10116
10116
|
this.options = {
|
|
@@ -10153,4 +10153,4 @@ var DeepkitLoader = class {
|
|
|
10153
10153
|
|
|
10154
10154
|
//#endregion
|
|
10155
10155
|
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 };
|
|
10156
|
-
//# sourceMappingURL=deepkit-
|
|
10156
|
+
//# sourceMappingURL=deepkit-DzjNJe42.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deepkit-DzjNJe42.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-BiQwD8ud.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_6a684e66d4b3cbae9668be2ba2ab89f2/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_6a684e66d4b3cbae9668be2ba2ab89f2/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_6a684e66d4b3cbae9668be2ba2ab89f2/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_6a684e66d4b3cbae9668be2ba2ab89f2/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_6a684e66d4b3cbae9668be2ba2ab89f2/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
|
/**
|
|
@@ -389,7 +389,7 @@ declare class ReflectionTransformer implements CustomTransformer {
|
|
|
389
389
|
protected wrapWithAssignType(fn: Expression, type: Expression): ts.CallExpression;
|
|
390
390
|
/**
|
|
391
391
|
* Emit `{ __meta?: never & [name, value] }` — the runtime shape of `TypeAnnotation<name, value>`.
|
|
392
|
-
* Consumed later via `typeAnnotation.
|
|
392
|
+
* Consumed later via `typeAnnotation.getForName(type, name)`.
|
|
393
393
|
*/
|
|
394
394
|
protected emitTypeAnnotation(program: CompilerProgram, name: string, value: JSDocTagValue): void;
|
|
395
395
|
protected collectJSDocAnnotations(node: Node | undefined): {
|
|
@@ -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_6a684e66d4b3cbae9668be2ba2ab89f2/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_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/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;I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KAWU,WAAW;;;;;;;;;KAUX,YAAY;;;;;;;;;KAUZ,gBAAgB,oBAAoB,kCAE9C;;;;;;;;;KAWU,iBAAiB,oBAAoB,mCAE/C;;;;;;;;;KAWU,cAAc,oBAAoB,gCAE5C"}
|
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_6a684e66d4b3cbae9668be2ba2ab89f2/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_6a684e66d4b3cbae9668be2ba2ab89f2/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_6a684e66d4b3cbae9668be2ba2ab89f2/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_6a684e66d4b3cbae9668be2ba2ab89f2/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_6a684e66d4b3cbae9668be2ba2ab89f2/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
|
/**
|
|
@@ -389,7 +389,7 @@ declare class ReflectionTransformer implements CustomTransformer {
|
|
|
389
389
|
protected wrapWithAssignType(fn: Expression, type: Expression): ts.CallExpression;
|
|
390
390
|
/**
|
|
391
391
|
* Emit `{ __meta?: never & [name, value] }` — the runtime shape of `TypeAnnotation<name, value>`.
|
|
392
|
-
* Consumed later via `typeAnnotation.
|
|
392
|
+
* Consumed later via `typeAnnotation.getForName(type, name)`.
|
|
393
393
|
*/
|
|
394
394
|
protected emitTypeAnnotation(program: CompilerProgram, name: string, value: JSDocTagValue): void;
|
|
395
395
|
protected collectJSDocAnnotations(node: Node | undefined): {
|
|
@@ -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_6a684e66d4b3cbae9668be2ba2ab89f2/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_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_6a684e66d4b3cbae9668be2ba2ab89f2/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-DzjNJe42.mjs";
|
|
2
2
|
|
|
3
3
|
export { Cache, DeclarationTransformer, DeepkitLoader, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer };
|
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
const require_rolldown_runtime = require('./rolldown-runtime-fl3r8ClO.cjs');
|
|
3
3
|
const require_constants = require('./constants-CEmLvTDd.cjs');
|
|
4
4
|
const require_helpers = require('./helpers-DVg8wtqZ.cjs');
|
|
5
|
-
const require_deepkit = require('./deepkit-
|
|
5
|
+
const require_deepkit = require('./deepkit-BiQwD8ud.cjs');
|
|
6
6
|
const require_codegen = require('./codegen.cjs');
|
|
7
7
|
const require_storage = require('./storage-C8Lnl5Hw.cjs');
|
|
8
8
|
let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-DzjNJe42.mjs";
|
|
2
2
|
import { a as JsonSchemaTypeNames, c as SCHEMA_SINGLE_KEYWORDS, i as JSON_SCHEMA_TYPES, n as JSON_SCHEMA_METADATA_KEYS, o as SCHEMA_ARRAY_CONCAT_KEYWORDS, r as JSON_SCHEMA_PRIMITIVE_TYPES, s as SCHEMA_RECORD_KEYWORDS, t as JSON_SCHEMA_CONSTRUCTOR_KEY } from "./constants-BlppSDwG.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-_8ADIMSN.mjs";
|
|
4
4
|
import { getJsonSchemaType } from "./codegen.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@power-plant/schema",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.43",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Power Plant utility package to help managing schemas.",
|
|
6
6
|
"keywords": [
|
|
@@ -160,9 +160,9 @@
|
|
|
160
160
|
},
|
|
161
161
|
"devDependencies": {
|
|
162
162
|
"@deepkit/type-compiler": "1.0.19",
|
|
163
|
-
"@powerlines/plugin-tsdown": "^0.1.
|
|
163
|
+
"@powerlines/plugin-tsdown": "^0.1.563",
|
|
164
164
|
"@types/node": "^25.9.5",
|
|
165
|
-
"powerlines": "^0.47.
|
|
165
|
+
"powerlines": "^0.47.162",
|
|
166
166
|
"valibot": "^1.4.2",
|
|
167
167
|
"zod": "^4.4.3"
|
|
168
168
|
},
|
|
@@ -187,5 +187,5 @@
|
|
|
187
187
|
"picomatch": "2.3.2",
|
|
188
188
|
"to-regex-range": "5.0.1"
|
|
189
189
|
},
|
|
190
|
-
"gitHead": "
|
|
190
|
+
"gitHead": "4c640e0f8d2afdf51154ce764d66ad53fa25ef6b"
|
|
191
191
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deepkit-h4w2bXJ2.mjs","names":[],"sources":[],"mappings":""}
|