@valbuild/core 0.49.0 → 0.51.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.
@@ -2,19 +2,18 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ops = require('./ops-ca9f0095.cjs.dev.js');
6
- var index = require('./index-e8fbff39.cjs.dev.js');
7
- var expr_dist_valbuildCoreExpr = require('./index-690d965d.cjs.dev.js');
5
+ var ops = require('./ops-2b3f01fb.cjs.dev.js');
6
+ var index = require('./index-b14b0d9c.cjs.dev.js');
7
+ var expr_dist_valbuildCoreExpr = require('./index-f66c449e.cjs.dev.js');
8
8
  var result = require('./result-48320acd.cjs.dev.js');
9
9
 
10
10
  var NumberSchema = /*#__PURE__*/function (_Schema) {
11
11
  index._inherits(NumberSchema, _Schema);
12
- var _super = index._createSuper(NumberSchema);
13
12
  function NumberSchema(options) {
14
13
  var _this;
15
14
  var opt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
16
15
  index._classCallCheck(this, NumberSchema);
17
- _this = _super.call(this);
16
+ _this = index._callSuper(this, NumberSchema);
18
17
  _this.options = options;
19
18
  _this.opt = opt;
20
19
  return _this;
@@ -64,13 +63,12 @@ var number = function number(options) {
64
63
 
65
64
  var StringSchema = /*#__PURE__*/function (_Schema) {
66
65
  index._inherits(StringSchema, _Schema);
67
- var _super = index._createSuper(StringSchema);
68
66
  function StringSchema(options) {
69
67
  var _this;
70
68
  var opt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
71
69
  var isRaw = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
72
70
  index._classCallCheck(this, StringSchema);
73
- _this = _super.call(this);
71
+ _this = index._callSuper(this, StringSchema);
74
72
  _this.options = options;
75
73
  _this.opt = opt;
76
74
  _this.isRaw = isRaw;
@@ -158,12 +156,11 @@ var string = function string(options) {
158
156
 
159
157
  var BooleanSchema = /*#__PURE__*/function (_Schema) {
160
158
  index._inherits(BooleanSchema, _Schema);
161
- var _super = index._createSuper(BooleanSchema);
162
159
  function BooleanSchema() {
163
160
  var _this;
164
161
  var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
165
162
  index._classCallCheck(this, BooleanSchema);
166
- _this = _super.call(this);
163
+ _this = index._callSuper(this, BooleanSchema);
167
164
  _this.opt = opt;
168
165
  return _this;
169
166
  }
@@ -211,12 +208,11 @@ var _boolean = function _boolean() {
211
208
 
212
209
  var KeyOfSchema = /*#__PURE__*/function (_Schema) {
213
210
  index._inherits(KeyOfSchema, _Schema);
214
- var _super = index._createSuper(KeyOfSchema);
215
211
  function KeyOfSchema(selector) {
216
212
  var _this;
217
213
  var opt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
218
214
  index._classCallCheck(this, KeyOfSchema);
219
- _this = _super.call(this);
215
+ _this = index._callSuper(this, KeyOfSchema);
220
216
  _this.selector = selector;
221
217
  _this.opt = opt;
222
218
  return _this;
@@ -341,6 +337,7 @@ var keyOf = function keyOf(valModule) {
341
337
  // import type { F } from "ts-toolbelt";
342
338
  // import { i18n, I18n } from "./schema/future/i18n";
343
339
  // import { oneOf } from "./schema/future/oneOf";
340
+
344
341
  // export type InitSchemaLocalized<Locales extends readonly string[]> = {
345
342
  // readonly i18n: I18n<Locales>;
346
343
  // };
@@ -383,13 +380,16 @@ function initSchema() {
383
380
  /// Root and nodes
384
381
 
385
382
  /// Main types
383
+
386
384
  /**
387
385
  * RichTextSource is defined in ValModules
388
386
  **/
387
+
389
388
  /**
390
389
  * RichText is accessible by users (after conversion via useVal / fetchVal)
391
390
  * Internally it is a Selector
392
391
  **/
392
+
393
393
  function richtext(templateStrings) {
394
394
  for (var _len = arguments.length, nodes = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
395
395
  nodes[_key - 1] = arguments[_key];
@@ -405,12 +405,14 @@ function link(text, _ref) {
405
405
  /* eslint-disable @typescript-eslint/ban-types */
406
406
  // import { i18n, I18n } from "./source/future/i18n";
407
407
  // import { remote } from "./source/future/remote";
408
+
408
409
  // type NarrowStrings<A> =
409
410
  // | (A extends [] ? [] : never)
410
411
  // | (A extends string ? A : never)
411
412
  // | {
412
413
  // [K in keyof A]: NarrowStrings<A[K]>;
413
414
  // };
415
+
414
416
  // TODO: Rename to createValSystem (only to be used by internal things), we can then export * from '@valbuild/core' in the next package then.
415
417
  var initVal = function initVal() {
416
418
  // const locales = options?.locales;
@@ -1417,7 +1419,7 @@ var ValApi = /*#__PURE__*/function () {
1417
1419
  }, {
1418
1420
  key: "getEditUrl",
1419
1421
  value: function getEditUrl() {
1420
- return "".concat(this.host, "/static/edit");
1422
+ return "/val";
1421
1423
  }
1422
1424
  }, {
1423
1425
  key: "postPatches",
@@ -1560,6 +1562,7 @@ var Internal = {
1560
1562
  isVal: index.isVal,
1561
1563
  createValPathOfItem: ops.createValPathOfItem,
1562
1564
  getSHA256Hash: getSHA256Hash,
1565
+ initSchema: initSchema,
1563
1566
  createPatchJSONPath: function createPatchJSONPath(modulePath) {
1564
1567
  return "/".concat(modulePath.split(".").map(function (segment) {
1565
1568
  return segment && tryJsonParse(segment);
@@ -2,19 +2,18 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ops = require('./ops-7b8073b5.cjs.prod.js');
6
- var index = require('./index-af44930c.cjs.prod.js');
7
- var expr_dist_valbuildCoreExpr = require('./index-686d8832.cjs.prod.js');
5
+ var ops = require('./ops-cff2b7c2.cjs.prod.js');
6
+ var index = require('./index-0391a11a.cjs.prod.js');
7
+ var expr_dist_valbuildCoreExpr = require('./index-df01e42d.cjs.prod.js');
8
8
  var result = require('./result-26f67b40.cjs.prod.js');
9
9
 
10
10
  var NumberSchema = /*#__PURE__*/function (_Schema) {
11
11
  index._inherits(NumberSchema, _Schema);
12
- var _super = index._createSuper(NumberSchema);
13
12
  function NumberSchema(options) {
14
13
  var _this;
15
14
  var opt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
16
15
  index._classCallCheck(this, NumberSchema);
17
- _this = _super.call(this);
16
+ _this = index._callSuper(this, NumberSchema);
18
17
  _this.options = options;
19
18
  _this.opt = opt;
20
19
  return _this;
@@ -64,13 +63,12 @@ var number = function number(options) {
64
63
 
65
64
  var StringSchema = /*#__PURE__*/function (_Schema) {
66
65
  index._inherits(StringSchema, _Schema);
67
- var _super = index._createSuper(StringSchema);
68
66
  function StringSchema(options) {
69
67
  var _this;
70
68
  var opt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
71
69
  var isRaw = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
72
70
  index._classCallCheck(this, StringSchema);
73
- _this = _super.call(this);
71
+ _this = index._callSuper(this, StringSchema);
74
72
  _this.options = options;
75
73
  _this.opt = opt;
76
74
  _this.isRaw = isRaw;
@@ -158,12 +156,11 @@ var string = function string(options) {
158
156
 
159
157
  var BooleanSchema = /*#__PURE__*/function (_Schema) {
160
158
  index._inherits(BooleanSchema, _Schema);
161
- var _super = index._createSuper(BooleanSchema);
162
159
  function BooleanSchema() {
163
160
  var _this;
164
161
  var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
165
162
  index._classCallCheck(this, BooleanSchema);
166
- _this = _super.call(this);
163
+ _this = index._callSuper(this, BooleanSchema);
167
164
  _this.opt = opt;
168
165
  return _this;
169
166
  }
@@ -211,12 +208,11 @@ var _boolean = function _boolean() {
211
208
 
212
209
  var KeyOfSchema = /*#__PURE__*/function (_Schema) {
213
210
  index._inherits(KeyOfSchema, _Schema);
214
- var _super = index._createSuper(KeyOfSchema);
215
211
  function KeyOfSchema(selector) {
216
212
  var _this;
217
213
  var opt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
218
214
  index._classCallCheck(this, KeyOfSchema);
219
- _this = _super.call(this);
215
+ _this = index._callSuper(this, KeyOfSchema);
220
216
  _this.selector = selector;
221
217
  _this.opt = opt;
222
218
  return _this;
@@ -341,6 +337,7 @@ var keyOf = function keyOf(valModule) {
341
337
  // import type { F } from "ts-toolbelt";
342
338
  // import { i18n, I18n } from "./schema/future/i18n";
343
339
  // import { oneOf } from "./schema/future/oneOf";
340
+
344
341
  // export type InitSchemaLocalized<Locales extends readonly string[]> = {
345
342
  // readonly i18n: I18n<Locales>;
346
343
  // };
@@ -383,13 +380,16 @@ function initSchema() {
383
380
  /// Root and nodes
384
381
 
385
382
  /// Main types
383
+
386
384
  /**
387
385
  * RichTextSource is defined in ValModules
388
386
  **/
387
+
389
388
  /**
390
389
  * RichText is accessible by users (after conversion via useVal / fetchVal)
391
390
  * Internally it is a Selector
392
391
  **/
392
+
393
393
  function richtext(templateStrings) {
394
394
  for (var _len = arguments.length, nodes = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
395
395
  nodes[_key - 1] = arguments[_key];
@@ -405,12 +405,14 @@ function link(text, _ref) {
405
405
  /* eslint-disable @typescript-eslint/ban-types */
406
406
  // import { i18n, I18n } from "./source/future/i18n";
407
407
  // import { remote } from "./source/future/remote";
408
+
408
409
  // type NarrowStrings<A> =
409
410
  // | (A extends [] ? [] : never)
410
411
  // | (A extends string ? A : never)
411
412
  // | {
412
413
  // [K in keyof A]: NarrowStrings<A[K]>;
413
414
  // };
415
+
414
416
  // TODO: Rename to createValSystem (only to be used by internal things), we can then export * from '@valbuild/core' in the next package then.
415
417
  var initVal = function initVal() {
416
418
  // const locales = options?.locales;
@@ -1417,7 +1419,7 @@ var ValApi = /*#__PURE__*/function () {
1417
1419
  }, {
1418
1420
  key: "getEditUrl",
1419
1421
  value: function getEditUrl() {
1420
- return "".concat(this.host, "/static/edit");
1422
+ return "/val";
1421
1423
  }
1422
1424
  }, {
1423
1425
  key: "postPatches",
@@ -1560,6 +1562,7 @@ var Internal = {
1560
1562
  isVal: index.isVal,
1561
1563
  createValPathOfItem: ops.createValPathOfItem,
1562
1564
  getSHA256Hash: getSHA256Hash,
1565
+ initSchema: initSchema,
1563
1566
  createPatchJSONPath: function createPatchJSONPath(modulePath) {
1564
1567
  return "/".concat(modulePath.split(".").map(function (segment) {
1565
1568
  return segment && tryJsonParse(segment);
@@ -1,18 +1,17 @@
1
- import { a as array, o as object, u as union, r as richtext$1, i as image, l as literal, b as record, c as content, P as PatchError, n as newSelectorProxy, d as createValPathOfItem, e as isSelector, g as getSource, f as resolvePath, s as splitModuleIdAndModulePath } from './ops-8387575e.esm.js';
2
- export { A as ArraySchema, I as ImageSchema, L as LiteralSchema, O as ObjectSchema, R as RecordSchema, h as RichTextSchema, U as UnionSchema } from './ops-8387575e.esm.js';
3
- import { _ as _inherits, a as _createSuper, b as _classCallCheck, c as _createClass, d as _defineProperty, e as _typeof, S as Schema, G as GetSchema, g as getValPath, f as file, V as VAL_EXTENSION, h as file$1, i as _slicedToArray, j as isFile, F as FILE_REF_PROP, P as Path, k as GetSource, l as isSerializedVal, m as convertFileSource, n as getSchema, o as isVal } from './index-6cea0f23.esm.js';
4
- export { F as FILE_REF_PROP, q as FileSchema, p as GenericSelector, S as Schema, V as VAL_EXTENSION } from './index-6cea0f23.esm.js';
5
- export { i as expr } from './index-4c303f7c.esm.js';
1
+ import { a as array, o as object, u as union, r as richtext$1, i as image, l as literal, b as record, c as content, P as PatchError, n as newSelectorProxy, d as createValPathOfItem, e as isSelector, g as getSource, f as resolvePath, s as splitModuleIdAndModulePath } from './ops-2029f7c3.esm.js';
2
+ export { A as ArraySchema, I as ImageSchema, L as LiteralSchema, O as ObjectSchema, R as RecordSchema, h as RichTextSchema, U as UnionSchema } from './ops-2029f7c3.esm.js';
3
+ import { _ as _inherits, a as _classCallCheck, b as _callSuper, c as _createClass, d as _defineProperty, e as _typeof, S as Schema, G as GetSchema, g as getValPath, f as file, V as VAL_EXTENSION, h as file$1, i as _slicedToArray, j as isFile, F as FILE_REF_PROP, P as Path, k as GetSource, l as isSerializedVal, m as convertFileSource, n as getSchema, o as isVal } from './index-a038a0f3.esm.js';
4
+ export { F as FILE_REF_PROP, q as FileSchema, p as GenericSelector, S as Schema, V as VAL_EXTENSION } from './index-a038a0f3.esm.js';
5
+ export { i as expr } from './index-14edbcc8.esm.js';
6
6
  import { _ as _createForOfIteratorHelper, i as isErr, a as isOk, e as err, o as ok, r as result } from './result-b96df128.esm.js';
7
7
 
8
8
  var NumberSchema = /*#__PURE__*/function (_Schema) {
9
9
  _inherits(NumberSchema, _Schema);
10
- var _super = _createSuper(NumberSchema);
11
10
  function NumberSchema(options) {
12
11
  var _this;
13
12
  var opt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
14
13
  _classCallCheck(this, NumberSchema);
15
- _this = _super.call(this);
14
+ _this = _callSuper(this, NumberSchema);
16
15
  _this.options = options;
17
16
  _this.opt = opt;
18
17
  return _this;
@@ -62,13 +61,12 @@ var number = function number(options) {
62
61
 
63
62
  var StringSchema = /*#__PURE__*/function (_Schema) {
64
63
  _inherits(StringSchema, _Schema);
65
- var _super = _createSuper(StringSchema);
66
64
  function StringSchema(options) {
67
65
  var _this;
68
66
  var opt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
69
67
  var isRaw = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
70
68
  _classCallCheck(this, StringSchema);
71
- _this = _super.call(this);
69
+ _this = _callSuper(this, StringSchema);
72
70
  _this.options = options;
73
71
  _this.opt = opt;
74
72
  _this.isRaw = isRaw;
@@ -156,12 +154,11 @@ var string = function string(options) {
156
154
 
157
155
  var BooleanSchema = /*#__PURE__*/function (_Schema) {
158
156
  _inherits(BooleanSchema, _Schema);
159
- var _super = _createSuper(BooleanSchema);
160
157
  function BooleanSchema() {
161
158
  var _this;
162
159
  var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
163
160
  _classCallCheck(this, BooleanSchema);
164
- _this = _super.call(this);
161
+ _this = _callSuper(this, BooleanSchema);
165
162
  _this.opt = opt;
166
163
  return _this;
167
164
  }
@@ -209,12 +206,11 @@ var _boolean = function _boolean() {
209
206
 
210
207
  var KeyOfSchema = /*#__PURE__*/function (_Schema) {
211
208
  _inherits(KeyOfSchema, _Schema);
212
- var _super = _createSuper(KeyOfSchema);
213
209
  function KeyOfSchema(selector) {
214
210
  var _this;
215
211
  var opt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
216
212
  _classCallCheck(this, KeyOfSchema);
217
- _this = _super.call(this);
213
+ _this = _callSuper(this, KeyOfSchema);
218
214
  _this.selector = selector;
219
215
  _this.opt = opt;
220
216
  return _this;
@@ -339,6 +335,7 @@ var keyOf = function keyOf(valModule) {
339
335
  // import type { F } from "ts-toolbelt";
340
336
  // import { i18n, I18n } from "./schema/future/i18n";
341
337
  // import { oneOf } from "./schema/future/oneOf";
338
+
342
339
  // export type InitSchemaLocalized<Locales extends readonly string[]> = {
343
340
  // readonly i18n: I18n<Locales>;
344
341
  // };
@@ -381,13 +378,16 @@ function initSchema() {
381
378
  /// Root and nodes
382
379
 
383
380
  /// Main types
381
+
384
382
  /**
385
383
  * RichTextSource is defined in ValModules
386
384
  **/
385
+
387
386
  /**
388
387
  * RichText is accessible by users (after conversion via useVal / fetchVal)
389
388
  * Internally it is a Selector
390
389
  **/
390
+
391
391
  function richtext(templateStrings) {
392
392
  for (var _len = arguments.length, nodes = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
393
393
  nodes[_key - 1] = arguments[_key];
@@ -403,12 +403,14 @@ function link(text, _ref) {
403
403
  /* eslint-disable @typescript-eslint/ban-types */
404
404
  // import { i18n, I18n } from "./source/future/i18n";
405
405
  // import { remote } from "./source/future/remote";
406
+
406
407
  // type NarrowStrings<A> =
407
408
  // | (A extends [] ? [] : never)
408
409
  // | (A extends string ? A : never)
409
410
  // | {
410
411
  // [K in keyof A]: NarrowStrings<A[K]>;
411
412
  // };
413
+
412
414
  // TODO: Rename to createValSystem (only to be used by internal things), we can then export * from '@valbuild/core' in the next package then.
413
415
  var initVal = function initVal() {
414
416
  // const locales = options?.locales;
@@ -1415,7 +1417,7 @@ var ValApi = /*#__PURE__*/function () {
1415
1417
  }, {
1416
1418
  key: "getEditUrl",
1417
1419
  value: function getEditUrl() {
1418
- return "".concat(this.host, "/static/edit");
1420
+ return "/val";
1419
1421
  }
1420
1422
  }, {
1421
1423
  key: "postPatches",
@@ -1558,6 +1560,7 @@ var Internal = {
1558
1560
  isVal: isVal,
1559
1561
  createValPathOfItem: createValPathOfItem,
1560
1562
  getSHA256Hash: getSHA256Hash,
1563
+ initSchema: initSchema,
1561
1564
  createPatchJSONPath: function createPatchJSONPath(modulePath) {
1562
1565
  return "/".concat(modulePath.split(".").map(function (segment) {
1563
1566
  return segment && tryJsonParse(segment);
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var expr_dist_valbuildCoreExpr = require('../../dist/index-690d965d.cjs.dev.js');
6
- var index = require('../../dist/index-e8fbff39.cjs.dev.js');
5
+ var expr_dist_valbuildCoreExpr = require('../../dist/index-f66c449e.cjs.dev.js');
6
+ var index = require('../../dist/index-b14b0d9c.cjs.dev.js');
7
7
  require('../../dist/result-48320acd.cjs.dev.js');
8
8
 
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var expr_dist_valbuildCoreExpr = require('../../dist/index-686d8832.cjs.prod.js');
6
- var index = require('../../dist/index-af44930c.cjs.prod.js');
5
+ var expr_dist_valbuildCoreExpr = require('../../dist/index-df01e42d.cjs.prod.js');
6
+ var index = require('../../dist/index-0391a11a.cjs.prod.js');
7
7
  require('../../dist/result-26f67b40.cjs.prod.js');
8
8
 
9
9
 
@@ -1,3 +1,3 @@
1
- export { e as evaluate, p as parse } from '../../dist/index-4c303f7c.esm.js';
2
- export { C as Call, E as Expr, N as NilSym, t as StringLiteral, u as StringTemplate, s as Sym } from '../../dist/index-6cea0f23.esm.js';
1
+ export { e as evaluate, p as parse } from '../../dist/index-14edbcc8.esm.js';
2
+ export { C as Call, E as Expr, N as NilSym, t as StringLiteral, u as StringTemplate, s as Sym } from '../../dist/index-a038a0f3.esm.js';
3
3
  import '../../dist/result-b96df128.esm.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/core",
3
- "version": "0.49.0",
3
+ "version": "0.51.0",
4
4
  "private": false,
5
5
  "description": "Val - supercharged hard-coded content",
6
6
  "scripts": {
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('../../dist/index-e8fbff39.cjs.dev.js');
5
+ var index = require('../../dist/index-b14b0d9c.cjs.dev.js');
6
6
  var result = require('../../dist/result-48320acd.cjs.dev.js');
7
7
  var util = require('../../dist/util-b213092b.cjs.dev.js');
8
- var ops = require('../../dist/ops-ca9f0095.cjs.dev.js');
8
+ var ops = require('../../dist/ops-2b3f01fb.cjs.dev.js');
9
9
 
10
10
  function isNotRoot(path) {
11
11
  return result.isNonEmpty(path);
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('../../dist/index-af44930c.cjs.prod.js');
5
+ var index = require('../../dist/index-0391a11a.cjs.prod.js');
6
6
  var result = require('../../dist/result-26f67b40.cjs.prod.js');
7
7
  var util = require('../../dist/util-030d8a1f.cjs.prod.js');
8
- var ops = require('../../dist/ops-7b8073b5.cjs.prod.js');
8
+ var ops = require('../../dist/ops-cff2b7c2.cjs.prod.js');
9
9
 
10
10
  function isNotRoot(path) {
11
11
  return result.isNonEmpty(path);
@@ -1,8 +1,8 @@
1
- import { e as _typeof, i as _slicedToArray, c as _createClass, b as _classCallCheck, v as _toConsumableArray } from '../../dist/index-6cea0f23.esm.js';
1
+ import { e as _typeof, i as _slicedToArray, c as _createClass, a as _classCallCheck, v as _toConsumableArray } from '../../dist/index-a038a0f3.esm.js';
2
2
  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-b96df128.esm.js';
3
3
  import { p as pipe } from '../../dist/util-18613e99.esm.js';
4
- import { P as PatchError, s as splitModuleIdAndModulePath } from '../../dist/ops-8387575e.esm.js';
5
- export { P as PatchError } from '../../dist/ops-8387575e.esm.js';
4
+ import { P as PatchError, s as splitModuleIdAndModulePath } from '../../dist/ops-2029f7c3.esm.js';
5
+ export { P as PatchError } from '../../dist/ops-2029f7c3.esm.js';
6
6
 
7
7
  function isNotRoot(path) {
8
8
  return isNonEmpty(path);