@valbuild/core 0.126.0 → 0.127.0
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/CHANGELOG.md +184 -0
- package/dist/declarations/src/index.d.ts +5 -1
- package/dist/declarations/src/initSchema.d.ts +16 -0
- package/dist/declarations/src/locale.d.ts +55 -0
- package/dist/declarations/src/schema/array.d.ts +4 -0
- package/dist/declarations/src/schema/declaredKeys.d.ts +37 -0
- package/dist/declarations/src/schema/discriminatedUnion.d.ts +4 -0
- package/dist/declarations/src/schema/discriminatedUnionBranch.d.ts +20 -0
- package/dist/declarations/src/schema/enum.d.ts +9 -0
- package/dist/declarations/src/schema/index.d.ts +116 -3
- package/dist/declarations/src/schema/literal.d.ts +2 -0
- package/dist/declarations/src/schema/locale.d.ts +132 -0
- package/dist/declarations/src/schema/object.d.ts +7 -0
- package/dist/declarations/src/schema/record.d.ts +51 -1
- package/dist/declarations/src/schema/settings.d.ts +54 -1
- package/dist/declarations/src/schema/validation/ValidationFix.d.ts +1 -1
- package/dist/declarations/src/source/settings.d.ts +51 -0
- package/dist/{index-cd25c2dc.esm.js → index-5a6e6398.esm.js} +1035 -54
- package/dist/{index-b41b638f.cjs.dev.js → index-889ac441.cjs.dev.js} +1040 -53
- package/dist/{index-6db78f3c.cjs.prod.js → index-d44deccb.cjs.prod.js} +1040 -53
- package/dist/valbuild-core.cjs.dev.js +7 -1
- package/dist/valbuild-core.cjs.prod.js +7 -1
- package/dist/valbuild-core.esm.js +1 -1
- package/package.json +1 -1
- package/patch/dist/valbuild-core-patch.cjs.dev.js +1 -1
- package/patch/dist/valbuild-core-patch.cjs.prod.js +1 -1
- package/patch/dist/valbuild-core-patch.esm.js +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var dist_valbuildCore = require('./index-
|
|
5
|
+
var dist_valbuildCore = require('./index-889ac441.cjs.dev.js');
|
|
6
6
|
require('./result-bb1f436e.cjs.dev.js');
|
|
7
7
|
|
|
8
8
|
|
|
@@ -29,6 +29,7 @@ exports.ImageSchema = dist_valbuildCore.ImageSchema;
|
|
|
29
29
|
exports.Internal = dist_valbuildCore.Internal;
|
|
30
30
|
exports.KeyOfSchema = dist_valbuildCore.KeyOfSchema;
|
|
31
31
|
exports.LiteralSchema = dist_valbuildCore.LiteralSchema;
|
|
32
|
+
exports.LocaleSchema = dist_valbuildCore.LocaleSchema;
|
|
32
33
|
exports.ModuleFilePathSep = dist_valbuildCore.ModuleFilePathSep;
|
|
33
34
|
exports.NumberSchema = dist_valbuildCore.NumberSchema;
|
|
34
35
|
exports.ObjectSchema = dist_valbuildCore.ObjectSchema;
|
|
@@ -42,8 +43,10 @@ exports.StringSchema = dist_valbuildCore.StringSchema;
|
|
|
42
43
|
exports.VAL_EXTENSION = dist_valbuildCore.VAL_EXTENSION;
|
|
43
44
|
exports.assistantAvailability = dist_valbuildCore.assistantAvailability;
|
|
44
45
|
exports.computeValModuleShas = dist_valbuildCore.computeValModuleShas;
|
|
46
|
+
exports.declaredKeySetOf = dist_valbuildCore.declaredKeySetOf;
|
|
45
47
|
exports.derefPatch = dist_valbuildCore.derefPatch;
|
|
46
48
|
exports.deserializeSchema = dist_valbuildCore.deserializeSchema;
|
|
49
|
+
exports.discriminatedUnionBranchOf = dist_valbuildCore.discriminatedUnionBranchOf;
|
|
47
50
|
exports.extractValModules = dist_valbuildCore.extractValModules;
|
|
48
51
|
exports.getSourcePathFromRoute = dist_valbuildCore.getSourcePathFromRoute;
|
|
49
52
|
exports.hasMediaSchema = dist_valbuildCore.hasMediaSchema;
|
|
@@ -52,6 +55,9 @@ exports.initVal = dist_valbuildCore.initVal;
|
|
|
52
55
|
exports.isInlineRender = dist_valbuildCore.isInlineRender;
|
|
53
56
|
exports.isPageRouter = dist_valbuildCore.isPageRouter;
|
|
54
57
|
exports.isRootModuleFilePath = dist_valbuildCore.isRootModuleFilePath;
|
|
58
|
+
exports.localeOfValue = dist_valbuildCore.localeOfValue;
|
|
59
|
+
exports.localeTagError = dist_valbuildCore.localeTagError;
|
|
60
|
+
exports.missingDeclaredKeys = dist_valbuildCore.missingDeclaredKeys;
|
|
55
61
|
exports.modules = dist_valbuildCore.modules;
|
|
56
62
|
exports.parseNextJsRoutePattern = dist_valbuildCore.parseNextJsRoutePattern;
|
|
57
63
|
exports.parseTanStackRoutePattern = dist_valbuildCore.parseTanStackRoutePattern;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var dist_valbuildCore = require('./index-
|
|
5
|
+
var dist_valbuildCore = require('./index-d44deccb.cjs.prod.js');
|
|
6
6
|
require('./result-787e35f6.cjs.prod.js');
|
|
7
7
|
|
|
8
8
|
|
|
@@ -29,6 +29,7 @@ exports.ImageSchema = dist_valbuildCore.ImageSchema;
|
|
|
29
29
|
exports.Internal = dist_valbuildCore.Internal;
|
|
30
30
|
exports.KeyOfSchema = dist_valbuildCore.KeyOfSchema;
|
|
31
31
|
exports.LiteralSchema = dist_valbuildCore.LiteralSchema;
|
|
32
|
+
exports.LocaleSchema = dist_valbuildCore.LocaleSchema;
|
|
32
33
|
exports.ModuleFilePathSep = dist_valbuildCore.ModuleFilePathSep;
|
|
33
34
|
exports.NumberSchema = dist_valbuildCore.NumberSchema;
|
|
34
35
|
exports.ObjectSchema = dist_valbuildCore.ObjectSchema;
|
|
@@ -42,8 +43,10 @@ exports.StringSchema = dist_valbuildCore.StringSchema;
|
|
|
42
43
|
exports.VAL_EXTENSION = dist_valbuildCore.VAL_EXTENSION;
|
|
43
44
|
exports.assistantAvailability = dist_valbuildCore.assistantAvailability;
|
|
44
45
|
exports.computeValModuleShas = dist_valbuildCore.computeValModuleShas;
|
|
46
|
+
exports.declaredKeySetOf = dist_valbuildCore.declaredKeySetOf;
|
|
45
47
|
exports.derefPatch = dist_valbuildCore.derefPatch;
|
|
46
48
|
exports.deserializeSchema = dist_valbuildCore.deserializeSchema;
|
|
49
|
+
exports.discriminatedUnionBranchOf = dist_valbuildCore.discriminatedUnionBranchOf;
|
|
47
50
|
exports.extractValModules = dist_valbuildCore.extractValModules;
|
|
48
51
|
exports.getSourcePathFromRoute = dist_valbuildCore.getSourcePathFromRoute;
|
|
49
52
|
exports.hasMediaSchema = dist_valbuildCore.hasMediaSchema;
|
|
@@ -52,6 +55,9 @@ exports.initVal = dist_valbuildCore.initVal;
|
|
|
52
55
|
exports.isInlineRender = dist_valbuildCore.isInlineRender;
|
|
53
56
|
exports.isPageRouter = dist_valbuildCore.isPageRouter;
|
|
54
57
|
exports.isRootModuleFilePath = dist_valbuildCore.isRootModuleFilePath;
|
|
58
|
+
exports.localeOfValue = dist_valbuildCore.localeOfValue;
|
|
59
|
+
exports.localeTagError = dist_valbuildCore.localeTagError;
|
|
60
|
+
exports.missingDeclaredKeys = dist_valbuildCore.missingDeclaredKeys;
|
|
55
61
|
exports.modules = dist_valbuildCore.modules;
|
|
56
62
|
exports.parseNextJsRoutePattern = dist_valbuildCore.parseNextJsRoutePattern;
|
|
57
63
|
exports.parseTanStackRoutePattern = dist_valbuildCore.parseTanStackRoutePattern;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { t as ASSISTANT_SETTINGS_MAX_LENGTH, A as ArraySchema, B as BooleanSchema,
|
|
1
|
+
export { t as ASSISTANT_SETTINGS_MAX_LENGTH, A as ArraySchema, B as BooleanSchema, Q as CODE_LANGUAGES, T as COLOR_FORMATS, K as CodeSchema, J as ColorSchema, e as DEFAULT_APP_HOST, U as DEFAULT_COLOR_FORMAT, D as DEFAULT_CONTENT_HOST, k as DEFAULT_VAL_REMOTE_HOST, q as DateSchema, W as DateTimeSchema, $ as DiscriminatedUnionSchema, a0 as EnumSchema, F as FATAL_ERROR_TYPES, p as FileSchema, G as GenericSelector, o as ImageSchema, I as Internal, X as KeyOfSchema, a1 as LiteralSchema, L as LocaleSchema, M as ModuleFilePathSep, N as NumberSchema, O as ObjectSchema, R as RecordSchema, Z as RichTextSchema, Y as RouteSchema, v as SETTINGS_MODULE_CONVENTION, S as Schema, r as SettingsSchema, n as StringSchema, V as VAL_EXTENSION, u as assistantAvailability, g as computeValModuleShas, C as declaredKeySetOf, l as derefPatch, a2 as deserializeSchema, H as discriminatedUnionBranchOf, f as extractValModules, a9 as getSourcePathFromRoute, j as hasMediaSchema, h as hasRemoteFileSchema, i as initVal, a4 as isInlineRender, aa as isPageRouter, w as isRootModuleFilePath, z as localeOfValue, y as localeTagError, E as missingDeclaredKeys, m as modules, a5 as parseNextJsRoutePattern, a6 as parseTanStackRoutePattern, a3 as previewScope, x as resolveSettingsModule, a7 as tanStackSegmentsOfRoutePath, a8 as validateUrlAgainstPattern } from './index-5a6e6398.esm.js';
|
|
2
2
|
import './result-daff1cae.esm.js';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var dist_valbuildCore = require('../../dist/index-
|
|
5
|
+
var dist_valbuildCore = require('../../dist/index-889ac441.cjs.dev.js');
|
|
6
6
|
var result = require('../../dist/result-bb1f436e.cjs.dev.js');
|
|
7
7
|
var util = require('../../dist/util-b213092b.cjs.dev.js');
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var dist_valbuildCore = require('../../dist/index-
|
|
5
|
+
var dist_valbuildCore = require('../../dist/index-d44deccb.cjs.prod.js');
|
|
6
6
|
var result = require('../../dist/result-787e35f6.cjs.prod.js');
|
|
7
7
|
var util = require('../../dist/util-030d8a1f.cjs.prod.js');
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _typeof, a as _slicedToArray, P as PatchError, s as splitModuleFilePathAndModulePath, b as _createClass, c as _classCallCheck, d as _toConsumableArray } from '../../dist/index-
|
|
2
|
-
export { P as PatchError } from '../../dist/index-
|
|
1
|
+
import { _ as _typeof, a as _slicedToArray, P as PatchError, s as splitModuleFilePathAndModulePath, b as _createClass, c as _classCallCheck, d as _toConsumableArray } from '../../dist/index-5a6e6398.esm.js';
|
|
2
|
+
export { P as PatchError } from '../../dist/index-5a6e6398.esm.js';
|
|
3
3
|
import { f as isNonEmpty, e as err, o as ok, m as map, g as flatMap, i as isErr, h as flatMapReduce, j as filterOrElse, k as mapErr, l as map$1, n as all, p as flatten, q as allT } from '../../dist/result-daff1cae.esm.js';
|
|
4
4
|
import { p as pipe } from '../../dist/util-18613e99.esm.js';
|
|
5
5
|
|