@valbuild/core 0.92.0 → 0.94.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/dist/declarations/src/index.d.ts +1 -1
- package/dist/declarations/src/initSchema.d.ts +59 -2
- package/dist/declarations/src/module.d.ts +2 -1
- package/dist/declarations/src/router.d.ts +1 -1
- package/dist/declarations/src/schema/file.d.ts +7 -4
- package/dist/declarations/src/schema/files.d.ts +56 -0
- package/dist/declarations/src/schema/image.d.ts +11 -7
- package/dist/declarations/src/schema/images.d.ts +85 -0
- package/dist/declarations/src/schema/object.d.ts +2 -0
- package/dist/declarations/src/schema/record.d.ts +20 -1
- package/dist/declarations/src/schema/validation/ValidationFix.d.ts +1 -1
- package/dist/declarations/src/selector/index.d.ts +1 -1
- package/dist/declarations/src/source/index.d.ts +3 -2
- package/dist/declarations/src/source/remote.d.ts +1 -1
- package/dist/declarations/src/source/richtext.d.ts +2 -2
- package/dist/{index-0688e9f7.esm.js → index-bfe08f16.esm.js} +571 -179
- package/dist/{index-89cd4eb4.cjs.dev.js → index-c9252d4a.cjs.dev.js} +570 -178
- package/dist/{index-ad8961ed.cjs.prod.js → index-f8101689.cjs.prod.js} +570 -178
- package/dist/{result-daff1cae.esm.js → result-4bd63123.esm.js} +1 -1
- package/dist/valbuild-core.cjs.dev.js +1 -1
- package/dist/valbuild-core.cjs.prod.js +1 -1
- package/dist/valbuild-core.esm.js +2 -2
- package/fp/dist/valbuild-core-fp.esm.js +1 -1
- package/package.json +1 -1
- package/patch/dist/valbuild-core-patch.cjs.dev.js +2 -1
- package/patch/dist/valbuild-core-patch.cjs.prod.js +2 -1
- package/patch/dist/valbuild-core-patch.esm.js +4 -3
|
@@ -272,4 +272,4 @@ var result = /*#__PURE__*/Object.freeze({
|
|
|
272
272
|
filterOrElse: filterOrElse
|
|
273
273
|
});
|
|
274
274
|
|
|
275
|
-
export {
|
|
275
|
+
export { _arrayLikeToArray as _, _unsupportedIterableToArray as a, _createForOfIteratorHelper as b, isOk as c, array as d, err as e, isNonEmpty as f, flatMap as g, flatMapReduce as h, isErr as i, filterOrElse as j, mapErr as k, map$1 as l, map as m, all as n, ok as o, flatten as p, allT as q, result as r };
|
|
@@ -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, i as initVal, m as modules } from './index-
|
|
2
|
-
import './result-
|
|
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, i as initVal, m as modules } from './index-bfe08f16.esm.js';
|
|
2
|
+
import './result-4bd63123.esm.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { d as array, r as result } from '../../dist/result-
|
|
1
|
+
export { d as array, r as result } from '../../dist/result-4bd63123.esm.js';
|
|
2
2
|
export { p as pipe, t as tap } from '../../dist/util-18613e99.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-c9252d4a.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
|
|
|
@@ -63,6 +63,7 @@ function sourceToPatchPath(sourcePath) {
|
|
|
63
63
|
var _splitModuleFilePathA = dist_valbuildCore.splitModuleFilePathAndModulePath(sourcePath),
|
|
64
64
|
_splitModuleFilePathA2 = dist_valbuildCore._slicedToArray(_splitModuleFilePathA, 2),
|
|
65
65
|
modulePath = _splitModuleFilePathA2[1];
|
|
66
|
+
if (!modulePath) return [];
|
|
66
67
|
return modulePath.split(".").map(function (p) {
|
|
67
68
|
return JSON.parse(p).toString();
|
|
68
69
|
});
|
|
@@ -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-f8101689.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
|
|
|
@@ -63,6 +63,7 @@ function sourceToPatchPath(sourcePath) {
|
|
|
63
63
|
var _splitModuleFilePathA = dist_valbuildCore.splitModuleFilePathAndModulePath(sourcePath),
|
|
64
64
|
_splitModuleFilePathA2 = dist_valbuildCore._slicedToArray(_splitModuleFilePathA, 2),
|
|
65
65
|
modulePath = _splitModuleFilePathA2[1];
|
|
66
|
+
if (!modulePath) return [];
|
|
66
67
|
return modulePath.split(".").map(function (p) {
|
|
67
68
|
return JSON.parse(p).toString();
|
|
68
69
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
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-
|
|
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-bfe08f16.esm.js';
|
|
2
|
+
export { P as PatchError } from '../../dist/index-bfe08f16.esm.js';
|
|
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
|
|
|
6
6
|
function isNotRoot(path) {
|
|
@@ -60,6 +60,7 @@ function sourceToPatchPath(sourcePath) {
|
|
|
60
60
|
var _splitModuleFilePathA = splitModuleFilePathAndModulePath(sourcePath),
|
|
61
61
|
_splitModuleFilePathA2 = _slicedToArray(_splitModuleFilePathA, 2),
|
|
62
62
|
modulePath = _splitModuleFilePathA2[1];
|
|
63
|
+
if (!modulePath) return [];
|
|
63
64
|
return modulePath.split(".").map(function (p) {
|
|
64
65
|
return JSON.parse(p).toString();
|
|
65
66
|
});
|