@valbuild/core 0.87.0 → 0.87.2

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.
@@ -701,7 +701,7 @@ var StringSchema = /*#__PURE__*/function (_Schema) {
701
701
  value: function minLength(_minLength) {
702
702
  return new StringSchema(_objectSpread2(_objectSpread2({}, this.options), {}, {
703
703
  minLength: _minLength
704
- }), this.opt, this.isRaw);
704
+ }), this.opt, this.isRaw, this.customValidateFunctions, this.renderInput);
705
705
  }
706
706
 
707
707
  /**
@@ -717,7 +717,7 @@ var StringSchema = /*#__PURE__*/function (_Schema) {
717
717
  value: function maxLength(_maxLength) {
718
718
  return new StringSchema(_objectSpread2(_objectSpread2({}, this.options), {}, {
719
719
  maxLength: _maxLength
720
- }), this.opt, this.isRaw);
720
+ }), this.opt, this.isRaw, this.customValidateFunctions, this.renderInput);
721
721
  }
722
722
  }, {
723
723
  key: "regexp",
@@ -725,12 +725,12 @@ var StringSchema = /*#__PURE__*/function (_Schema) {
725
725
  return new StringSchema(_objectSpread2(_objectSpread2({}, this.options), {}, {
726
726
  regexp: _regexp,
727
727
  regExpMessage: message
728
- }), this.opt, this.isRaw);
728
+ }), this.opt, this.isRaw, this.customValidateFunctions, this.renderInput);
729
729
  }
730
730
  }, {
731
731
  key: "validate",
732
732
  value: function validate(validationFunction) {
733
- return new StringSchema(this.options, this.opt, this.isRaw, this.customValidateFunctions.concat(validationFunction));
733
+ return new StringSchema(this.options, this.opt, this.isRaw, this.customValidateFunctions.concat(validationFunction), this.renderInput);
734
734
  }
735
735
  }, {
736
736
  key: "executeValidate",
@@ -797,12 +797,12 @@ var StringSchema = /*#__PURE__*/function (_Schema) {
797
797
  }, {
798
798
  key: "nullable",
799
799
  value: function nullable() {
800
- return new StringSchema(this.options, true, this.isRaw);
800
+ return new StringSchema(this.options, true, this.isRaw, this.customValidateFunctions, this.renderInput);
801
801
  }
802
802
  }, {
803
803
  key: "raw",
804
804
  value: function raw() {
805
- return new StringSchema(this.options, this.opt, true);
805
+ return new StringSchema(this.options, this.opt, true, this.customValidateFunctions, this.renderInput);
806
806
  }
807
807
  }, {
808
808
  key: "executeSerialize",
@@ -701,7 +701,7 @@ var StringSchema = /*#__PURE__*/function (_Schema) {
701
701
  value: function minLength(_minLength) {
702
702
  return new StringSchema(_objectSpread2(_objectSpread2({}, this.options), {}, {
703
703
  minLength: _minLength
704
- }), this.opt, this.isRaw);
704
+ }), this.opt, this.isRaw, this.customValidateFunctions, this.renderInput);
705
705
  }
706
706
 
707
707
  /**
@@ -717,7 +717,7 @@ var StringSchema = /*#__PURE__*/function (_Schema) {
717
717
  value: function maxLength(_maxLength) {
718
718
  return new StringSchema(_objectSpread2(_objectSpread2({}, this.options), {}, {
719
719
  maxLength: _maxLength
720
- }), this.opt, this.isRaw);
720
+ }), this.opt, this.isRaw, this.customValidateFunctions, this.renderInput);
721
721
  }
722
722
  }, {
723
723
  key: "regexp",
@@ -725,12 +725,12 @@ var StringSchema = /*#__PURE__*/function (_Schema) {
725
725
  return new StringSchema(_objectSpread2(_objectSpread2({}, this.options), {}, {
726
726
  regexp: _regexp,
727
727
  regExpMessage: message
728
- }), this.opt, this.isRaw);
728
+ }), this.opt, this.isRaw, this.customValidateFunctions, this.renderInput);
729
729
  }
730
730
  }, {
731
731
  key: "validate",
732
732
  value: function validate(validationFunction) {
733
- return new StringSchema(this.options, this.opt, this.isRaw, this.customValidateFunctions.concat(validationFunction));
733
+ return new StringSchema(this.options, this.opt, this.isRaw, this.customValidateFunctions.concat(validationFunction), this.renderInput);
734
734
  }
735
735
  }, {
736
736
  key: "executeValidate",
@@ -797,12 +797,12 @@ var StringSchema = /*#__PURE__*/function (_Schema) {
797
797
  }, {
798
798
  key: "nullable",
799
799
  value: function nullable() {
800
- return new StringSchema(this.options, true, this.isRaw);
800
+ return new StringSchema(this.options, true, this.isRaw, this.customValidateFunctions, this.renderInput);
801
801
  }
802
802
  }, {
803
803
  key: "raw",
804
804
  value: function raw() {
805
- return new StringSchema(this.options, this.opt, true);
805
+ return new StringSchema(this.options, this.opt, true, this.customValidateFunctions, this.renderInput);
806
806
  }
807
807
  }, {
808
808
  key: "executeSerialize",
@@ -699,7 +699,7 @@ var StringSchema = /*#__PURE__*/function (_Schema) {
699
699
  value: function minLength(_minLength) {
700
700
  return new StringSchema(_objectSpread2(_objectSpread2({}, this.options), {}, {
701
701
  minLength: _minLength
702
- }), this.opt, this.isRaw);
702
+ }), this.opt, this.isRaw, this.customValidateFunctions, this.renderInput);
703
703
  }
704
704
 
705
705
  /**
@@ -715,7 +715,7 @@ var StringSchema = /*#__PURE__*/function (_Schema) {
715
715
  value: function maxLength(_maxLength) {
716
716
  return new StringSchema(_objectSpread2(_objectSpread2({}, this.options), {}, {
717
717
  maxLength: _maxLength
718
- }), this.opt, this.isRaw);
718
+ }), this.opt, this.isRaw, this.customValidateFunctions, this.renderInput);
719
719
  }
720
720
  }, {
721
721
  key: "regexp",
@@ -723,12 +723,12 @@ var StringSchema = /*#__PURE__*/function (_Schema) {
723
723
  return new StringSchema(_objectSpread2(_objectSpread2({}, this.options), {}, {
724
724
  regexp: _regexp,
725
725
  regExpMessage: message
726
- }), this.opt, this.isRaw);
726
+ }), this.opt, this.isRaw, this.customValidateFunctions, this.renderInput);
727
727
  }
728
728
  }, {
729
729
  key: "validate",
730
730
  value: function validate(validationFunction) {
731
- return new StringSchema(this.options, this.opt, this.isRaw, this.customValidateFunctions.concat(validationFunction));
731
+ return new StringSchema(this.options, this.opt, this.isRaw, this.customValidateFunctions.concat(validationFunction), this.renderInput);
732
732
  }
733
733
  }, {
734
734
  key: "executeValidate",
@@ -795,12 +795,12 @@ var StringSchema = /*#__PURE__*/function (_Schema) {
795
795
  }, {
796
796
  key: "nullable",
797
797
  value: function nullable() {
798
- return new StringSchema(this.options, true, this.isRaw);
798
+ return new StringSchema(this.options, true, this.isRaw, this.customValidateFunctions, this.renderInput);
799
799
  }
800
800
  }, {
801
801
  key: "raw",
802
802
  value: function raw() {
803
- return new StringSchema(this.options, this.opt, true);
803
+ return new StringSchema(this.options, this.opt, true, this.customValidateFunctions, this.renderInput);
804
804
  }
805
805
  }, {
806
806
  key: "executeSerialize",
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var dist_valbuildCore = require('./index-14d1cd02.cjs.dev.js');
5
+ var dist_valbuildCore = require('./index-c05b59eb.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-53e70985.cjs.prod.js');
5
+ var dist_valbuildCore = require('./index-af1d2d7a.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, p as RichTextSchema, S as Schema, k as StringSchema, U as UnionSchema, V as VAL_EXTENSION, j as derefPatch, q as deserializeSchema, i as initVal, m as modules } from './index-cb7787a6.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, p as RichTextSchema, S as Schema, k as StringSchema, U as UnionSchema, V as VAL_EXTENSION, j as derefPatch, q as deserializeSchema, i as initVal, m as modules } from './index-e0c4e804.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.87.0",
3
+ "version": "0.87.2",
4
4
  "private": false,
5
5
  "description": "Val - supercharged hard-coded content",
6
6
  "scripts": {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var dist_valbuildCore = require('../../dist/index-14d1cd02.cjs.dev.js');
5
+ var dist_valbuildCore = require('../../dist/index-c05b59eb.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-53e70985.cjs.prod.js');
5
+ var dist_valbuildCore = require('../../dist/index-af1d2d7a.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-cb7787a6.esm.js';
2
- export { P as PatchError } from '../../dist/index-cb7787a6.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-e0c4e804.esm.js';
2
+ export { P as PatchError } from '../../dist/index-e0c4e804.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