@power-plant/schema 0.0.39 → 0.0.41
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/codegen.cjs +1 -1
- package/dist/codegen.d.cts +1 -1
- package/dist/codegen.d.mts +1 -1
- package/dist/deepkit-DPc7jHOL.cjs +10186 -0
- package/dist/deepkit-h4w2bXJ2.mjs +10156 -0
- package/dist/deepkit-h4w2bXJ2.mjs.map +1 -0
- package/dist/deepkit.cjs +11 -19
- package/dist/deepkit.d.cts +644 -1
- package/dist/deepkit.d.cts.map +1 -0
- package/dist/deepkit.d.mts +644 -1
- package/dist/deepkit.d.mts.map +1 -0
- package/dist/deepkit.mjs +2 -44
- package/dist/{helpers-Hae4JIm0.cjs → helpers-DVg8wtqZ.cjs} +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +4 -4
- package/dist/{rolldown-runtime-BbWMFyz5.cjs → rolldown-runtime-fl3r8ClO.cjs} +3 -22
- package/dist/storage/index.cjs +1 -1
- package/dist/{storage-C1R3j1aG.cjs → storage-C8Lnl5Hw.cjs} +1 -1
- package/dist/{types-BH-Q7QrB.d.cts → types-BxZqs7PE.d.mts} +4 -4
- package/dist/types-BxZqs7PE.d.mts.map +1 -0
- package/dist/{types-BrSNvUQg.d.mts → types-cHmdUpGz.d.cts} +4 -4
- package/dist/{types-BH-Q7QrB.d.cts.map → types-cHmdUpGz.d.cts.map} +1 -1
- package/dist/valibot.cjs +1 -1
- package/dist/valibot.d.cts +1 -1
- package/dist/valibot.d.mts +1 -1
- package/dist/zod.cjs +2 -2
- package/dist/zod.d.cts +1 -1
- package/dist/zod.d.mts +1 -1
- package/package.json +16 -4
- package/dist/deepkit.mjs.map +0 -1
- package/dist/types-BrSNvUQg.d.mts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('./rolldown-runtime-
|
|
1
|
+
const require_rolldown_runtime = require('./rolldown-runtime-fl3r8ClO.cjs');
|
|
2
2
|
const require_constants = require('./constants-CEmLvTDd.cjs');
|
|
3
3
|
let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
|
4
4
|
let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_rolldown_runtime = require('./rolldown-runtime-
|
|
2
|
+
const require_rolldown_runtime = require('./rolldown-runtime-fl3r8ClO.cjs');
|
|
3
3
|
const require_constants = require('./constants-CEmLvTDd.cjs');
|
|
4
|
-
const require_helpers = require('./helpers-
|
|
5
|
-
const require_deepkit = require('./deepkit.cjs');
|
|
4
|
+
const require_helpers = require('./helpers-DVg8wtqZ.cjs');
|
|
5
|
+
const require_deepkit = require('./deepkit-DPc7jHOL.cjs');
|
|
6
6
|
const require_codegen = require('./codegen.cjs');
|
|
7
|
-
const require_storage = require('./storage-
|
|
7
|
+
const require_storage = require('./storage-C8Lnl5Hw.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");
|
|
@@ -882,7 +882,7 @@ function extractSource(variant, input) {
|
|
|
882
882
|
};
|
|
883
883
|
throw new Error(`Failed to extract source information from the provided input. The input must be a Zod schema, a Standard JSON Schema, a JSON Schema object, an untyped schema, or a reflected Deepkit Type object.`);
|
|
884
884
|
}
|
|
885
|
-
const deepkitCache = new require_deepkit.
|
|
885
|
+
const deepkitCache = new require_deepkit.Cache();
|
|
886
886
|
function rewriteTypeOnlyImports(source) {
|
|
887
887
|
return source.replaceAll(/\bimport\s+type\s+/g, "import ").replaceAll(/\bexport\s+type\s+\*\s+from/g, "export * from").replaceAll(/\bexport\s+type\s+\{/g, "export {");
|
|
888
888
|
}
|
|
@@ -926,8 +926,8 @@ function transpileWithDeepkit(code, fileName, options) {
|
|
|
926
926
|
compilerOptions: getCompilerOptions(options),
|
|
927
927
|
fileName,
|
|
928
928
|
transformers: {
|
|
929
|
-
before: [(context) => new require_deepkit.
|
|
930
|
-
after: [(context) => new require_deepkit.
|
|
929
|
+
before: [(context) => new require_deepkit.ReflectionTransformer(context, deepkitCache).withReflection(reflectionConfig)],
|
|
930
|
+
after: [(context) => new require_deepkit.DeclarationTransformer(context, deepkitCache).withReflection(reflectionConfig)]
|
|
931
931
|
}
|
|
932
932
|
});
|
|
933
933
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as SchemaEnvelopeOf, A as JsonSchemaNullable, B as JsonSchemaSchemaSource, C as JsonSchemaLiteral, D as JsonSchemaNativeEnum, E as JsonSchemaMetadataKeywords, F as JsonSchemaPrimitiveType, G as JsonSchemaType, H as JsonSchemaString, I as JsonSchemaPrimitiveUnion, J as JsonSchemaUnknown, K as JsonSchemaUndefined, L as JsonSchemaRecord, M as JsonSchemaNumberFormat, N as JsonSchemaObject, O as JsonSchemaNever, P as JsonSchemaOf, Q as SchemaEnvelope, R as JsonSchemaRecordPropertyNames, S as JsonSchemaLike, T as JsonSchemaMap, U as JsonSchemaStringFormat, V as JsonSchemaSet, W as JsonSchemaTuple, X as SchemaConfig, Y as ReflectionSchemaSource, Z as SchemaConfigVariant, _ as JsonSchemaFunction, _t as SCHEMA_RECORD_KEYWORDS, a as JsonSchema, at as UntypedConfigObject, b as JsonSchemaIntegerFormat, c as JsonSchemaAnyOf, ct as ValibotSchema, d as JsonSchemaBoolean, dt as JSON_SCHEMA_CONSTRUCTOR_KEY, et as SchemaSource, f as JsonSchemaConditionalKeywords, ft as JSON_SCHEMA_METADATA_KEYS, g as JsonSchemaEnum, gt as SCHEMA_ARRAY_CONCAT_KEYWORDS, h as JsonSchemaDecimalFormat, ht as JsonSchemaTypeNames, i as InferExtractOptions, it as StandardSchemaSchemaSource, j as JsonSchemaNumber, k as JsonSchemaNull, l as JsonSchemaArray, lt as ValibotSchemaSource, m as JsonSchemaDecimal, mt as JSON_SCHEMA_TYPES, n as BaseSchemaSource, nt as SchemaSourceVariant, o as JsonSchemaAllOf, ot as UntypedSchema, p as JsonSchemaDate, pt as JSON_SCHEMA_PRIMITIVE_TYPES, q as JsonSchemaUnion, r as ExtractedSchemaEnvelope, rt as SpecOf, s as JsonSchemaAny, st as UntypedSchemaSource, t as BaseExtractOptions, tt as SchemaSourceConfig, u as JsonSchemaBigint, ut as Zod3SchemaSource, v as JsonSchemaFunctionParameter, vt as SCHEMA_SINGLE_KEYWORDS, w as JsonSchemaLogicKeywords, x as JsonSchemaKeywords, y as JsonSchemaInteger, z as JsonSchemaRef } from "./types-
|
|
1
|
+
import { $ as SchemaEnvelopeOf, A as JsonSchemaNullable, B as JsonSchemaSchemaSource, C as JsonSchemaLiteral, D as JsonSchemaNativeEnum, E as JsonSchemaMetadataKeywords, F as JsonSchemaPrimitiveType, G as JsonSchemaType, H as JsonSchemaString, I as JsonSchemaPrimitiveUnion, J as JsonSchemaUnknown, K as JsonSchemaUndefined, L as JsonSchemaRecord, M as JsonSchemaNumberFormat, N as JsonSchemaObject, O as JsonSchemaNever, P as JsonSchemaOf, Q as SchemaEnvelope, R as JsonSchemaRecordPropertyNames, S as JsonSchemaLike, T as JsonSchemaMap, U as JsonSchemaStringFormat, V as JsonSchemaSet, W as JsonSchemaTuple, X as SchemaConfig, Y as ReflectionSchemaSource, Z as SchemaConfigVariant, _ as JsonSchemaFunction, _t as SCHEMA_RECORD_KEYWORDS, a as JsonSchema, at as UntypedConfigObject, b as JsonSchemaIntegerFormat, c as JsonSchemaAnyOf, ct as ValibotSchema, d as JsonSchemaBoolean, dt as JSON_SCHEMA_CONSTRUCTOR_KEY, et as SchemaSource, f as JsonSchemaConditionalKeywords, ft as JSON_SCHEMA_METADATA_KEYS, g as JsonSchemaEnum, gt as SCHEMA_ARRAY_CONCAT_KEYWORDS, h as JsonSchemaDecimalFormat, ht as JsonSchemaTypeNames, i as InferExtractOptions, it as StandardSchemaSchemaSource, j as JsonSchemaNumber, k as JsonSchemaNull, l as JsonSchemaArray, lt as ValibotSchemaSource, m as JsonSchemaDecimal, mt as JSON_SCHEMA_TYPES, n as BaseSchemaSource, nt as SchemaSourceVariant, o as JsonSchemaAllOf, ot as UntypedSchema, p as JsonSchemaDate, pt as JSON_SCHEMA_PRIMITIVE_TYPES, q as JsonSchemaUnion, r as ExtractedSchemaEnvelope, rt as SpecOf, s as JsonSchemaAny, st as UntypedSchemaSource, t as BaseExtractOptions, tt as SchemaSourceConfig, u as JsonSchemaBigint, ut as Zod3SchemaSource, v as JsonSchemaFunctionParameter, vt as SCHEMA_SINGLE_KEYWORDS, w as JsonSchemaLogicKeywords, x as JsonSchemaKeywords, y as JsonSchemaInteger, z as JsonSchemaRef } from "./types-cHmdUpGz.cjs";
|
|
2
2
|
import { n as createStoragePromises, r as normalizeKey, t as mapStorageToFileSystem } from "./index-ldf5lukz.cjs";
|
|
3
3
|
import { Type } from "@deepkit/type";
|
|
4
4
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as SchemaEnvelopeOf, A as JsonSchemaNullable, B as JsonSchemaSchemaSource, C as JsonSchemaLiteral, D as JsonSchemaNativeEnum, E as JsonSchemaMetadataKeywords, F as JsonSchemaPrimitiveType, G as JsonSchemaType, H as JsonSchemaString, I as JsonSchemaPrimitiveUnion, J as JsonSchemaUnknown, K as JsonSchemaUndefined, L as JsonSchemaRecord, M as JsonSchemaNumberFormat, N as JsonSchemaObject, O as JsonSchemaNever, P as JsonSchemaOf, Q as SchemaEnvelope, R as JsonSchemaRecordPropertyNames, S as JsonSchemaLike, T as JsonSchemaMap, U as JsonSchemaStringFormat, V as JsonSchemaSet, W as JsonSchemaTuple, X as SchemaConfig, Y as ReflectionSchemaSource, Z as SchemaConfigVariant, _ as JsonSchemaFunction, _t as SCHEMA_RECORD_KEYWORDS, a as JsonSchema, at as UntypedConfigObject, b as JsonSchemaIntegerFormat, c as JsonSchemaAnyOf, ct as ValibotSchema, d as JsonSchemaBoolean, dt as JSON_SCHEMA_CONSTRUCTOR_KEY, et as SchemaSource, f as JsonSchemaConditionalKeywords, ft as JSON_SCHEMA_METADATA_KEYS, g as JsonSchemaEnum, gt as SCHEMA_ARRAY_CONCAT_KEYWORDS, h as JsonSchemaDecimalFormat, ht as JsonSchemaTypeNames, i as InferExtractOptions, it as StandardSchemaSchemaSource, j as JsonSchemaNumber, k as JsonSchemaNull, l as JsonSchemaArray, lt as ValibotSchemaSource, m as JsonSchemaDecimal, mt as JSON_SCHEMA_TYPES, n as BaseSchemaSource, nt as SchemaSourceVariant, o as JsonSchemaAllOf, ot as UntypedSchema, p as JsonSchemaDate, pt as JSON_SCHEMA_PRIMITIVE_TYPES, q as JsonSchemaUnion, r as ExtractedSchemaEnvelope, rt as SpecOf, s as JsonSchemaAny, st as UntypedSchemaSource, t as BaseExtractOptions, tt as SchemaSourceConfig, u as JsonSchemaBigint, ut as Zod3SchemaSource, v as JsonSchemaFunctionParameter, vt as SCHEMA_SINGLE_KEYWORDS, w as JsonSchemaLogicKeywords, x as JsonSchemaKeywords, y as JsonSchemaInteger, z as JsonSchemaRef } from "./types-
|
|
1
|
+
import { $ as SchemaEnvelopeOf, A as JsonSchemaNullable, B as JsonSchemaSchemaSource, C as JsonSchemaLiteral, D as JsonSchemaNativeEnum, E as JsonSchemaMetadataKeywords, F as JsonSchemaPrimitiveType, G as JsonSchemaType, H as JsonSchemaString, I as JsonSchemaPrimitiveUnion, J as JsonSchemaUnknown, K as JsonSchemaUndefined, L as JsonSchemaRecord, M as JsonSchemaNumberFormat, N as JsonSchemaObject, O as JsonSchemaNever, P as JsonSchemaOf, Q as SchemaEnvelope, R as JsonSchemaRecordPropertyNames, S as JsonSchemaLike, T as JsonSchemaMap, U as JsonSchemaStringFormat, V as JsonSchemaSet, W as JsonSchemaTuple, X as SchemaConfig, Y as ReflectionSchemaSource, Z as SchemaConfigVariant, _ as JsonSchemaFunction, _t as SCHEMA_RECORD_KEYWORDS, a as JsonSchema, at as UntypedConfigObject, b as JsonSchemaIntegerFormat, c as JsonSchemaAnyOf, ct as ValibotSchema, d as JsonSchemaBoolean, dt as JSON_SCHEMA_CONSTRUCTOR_KEY, et as SchemaSource, f as JsonSchemaConditionalKeywords, ft as JSON_SCHEMA_METADATA_KEYS, g as JsonSchemaEnum, gt as SCHEMA_ARRAY_CONCAT_KEYWORDS, h as JsonSchemaDecimalFormat, ht as JsonSchemaTypeNames, i as InferExtractOptions, it as StandardSchemaSchemaSource, j as JsonSchemaNumber, k as JsonSchemaNull, l as JsonSchemaArray, lt as ValibotSchemaSource, m as JsonSchemaDecimal, mt as JSON_SCHEMA_TYPES, n as BaseSchemaSource, nt as SchemaSourceVariant, o as JsonSchemaAllOf, ot as UntypedSchema, p as JsonSchemaDate, pt as JSON_SCHEMA_PRIMITIVE_TYPES, q as JsonSchemaUnion, r as ExtractedSchemaEnvelope, rt as SpecOf, s as JsonSchemaAny, st as UntypedSchemaSource, t as BaseExtractOptions, tt as SchemaSourceConfig, u as JsonSchemaBigint, ut as Zod3SchemaSource, v as JsonSchemaFunctionParameter, vt as SCHEMA_SINGLE_KEYWORDS, w as JsonSchemaLogicKeywords, x as JsonSchemaKeywords, y as JsonSchemaInteger, z as JsonSchemaRef } from "./types-BxZqs7PE.mjs";
|
|
2
2
|
import { n as createStoragePromises, r as normalizeKey, t as mapStorageToFileSystem } from "./index-C7q4X7Bo.mjs";
|
|
3
3
|
import { Type } from "@deepkit/type";
|
|
4
4
|
import { BaseSchema } from "valibot";
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { i as ReflectionTransformer, n as Cache, r as DeclarationTransformer } from "./deepkit-h4w2bXJ2.mjs";
|
|
1
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";
|
|
2
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";
|
|
3
|
-
import { t as deepkit_exports } from "./deepkit.mjs";
|
|
4
4
|
import { getJsonSchemaType } from "./codegen.mjs";
|
|
5
5
|
import { n as createStoragePromises, r as normalizeKey, t as mapStorageToFileSystem } from "./storage-C3BT2Xh-.mjs";
|
|
6
6
|
import { isSetObject } from "@stryke/type-checks/is-set-object";
|
|
@@ -878,7 +878,7 @@ function extractSource(variant, input) {
|
|
|
878
878
|
};
|
|
879
879
|
throw new Error(`Failed to extract source information from the provided input. The input must be a Zod schema, a Standard JSON Schema, a JSON Schema object, an untyped schema, or a reflected Deepkit Type object.`);
|
|
880
880
|
}
|
|
881
|
-
const deepkitCache = new
|
|
881
|
+
const deepkitCache = new Cache();
|
|
882
882
|
function rewriteTypeOnlyImports(source) {
|
|
883
883
|
return source.replaceAll(/\bimport\s+type\s+/g, "import ").replaceAll(/\bexport\s+type\s+\*\s+from/g, "export * from").replaceAll(/\bexport\s+type\s+\{/g, "export {");
|
|
884
884
|
}
|
|
@@ -922,8 +922,8 @@ function transpileWithDeepkit(code, fileName, options) {
|
|
|
922
922
|
compilerOptions: getCompilerOptions(options),
|
|
923
923
|
fileName,
|
|
924
924
|
transformers: {
|
|
925
|
-
before: [(context) => new
|
|
926
|
-
after: [(context) => new
|
|
925
|
+
before: [(context) => new ReflectionTransformer(context, deepkitCache).withReflection(reflectionConfig)],
|
|
926
|
+
after: [(context) => new DeclarationTransformer(context, deepkitCache).withReflection(reflectionConfig)]
|
|
927
927
|
}
|
|
928
928
|
});
|
|
929
929
|
}
|
|
@@ -5,19 +5,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var
|
|
9
|
-
let target = {};
|
|
10
|
-
for (var name in all) {
|
|
11
|
-
__defProp(target, name, {
|
|
12
|
-
get: all[name],
|
|
13
|
-
enumerable: true
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
if (!no_symbols) {
|
|
17
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
18
|
-
}
|
|
19
|
-
return target;
|
|
20
|
-
};
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
21
9
|
var __copyProps = (to, from, except, desc) => {
|
|
22
10
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
23
11
|
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
@@ -32,7 +20,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
32
20
|
}
|
|
33
21
|
return to;
|
|
34
22
|
};
|
|
35
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
36
23
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
37
24
|
value: mod,
|
|
38
25
|
enumerable: true
|
|
@@ -40,16 +27,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
40
27
|
|
|
41
28
|
//#endregion
|
|
42
29
|
|
|
43
|
-
Object.defineProperty(exports, '
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () {
|
|
46
|
-
return __exportAll;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(exports, '__reExport', {
|
|
30
|
+
Object.defineProperty(exports, '__commonJSMin', {
|
|
50
31
|
enumerable: true,
|
|
51
32
|
get: function () {
|
|
52
|
-
return
|
|
33
|
+
return __commonJSMin;
|
|
53
34
|
}
|
|
54
35
|
});
|
|
55
36
|
Object.defineProperty(exports, '__toESM', {
|
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-C8Lnl5Hw.cjs');
|
|
3
3
|
|
|
4
4
|
exports.createStoragePromises = require_storage.createStoragePromises;
|
|
5
5
|
exports.mapStorageToFileSystem = require_storage.mapStorageToFileSystem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('./rolldown-runtime-
|
|
1
|
+
const require_rolldown_runtime = require('./rolldown-runtime-fl3r8ClO.cjs');
|
|
2
2
|
let node_events = require("node:events");
|
|
3
3
|
let node_fs = require("node:fs");
|
|
4
4
|
node_fs = require_rolldown_runtime.__toESM(node_fs, 1);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReceiveType, Type } from "@deepkit/type";
|
|
2
|
+
import { BaseIssue, BaseSchema } from "valibot";
|
|
2
3
|
import { StandardJSONSchemaV1 } from "@standard-schema/spec";
|
|
3
4
|
import { InferLoadOptions, LoadReference } from "@stryke/resolve/types";
|
|
4
5
|
import { Storage } from "unstorage";
|
|
5
6
|
import { InputObject, Schema } from "untyped";
|
|
6
|
-
import { BaseIssue, BaseSchema } from "valibot";
|
|
7
7
|
import * as z3 from "zod/v3";
|
|
8
8
|
//#region src/constants.d.ts
|
|
9
9
|
declare const JsonSchemaTypeNames: {
|
|
@@ -1292,7 +1292,7 @@ interface Logger {
|
|
|
1292
1292
|
warn: (message: string) => void;
|
|
1293
1293
|
error: (message: string) => void;
|
|
1294
1294
|
}
|
|
1295
|
-
|
|
1295
|
+
interface BaseExtractOptions {
|
|
1296
1296
|
/**
|
|
1297
1297
|
* An optional storage instance to use for caching schema extraction results. If provided, the storage instance will be used to store and retrieve cached schema extraction results, which can improve performance by avoiding redundant schema extraction operations. If not provided, the default storage mechanism will be used.
|
|
1298
1298
|
*/
|
|
@@ -1317,7 +1317,7 @@ type BaseExtractOptions = {
|
|
|
1317
1317
|
* An optional list of paths to exclude from the reflection.
|
|
1318
1318
|
*/
|
|
1319
1319
|
exclude?: string[];
|
|
1320
|
-
}
|
|
1320
|
+
}
|
|
1321
1321
|
type InferExtractOptions<T extends SchemaConfig> = (T extends LoadReference ? Omit<InferLoadOptions<T>, "fs"> : {}) & BaseExtractOptions;
|
|
1322
1322
|
/**
|
|
1323
1323
|
* A schema envelope that contains the normalized schema and its source variant.
|
|
@@ -1450,4 +1450,4 @@ declare module "zod" {
|
|
|
1450
1450
|
}
|
|
1451
1451
|
//#endregion
|
|
1452
1452
|
export { SchemaEnvelopeOf as $, JsonSchemaNullable as A, JsonSchemaSchemaSource as B, JsonSchemaLiteral as C, JsonSchemaNativeEnum as D, JsonSchemaMetadataKeywords as E, JsonSchemaPrimitiveType as F, JsonSchemaType as G, JsonSchemaString as H, JsonSchemaPrimitiveUnion as I, JsonSchemaUnknown as J, JsonSchemaUndefined as K, JsonSchemaRecord as L, JsonSchemaNumberFormat as M, JsonSchemaObject as N, JsonSchemaNever as O, JsonSchemaOf as P, SchemaEnvelope as Q, JsonSchemaRecordPropertyNames as R, JsonSchemaLike as S, JsonSchemaMap as T, JsonSchemaStringFormat as U, JsonSchemaSet as V, JsonSchemaTuple as W, SchemaConfig as X, ReflectionSchemaSource as Y, SchemaConfigVariant as Z, JsonSchemaFunction as _, SCHEMA_RECORD_KEYWORDS as _t, JsonSchema as a, UntypedConfigObject as at, JsonSchemaIntegerFormat as b, JsonSchemaAnyOf as c, ValibotSchema as ct, JsonSchemaBoolean as d, JSON_SCHEMA_CONSTRUCTOR_KEY as dt, SchemaSource as et, JsonSchemaConditionalKeywords as f, JSON_SCHEMA_METADATA_KEYS as ft, JsonSchemaEnum as g, SCHEMA_ARRAY_CONCAT_KEYWORDS as gt, JsonSchemaDecimalFormat as h, JsonSchemaTypeNames as ht, InferExtractOptions as i, StandardSchemaSchemaSource as it, JsonSchemaNumber as j, JsonSchemaNull as k, JsonSchemaArray as l, ValibotSchemaSource as lt, JsonSchemaDecimal as m, JSON_SCHEMA_TYPES as mt, BaseSchemaSource as n, SchemaSourceVariant as nt, JsonSchemaAllOf as o, UntypedSchema as ot, JsonSchemaDate as p, JSON_SCHEMA_PRIMITIVE_TYPES as pt, JsonSchemaUnion as q, ExtractedSchemaEnvelope as r, SpecOf as rt, JsonSchemaAny as s, UntypedSchemaSource as st, BaseExtractOptions as t, SchemaSourceConfig as tt, JsonSchemaBigint as u, Zod3SchemaSource as ut, JsonSchemaFunctionParameter as v, SCHEMA_SINGLE_KEYWORDS as vt, JsonSchemaLogicKeywords as w, JsonSchemaKeywords as x, JsonSchemaInteger as y, JsonSchemaRef as z };
|
|
1453
|
-
//# sourceMappingURL=types-
|
|
1453
|
+
//# sourceMappingURL=types-BxZqs7PE.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-BxZqs7PE.d.mts","names":[],"sources":["../src/constants.ts","../src/types.ts"],"mappings":""}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReceiveType, Type } from "@deepkit/type";
|
|
2
|
-
import { BaseIssue, BaseSchema } from "valibot";
|
|
3
2
|
import { StandardJSONSchemaV1 } from "@standard-schema/spec";
|
|
4
3
|
import { InferLoadOptions, LoadReference } from "@stryke/resolve/types";
|
|
5
4
|
import { Storage } from "unstorage";
|
|
6
5
|
import { InputObject, Schema } from "untyped";
|
|
6
|
+
import { BaseIssue, BaseSchema } from "valibot";
|
|
7
7
|
import * as z3 from "zod/v3";
|
|
8
8
|
//#region src/constants.d.ts
|
|
9
9
|
declare const JsonSchemaTypeNames: {
|
|
@@ -1292,7 +1292,7 @@ interface Logger {
|
|
|
1292
1292
|
warn: (message: string) => void;
|
|
1293
1293
|
error: (message: string) => void;
|
|
1294
1294
|
}
|
|
1295
|
-
|
|
1295
|
+
interface BaseExtractOptions {
|
|
1296
1296
|
/**
|
|
1297
1297
|
* An optional storage instance to use for caching schema extraction results. If provided, the storage instance will be used to store and retrieve cached schema extraction results, which can improve performance by avoiding redundant schema extraction operations. If not provided, the default storage mechanism will be used.
|
|
1298
1298
|
*/
|
|
@@ -1317,7 +1317,7 @@ type BaseExtractOptions = {
|
|
|
1317
1317
|
* An optional list of paths to exclude from the reflection.
|
|
1318
1318
|
*/
|
|
1319
1319
|
exclude?: string[];
|
|
1320
|
-
}
|
|
1320
|
+
}
|
|
1321
1321
|
type InferExtractOptions<T extends SchemaConfig> = (T extends LoadReference ? Omit<InferLoadOptions<T>, "fs"> : {}) & BaseExtractOptions;
|
|
1322
1322
|
/**
|
|
1323
1323
|
* A schema envelope that contains the normalized schema and its source variant.
|
|
@@ -1450,4 +1450,4 @@ declare module "zod" {
|
|
|
1450
1450
|
}
|
|
1451
1451
|
//#endregion
|
|
1452
1452
|
export { SchemaEnvelopeOf as $, JsonSchemaNullable as A, JsonSchemaSchemaSource as B, JsonSchemaLiteral as C, JsonSchemaNativeEnum as D, JsonSchemaMetadataKeywords as E, JsonSchemaPrimitiveType as F, JsonSchemaType as G, JsonSchemaString as H, JsonSchemaPrimitiveUnion as I, JsonSchemaUnknown as J, JsonSchemaUndefined as K, JsonSchemaRecord as L, JsonSchemaNumberFormat as M, JsonSchemaObject as N, JsonSchemaNever as O, JsonSchemaOf as P, SchemaEnvelope as Q, JsonSchemaRecordPropertyNames as R, JsonSchemaLike as S, JsonSchemaMap as T, JsonSchemaStringFormat as U, JsonSchemaSet as V, JsonSchemaTuple as W, SchemaConfig as X, ReflectionSchemaSource as Y, SchemaConfigVariant as Z, JsonSchemaFunction as _, SCHEMA_RECORD_KEYWORDS as _t, JsonSchema as a, UntypedConfigObject as at, JsonSchemaIntegerFormat as b, JsonSchemaAnyOf as c, ValibotSchema as ct, JsonSchemaBoolean as d, JSON_SCHEMA_CONSTRUCTOR_KEY as dt, SchemaSource as et, JsonSchemaConditionalKeywords as f, JSON_SCHEMA_METADATA_KEYS as ft, JsonSchemaEnum as g, SCHEMA_ARRAY_CONCAT_KEYWORDS as gt, JsonSchemaDecimalFormat as h, JsonSchemaTypeNames as ht, InferExtractOptions as i, StandardSchemaSchemaSource as it, JsonSchemaNumber as j, JsonSchemaNull as k, JsonSchemaArray as l, ValibotSchemaSource as lt, JsonSchemaDecimal as m, JSON_SCHEMA_TYPES as mt, BaseSchemaSource as n, SchemaSourceVariant as nt, JsonSchemaAllOf as o, UntypedSchema as ot, JsonSchemaDate as p, JSON_SCHEMA_PRIMITIVE_TYPES as pt, JsonSchemaUnion as q, ExtractedSchemaEnvelope as r, SpecOf as rt, JsonSchemaAny as s, UntypedSchemaSource as st, BaseExtractOptions as t, SchemaSourceConfig as tt, JsonSchemaBigint as u, Zod3SchemaSource as ut, JsonSchemaFunctionParameter as v, SCHEMA_SINGLE_KEYWORDS as vt, JsonSchemaLogicKeywords as w, JsonSchemaKeywords as x, JsonSchemaInteger as y, JsonSchemaRef as z };
|
|
1453
|
-
//# sourceMappingURL=types-
|
|
1453
|
+
//# sourceMappingURL=types-cHmdUpGz.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-
|
|
1
|
+
{"version":3,"file":"types-cHmdUpGz.d.cts","names":[],"sources":["../src/constants.ts","../src/types.ts"],"mappings":";;;;;;;;cAoBa;;;;;;;;;cAUA;cAQA;cAMA;;;;;;;;;cAkCA;;;;;cAMA,wBAAsB;;;;;cAYtB,wBAAsB;;;;;cAiBtB,8BAA4B;;;;;;;;KC5E7B,kCACF;;;;;;KAOE,yBAAyB;;;;KAKzB;;;;KAaA;;;;KAKA,yBACV,0BAA0B;;;;KAKhB;;;;;;UA6BK;;;;;;;EAOf;;;;;;;EAQA;;;;;;;EAWA,cAAc;;;;;;;EAQd;;;;;;EAOA;;;;;;;;;EAUA,QAAQ,eAAe;;;;;;;;EASvB;;;;;;;EAQA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;IACc;IAAe;IAAsB;;;;;EAMnD;;;;EAKA;;;;EAKA;IAGM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Q,aAAa;;;YAIX;IACR;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;MACc;MAAe;MAAsB;;IACnD;IACA;IACA;IACA;IACA;KACC"}
|
package/dist/valibot.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_rolldown_runtime = require('./rolldown-runtime-
|
|
2
|
+
const require_rolldown_runtime = require('./rolldown-runtime-fl3r8ClO.cjs');
|
|
3
3
|
const require_constants = require('./constants-CEmLvTDd.cjs');
|
|
4
4
|
let valibot = require("valibot");
|
|
5
5
|
valibot = require_rolldown_runtime.__toESM(valibot, 1);
|
package/dist/valibot.d.cts
CHANGED
package/dist/valibot.d.mts
CHANGED
package/dist/zod.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_rolldown_runtime = require('./rolldown-runtime-
|
|
2
|
+
const require_rolldown_runtime = require('./rolldown-runtime-fl3r8ClO.cjs');
|
|
3
3
|
const require_constants = require('./constants-CEmLvTDd.cjs');
|
|
4
|
-
const require_helpers = require('./helpers-
|
|
4
|
+
const require_helpers = require('./helpers-DVg8wtqZ.cjs');
|
|
5
5
|
let _stryke_helpers_deep_clone = require("@stryke/helpers/deep-clone");
|
|
6
6
|
let zod_mini = require("zod/mini");
|
|
7
7
|
zod_mini = require_rolldown_runtime.__toESM(zod_mini, 1);
|
package/dist/zod.d.cts
CHANGED
package/dist/zod.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@power-plant/schema",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.41",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Power Plant utility package to help managing schemas.",
|
|
6
6
|
"keywords": [
|
|
@@ -134,6 +134,7 @@
|
|
|
134
134
|
"dependencies": {
|
|
135
135
|
"@deepkit/core": "^1.0.19",
|
|
136
136
|
"@deepkit/type": "^1.0.19",
|
|
137
|
+
"@deepkit/type-spec": "^1.0.19",
|
|
137
138
|
"@standard-schema/spec": "^1.1.0",
|
|
138
139
|
"@stryke/convert": "^0.7.29",
|
|
139
140
|
"@stryke/date": "^0.0.10",
|
|
@@ -153,13 +154,12 @@
|
|
|
153
154
|
"defu": "^6.1.7",
|
|
154
155
|
"esbuild": "^0.28.1",
|
|
155
156
|
"jiti": "^2.7.0",
|
|
156
|
-
"normalize-path": "^3.0.0",
|
|
157
157
|
"typescript": "^6.0.3",
|
|
158
158
|
"unstorage": "^1.17.5",
|
|
159
159
|
"untyped": "^1.5.2"
|
|
160
160
|
},
|
|
161
161
|
"devDependencies": {
|
|
162
|
-
"@deepkit/type-compiler": "
|
|
162
|
+
"@deepkit/type-compiler": "1.0.19",
|
|
163
163
|
"@powerlines/plugin-tsdown": "^0.1.561",
|
|
164
164
|
"@types/node": "^25.9.5",
|
|
165
165
|
"powerlines": "^0.47.160",
|
|
@@ -175,5 +175,17 @@
|
|
|
175
175
|
"zod": { "optional": true }
|
|
176
176
|
},
|
|
177
177
|
"publishConfig": { "access": "public" },
|
|
178
|
-
"
|
|
178
|
+
"inlinedDependencies": {
|
|
179
|
+
"@deepkit/type-compiler": "1.0.19",
|
|
180
|
+
"@marcj/ts-clone-node": "2.2.0",
|
|
181
|
+
"@typescript/vfs": "1.5.0",
|
|
182
|
+
"braces": "3.0.3",
|
|
183
|
+
"compatfactory": "2.0.9",
|
|
184
|
+
"fill-range": "7.1.1",
|
|
185
|
+
"is-number": "7.0.0",
|
|
186
|
+
"micromatch": "4.0.8",
|
|
187
|
+
"picomatch": "2.3.2",
|
|
188
|
+
"to-regex-range": "5.0.1"
|
|
189
|
+
},
|
|
190
|
+
"gitHead": "16a94546bca9c0bfc084429a02104f4cddb5669d"
|
|
179
191
|
}
|
package/dist/deepkit.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deepkit.mjs","names":[],"sources":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types-BrSNvUQg.d.mts","names":[],"sources":["../src/constants.ts","../src/types.ts"],"mappings":""}
|