@valbuild/core 0.95.0 → 0.96.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.
@@ -5830,7 +5830,7 @@ function deserializeSchema(serialized) {
5830
5830
  return new StringSchema(_objectSpread2(_objectSpread2({}, serialized.options), {}, {
5831
5831
  regexp: ((_serialized$options = serialized.options) === null || _serialized$options === void 0 ? void 0 : _serialized$options.regexp) && new RegExp(serialized.options.regexp.source, serialized.options.regexp.flags),
5832
5832
  regExpMessage: (_serialized$options2 = serialized.options) === null || _serialized$options2 === void 0 || (_serialized$options2 = _serialized$options2.regexp) === null || _serialized$options2 === void 0 ? void 0 : _serialized$options2.message
5833
- }), serialized.opt);
5833
+ }), serialized.opt, serialized.raw);
5834
5834
  case "literal":
5835
5835
  return new LiteralSchema(serialized.value, serialized.opt);
5836
5836
  case "boolean":
@@ -5885,11 +5885,11 @@ function deserializeSchema(serialized) {
5885
5885
  return new RouteSchema(routeOptions, serialized.opt);
5886
5886
  }
5887
5887
  case "file":
5888
- return new FileSchema(serialized.options, serialized.opt);
5888
+ return new FileSchema(serialized.options, serialized.opt, serialized.remote);
5889
5889
  case "image":
5890
- return new ImageSchema(serialized.options, serialized.opt);
5890
+ return new ImageSchema(serialized.options, serialized.opt, serialized.remote);
5891
5891
  case "date":
5892
- return new DateSchema(serialized.options);
5892
+ return new DateSchema(serialized.options, serialized.opt);
5893
5893
  default:
5894
5894
  {
5895
5895
  var exhaustiveCheck = serialized;
@@ -5830,7 +5830,7 @@ function deserializeSchema(serialized) {
5830
5830
  return new StringSchema(_objectSpread2(_objectSpread2({}, serialized.options), {}, {
5831
5831
  regexp: ((_serialized$options = serialized.options) === null || _serialized$options === void 0 ? void 0 : _serialized$options.regexp) && new RegExp(serialized.options.regexp.source, serialized.options.regexp.flags),
5832
5832
  regExpMessage: (_serialized$options2 = serialized.options) === null || _serialized$options2 === void 0 || (_serialized$options2 = _serialized$options2.regexp) === null || _serialized$options2 === void 0 ? void 0 : _serialized$options2.message
5833
- }), serialized.opt);
5833
+ }), serialized.opt, serialized.raw);
5834
5834
  case "literal":
5835
5835
  return new LiteralSchema(serialized.value, serialized.opt);
5836
5836
  case "boolean":
@@ -5885,11 +5885,11 @@ function deserializeSchema(serialized) {
5885
5885
  return new RouteSchema(routeOptions, serialized.opt);
5886
5886
  }
5887
5887
  case "file":
5888
- return new FileSchema(serialized.options, serialized.opt);
5888
+ return new FileSchema(serialized.options, serialized.opt, serialized.remote);
5889
5889
  case "image":
5890
- return new ImageSchema(serialized.options, serialized.opt);
5890
+ return new ImageSchema(serialized.options, serialized.opt, serialized.remote);
5891
5891
  case "date":
5892
- return new DateSchema(serialized.options);
5892
+ return new DateSchema(serialized.options, serialized.opt);
5893
5893
  default:
5894
5894
  {
5895
5895
  var exhaustiveCheck = serialized;
@@ -5828,7 +5828,7 @@ function deserializeSchema(serialized) {
5828
5828
  return new StringSchema(_objectSpread2(_objectSpread2({}, serialized.options), {}, {
5829
5829
  regexp: ((_serialized$options = serialized.options) === null || _serialized$options === void 0 ? void 0 : _serialized$options.regexp) && new RegExp(serialized.options.regexp.source, serialized.options.regexp.flags),
5830
5830
  regExpMessage: (_serialized$options2 = serialized.options) === null || _serialized$options2 === void 0 || (_serialized$options2 = _serialized$options2.regexp) === null || _serialized$options2 === void 0 ? void 0 : _serialized$options2.message
5831
- }), serialized.opt);
5831
+ }), serialized.opt, serialized.raw);
5832
5832
  case "literal":
5833
5833
  return new LiteralSchema(serialized.value, serialized.opt);
5834
5834
  case "boolean":
@@ -5883,11 +5883,11 @@ function deserializeSchema(serialized) {
5883
5883
  return new RouteSchema(routeOptions, serialized.opt);
5884
5884
  }
5885
5885
  case "file":
5886
- return new FileSchema(serialized.options, serialized.opt);
5886
+ return new FileSchema(serialized.options, serialized.opt, serialized.remote);
5887
5887
  case "image":
5888
- return new ImageSchema(serialized.options, serialized.opt);
5888
+ return new ImageSchema(serialized.options, serialized.opt, serialized.remote);
5889
5889
  case "date":
5890
- return new DateSchema(serialized.options);
5890
+ return new DateSchema(serialized.options, serialized.opt);
5891
5891
  default:
5892
5892
  {
5893
5893
  var exhaustiveCheck = serialized;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var dist_valbuildCore = require('./index-e7f3333f.cjs.dev.js');
5
+ var dist_valbuildCore = require('./index-1d88f031.cjs.dev.js');
6
6
  require('./result-bb1f436e.cjs.dev.js');
7
7
 
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var dist_valbuildCore = require('./index-37395d55.cjs.prod.js');
5
+ var dist_valbuildCore = require('./index-2e89de75.cjs.prod.js');
6
6
  require('./result-787e35f6.cjs.prod.js');
7
7
 
8
8
 
@@ -1,2 +1,2 @@
1
- export { A as ArraySchema, B as BooleanSchema, e as DEFAULT_APP_HOST, D as DEFAULT_CONTENT_HOST, f as DEFAULT_VAL_REMOTE_HOST, o as DateSchema, F as FATAL_ERROR_TYPES, g as FILE_REF_PROP, h as FILE_REF_SUBTYPE_TAG, n as FileSchema, G as GenericSelector, l as ImageSchema, I as Internal, K as KeyOfSchema, L as LiteralSchema, M as ModuleFilePathSep, N as NumberSchema, O as ObjectSchema, R as RecordSchema, q as RichTextSchema, p as RouteSchema, S as Schema, k as StringSchema, U as UnionSchema, V as VAL_EXTENSION, j as derefPatch, r as deserializeSchema, t as getSourcePathFromRoute, i as initVal, m as modules } from './index-1e99dc98.esm.js';
1
+ export { A as ArraySchema, B as BooleanSchema, e as DEFAULT_APP_HOST, D as DEFAULT_CONTENT_HOST, f as DEFAULT_VAL_REMOTE_HOST, o as DateSchema, F as FATAL_ERROR_TYPES, g as FILE_REF_PROP, h as FILE_REF_SUBTYPE_TAG, n as FileSchema, G as GenericSelector, l as ImageSchema, I as Internal, K as KeyOfSchema, L as LiteralSchema, M as ModuleFilePathSep, N as NumberSchema, O as ObjectSchema, R as RecordSchema, q as RichTextSchema, p as RouteSchema, S as Schema, k as StringSchema, U as UnionSchema, V as VAL_EXTENSION, j as derefPatch, r as deserializeSchema, t as getSourcePathFromRoute, i as initVal, m as modules } from './index-68cee7e3.esm.js';
2
2
  import './result-4bd63123.esm.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/core",
3
- "version": "0.95.0",
3
+ "version": "0.96.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-e7f3333f.cjs.dev.js');
5
+ var dist_valbuildCore = require('../../dist/index-1d88f031.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-37395d55.cjs.prod.js');
5
+ var dist_valbuildCore = require('../../dist/index-2e89de75.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-1e99dc98.esm.js';
2
- export { P as PatchError } from '../../dist/index-1e99dc98.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-68cee7e3.esm.js';
2
+ export { P as PatchError } from '../../dist/index-68cee7e3.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-4bd63123.esm.js';
4
4
  import { p as pipe } from '../../dist/util-18613e99.esm.js';
5
5