limina 0.1.1 → 0.1.3
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/chunks/{dep-BPK-6PAr.js → dep-BT-sPH_d.js} +14 -25
- package/chunks/{dep-C5gcXDHp.js → dep-BizOzD0V.js} +206 -175
- package/chunks/{dep-esXeyN9I.js → dep-CDo4z58I.js} +2 -5
- package/chunks/dep-Tb3jeYdU.js +240 -0
- package/cli.js +2855 -1741
- package/flow-renderer-process.js +25 -35
- package/index.js +2 -3
- package/package.json +2 -2
- package/schemas/tsconfig-schema.json +24 -0
- package/chunks/dep-CuMHuWBQ.js +0 -87
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
|
-
import { existsSync, statSync } from "node:fs";
|
|
2
|
+
import { existsSync, readFileSync, statSync } from "node:fs";
|
|
3
3
|
import ts from "typescript";
|
|
4
4
|
import { pathToFileURL } from "node:url";
|
|
5
|
-
|
|
6
5
|
//#region src/utils/collections.ts
|
|
7
6
|
function uniqueValues(values) {
|
|
8
7
|
return [...new Set(values)];
|
|
@@ -24,7 +23,6 @@ function uniqueSortedStrings(values) {
|
|
|
24
23
|
function uniqueTrimmedNonEmptySortedStrings(values) {
|
|
25
24
|
return uniqueSortedStrings([...values].map((value) => value?.trim()).filter((value) => Boolean(value)));
|
|
26
25
|
}
|
|
27
|
-
|
|
28
26
|
//#endregion
|
|
29
27
|
//#region ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
|
|
30
28
|
let _lazyMatch = () => {
|
|
@@ -273,7 +271,6 @@ const _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
|
|
|
273
271
|
const _ROOT_FOLDER_RE = /^\/([A-Za-z]:)?$/;
|
|
274
272
|
const _EXTNAME_RE = /.(\.[^./]+|\.)$/;
|
|
275
273
|
const _PATH_ROOT_RE = /^[/\\]|^[a-zA-Z]:[/\\]/;
|
|
276
|
-
const sep = "/";
|
|
277
274
|
const normalize = function(path) {
|
|
278
275
|
if (path.length === 0) return ".";
|
|
279
276
|
path = normalizeWindowsPath(path);
|
|
@@ -423,7 +420,7 @@ const basename = function(p, extension) {
|
|
|
423
420
|
}
|
|
424
421
|
return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
|
|
425
422
|
};
|
|
426
|
-
const parse$
|
|
423
|
+
const parse$1 = function(p) {
|
|
427
424
|
const root = _PATH_ROOT_RE.exec(p)?.[0]?.replace(/\\/g, "/") || "";
|
|
428
425
|
const base = basename(p);
|
|
429
426
|
const extension = extname(base);
|
|
@@ -449,16 +446,15 @@ const _path = {
|
|
|
449
446
|
matchesGlob,
|
|
450
447
|
normalize,
|
|
451
448
|
normalizeString,
|
|
452
|
-
parse: parse$
|
|
449
|
+
parse: parse$1,
|
|
453
450
|
relative,
|
|
454
451
|
resolve,
|
|
455
|
-
sep,
|
|
452
|
+
sep: "/",
|
|
456
453
|
toNamespacedPath
|
|
457
454
|
};
|
|
458
|
-
|
|
459
455
|
//#endregion
|
|
460
456
|
//#region ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/index.mjs
|
|
461
|
-
const delimiter = globalThis.process?.platform === "win32" ? ";" : ":";
|
|
457
|
+
const delimiter = /* @__PURE__ */ (() => globalThis.process?.platform === "win32" ? ";" : ":")();
|
|
462
458
|
const _platforms = {
|
|
463
459
|
posix: void 0,
|
|
464
460
|
win32: void 0
|
|
@@ -473,7 +469,6 @@ const mix = (del = delimiter) => {
|
|
|
473
469
|
};
|
|
474
470
|
const posix = /* @__PURE__ */ mix(":");
|
|
475
471
|
const win32 = /* @__PURE__ */ mix(";");
|
|
476
|
-
|
|
477
472
|
//#endregion
|
|
478
473
|
//#region src/utils/module-specifier.ts
|
|
479
474
|
function isRelativeSpecifier(specifier) {
|
|
@@ -491,7 +486,6 @@ function isPackageImportSpecifier(specifier) {
|
|
|
491
486
|
function isBarePackageSpecifier(specifier) {
|
|
492
487
|
return !isRelativeSpecifier(specifier) && !isPackageImportSpecifier(specifier) && !isUrlOrDataOrFileSpecifier(specifier) && !isVirtualModuleSpecifier(specifier) && !posix.isAbsolute(specifier);
|
|
493
488
|
}
|
|
494
|
-
|
|
495
489
|
//#endregion
|
|
496
490
|
//#region src/utils/path.ts
|
|
497
491
|
function toPosixPath(value) {
|
|
@@ -507,12 +501,18 @@ function toRelativePath(rootDir, absolutePath) {
|
|
|
507
501
|
function normalizeSlashes(value) {
|
|
508
502
|
return value.replaceAll("\\", "/");
|
|
509
503
|
}
|
|
504
|
+
function normalizeAbsolutePathIdentity(value) {
|
|
505
|
+
const normalizedPath = normalize(value);
|
|
506
|
+
return normalizedPath.length > 1 && !/^[A-Za-z]:\/$/u.test(normalizedPath) ? normalizedPath.replace(/\/+$/u, "") : normalizedPath;
|
|
507
|
+
}
|
|
510
508
|
function isPathInsideDirectory(filePath, directoryPath) {
|
|
511
|
-
const normalizedFilePath =
|
|
512
|
-
const
|
|
513
|
-
return
|
|
509
|
+
const normalizedFilePath = normalizeComparableAbsolutePath(filePath);
|
|
510
|
+
const relativePath = relative(normalizeComparableAbsolutePath(directoryPath), normalizedFilePath);
|
|
511
|
+
return relativePath.length === 0 || relativePath !== ".." && !relativePath.startsWith("../") && !isAbsolute(relativePath);
|
|
512
|
+
}
|
|
513
|
+
function normalizeComparableAbsolutePath(value) {
|
|
514
|
+
return normalizeAbsolutePathIdentity(isAbsolute(value) ? value : resolve(value));
|
|
514
515
|
}
|
|
515
|
-
|
|
516
516
|
//#endregion
|
|
517
517
|
//#region src/utils/module-resolution.ts
|
|
518
518
|
function pathHasExtension(value) {
|
|
@@ -582,7 +582,6 @@ function getPathsBasePath(compilerOptions) {
|
|
|
582
582
|
if (typeof pathsBasePath === "string") return pathsBasePath;
|
|
583
583
|
return compilerOptions.baseUrl ?? null;
|
|
584
584
|
}
|
|
585
|
-
|
|
586
585
|
//#endregion
|
|
587
586
|
//#region src/checkers.ts
|
|
588
587
|
function getTypeScriptExtensionApi() {
|
|
@@ -798,9 +797,109 @@ function resolveVueProjectExtensionsForChecker(options, packageName) {
|
|
|
798
797
|
return normalizeExtensions([...options.extensions ?? [], ...resolveVueProjectExtensions(options, packageName)]);
|
|
799
798
|
}
|
|
800
799
|
function resolveTypeScriptModuleName(options) {
|
|
800
|
+
return resolveTypeScriptModuleNameDetailed(options)?.resolvedFileName ?? null;
|
|
801
|
+
}
|
|
802
|
+
function resolveTypeScriptModuleNameDetailed(options) {
|
|
801
803
|
const resolved = ts.resolveModuleName(options.specifier, options.containingFile, options.compilerOptions, ts.sys).resolvedModule;
|
|
802
|
-
if (resolved?.resolvedFileName) return
|
|
803
|
-
|
|
804
|
+
if (resolved?.resolvedFileName) return {
|
|
805
|
+
isExternalLibraryImport: resolved.isExternalLibraryImport === true,
|
|
806
|
+
resolvedBy: "typescript",
|
|
807
|
+
resolvedFileName: normalizeAbsolutePath(resolved.resolvedFileName)
|
|
808
|
+
};
|
|
809
|
+
return resolveCheckerExtensionModuleName(options);
|
|
810
|
+
}
|
|
811
|
+
function resolveCheckerExtensionModuleName(options) {
|
|
812
|
+
const typeScriptExtensions = new Set(getTypeScriptCheckerExtensions());
|
|
813
|
+
const checkerOnlyExtensions = options.extensions.filter((extension) => !typeScriptExtensions.has(extension));
|
|
814
|
+
if (checkerOnlyExtensions.length === 0) return null;
|
|
815
|
+
const resolvedFileName = resolveRelativeModuleCandidate({
|
|
816
|
+
containingFile: options.containingFile,
|
|
817
|
+
extensions: checkerOnlyExtensions,
|
|
818
|
+
specifier: options.specifier
|
|
819
|
+
}) ?? resolvePathMappedModuleCandidate({
|
|
820
|
+
compilerOptions: options.compilerOptions,
|
|
821
|
+
extensions: checkerOnlyExtensions,
|
|
822
|
+
specifier: options.specifier
|
|
823
|
+
}) ?? resolvePackageExportModuleCandidate({
|
|
824
|
+
containingFile: options.containingFile,
|
|
825
|
+
extensions: checkerOnlyExtensions,
|
|
826
|
+
specifier: options.specifier
|
|
827
|
+
});
|
|
828
|
+
return resolvedFileName ? {
|
|
829
|
+
isExternalLibraryImport: false,
|
|
830
|
+
resolvedBy: "checker-extension",
|
|
831
|
+
resolvedFileName
|
|
832
|
+
} : null;
|
|
833
|
+
}
|
|
834
|
+
function resolvePackageExportModuleCandidate(options) {
|
|
835
|
+
const specifierParts = parsePackageSpecifier(options.specifier);
|
|
836
|
+
if (!specifierParts) return null;
|
|
837
|
+
const packageDirectory = findPackageDirectoryForImport({
|
|
838
|
+
containingFile: options.containingFile,
|
|
839
|
+
packageName: specifierParts.packageName
|
|
840
|
+
});
|
|
841
|
+
if (!packageDirectory) return null;
|
|
842
|
+
const targets = collectExportTargetsForSubpath(readPackageManifest(packageDirectory)?.exports, specifierParts.subpath);
|
|
843
|
+
for (const target of targets) {
|
|
844
|
+
if (!target.startsWith("./")) continue;
|
|
845
|
+
const targetPath = posix.resolve(packageDirectory, target.slice(2));
|
|
846
|
+
for (const candidatePath of candidatePathsForBasePath(targetPath, options.extensions)) {
|
|
847
|
+
const resolvedPath = resolveExistingFilePath(candidatePath);
|
|
848
|
+
if (resolvedPath) return resolvedPath;
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
return null;
|
|
852
|
+
}
|
|
853
|
+
function parsePackageSpecifier(specifier) {
|
|
854
|
+
if (specifier.length === 0 || specifier.startsWith(".") || specifier.startsWith("/")) return null;
|
|
855
|
+
const parts = specifier.split("/");
|
|
856
|
+
if (specifier.startsWith("@")) {
|
|
857
|
+
const scope = parts[0];
|
|
858
|
+
const name = parts[1];
|
|
859
|
+
if (!scope || !name) return null;
|
|
860
|
+
return {
|
|
861
|
+
packageName: `${scope}/${name}`,
|
|
862
|
+
subpath: parts.length > 2 ? `./${parts.slice(2).join("/")}` : "."
|
|
863
|
+
};
|
|
864
|
+
}
|
|
865
|
+
const packageName = parts[0];
|
|
866
|
+
return packageName ? {
|
|
867
|
+
packageName,
|
|
868
|
+
subpath: parts.length > 1 ? `./${parts.slice(1).join("/")}` : "."
|
|
869
|
+
} : null;
|
|
870
|
+
}
|
|
871
|
+
function findPackageDirectoryForImport(options) {
|
|
872
|
+
let currentDir = posix.dirname(options.containingFile);
|
|
873
|
+
for (;;) {
|
|
874
|
+
const packageDirectory = posix.join(currentDir, "node_modules", options.packageName);
|
|
875
|
+
if (existsSync(posix.join(packageDirectory, "package.json"))) return packageDirectory;
|
|
876
|
+
const parentDir = posix.dirname(currentDir);
|
|
877
|
+
if (parentDir === currentDir) return null;
|
|
878
|
+
currentDir = parentDir;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
function readPackageManifest(packageDirectory) {
|
|
882
|
+
try {
|
|
883
|
+
return JSON.parse(readFileSync(posix.join(packageDirectory, "package.json"), "utf8"));
|
|
884
|
+
} catch {
|
|
885
|
+
return null;
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
function isRecord(value) {
|
|
889
|
+
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
890
|
+
}
|
|
891
|
+
function collectStringTargets(value) {
|
|
892
|
+
if (typeof value === "string") return [value];
|
|
893
|
+
if (Array.isArray(value)) return value.flatMap(collectStringTargets);
|
|
894
|
+
if (isRecord(value)) return Object.values(value).flatMap(collectStringTargets);
|
|
895
|
+
return [];
|
|
896
|
+
}
|
|
897
|
+
function collectExportTargetsForSubpath(exportsField, subpath) {
|
|
898
|
+
if (exportsField === void 0) return subpath === "." ? ["./index"] : [subpath];
|
|
899
|
+
if (typeof exportsField === "string" || Array.isArray(exportsField)) return subpath === "." ? collectStringTargets(exportsField) : [];
|
|
900
|
+
if (!isRecord(exportsField)) return [];
|
|
901
|
+
if (!Object.keys(exportsField).some((key) => key === "." || key.startsWith("./"))) return subpath === "." ? collectStringTargets(exportsField) : [];
|
|
902
|
+
return collectStringTargets(exportsField[subpath]);
|
|
804
903
|
}
|
|
805
904
|
function mergeParsedProjectConfigs(parsedConfigs, extensions) {
|
|
806
905
|
const firstConfig = parsedConfigs[0];
|
|
@@ -834,11 +933,13 @@ function parseCheckerProjectConfigForContext(options) {
|
|
|
834
933
|
return cloneParsedCheckerProjectConfig(parsedConfig);
|
|
835
934
|
}
|
|
836
935
|
function resolveModuleNameWithCheckers(options) {
|
|
936
|
+
return resolveModuleNameWithCheckersDetailed(options)?.resolvedFileName ?? null;
|
|
937
|
+
}
|
|
938
|
+
function resolveModuleNameWithCheckersDetailed(options) {
|
|
837
939
|
const checkerPresets = options.context.checkerPresets.length > 0 ? options.context.checkerPresets : ["tsc"];
|
|
838
940
|
for (const preset of checkerPresets) {
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
const resolved = adapter.resolveModuleName({
|
|
941
|
+
if (!getCheckerAdapter(preset)) continue;
|
|
942
|
+
const resolved = resolveTypeScriptModuleNameDetailed({
|
|
842
943
|
compilerOptions: options.compilerOptions,
|
|
843
944
|
containingFile: options.containingFile,
|
|
844
945
|
extensions: options.context.extensions,
|
|
@@ -1040,8 +1141,7 @@ function getCheckerExtensions(checker, options = {}) {
|
|
|
1040
1141
|
function getResolvedCheckers(config) {
|
|
1041
1142
|
const checkers = config.config?.checkers;
|
|
1042
1143
|
if (!checkers || checkers.mode === "auto") return [];
|
|
1043
|
-
|
|
1044
|
-
return Object.entries(checkerMap).map(([name, checker]) => ({
|
|
1144
|
+
return Object.entries(checkers).map(([name, checker]) => ({
|
|
1045
1145
|
exclude: (checker.exclude ?? []).map((value) => value.trim()),
|
|
1046
1146
|
extensions: getCheckerExtensions(checker, { projectRootDir: config.rootDir }),
|
|
1047
1147
|
include: checker.include.map((value) => value.trim()),
|
|
@@ -1055,7 +1155,6 @@ function normalizeExtensions(extensions) {
|
|
|
1055
1155
|
return lengthDelta === 0 ? left.localeCompare(right) : lengthDelta;
|
|
1056
1156
|
});
|
|
1057
1157
|
}
|
|
1058
|
-
|
|
1059
1158
|
//#endregion
|
|
1060
1159
|
//#region src/utils/values.ts
|
|
1061
1160
|
function isPlainRecord(value) {
|
|
@@ -1072,11 +1171,7 @@ function formatUnknownValue(value) {
|
|
|
1072
1171
|
return String(value);
|
|
1073
1172
|
}
|
|
1074
1173
|
}
|
|
1075
|
-
|
|
1076
|
-
//#endregion
|
|
1077
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.js
|
|
1078
|
-
/** A special constant with type `never` */
|
|
1079
|
-
const NEVER = Object.freeze({ status: "aborted" });
|
|
1174
|
+
Object.freeze({ status: "aborted" });
|
|
1080
1175
|
function $constructor(name, initializer, params) {
|
|
1081
1176
|
function init(inst, def) {
|
|
1082
1177
|
if (!inst._zod) Object.defineProperty(inst, "_zod", {
|
|
@@ -1132,7 +1227,6 @@ function config(newConfig) {
|
|
|
1132
1227
|
if (newConfig) Object.assign(globalConfig, newConfig);
|
|
1133
1228
|
return globalConfig;
|
|
1134
1229
|
}
|
|
1135
|
-
|
|
1136
1230
|
//#endregion
|
|
1137
1231
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.js
|
|
1138
1232
|
function getEnumValues(entries) {
|
|
@@ -1226,7 +1320,7 @@ function shallowClone(o) {
|
|
|
1226
1320
|
if (Array.isArray(o)) return [...o];
|
|
1227
1321
|
return o;
|
|
1228
1322
|
}
|
|
1229
|
-
const propertyKeyTypes = new Set([
|
|
1323
|
+
const propertyKeyTypes = /* @__PURE__ */ new Set([
|
|
1230
1324
|
"string",
|
|
1231
1325
|
"number",
|
|
1232
1326
|
"symbol"
|
|
@@ -1259,13 +1353,7 @@ function optionalKeys(shape) {
|
|
|
1259
1353
|
return shape[k]._zod.optin === "optional" && shape[k]._zod.optout === "optional";
|
|
1260
1354
|
});
|
|
1261
1355
|
}
|
|
1262
|
-
|
|
1263
|
-
safeint: [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER],
|
|
1264
|
-
int32: [-2147483648, 2147483647],
|
|
1265
|
-
uint32: [0, 4294967295],
|
|
1266
|
-
float32: [-34028234663852886e22, 34028234663852886e22],
|
|
1267
|
-
float64: [-Number.MAX_VALUE, Number.MAX_VALUE]
|
|
1268
|
-
};
|
|
1356
|
+
Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER, -Number.MAX_VALUE, Number.MAX_VALUE;
|
|
1269
1357
|
function pick(schema, mask) {
|
|
1270
1358
|
const currDef = schema._zod.def;
|
|
1271
1359
|
const checks = currDef.checks;
|
|
@@ -1432,7 +1520,6 @@ function issue(...args) {
|
|
|
1432
1520
|
};
|
|
1433
1521
|
return { ...iss };
|
|
1434
1522
|
}
|
|
1435
|
-
|
|
1436
1523
|
//#endregion
|
|
1437
1524
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.js
|
|
1438
1525
|
const initializer$1 = (inst, def) => {
|
|
@@ -1490,7 +1577,6 @@ function formatError(error, mapper = (issue) => issue.message) {
|
|
|
1490
1577
|
processError(error);
|
|
1491
1578
|
return fieldErrors;
|
|
1492
1579
|
}
|
|
1493
|
-
|
|
1494
1580
|
//#endregion
|
|
1495
1581
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.js
|
|
1496
1582
|
const _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
@@ -1501,13 +1587,12 @@ const _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
|
1501
1587
|
}, ctx);
|
|
1502
1588
|
if (result instanceof Promise) throw new $ZodAsyncError();
|
|
1503
1589
|
if (result.issues.length) {
|
|
1504
|
-
const e = new (_params?.Err ?? _Err)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())));
|
|
1590
|
+
const e = new ((_params?.Err) ?? _Err)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())));
|
|
1505
1591
|
captureStackTrace(e, _params?.callee);
|
|
1506
1592
|
throw e;
|
|
1507
1593
|
}
|
|
1508
1594
|
return result.value;
|
|
1509
1595
|
};
|
|
1510
|
-
const parse$1 = /* @__PURE__ */ _parse($ZodRealError);
|
|
1511
1596
|
const _parseAsync = (_Err) => async (schema, value, _ctx, params) => {
|
|
1512
1597
|
const ctx = _ctx ? Object.assign(_ctx, { async: true }) : { async: true };
|
|
1513
1598
|
let result = schema._zod.run({
|
|
@@ -1516,13 +1601,12 @@ const _parseAsync = (_Err) => async (schema, value, _ctx, params) => {
|
|
|
1516
1601
|
}, ctx);
|
|
1517
1602
|
if (result instanceof Promise) result = await result;
|
|
1518
1603
|
if (result.issues.length) {
|
|
1519
|
-
const e = new (params?.Err ?? _Err)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())));
|
|
1604
|
+
const e = new ((params?.Err) ?? _Err)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())));
|
|
1520
1605
|
captureStackTrace(e, params?.callee);
|
|
1521
1606
|
throw e;
|
|
1522
1607
|
}
|
|
1523
1608
|
return result.value;
|
|
1524
1609
|
};
|
|
1525
|
-
const parseAsync$1 = /* @__PURE__ */ _parseAsync($ZodRealError);
|
|
1526
1610
|
const _safeParse = (_Err) => (schema, value, _ctx) => {
|
|
1527
1611
|
const ctx = _ctx ? {
|
|
1528
1612
|
..._ctx,
|
|
@@ -1541,7 +1625,7 @@ const _safeParse = (_Err) => (schema, value, _ctx) => {
|
|
|
1541
1625
|
data: result.value
|
|
1542
1626
|
};
|
|
1543
1627
|
};
|
|
1544
|
-
const safeParse$1 = /* @__PURE__
|
|
1628
|
+
const safeParse$1 = /* @__PURE__*/ _safeParse($ZodRealError);
|
|
1545
1629
|
const _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
|
|
1546
1630
|
const ctx = _ctx ? Object.assign(_ctx, { async: true }) : { async: true };
|
|
1547
1631
|
let result = schema._zod.run({
|
|
@@ -1557,53 +1641,44 @@ const _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1557
1641
|
data: result.value
|
|
1558
1642
|
};
|
|
1559
1643
|
};
|
|
1560
|
-
const safeParseAsync$1 = /* @__PURE__
|
|
1644
|
+
const safeParseAsync$1 = /* @__PURE__*/ _safeParseAsync($ZodRealError);
|
|
1561
1645
|
const _encode = (_Err) => (schema, value, _ctx) => {
|
|
1562
1646
|
const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
|
|
1563
1647
|
return _parse(_Err)(schema, value, ctx);
|
|
1564
1648
|
};
|
|
1565
|
-
const encode$1 = /* @__PURE__ */ _encode($ZodRealError);
|
|
1566
1649
|
const _decode = (_Err) => (schema, value, _ctx) => {
|
|
1567
1650
|
return _parse(_Err)(schema, value, _ctx);
|
|
1568
1651
|
};
|
|
1569
|
-
const decode$1 = /* @__PURE__ */ _decode($ZodRealError);
|
|
1570
1652
|
const _encodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
1571
1653
|
const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
|
|
1572
1654
|
return _parseAsync(_Err)(schema, value, ctx);
|
|
1573
1655
|
};
|
|
1574
|
-
const encodeAsync$1 = /* @__PURE__ */ _encodeAsync($ZodRealError);
|
|
1575
1656
|
const _decodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
1576
1657
|
return _parseAsync(_Err)(schema, value, _ctx);
|
|
1577
1658
|
};
|
|
1578
|
-
const decodeAsync$1 = /* @__PURE__ */ _decodeAsync($ZodRealError);
|
|
1579
1659
|
const _safeEncode = (_Err) => (schema, value, _ctx) => {
|
|
1580
1660
|
const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
|
|
1581
1661
|
return _safeParse(_Err)(schema, value, ctx);
|
|
1582
1662
|
};
|
|
1583
|
-
const safeEncode$1 = /* @__PURE__ */ _safeEncode($ZodRealError);
|
|
1584
1663
|
const _safeDecode = (_Err) => (schema, value, _ctx) => {
|
|
1585
1664
|
return _safeParse(_Err)(schema, value, _ctx);
|
|
1586
1665
|
};
|
|
1587
|
-
const safeDecode$1 = /* @__PURE__ */ _safeDecode($ZodRealError);
|
|
1588
1666
|
const _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
1589
1667
|
const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
|
|
1590
1668
|
return _safeParseAsync(_Err)(schema, value, ctx);
|
|
1591
1669
|
};
|
|
1592
|
-
const safeEncodeAsync$1 = /* @__PURE__ */ _safeEncodeAsync($ZodRealError);
|
|
1593
1670
|
const _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
1594
1671
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
1595
1672
|
};
|
|
1596
|
-
const safeDecodeAsync$1 = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
1597
|
-
|
|
1598
1673
|
//#endregion
|
|
1599
1674
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.js
|
|
1600
|
-
const $ZodCheck =
|
|
1675
|
+
const $ZodCheck = /*@__PURE__*/ $constructor("$ZodCheck", (inst, def) => {
|
|
1601
1676
|
var _a;
|
|
1602
1677
|
inst._zod ?? (inst._zod = {});
|
|
1603
1678
|
inst._zod.def = def;
|
|
1604
1679
|
(_a = inst._zod).onattach ?? (_a.onattach = []);
|
|
1605
1680
|
});
|
|
1606
|
-
const $ZodCheckMaxLength =
|
|
1681
|
+
const $ZodCheckMaxLength = /*@__PURE__*/ $constructor("$ZodCheckMaxLength", (inst, def) => {
|
|
1607
1682
|
var _a;
|
|
1608
1683
|
$ZodCheck.init(inst, def);
|
|
1609
1684
|
(_a = inst._zod.def).when ?? (_a.when = (payload) => {
|
|
@@ -1629,7 +1704,7 @@ const $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (i
|
|
|
1629
1704
|
});
|
|
1630
1705
|
};
|
|
1631
1706
|
});
|
|
1632
|
-
const $ZodCheckMinLength =
|
|
1707
|
+
const $ZodCheckMinLength = /*@__PURE__*/ $constructor("$ZodCheckMinLength", (inst, def) => {
|
|
1633
1708
|
var _a;
|
|
1634
1709
|
$ZodCheck.init(inst, def);
|
|
1635
1710
|
(_a = inst._zod.def).when ?? (_a.when = (payload) => {
|
|
@@ -1655,7 +1730,7 @@ const $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (i
|
|
|
1655
1730
|
});
|
|
1656
1731
|
};
|
|
1657
1732
|
});
|
|
1658
|
-
const $ZodCheckLengthEquals =
|
|
1733
|
+
const $ZodCheckLengthEquals = /*@__PURE__*/ $constructor("$ZodCheckLengthEquals", (inst, def) => {
|
|
1659
1734
|
var _a;
|
|
1660
1735
|
$ZodCheck.init(inst, def);
|
|
1661
1736
|
(_a = inst._zod.def).when ?? (_a.when = (payload) => {
|
|
@@ -1691,13 +1766,12 @@ const $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEqual
|
|
|
1691
1766
|
});
|
|
1692
1767
|
};
|
|
1693
1768
|
});
|
|
1694
|
-
const $ZodCheckOverwrite =
|
|
1769
|
+
const $ZodCheckOverwrite = /*@__PURE__*/ $constructor("$ZodCheckOverwrite", (inst, def) => {
|
|
1695
1770
|
$ZodCheck.init(inst, def);
|
|
1696
1771
|
inst._zod.check = (payload) => {
|
|
1697
1772
|
payload.value = def.tx(payload.value);
|
|
1698
1773
|
};
|
|
1699
1774
|
});
|
|
1700
|
-
|
|
1701
1775
|
//#endregion
|
|
1702
1776
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/doc.js
|
|
1703
1777
|
var Doc = class {
|
|
@@ -1729,7 +1803,6 @@ var Doc = class {
|
|
|
1729
1803
|
return new F(...args, lines.join("\n"));
|
|
1730
1804
|
}
|
|
1731
1805
|
};
|
|
1732
|
-
|
|
1733
1806
|
//#endregion
|
|
1734
1807
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.js
|
|
1735
1808
|
const version = {
|
|
@@ -1737,10 +1810,9 @@ const version = {
|
|
|
1737
1810
|
minor: 3,
|
|
1738
1811
|
patch: 6
|
|
1739
1812
|
};
|
|
1740
|
-
|
|
1741
1813
|
//#endregion
|
|
1742
1814
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js
|
|
1743
|
-
const $ZodType =
|
|
1815
|
+
const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
|
|
1744
1816
|
var _a;
|
|
1745
1817
|
inst ?? (inst = {});
|
|
1746
1818
|
inst._zod.def = def;
|
|
@@ -1828,11 +1900,11 @@ const $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
|
1828
1900
|
version: 1
|
|
1829
1901
|
}));
|
|
1830
1902
|
});
|
|
1831
|
-
const $ZodUnknown =
|
|
1903
|
+
const $ZodUnknown = /*@__PURE__*/ $constructor("$ZodUnknown", (inst, def) => {
|
|
1832
1904
|
$ZodType.init(inst, def);
|
|
1833
1905
|
inst._zod.parse = (payload) => payload;
|
|
1834
1906
|
});
|
|
1835
|
-
const $ZodNever =
|
|
1907
|
+
const $ZodNever = /*@__PURE__*/ $constructor("$ZodNever", (inst, def) => {
|
|
1836
1908
|
$ZodType.init(inst, def);
|
|
1837
1909
|
inst._zod.parse = (payload, _ctx) => {
|
|
1838
1910
|
payload.issues.push({
|
|
@@ -1848,7 +1920,7 @@ function handleArrayResult(result, final, index) {
|
|
|
1848
1920
|
if (result.issues.length) final.issues.push(...prefixIssues(index, result.issues));
|
|
1849
1921
|
final.value[index] = result.value;
|
|
1850
1922
|
}
|
|
1851
|
-
const $ZodArray =
|
|
1923
|
+
const $ZodArray = /*@__PURE__*/ $constructor("$ZodArray", (inst, def) => {
|
|
1852
1924
|
$ZodType.init(inst, def);
|
|
1853
1925
|
inst._zod.parse = (payload, ctx) => {
|
|
1854
1926
|
const input = payload.value;
|
|
@@ -1927,7 +1999,7 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
1927
1999
|
return payload;
|
|
1928
2000
|
});
|
|
1929
2001
|
}
|
|
1930
|
-
const $ZodObject =
|
|
2002
|
+
const $ZodObject = /*@__PURE__*/ $constructor("$ZodObject", (inst, def) => {
|
|
1931
2003
|
$ZodType.init(inst, def);
|
|
1932
2004
|
if (!Object.getOwnPropertyDescriptor(def, "shape")?.get) {
|
|
1933
2005
|
const sh = def.shape;
|
|
@@ -1950,13 +2022,13 @@ const $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
1950
2022
|
}
|
|
1951
2023
|
return propValues;
|
|
1952
2024
|
});
|
|
1953
|
-
const isObject$
|
|
2025
|
+
const isObject$1 = isObject;
|
|
1954
2026
|
const catchall = def.catchall;
|
|
1955
2027
|
let value;
|
|
1956
2028
|
inst._zod.parse = (payload, ctx) => {
|
|
1957
2029
|
value ?? (value = _normalized.value);
|
|
1958
2030
|
const input = payload.value;
|
|
1959
|
-
if (!isObject$
|
|
2031
|
+
if (!isObject$1(input)) {
|
|
1960
2032
|
payload.issues.push({
|
|
1961
2033
|
expected: "object",
|
|
1962
2034
|
code: "invalid_type",
|
|
@@ -1982,7 +2054,7 @@ const $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
1982
2054
|
return handleCatchall(proms, input, payload, ctx, _normalized.value, inst);
|
|
1983
2055
|
};
|
|
1984
2056
|
});
|
|
1985
|
-
const $ZodObjectJIT =
|
|
2057
|
+
const $ZodObjectJIT = /*@__PURE__*/ $constructor("$ZodObjectJIT", (inst, def) => {
|
|
1986
2058
|
$ZodObject.init(inst, def);
|
|
1987
2059
|
const superParse = inst._zod.parse;
|
|
1988
2060
|
const _normalized = cached(() => normalizeDef(def));
|
|
@@ -2050,16 +2122,15 @@ const $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def)
|
|
|
2050
2122
|
return (payload, ctx) => fn(shape, payload, ctx);
|
|
2051
2123
|
};
|
|
2052
2124
|
let fastpass;
|
|
2053
|
-
const isObject$
|
|
2125
|
+
const isObject$2 = isObject;
|
|
2054
2126
|
const jit = !globalConfig.jitless;
|
|
2055
|
-
const
|
|
2056
|
-
const fastEnabled = jit && allowsEval$1.value;
|
|
2127
|
+
const fastEnabled = jit && allowsEval.value;
|
|
2057
2128
|
const catchall = def.catchall;
|
|
2058
2129
|
let value;
|
|
2059
2130
|
inst._zod.parse = (payload, ctx) => {
|
|
2060
2131
|
value ?? (value = _normalized.value);
|
|
2061
2132
|
const input = payload.value;
|
|
2062
|
-
if (!isObject$
|
|
2133
|
+
if (!isObject$2(input)) {
|
|
2063
2134
|
payload.issues.push({
|
|
2064
2135
|
expected: "object",
|
|
2065
2136
|
code: "invalid_type",
|
|
@@ -2095,7 +2166,7 @@ function handleUnionResults(results, final, inst, ctx) {
|
|
|
2095
2166
|
});
|
|
2096
2167
|
return final;
|
|
2097
2168
|
}
|
|
2098
|
-
const $ZodUnion =
|
|
2169
|
+
const $ZodUnion = /*@__PURE__*/ $constructor("$ZodUnion", (inst, def) => {
|
|
2099
2170
|
$ZodType.init(inst, def);
|
|
2100
2171
|
defineLazy(inst._zod, "optin", () => def.options.some((o) => o._zod.optin === "optional") ? "optional" : void 0);
|
|
2101
2172
|
defineLazy(inst._zod, "optout", () => def.options.some((o) => o._zod.optout === "optional") ? "optional" : void 0);
|
|
@@ -2133,7 +2204,7 @@ const $ZodUnion = /* @__PURE__ */ $constructor("$ZodUnion", (inst, def) => {
|
|
|
2133
2204
|
});
|
|
2134
2205
|
};
|
|
2135
2206
|
});
|
|
2136
|
-
const $ZodIntersection =
|
|
2207
|
+
const $ZodIntersection = /*@__PURE__*/ $constructor("$ZodIntersection", (inst, def) => {
|
|
2137
2208
|
$ZodType.init(inst, def);
|
|
2138
2209
|
inst._zod.parse = (payload, ctx) => {
|
|
2139
2210
|
const input = payload.value;
|
|
@@ -2232,7 +2303,7 @@ function handleIntersectionResults(result, left, right) {
|
|
|
2232
2303
|
result.value = merged.data;
|
|
2233
2304
|
return result;
|
|
2234
2305
|
}
|
|
2235
|
-
const $ZodEnum =
|
|
2306
|
+
const $ZodEnum = /*@__PURE__*/ $constructor("$ZodEnum", (inst, def) => {
|
|
2236
2307
|
$ZodType.init(inst, def);
|
|
2237
2308
|
const values = getEnumValues(def.entries);
|
|
2238
2309
|
const valuesSet = new Set(values);
|
|
@@ -2250,7 +2321,7 @@ const $ZodEnum = /* @__PURE__ */ $constructor("$ZodEnum", (inst, def) => {
|
|
|
2250
2321
|
return payload;
|
|
2251
2322
|
};
|
|
2252
2323
|
});
|
|
2253
|
-
const $ZodTransform =
|
|
2324
|
+
const $ZodTransform = /*@__PURE__*/ $constructor("$ZodTransform", (inst, def) => {
|
|
2254
2325
|
$ZodType.init(inst, def);
|
|
2255
2326
|
inst._zod.parse = (payload, ctx) => {
|
|
2256
2327
|
if (ctx.direction === "backward") throw new $ZodEncodeError(inst.constructor.name);
|
|
@@ -2271,12 +2342,12 @@ function handleOptionalResult(result, input) {
|
|
|
2271
2342
|
};
|
|
2272
2343
|
return result;
|
|
2273
2344
|
}
|
|
2274
|
-
const $ZodOptional =
|
|
2345
|
+
const $ZodOptional = /*@__PURE__*/ $constructor("$ZodOptional", (inst, def) => {
|
|
2275
2346
|
$ZodType.init(inst, def);
|
|
2276
2347
|
inst._zod.optin = "optional";
|
|
2277
2348
|
inst._zod.optout = "optional";
|
|
2278
2349
|
defineLazy(inst._zod, "values", () => {
|
|
2279
|
-
return def.innerType._zod.values ? new Set([...def.innerType._zod.values, void 0]) : void 0;
|
|
2350
|
+
return def.innerType._zod.values ? /* @__PURE__ */ new Set([...def.innerType._zod.values, void 0]) : void 0;
|
|
2280
2351
|
});
|
|
2281
2352
|
defineLazy(inst._zod, "pattern", () => {
|
|
2282
2353
|
const pattern = def.innerType._zod.pattern;
|
|
@@ -2292,7 +2363,7 @@ const $ZodOptional = /* @__PURE__ */ $constructor("$ZodOptional", (inst, def) =>
|
|
|
2292
2363
|
return def.innerType._zod.run(payload, ctx);
|
|
2293
2364
|
};
|
|
2294
2365
|
});
|
|
2295
|
-
const $ZodExactOptional =
|
|
2366
|
+
const $ZodExactOptional = /*@__PURE__*/ $constructor("$ZodExactOptional", (inst, def) => {
|
|
2296
2367
|
$ZodOptional.init(inst, def);
|
|
2297
2368
|
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
2298
2369
|
defineLazy(inst._zod, "pattern", () => def.innerType._zod.pattern);
|
|
@@ -2300,7 +2371,7 @@ const $ZodExactOptional = /* @__PURE__ */ $constructor("$ZodExactOptional", (ins
|
|
|
2300
2371
|
return def.innerType._zod.run(payload, ctx);
|
|
2301
2372
|
};
|
|
2302
2373
|
});
|
|
2303
|
-
const $ZodNullable =
|
|
2374
|
+
const $ZodNullable = /*@__PURE__*/ $constructor("$ZodNullable", (inst, def) => {
|
|
2304
2375
|
$ZodType.init(inst, def);
|
|
2305
2376
|
defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
|
|
2306
2377
|
defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
|
|
@@ -2309,14 +2380,14 @@ const $ZodNullable = /* @__PURE__ */ $constructor("$ZodNullable", (inst, def) =>
|
|
|
2309
2380
|
return pattern ? new RegExp(`^(${cleanRegex(pattern.source)}|null)$`) : void 0;
|
|
2310
2381
|
});
|
|
2311
2382
|
defineLazy(inst._zod, "values", () => {
|
|
2312
|
-
return def.innerType._zod.values ? new Set([...def.innerType._zod.values, null]) : void 0;
|
|
2383
|
+
return def.innerType._zod.values ? /* @__PURE__ */ new Set([...def.innerType._zod.values, null]) : void 0;
|
|
2313
2384
|
});
|
|
2314
2385
|
inst._zod.parse = (payload, ctx) => {
|
|
2315
2386
|
if (payload.value === null) return payload;
|
|
2316
2387
|
return def.innerType._zod.run(payload, ctx);
|
|
2317
2388
|
};
|
|
2318
2389
|
});
|
|
2319
|
-
const $ZodDefault =
|
|
2390
|
+
const $ZodDefault = /*@__PURE__*/ $constructor("$ZodDefault", (inst, def) => {
|
|
2320
2391
|
$ZodType.init(inst, def);
|
|
2321
2392
|
inst._zod.optin = "optional";
|
|
2322
2393
|
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
@@ -2338,7 +2409,7 @@ function handleDefaultResult(payload, def) {
|
|
|
2338
2409
|
if (payload.value === void 0) payload.value = def.defaultValue;
|
|
2339
2410
|
return payload;
|
|
2340
2411
|
}
|
|
2341
|
-
const $ZodPrefault =
|
|
2412
|
+
const $ZodPrefault = /*@__PURE__*/ $constructor("$ZodPrefault", (inst, def) => {
|
|
2342
2413
|
$ZodType.init(inst, def);
|
|
2343
2414
|
inst._zod.optin = "optional";
|
|
2344
2415
|
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
@@ -2348,7 +2419,7 @@ const $ZodPrefault = /* @__PURE__ */ $constructor("$ZodPrefault", (inst, def) =>
|
|
|
2348
2419
|
return def.innerType._zod.run(payload, ctx);
|
|
2349
2420
|
};
|
|
2350
2421
|
});
|
|
2351
|
-
const $ZodNonOptional =
|
|
2422
|
+
const $ZodNonOptional = /*@__PURE__*/ $constructor("$ZodNonOptional", (inst, def) => {
|
|
2352
2423
|
$ZodType.init(inst, def);
|
|
2353
2424
|
defineLazy(inst._zod, "values", () => {
|
|
2354
2425
|
const v = def.innerType._zod.values;
|
|
@@ -2369,7 +2440,7 @@ function handleNonOptionalResult(payload, inst) {
|
|
|
2369
2440
|
});
|
|
2370
2441
|
return payload;
|
|
2371
2442
|
}
|
|
2372
|
-
const $ZodCatch =
|
|
2443
|
+
const $ZodCatch = /*@__PURE__*/ $constructor("$ZodCatch", (inst, def) => {
|
|
2373
2444
|
$ZodType.init(inst, def);
|
|
2374
2445
|
defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
|
|
2375
2446
|
defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
|
|
@@ -2401,7 +2472,7 @@ const $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
|
2401
2472
|
return payload;
|
|
2402
2473
|
};
|
|
2403
2474
|
});
|
|
2404
|
-
const $ZodPipe =
|
|
2475
|
+
const $ZodPipe = /*@__PURE__*/ $constructor("$ZodPipe", (inst, def) => {
|
|
2405
2476
|
$ZodType.init(inst, def);
|
|
2406
2477
|
defineLazy(inst._zod, "values", () => def.in._zod.values);
|
|
2407
2478
|
defineLazy(inst._zod, "optin", () => def.in._zod.optin);
|
|
@@ -2428,7 +2499,7 @@ function handlePipeResult(left, next, ctx) {
|
|
|
2428
2499
|
issues: left.issues
|
|
2429
2500
|
}, ctx);
|
|
2430
2501
|
}
|
|
2431
|
-
const $ZodReadonly =
|
|
2502
|
+
const $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
2432
2503
|
$ZodType.init(inst, def);
|
|
2433
2504
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
2434
2505
|
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
@@ -2445,7 +2516,7 @@ function handleReadonlyResult(payload) {
|
|
|
2445
2516
|
payload.value = Object.freeze(payload.value);
|
|
2446
2517
|
return payload;
|
|
2447
2518
|
}
|
|
2448
|
-
const $ZodCustom =
|
|
2519
|
+
const $ZodCustom = /*@__PURE__*/ $constructor("$ZodCustom", (inst, def) => {
|
|
2449
2520
|
$ZodCheck.init(inst, def);
|
|
2450
2521
|
$ZodType.init(inst, def);
|
|
2451
2522
|
inst._zod.parse = (payload, _) => {
|
|
@@ -2471,7 +2542,6 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
2471
2542
|
payload.issues.push(issue(_iss));
|
|
2472
2543
|
}
|
|
2473
2544
|
}
|
|
2474
|
-
|
|
2475
2545
|
//#endregion
|
|
2476
2546
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.js
|
|
2477
2547
|
var _a;
|
|
@@ -2519,21 +2589,20 @@ function registry() {
|
|
|
2519
2589
|
}
|
|
2520
2590
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
2521
2591
|
const globalRegistry = globalThis.__zod_globalRegistry;
|
|
2522
|
-
|
|
2523
2592
|
//#endregion
|
|
2524
2593
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.js
|
|
2525
|
-
|
|
2594
|
+
// @__NO_SIDE_EFFECTS__
|
|
2526
2595
|
function _unknown(Class) {
|
|
2527
2596
|
return new Class({ type: "unknown" });
|
|
2528
2597
|
}
|
|
2529
|
-
|
|
2598
|
+
// @__NO_SIDE_EFFECTS__
|
|
2530
2599
|
function _never(Class, params) {
|
|
2531
2600
|
return new Class({
|
|
2532
2601
|
type: "never",
|
|
2533
2602
|
...normalizeParams(params)
|
|
2534
2603
|
});
|
|
2535
2604
|
}
|
|
2536
|
-
|
|
2605
|
+
// @__NO_SIDE_EFFECTS__
|
|
2537
2606
|
function _maxLength(maximum, params) {
|
|
2538
2607
|
return new $ZodCheckMaxLength({
|
|
2539
2608
|
check: "max_length",
|
|
@@ -2541,7 +2610,7 @@ function _maxLength(maximum, params) {
|
|
|
2541
2610
|
maximum
|
|
2542
2611
|
});
|
|
2543
2612
|
}
|
|
2544
|
-
|
|
2613
|
+
// @__NO_SIDE_EFFECTS__
|
|
2545
2614
|
function _minLength(minimum, params) {
|
|
2546
2615
|
return new $ZodCheckMinLength({
|
|
2547
2616
|
check: "min_length",
|
|
@@ -2549,7 +2618,7 @@ function _minLength(minimum, params) {
|
|
|
2549
2618
|
minimum
|
|
2550
2619
|
});
|
|
2551
2620
|
}
|
|
2552
|
-
|
|
2621
|
+
// @__NO_SIDE_EFFECTS__
|
|
2553
2622
|
function _length(length, params) {
|
|
2554
2623
|
return new $ZodCheckLengthEquals({
|
|
2555
2624
|
check: "length_equals",
|
|
@@ -2557,14 +2626,14 @@ function _length(length, params) {
|
|
|
2557
2626
|
length
|
|
2558
2627
|
});
|
|
2559
2628
|
}
|
|
2560
|
-
|
|
2629
|
+
// @__NO_SIDE_EFFECTS__
|
|
2561
2630
|
function _overwrite(tx) {
|
|
2562
2631
|
return new $ZodCheckOverwrite({
|
|
2563
2632
|
check: "overwrite",
|
|
2564
2633
|
tx
|
|
2565
2634
|
});
|
|
2566
2635
|
}
|
|
2567
|
-
|
|
2636
|
+
// @__NO_SIDE_EFFECTS__
|
|
2568
2637
|
function _array(Class, element, params) {
|
|
2569
2638
|
return new Class({
|
|
2570
2639
|
type: "array",
|
|
@@ -2572,7 +2641,7 @@ function _array(Class, element, params) {
|
|
|
2572
2641
|
...normalizeParams(params)
|
|
2573
2642
|
});
|
|
2574
2643
|
}
|
|
2575
|
-
|
|
2644
|
+
// @__NO_SIDE_EFFECTS__
|
|
2576
2645
|
function _refine(Class, fn, _params) {
|
|
2577
2646
|
return new Class({
|
|
2578
2647
|
type: "custom",
|
|
@@ -2581,7 +2650,7 @@ function _refine(Class, fn, _params) {
|
|
|
2581
2650
|
...normalizeParams(_params)
|
|
2582
2651
|
});
|
|
2583
2652
|
}
|
|
2584
|
-
|
|
2653
|
+
// @__NO_SIDE_EFFECTS__
|
|
2585
2654
|
function _superRefine(fn) {
|
|
2586
2655
|
const ch = /* @__PURE__ */ _check((payload) => {
|
|
2587
2656
|
payload.addIssue = (issue$2) => {
|
|
@@ -2600,7 +2669,7 @@ function _superRefine(fn) {
|
|
|
2600
2669
|
});
|
|
2601
2670
|
return ch;
|
|
2602
2671
|
}
|
|
2603
|
-
|
|
2672
|
+
// @__NO_SIDE_EFFECTS__
|
|
2604
2673
|
function _check(fn, params) {
|
|
2605
2674
|
const ch = new $ZodCheck({
|
|
2606
2675
|
check: "custom",
|
|
@@ -2609,33 +2678,6 @@ function _check(fn, params) {
|
|
|
2609
2678
|
ch._zod.check = fn;
|
|
2610
2679
|
return ch;
|
|
2611
2680
|
}
|
|
2612
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
2613
|
-
function describe$1(description) {
|
|
2614
|
-
const ch = new $ZodCheck({ check: "describe" });
|
|
2615
|
-
ch._zod.onattach = [(inst) => {
|
|
2616
|
-
const existing = globalRegistry.get(inst) ?? {};
|
|
2617
|
-
globalRegistry.add(inst, {
|
|
2618
|
-
...existing,
|
|
2619
|
-
description
|
|
2620
|
-
});
|
|
2621
|
-
}];
|
|
2622
|
-
ch._zod.check = () => {};
|
|
2623
|
-
return ch;
|
|
2624
|
-
}
|
|
2625
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
2626
|
-
function meta$1(metadata) {
|
|
2627
|
-
const ch = new $ZodCheck({ check: "meta" });
|
|
2628
|
-
ch._zod.onattach = [(inst) => {
|
|
2629
|
-
const existing = globalRegistry.get(inst) ?? {};
|
|
2630
|
-
globalRegistry.add(inst, {
|
|
2631
|
-
...existing,
|
|
2632
|
-
...metadata
|
|
2633
|
-
});
|
|
2634
|
-
}];
|
|
2635
|
-
ch._zod.check = () => {};
|
|
2636
|
-
return ch;
|
|
2637
|
-
}
|
|
2638
|
-
|
|
2639
2681
|
//#endregion
|
|
2640
2682
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.js
|
|
2641
2683
|
function initializeContext(params) {
|
|
@@ -2921,13 +2963,11 @@ const createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params)
|
|
|
2921
2963
|
extractDefs(ctx, schema);
|
|
2922
2964
|
return finalize(ctx, schema);
|
|
2923
2965
|
};
|
|
2924
|
-
|
|
2925
2966
|
//#endregion
|
|
2926
2967
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-processors.js
|
|
2927
2968
|
const neverProcessor = (_schema, _ctx, json, _params) => {
|
|
2928
2969
|
json.not = {};
|
|
2929
2970
|
};
|
|
2930
|
-
const unknownProcessor = (_schema, _ctx, _json, _params) => {};
|
|
2931
2971
|
const enumProcessor = (schema, _ctx, json, _params) => {
|
|
2932
2972
|
const def = schema._zod.def;
|
|
2933
2973
|
const values = getEnumValues(def.entries);
|
|
@@ -3079,7 +3119,6 @@ const optionalProcessor = (schema, ctx, _json, params) => {
|
|
|
3079
3119
|
const seen = ctx.seen.get(schema);
|
|
3080
3120
|
seen.ref = def.innerType;
|
|
3081
3121
|
};
|
|
3082
|
-
|
|
3083
3122
|
//#endregion
|
|
3084
3123
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.js
|
|
3085
3124
|
const initializer = (inst, issues) => {
|
|
@@ -3101,9 +3140,8 @@ const initializer = (inst, issues) => {
|
|
|
3101
3140
|
} }
|
|
3102
3141
|
});
|
|
3103
3142
|
};
|
|
3104
|
-
|
|
3143
|
+
$constructor("ZodError", initializer);
|
|
3105
3144
|
const ZodRealError = $constructor("ZodError", initializer, { Parent: Error });
|
|
3106
|
-
|
|
3107
3145
|
//#endregion
|
|
3108
3146
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.js
|
|
3109
3147
|
const parse = /* @__PURE__ */ _parse(ZodRealError);
|
|
@@ -3118,10 +3156,9 @@ const safeEncode = /* @__PURE__ */ _safeEncode(ZodRealError);
|
|
|
3118
3156
|
const safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
3119
3157
|
const safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
3120
3158
|
const safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
3121
|
-
|
|
3122
3159
|
//#endregion
|
|
3123
3160
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.js
|
|
3124
|
-
const ZodType =
|
|
3161
|
+
const ZodType = /*@__PURE__*/ $constructor("ZodType", (inst, def) => {
|
|
3125
3162
|
$ZodType.init(inst, def);
|
|
3126
3163
|
Object.assign(inst["~standard"], { jsonSchema: {
|
|
3127
3164
|
input: createStandardJSONSchemaMethod(inst, "input"),
|
|
@@ -3160,7 +3197,7 @@ const ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
3160
3197
|
inst.safeDecodeAsync = async (data, params) => safeDecodeAsync(inst, data, params);
|
|
3161
3198
|
inst.refine = (check, params) => inst.check(refine(check, params));
|
|
3162
3199
|
inst.superRefine = (refinement) => inst.check(superRefine(refinement));
|
|
3163
|
-
inst.overwrite = (fn) => inst.check(_overwrite(fn));
|
|
3200
|
+
inst.overwrite = (fn) => inst.check(/* @__PURE__ */ _overwrite(fn));
|
|
3164
3201
|
inst.optional = () => optional(inst);
|
|
3165
3202
|
inst.exactOptional = () => exactOptional(inst);
|
|
3166
3203
|
inst.nullable = () => nullable(inst);
|
|
@@ -3197,37 +3234,37 @@ const ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
3197
3234
|
inst.apply = (fn) => fn(inst);
|
|
3198
3235
|
return inst;
|
|
3199
3236
|
});
|
|
3200
|
-
const ZodUnknown =
|
|
3237
|
+
const ZodUnknown = /*@__PURE__*/ $constructor("ZodUnknown", (inst, def) => {
|
|
3201
3238
|
$ZodUnknown.init(inst, def);
|
|
3202
3239
|
ZodType.init(inst, def);
|
|
3203
|
-
inst._zod.processJSONSchema = (ctx, json, params) =>
|
|
3240
|
+
inst._zod.processJSONSchema = (ctx, json, params) => void 0;
|
|
3204
3241
|
});
|
|
3205
3242
|
function unknown() {
|
|
3206
|
-
return _unknown(ZodUnknown);
|
|
3243
|
+
return /* @__PURE__ */ _unknown(ZodUnknown);
|
|
3207
3244
|
}
|
|
3208
|
-
const ZodNever =
|
|
3245
|
+
const ZodNever = /*@__PURE__*/ $constructor("ZodNever", (inst, def) => {
|
|
3209
3246
|
$ZodNever.init(inst, def);
|
|
3210
3247
|
ZodType.init(inst, def);
|
|
3211
3248
|
inst._zod.processJSONSchema = (ctx, json, params) => neverProcessor(inst, ctx, json, params);
|
|
3212
3249
|
});
|
|
3213
3250
|
function never(params) {
|
|
3214
|
-
return _never(ZodNever, params);
|
|
3251
|
+
return /* @__PURE__ */ _never(ZodNever, params);
|
|
3215
3252
|
}
|
|
3216
|
-
const ZodArray =
|
|
3253
|
+
const ZodArray = /*@__PURE__*/ $constructor("ZodArray", (inst, def) => {
|
|
3217
3254
|
$ZodArray.init(inst, def);
|
|
3218
3255
|
ZodType.init(inst, def);
|
|
3219
3256
|
inst._zod.processJSONSchema = (ctx, json, params) => arrayProcessor(inst, ctx, json, params);
|
|
3220
3257
|
inst.element = def.element;
|
|
3221
|
-
inst.min = (minLength, params) => inst.check(_minLength(minLength, params));
|
|
3222
|
-
inst.nonempty = (params) => inst.check(_minLength(1, params));
|
|
3223
|
-
inst.max = (maxLength, params) => inst.check(_maxLength(maxLength, params));
|
|
3224
|
-
inst.length = (len, params) => inst.check(_length(len, params));
|
|
3258
|
+
inst.min = (minLength, params) => inst.check(/* @__PURE__ */ _minLength(minLength, params));
|
|
3259
|
+
inst.nonempty = (params) => inst.check(/* @__PURE__ */ _minLength(1, params));
|
|
3260
|
+
inst.max = (maxLength, params) => inst.check(/* @__PURE__ */ _maxLength(maxLength, params));
|
|
3261
|
+
inst.length = (len, params) => inst.check(/* @__PURE__ */ _length(len, params));
|
|
3225
3262
|
inst.unwrap = () => inst.element;
|
|
3226
3263
|
});
|
|
3227
3264
|
function array(element, params) {
|
|
3228
|
-
return _array(ZodArray, element, params);
|
|
3265
|
+
return /* @__PURE__ */ _array(ZodArray, element, params);
|
|
3229
3266
|
}
|
|
3230
|
-
const ZodObject =
|
|
3267
|
+
const ZodObject = /*@__PURE__*/ $constructor("ZodObject", (inst, def) => {
|
|
3231
3268
|
$ZodObjectJIT.init(inst, def);
|
|
3232
3269
|
ZodType.init(inst, def);
|
|
3233
3270
|
inst._zod.processJSONSchema = (ctx, json, params) => objectProcessor(inst, ctx, json, params);
|
|
@@ -3275,7 +3312,7 @@ function looseObject(shape, params) {
|
|
|
3275
3312
|
...normalizeParams(params)
|
|
3276
3313
|
});
|
|
3277
3314
|
}
|
|
3278
|
-
const ZodUnion =
|
|
3315
|
+
const ZodUnion = /*@__PURE__*/ $constructor("ZodUnion", (inst, def) => {
|
|
3279
3316
|
$ZodUnion.init(inst, def);
|
|
3280
3317
|
ZodType.init(inst, def);
|
|
3281
3318
|
inst._zod.processJSONSchema = (ctx, json, params) => unionProcessor(inst, ctx, json, params);
|
|
@@ -3288,7 +3325,7 @@ function union(options, params) {
|
|
|
3288
3325
|
...normalizeParams(params)
|
|
3289
3326
|
});
|
|
3290
3327
|
}
|
|
3291
|
-
const ZodIntersection =
|
|
3328
|
+
const ZodIntersection = /*@__PURE__*/ $constructor("ZodIntersection", (inst, def) => {
|
|
3292
3329
|
$ZodIntersection.init(inst, def);
|
|
3293
3330
|
ZodType.init(inst, def);
|
|
3294
3331
|
inst._zod.processJSONSchema = (ctx, json, params) => intersectionProcessor(inst, ctx, json, params);
|
|
@@ -3300,7 +3337,7 @@ function intersection(left, right) {
|
|
|
3300
3337
|
right
|
|
3301
3338
|
});
|
|
3302
3339
|
}
|
|
3303
|
-
const ZodEnum =
|
|
3340
|
+
const ZodEnum = /*@__PURE__*/ $constructor("ZodEnum", (inst, def) => {
|
|
3304
3341
|
$ZodEnum.init(inst, def);
|
|
3305
3342
|
ZodType.init(inst, def);
|
|
3306
3343
|
inst._zod.processJSONSchema = (ctx, json, params) => enumProcessor(inst, ctx, json, params);
|
|
@@ -3337,7 +3374,7 @@ function _enum(values, params) {
|
|
|
3337
3374
|
...normalizeParams(params)
|
|
3338
3375
|
});
|
|
3339
3376
|
}
|
|
3340
|
-
const ZodTransform =
|
|
3377
|
+
const ZodTransform = /*@__PURE__*/ $constructor("ZodTransform", (inst, def) => {
|
|
3341
3378
|
$ZodTransform.init(inst, def);
|
|
3342
3379
|
ZodType.init(inst, def);
|
|
3343
3380
|
inst._zod.processJSONSchema = (ctx, json, params) => transformProcessor(inst, ctx, json, params);
|
|
@@ -3369,7 +3406,7 @@ function transform(fn) {
|
|
|
3369
3406
|
transform: fn
|
|
3370
3407
|
});
|
|
3371
3408
|
}
|
|
3372
|
-
const ZodOptional =
|
|
3409
|
+
const ZodOptional = /*@__PURE__*/ $constructor("ZodOptional", (inst, def) => {
|
|
3373
3410
|
$ZodOptional.init(inst, def);
|
|
3374
3411
|
ZodType.init(inst, def);
|
|
3375
3412
|
inst._zod.processJSONSchema = (ctx, json, params) => optionalProcessor(inst, ctx, json, params);
|
|
@@ -3381,7 +3418,7 @@ function optional(innerType) {
|
|
|
3381
3418
|
innerType
|
|
3382
3419
|
});
|
|
3383
3420
|
}
|
|
3384
|
-
const ZodExactOptional =
|
|
3421
|
+
const ZodExactOptional = /*@__PURE__*/ $constructor("ZodExactOptional", (inst, def) => {
|
|
3385
3422
|
$ZodExactOptional.init(inst, def);
|
|
3386
3423
|
ZodType.init(inst, def);
|
|
3387
3424
|
inst._zod.processJSONSchema = (ctx, json, params) => optionalProcessor(inst, ctx, json, params);
|
|
@@ -3393,7 +3430,7 @@ function exactOptional(innerType) {
|
|
|
3393
3430
|
innerType
|
|
3394
3431
|
});
|
|
3395
3432
|
}
|
|
3396
|
-
const ZodNullable =
|
|
3433
|
+
const ZodNullable = /*@__PURE__*/ $constructor("ZodNullable", (inst, def) => {
|
|
3397
3434
|
$ZodNullable.init(inst, def);
|
|
3398
3435
|
ZodType.init(inst, def);
|
|
3399
3436
|
inst._zod.processJSONSchema = (ctx, json, params) => nullableProcessor(inst, ctx, json, params);
|
|
@@ -3405,7 +3442,7 @@ function nullable(innerType) {
|
|
|
3405
3442
|
innerType
|
|
3406
3443
|
});
|
|
3407
3444
|
}
|
|
3408
|
-
const ZodDefault =
|
|
3445
|
+
const ZodDefault = /*@__PURE__*/ $constructor("ZodDefault", (inst, def) => {
|
|
3409
3446
|
$ZodDefault.init(inst, def);
|
|
3410
3447
|
ZodType.init(inst, def);
|
|
3411
3448
|
inst._zod.processJSONSchema = (ctx, json, params) => defaultProcessor(inst, ctx, json, params);
|
|
@@ -3421,7 +3458,7 @@ function _default(innerType, defaultValue) {
|
|
|
3421
3458
|
}
|
|
3422
3459
|
});
|
|
3423
3460
|
}
|
|
3424
|
-
const ZodPrefault =
|
|
3461
|
+
const ZodPrefault = /*@__PURE__*/ $constructor("ZodPrefault", (inst, def) => {
|
|
3425
3462
|
$ZodPrefault.init(inst, def);
|
|
3426
3463
|
ZodType.init(inst, def);
|
|
3427
3464
|
inst._zod.processJSONSchema = (ctx, json, params) => prefaultProcessor(inst, ctx, json, params);
|
|
@@ -3436,7 +3473,7 @@ function prefault(innerType, defaultValue) {
|
|
|
3436
3473
|
}
|
|
3437
3474
|
});
|
|
3438
3475
|
}
|
|
3439
|
-
const ZodNonOptional =
|
|
3476
|
+
const ZodNonOptional = /*@__PURE__*/ $constructor("ZodNonOptional", (inst, def) => {
|
|
3440
3477
|
$ZodNonOptional.init(inst, def);
|
|
3441
3478
|
ZodType.init(inst, def);
|
|
3442
3479
|
inst._zod.processJSONSchema = (ctx, json, params) => nonoptionalProcessor(inst, ctx, json, params);
|
|
@@ -3449,7 +3486,7 @@ function nonoptional(innerType, params) {
|
|
|
3449
3486
|
...normalizeParams(params)
|
|
3450
3487
|
});
|
|
3451
3488
|
}
|
|
3452
|
-
const ZodCatch =
|
|
3489
|
+
const ZodCatch = /*@__PURE__*/ $constructor("ZodCatch", (inst, def) => {
|
|
3453
3490
|
$ZodCatch.init(inst, def);
|
|
3454
3491
|
ZodType.init(inst, def);
|
|
3455
3492
|
inst._zod.processJSONSchema = (ctx, json, params) => catchProcessor(inst, ctx, json, params);
|
|
@@ -3463,7 +3500,7 @@ function _catch(innerType, catchValue) {
|
|
|
3463
3500
|
catchValue: typeof catchValue === "function" ? catchValue : () => catchValue
|
|
3464
3501
|
});
|
|
3465
3502
|
}
|
|
3466
|
-
const ZodPipe =
|
|
3503
|
+
const ZodPipe = /*@__PURE__*/ $constructor("ZodPipe", (inst, def) => {
|
|
3467
3504
|
$ZodPipe.init(inst, def);
|
|
3468
3505
|
ZodType.init(inst, def);
|
|
3469
3506
|
inst._zod.processJSONSchema = (ctx, json, params) => pipeProcessor(inst, ctx, json, params);
|
|
@@ -3477,7 +3514,7 @@ function pipe(in_, out) {
|
|
|
3477
3514
|
out
|
|
3478
3515
|
});
|
|
3479
3516
|
}
|
|
3480
|
-
const ZodReadonly =
|
|
3517
|
+
const ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
3481
3518
|
$ZodReadonly.init(inst, def);
|
|
3482
3519
|
ZodType.init(inst, def);
|
|
3483
3520
|
inst._zod.processJSONSchema = (ctx, json, params) => readonlyProcessor(inst, ctx, json, params);
|
|
@@ -3489,20 +3526,17 @@ function readonly(innerType) {
|
|
|
3489
3526
|
innerType
|
|
3490
3527
|
});
|
|
3491
3528
|
}
|
|
3492
|
-
const ZodCustom =
|
|
3529
|
+
const ZodCustom = /*@__PURE__*/ $constructor("ZodCustom", (inst, def) => {
|
|
3493
3530
|
$ZodCustom.init(inst, def);
|
|
3494
3531
|
ZodType.init(inst, def);
|
|
3495
3532
|
inst._zod.processJSONSchema = (ctx, json, params) => customProcessor(inst, ctx, json, params);
|
|
3496
3533
|
});
|
|
3497
3534
|
function refine(fn, _params = {}) {
|
|
3498
|
-
return _refine(ZodCustom, fn, _params);
|
|
3535
|
+
return /* @__PURE__ */ _refine(ZodCustom, fn, _params);
|
|
3499
3536
|
}
|
|
3500
3537
|
function superRefine(fn) {
|
|
3501
|
-
return _superRefine(fn);
|
|
3538
|
+
return /* @__PURE__ */ _superRefine(fn);
|
|
3502
3539
|
}
|
|
3503
|
-
const describe = describe$1;
|
|
3504
|
-
const meta = meta$1;
|
|
3505
|
-
|
|
3506
3540
|
//#endregion
|
|
3507
3541
|
//#region src/config/schema.ts
|
|
3508
3542
|
const checkerExtensionsConfigReason = "checker extensions are fixed by built-in presets and cannot be configured.";
|
|
@@ -3659,7 +3693,7 @@ const sharedLiminaConfigShapeSchema = looseObject({}).superRefine((sharedConfig,
|
|
|
3659
3693
|
});
|
|
3660
3694
|
}
|
|
3661
3695
|
});
|
|
3662
|
-
const
|
|
3696
|
+
const releaseConfigShapeSchema = looseObject({ contentHash: looseObject({}).superRefine((contentHash, ctx) => {
|
|
3663
3697
|
const baselineTag = contentHash.baselineTag;
|
|
3664
3698
|
if (baselineTag !== void 0 && typeof baselineTag !== "function" && (typeof baselineTag !== "string" || baselineTag.trim().length === 0)) ctx.addIssue({
|
|
3665
3699
|
code: "custom",
|
|
@@ -3690,8 +3724,7 @@ const releaseContentHashShapeSchema = looseObject({}).superRefine((contentHash,
|
|
|
3690
3724
|
path: ["ignore", index]
|
|
3691
3725
|
});
|
|
3692
3726
|
}
|
|
3693
|
-
});
|
|
3694
|
-
const releaseConfigShapeSchema = looseObject({ contentHash: releaseContentHashShapeSchema.optional() });
|
|
3727
|
+
}).optional() });
|
|
3695
3728
|
const executionConcurrencyFields = [
|
|
3696
3729
|
"tasks",
|
|
3697
3730
|
"checkerBuild",
|
|
@@ -4035,7 +4068,6 @@ function validateLiminaConfig(config) {
|
|
|
4035
4068
|
const problems = collectLiminaConfigShapeProblems(config);
|
|
4036
4069
|
if (problems.length > 0) throw new Error(problems.join("\n\n"));
|
|
4037
4070
|
}
|
|
4038
|
-
|
|
4039
4071
|
//#endregion
|
|
4040
4072
|
//#region src/config/runner.ts
|
|
4041
4073
|
function isAutoCheckerConfigMode(checkers) {
|
|
@@ -4120,6 +4152,5 @@ async function loadConfig(options = {}) {
|
|
|
4120
4152
|
rootDir
|
|
4121
4153
|
};
|
|
4122
4154
|
}
|
|
4123
|
-
|
|
4124
4155
|
//#endregion
|
|
4125
|
-
export {
|
|
4156
|
+
export { isPackageImportSpecifier as A, resolveRelativeModuleCandidate as C, toPosixPath as D, normalizeSlashes as E, uniqueBy as F, uniqueSortedStrings as I, uniqueTrimmedNonEmptySortedStrings as L, isUrlOrDataOrFileSpecifier as M, isVirtualModuleSpecifier as N, toRelativePath as O, posix as P, uniqueValues as R, resolvePathMappedModuleCandidate as S, normalizeAbsolutePath as T, resolveModuleNameWithCheckers as _, formatUnknownValue as a, resolveBaseUrlModuleCandidate as b, clearCheckerProjectConfigCache as c, getBuildCheckerSupportedExtensions as d, getCheckerAdapter as f, resolveCheckerProjectExtensions as g, parseCheckerProjectConfigForContext as h, loadConfig as i, isRelativeSpecifier as j, isBarePackageSpecifier as k, collectMissingCheckerPeerDependencies as l, normalizeExtensions as m, getActiveCheckers as n, isNonEmptyString as o, getCheckerExtensions as p, isAutoCheckerConfigMode as r, isPlainRecord as s, defineConfig as t, formatMissingCheckerPeerDependencies as u, resolveModuleNameWithCheckersDetailed as v, isPathInsideDirectory as w, resolveExistingFilePath as x, candidatePathsForBasePath as y };
|