@valbuild/core 0.126.0 → 0.128.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +296 -0
  2. package/dist/declarations/src/index.d.ts +5 -1
  3. package/dist/declarations/src/initSchema.d.ts +31 -15
  4. package/dist/declarations/src/locale.d.ts +55 -0
  5. package/dist/declarations/src/schema/array.d.ts +4 -0
  6. package/dist/declarations/src/schema/declaredKeys.d.ts +37 -0
  7. package/dist/declarations/src/schema/discriminatedUnion.d.ts +4 -0
  8. package/dist/declarations/src/schema/discriminatedUnionBranch.d.ts +20 -0
  9. package/dist/declarations/src/schema/enum.d.ts +9 -0
  10. package/dist/declarations/src/schema/file.d.ts +3 -3
  11. package/dist/declarations/src/schema/{files.d.ts → fileset.d.ts} +10 -10
  12. package/dist/declarations/src/schema/hasRemoteFileSchema.d.ts +3 -3
  13. package/dist/declarations/src/schema/image.d.ts +9 -5
  14. package/dist/declarations/src/schema/{images.d.ts → imageset.d.ts} +54 -21
  15. package/dist/declarations/src/schema/index.d.ts +116 -3
  16. package/dist/declarations/src/schema/literal.d.ts +2 -0
  17. package/dist/declarations/src/schema/locale.d.ts +132 -0
  18. package/dist/declarations/src/schema/object.d.ts +7 -0
  19. package/dist/declarations/src/schema/record.d.ts +57 -7
  20. package/dist/declarations/src/schema/settings.d.ts +54 -1
  21. package/dist/declarations/src/schema/validation/ValidationFix.d.ts +1 -1
  22. package/dist/declarations/src/source/settings.d.ts +51 -0
  23. package/dist/{index-6db78f3c.cjs.prod.js → index-053ccde2.cjs.prod.js} +1114 -91
  24. package/dist/{index-b41b638f.cjs.dev.js → index-c3ae637d.cjs.dev.js} +1114 -91
  25. package/dist/{index-cd25c2dc.esm.js → index-db41de3c.esm.js} +1109 -92
  26. package/dist/valbuild-core.cjs.dev.js +7 -1
  27. package/dist/valbuild-core.cjs.prod.js +7 -1
  28. package/dist/valbuild-core.esm.js +1 -1
  29. package/package.json +1 -1
  30. package/patch/dist/valbuild-core-patch.cjs.dev.js +1 -1
  31. package/patch/dist/valbuild-core-patch.cjs.prod.js +1 -1
  32. 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-b41b638f.cjs.dev.js');
5
+ var dist_valbuildCore = require('./index-c3ae637d.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-6db78f3c.cjs.prod.js');
5
+ var dist_valbuildCore = require('./index-053ccde2.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, z as CODE_LANGUAGES, E as COLOR_FORMATS, y as CodeSchema, C as ColorSchema, e as DEFAULT_APP_HOST, H as DEFAULT_COLOR_FORMAT, D as DEFAULT_CONTENT_HOST, k as DEFAULT_VAL_REMOTE_HOST, q as DateSchema, J as DateTimeSchema, T as DiscriminatedUnionSchema, U as EnumSchema, F as FATAL_ERROR_TYPES, p as FileSchema, G as GenericSelector, o as ImageSchema, I as Internal, K as KeyOfSchema, W as LiteralSchema, M as ModuleFilePathSep, N as NumberSchema, O as ObjectSchema, R as RecordSchema, Q as RichTextSchema, L 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, l as derefPatch, X as deserializeSchema, f as extractValModules, a3 as getSourcePathFromRoute, j as hasMediaSchema, h as hasRemoteFileSchema, i as initVal, Z as isInlineRender, a4 as isPageRouter, w as isRootModuleFilePath, m as modules, $ as parseNextJsRoutePattern, a0 as parseTanStackRoutePattern, Y as previewScope, x as resolveSettingsModule, a1 as tanStackSegmentsOfRoutePath, a2 as validateUrlAgainstPattern } from './index-cd25c2dc.esm.js';
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-db41de3c.esm.js';
2
2
  import './result-daff1cae.esm.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/core",
3
- "version": "0.126.0",
3
+ "version": "0.128.0",
4
4
  "private": false,
5
5
  "description": "Val - supercharged hard-coded content",
6
6
  "repository": {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var dist_valbuildCore = require('../../dist/index-b41b638f.cjs.dev.js');
5
+ var dist_valbuildCore = require('../../dist/index-c3ae637d.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-6db78f3c.cjs.prod.js');
5
+ var dist_valbuildCore = require('../../dist/index-053ccde2.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-cd25c2dc.esm.js';
2
- export { P as PatchError } from '../../dist/index-cd25c2dc.esm.js';
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-db41de3c.esm.js';
2
+ export { P as PatchError } from '../../dist/index-db41de3c.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