@valbuild/core 0.125.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 +299 -0
- package/dist/declarations/src/index.d.ts +8 -2
- package/dist/declarations/src/initSchema.d.ts +62 -15
- package/dist/declarations/src/initVal.d.ts +108 -0
- package/dist/declarations/src/locale.d.ts +55 -0
- package/dist/declarations/src/render.d.ts +5 -4
- package/dist/declarations/src/schema/array.d.ts +69 -0
- package/dist/declarations/src/schema/boolean.d.ts +44 -0
- package/dist/declarations/src/schema/code.d.ts +63 -0
- package/dist/declarations/src/schema/color.d.ts +54 -0
- package/dist/declarations/src/schema/date.d.ts +64 -2
- package/dist/declarations/src/schema/datetime.d.ts +87 -2
- package/dist/declarations/src/schema/declaredKeys.d.ts +37 -0
- package/dist/declarations/src/schema/discriminatedUnion.d.ts +170 -0
- package/dist/declarations/src/schema/discriminatedUnionBranch.d.ts +20 -0
- package/dist/declarations/src/schema/enum.d.ts +131 -0
- package/dist/declarations/src/schema/file.d.ts +77 -0
- package/dist/declarations/src/schema/image.d.ts +102 -0
- package/dist/declarations/src/schema/index.d.ts +155 -2
- package/dist/declarations/src/schema/keyOf.d.ts +50 -0
- package/dist/declarations/src/schema/literal.d.ts +48 -0
- package/dist/declarations/src/schema/locale.d.ts +132 -0
- package/dist/declarations/src/schema/number.d.ts +58 -0
- package/dist/declarations/src/schema/object.d.ts +70 -0
- package/dist/declarations/src/schema/record.d.ts +187 -1
- package/dist/declarations/src/schema/richtext.d.ts +78 -0
- package/dist/declarations/src/schema/route.d.ts +44 -0
- package/dist/declarations/src/schema/settings.d.ts +54 -1
- package/dist/declarations/src/schema/string.d.ts +99 -0
- package/dist/declarations/src/schema/union.d.ts +54 -91
- package/dist/declarations/src/schema/validation/ValidationFix.d.ts +1 -1
- package/dist/declarations/src/source/settings.d.ts +51 -0
- package/dist/{index-915dd675.esm.js → index-5a6e6398.esm.js} +3057 -573
- package/dist/{index-daa122af.cjs.dev.js → index-889ac441.cjs.dev.js} +3064 -573
- package/dist/{index-a3846321.cjs.prod.js → index-d44deccb.cjs.prod.js} +3064 -573
- package/dist/valbuild-core.cjs.dev.js +9 -2
- package/dist/valbuild-core.cjs.prod.js +9 -2
- 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
|
|
|
@@ -20,6 +20,8 @@ exports.DEFAULT_CONTENT_HOST = dist_valbuildCore.DEFAULT_CONTENT_HOST;
|
|
|
20
20
|
exports.DEFAULT_VAL_REMOTE_HOST = dist_valbuildCore.DEFAULT_VAL_REMOTE_HOST;
|
|
21
21
|
exports.DateSchema = dist_valbuildCore.DateSchema;
|
|
22
22
|
exports.DateTimeSchema = dist_valbuildCore.DateTimeSchema;
|
|
23
|
+
exports.DiscriminatedUnionSchema = dist_valbuildCore.DiscriminatedUnionSchema;
|
|
24
|
+
exports.EnumSchema = dist_valbuildCore.EnumSchema;
|
|
23
25
|
exports.FATAL_ERROR_TYPES = dist_valbuildCore.FATAL_ERROR_TYPES;
|
|
24
26
|
exports.FileSchema = dist_valbuildCore.FileSchema;
|
|
25
27
|
exports.GenericSelector = dist_valbuildCore.GenericSelector;
|
|
@@ -27,6 +29,7 @@ exports.ImageSchema = dist_valbuildCore.ImageSchema;
|
|
|
27
29
|
exports.Internal = dist_valbuildCore.Internal;
|
|
28
30
|
exports.KeyOfSchema = dist_valbuildCore.KeyOfSchema;
|
|
29
31
|
exports.LiteralSchema = dist_valbuildCore.LiteralSchema;
|
|
32
|
+
exports.LocaleSchema = dist_valbuildCore.LocaleSchema;
|
|
30
33
|
exports.ModuleFilePathSep = dist_valbuildCore.ModuleFilePathSep;
|
|
31
34
|
exports.NumberSchema = dist_valbuildCore.NumberSchema;
|
|
32
35
|
exports.ObjectSchema = dist_valbuildCore.ObjectSchema;
|
|
@@ -37,12 +40,13 @@ exports.SETTINGS_MODULE_CONVENTION = dist_valbuildCore.SETTINGS_MODULE_CONVENTIO
|
|
|
37
40
|
exports.Schema = dist_valbuildCore.Schema;
|
|
38
41
|
exports.SettingsSchema = dist_valbuildCore.SettingsSchema;
|
|
39
42
|
exports.StringSchema = dist_valbuildCore.StringSchema;
|
|
40
|
-
exports.UnionSchema = dist_valbuildCore.UnionSchema;
|
|
41
43
|
exports.VAL_EXTENSION = dist_valbuildCore.VAL_EXTENSION;
|
|
42
44
|
exports.assistantAvailability = dist_valbuildCore.assistantAvailability;
|
|
43
45
|
exports.computeValModuleShas = dist_valbuildCore.computeValModuleShas;
|
|
46
|
+
exports.declaredKeySetOf = dist_valbuildCore.declaredKeySetOf;
|
|
44
47
|
exports.derefPatch = dist_valbuildCore.derefPatch;
|
|
45
48
|
exports.deserializeSchema = dist_valbuildCore.deserializeSchema;
|
|
49
|
+
exports.discriminatedUnionBranchOf = dist_valbuildCore.discriminatedUnionBranchOf;
|
|
46
50
|
exports.extractValModules = dist_valbuildCore.extractValModules;
|
|
47
51
|
exports.getSourcePathFromRoute = dist_valbuildCore.getSourcePathFromRoute;
|
|
48
52
|
exports.hasMediaSchema = dist_valbuildCore.hasMediaSchema;
|
|
@@ -51,6 +55,9 @@ exports.initVal = dist_valbuildCore.initVal;
|
|
|
51
55
|
exports.isInlineRender = dist_valbuildCore.isInlineRender;
|
|
52
56
|
exports.isPageRouter = dist_valbuildCore.isPageRouter;
|
|
53
57
|
exports.isRootModuleFilePath = dist_valbuildCore.isRootModuleFilePath;
|
|
58
|
+
exports.localeOfValue = dist_valbuildCore.localeOfValue;
|
|
59
|
+
exports.localeTagError = dist_valbuildCore.localeTagError;
|
|
60
|
+
exports.missingDeclaredKeys = dist_valbuildCore.missingDeclaredKeys;
|
|
54
61
|
exports.modules = dist_valbuildCore.modules;
|
|
55
62
|
exports.parseNextJsRoutePattern = dist_valbuildCore.parseNextJsRoutePattern;
|
|
56
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
|
|
|
@@ -20,6 +20,8 @@ exports.DEFAULT_CONTENT_HOST = dist_valbuildCore.DEFAULT_CONTENT_HOST;
|
|
|
20
20
|
exports.DEFAULT_VAL_REMOTE_HOST = dist_valbuildCore.DEFAULT_VAL_REMOTE_HOST;
|
|
21
21
|
exports.DateSchema = dist_valbuildCore.DateSchema;
|
|
22
22
|
exports.DateTimeSchema = dist_valbuildCore.DateTimeSchema;
|
|
23
|
+
exports.DiscriminatedUnionSchema = dist_valbuildCore.DiscriminatedUnionSchema;
|
|
24
|
+
exports.EnumSchema = dist_valbuildCore.EnumSchema;
|
|
23
25
|
exports.FATAL_ERROR_TYPES = dist_valbuildCore.FATAL_ERROR_TYPES;
|
|
24
26
|
exports.FileSchema = dist_valbuildCore.FileSchema;
|
|
25
27
|
exports.GenericSelector = dist_valbuildCore.GenericSelector;
|
|
@@ -27,6 +29,7 @@ exports.ImageSchema = dist_valbuildCore.ImageSchema;
|
|
|
27
29
|
exports.Internal = dist_valbuildCore.Internal;
|
|
28
30
|
exports.KeyOfSchema = dist_valbuildCore.KeyOfSchema;
|
|
29
31
|
exports.LiteralSchema = dist_valbuildCore.LiteralSchema;
|
|
32
|
+
exports.LocaleSchema = dist_valbuildCore.LocaleSchema;
|
|
30
33
|
exports.ModuleFilePathSep = dist_valbuildCore.ModuleFilePathSep;
|
|
31
34
|
exports.NumberSchema = dist_valbuildCore.NumberSchema;
|
|
32
35
|
exports.ObjectSchema = dist_valbuildCore.ObjectSchema;
|
|
@@ -37,12 +40,13 @@ exports.SETTINGS_MODULE_CONVENTION = dist_valbuildCore.SETTINGS_MODULE_CONVENTIO
|
|
|
37
40
|
exports.Schema = dist_valbuildCore.Schema;
|
|
38
41
|
exports.SettingsSchema = dist_valbuildCore.SettingsSchema;
|
|
39
42
|
exports.StringSchema = dist_valbuildCore.StringSchema;
|
|
40
|
-
exports.UnionSchema = dist_valbuildCore.UnionSchema;
|
|
41
43
|
exports.VAL_EXTENSION = dist_valbuildCore.VAL_EXTENSION;
|
|
42
44
|
exports.assistantAvailability = dist_valbuildCore.assistantAvailability;
|
|
43
45
|
exports.computeValModuleShas = dist_valbuildCore.computeValModuleShas;
|
|
46
|
+
exports.declaredKeySetOf = dist_valbuildCore.declaredKeySetOf;
|
|
44
47
|
exports.derefPatch = dist_valbuildCore.derefPatch;
|
|
45
48
|
exports.deserializeSchema = dist_valbuildCore.deserializeSchema;
|
|
49
|
+
exports.discriminatedUnionBranchOf = dist_valbuildCore.discriminatedUnionBranchOf;
|
|
46
50
|
exports.extractValModules = dist_valbuildCore.extractValModules;
|
|
47
51
|
exports.getSourcePathFromRoute = dist_valbuildCore.getSourcePathFromRoute;
|
|
48
52
|
exports.hasMediaSchema = dist_valbuildCore.hasMediaSchema;
|
|
@@ -51,6 +55,9 @@ exports.initVal = dist_valbuildCore.initVal;
|
|
|
51
55
|
exports.isInlineRender = dist_valbuildCore.isInlineRender;
|
|
52
56
|
exports.isPageRouter = dist_valbuildCore.isPageRouter;
|
|
53
57
|
exports.isRootModuleFilePath = dist_valbuildCore.isRootModuleFilePath;
|
|
58
|
+
exports.localeOfValue = dist_valbuildCore.localeOfValue;
|
|
59
|
+
exports.localeTagError = dist_valbuildCore.localeTagError;
|
|
60
|
+
exports.missingDeclaredKeys = dist_valbuildCore.missingDeclaredKeys;
|
|
54
61
|
exports.modules = dist_valbuildCore.modules;
|
|
55
62
|
exports.parseNextJsRoutePattern = dist_valbuildCore.parseNextJsRoutePattern;
|
|
56
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
|
|