@valbuild/core 0.67.0 → 0.67.1
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/schema/validation/ValidationFix.d.ts +1 -1
- package/dist/{index-38cd75f9.cjs.dev.js → index-3d77ee46.cjs.dev.js} +21 -19
- package/dist/{index-062f9388.esm.js → index-439509d7.esm.js} +21 -19
- package/dist/{index-55eeef93.cjs.prod.js → index-b20f2afc.cjs.prod.js} +21 -19
- package/dist/valbuild-core.cjs.dev.js +1 -1
- package/dist/valbuild-core.cjs.prod.js +1 -1
- package/dist/valbuild-core.esm.js +1 -1
- package/expr/dist/valbuild-core-expr.cjs.dev.js +1 -1
- package/expr/dist/valbuild-core-expr.cjs.prod.js +1 -1
- package/expr/dist/valbuild-core-expr.esm.js +1 -1
- package/package.json +1 -1
- package/patch/dist/valbuild-core-patch.cjs.dev.js +1 -1
- package/patch/dist/valbuild-core-patch.cjs.prod.js +1 -1
- package/patch/dist/valbuild-core-patch.esm.js +2 -2
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const ValidationFix: readonly ["image:add-metadata", "image:
|
1
|
+
export declare const ValidationFix: readonly ["image:change-extension", "image:add-metadata", "image:check-metadata", "file:change-extension", "file:add-metadata", "file:check-metadata"];
|
2
2
|
export type ValidationFix = (typeof ValidationFix)[number];
|
@@ -449,7 +449,8 @@ var FileSchema = /*#__PURE__*/function (_Schema) {
|
|
449
449
|
if (src[VAL_EXTENSION] !== "file") {
|
450
450
|
return _defineProperty({}, path, [{
|
451
451
|
message: "File did not have the valid file extension type. Got: ".concat(src[VAL_EXTENSION]),
|
452
|
-
value: src
|
452
|
+
value: src,
|
453
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
453
454
|
}]);
|
454
455
|
}
|
455
456
|
var _ref4 = this.options || {},
|
@@ -459,7 +460,8 @@ var FileSchema = /*#__PURE__*/function (_Schema) {
|
|
459
460
|
if (accept && mimeType && !mimeType.includes("/")) {
|
460
461
|
return _defineProperty({}, path, [{
|
461
462
|
message: "Invalid mime type format. Got: ".concat(mimeType),
|
462
|
-
value: src
|
463
|
+
value: src,
|
464
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
463
465
|
}]);
|
464
466
|
}
|
465
467
|
if (accept && mimeType && mimeType.includes("/")) {
|
@@ -479,7 +481,8 @@ var FileSchema = /*#__PURE__*/function (_Schema) {
|
|
479
481
|
if (!isValidMimeType) {
|
480
482
|
return _defineProperty({}, path, [{
|
481
483
|
message: "Mime type mismatch. Found '".concat(mimeType, "' but schema accepts '").concat(accept, "'"),
|
482
|
-
value: src
|
484
|
+
value: src,
|
485
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
483
486
|
}]);
|
484
487
|
}
|
485
488
|
}
|
@@ -487,13 +490,15 @@ var FileSchema = /*#__PURE__*/function (_Schema) {
|
|
487
490
|
if (!fileMimeType) {
|
488
491
|
return _defineProperty({}, path, [{
|
489
492
|
message: "Could not determine mime type from file extension. Got: ".concat(src[FILE_REF_PROP]),
|
490
|
-
value: src
|
493
|
+
value: src,
|
494
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
491
495
|
}]);
|
492
496
|
}
|
493
497
|
if (fileMimeType !== mimeType) {
|
494
498
|
return _defineProperty({}, path, [{
|
495
499
|
message: "Mime type and file extension not matching. Mime type is '".concat(mimeType, "' but file extension is '").concat(fileMimeType, "'"),
|
496
|
-
value: src
|
500
|
+
value: src,
|
501
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
497
502
|
}]);
|
498
503
|
}
|
499
504
|
if (src.metadata) {
|
@@ -2094,14 +2099,6 @@ var RichTextSchema = /*#__PURE__*/function (_Schema) {
|
|
2094
2099
|
return _createClass(RichTextSchema, [{
|
2095
2100
|
key: "validate",
|
2096
2101
|
value: function validate(path, src) {
|
2097
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2098
|
-
if (src !== null && src !== void 0 && src.markdownish) {
|
2099
|
-
return _defineProperty({}, path, [{
|
2100
|
-
message: "Replace markdown with structured format",
|
2101
|
-
value: src,
|
2102
|
-
fixes: ["fix:deprecated-richtext"]
|
2103
|
-
}]);
|
2104
|
-
}
|
2105
2102
|
var assertRes = this.assert(path, src);
|
2106
2103
|
if (!assertRes.success) {
|
2107
2104
|
return _defineProperty({}, path, assertRes.errors[path]);
|
@@ -2296,7 +2293,8 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2296
2293
|
if (src[VAL_EXTENSION] !== "file") {
|
2297
2294
|
return _defineProperty({}, path, [{
|
2298
2295
|
message: "Image did not have the valid file extension type. Got: ".concat(src[VAL_EXTENSION]),
|
2299
|
-
value: src
|
2296
|
+
value: src,
|
2297
|
+
fixes: ["image:change-extension", "image:check-metadata"]
|
2300
2298
|
}]);
|
2301
2299
|
}
|
2302
2300
|
var _ref4 = this.options || {},
|
@@ -2306,7 +2304,8 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2306
2304
|
if (accept && mimeType && !mimeType.includes("/")) {
|
2307
2305
|
return _defineProperty({}, path, [{
|
2308
2306
|
message: "Invalid mime type format. Got: '".concat(mimeType, "'"),
|
2309
|
-
value: src
|
2307
|
+
value: src,
|
2308
|
+
fixes: ["image:check-metadata"]
|
2310
2309
|
}]);
|
2311
2310
|
}
|
2312
2311
|
if (accept && mimeType && mimeType.includes("/")) {
|
@@ -2326,7 +2325,8 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2326
2325
|
if (!isValidMimeType) {
|
2327
2326
|
return _defineProperty({}, path, [{
|
2328
2327
|
message: "Mime type mismatch. Found '".concat(mimeType, "' but schema accepts '").concat(accept, "'"),
|
2329
|
-
value: src
|
2328
|
+
value: src,
|
2329
|
+
fixes: ["image:check-metadata"]
|
2330
2330
|
}]);
|
2331
2331
|
}
|
2332
2332
|
}
|
@@ -2334,13 +2334,15 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2334
2334
|
if (!fileMimeType) {
|
2335
2335
|
return _defineProperty({}, path, [{
|
2336
2336
|
message: "Could not determine mime type from file extension. Got: ".concat(src[FILE_REF_PROP]),
|
2337
|
-
value: src
|
2337
|
+
value: src,
|
2338
|
+
fixes: ["image:check-metadata"]
|
2338
2339
|
}]);
|
2339
2340
|
}
|
2340
2341
|
if (fileMimeType && mimeType && fileMimeType !== mimeType) {
|
2341
2342
|
return _defineProperty({}, path, [{
|
2342
2343
|
message: "Mime type and file extension not matching. Mime type is '".concat(mimeType, "' but file extension is '").concat(fileMimeType, "'"),
|
2343
|
-
value: src
|
2344
|
+
value: src,
|
2345
|
+
fixes: ["image:check-metadata"]
|
2344
2346
|
}]);
|
2345
2347
|
}
|
2346
2348
|
if (src.metadata) {
|
@@ -2356,7 +2358,7 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2356
2358
|
message: "Found metadata, but it could not be validated. Image metadata must be an object with the required props: width (positive number), height (positive number) and the mime type.",
|
2357
2359
|
// These validation errors will have to be picked up by logic outside of this package and revalidated. Reasons: 1) we have to read files to verify the metadata, which is handled differently in different runtimes (Browser, QuickJS, Node.js); 2) we want to keep this package dependency free.
|
2358
2360
|
value: src,
|
2359
|
-
fixes: ["image:
|
2361
|
+
fixes: ["image:check-metadata"]
|
2360
2362
|
}]);
|
2361
2363
|
}
|
2362
2364
|
return _defineProperty({}, path, [{
|
@@ -447,7 +447,8 @@ var FileSchema = /*#__PURE__*/function (_Schema) {
|
|
447
447
|
if (src[VAL_EXTENSION] !== "file") {
|
448
448
|
return _defineProperty({}, path, [{
|
449
449
|
message: "File did not have the valid file extension type. Got: ".concat(src[VAL_EXTENSION]),
|
450
|
-
value: src
|
450
|
+
value: src,
|
451
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
451
452
|
}]);
|
452
453
|
}
|
453
454
|
var _ref4 = this.options || {},
|
@@ -457,7 +458,8 @@ var FileSchema = /*#__PURE__*/function (_Schema) {
|
|
457
458
|
if (accept && mimeType && !mimeType.includes("/")) {
|
458
459
|
return _defineProperty({}, path, [{
|
459
460
|
message: "Invalid mime type format. Got: ".concat(mimeType),
|
460
|
-
value: src
|
461
|
+
value: src,
|
462
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
461
463
|
}]);
|
462
464
|
}
|
463
465
|
if (accept && mimeType && mimeType.includes("/")) {
|
@@ -477,7 +479,8 @@ var FileSchema = /*#__PURE__*/function (_Schema) {
|
|
477
479
|
if (!isValidMimeType) {
|
478
480
|
return _defineProperty({}, path, [{
|
479
481
|
message: "Mime type mismatch. Found '".concat(mimeType, "' but schema accepts '").concat(accept, "'"),
|
480
|
-
value: src
|
482
|
+
value: src,
|
483
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
481
484
|
}]);
|
482
485
|
}
|
483
486
|
}
|
@@ -485,13 +488,15 @@ var FileSchema = /*#__PURE__*/function (_Schema) {
|
|
485
488
|
if (!fileMimeType) {
|
486
489
|
return _defineProperty({}, path, [{
|
487
490
|
message: "Could not determine mime type from file extension. Got: ".concat(src[FILE_REF_PROP]),
|
488
|
-
value: src
|
491
|
+
value: src,
|
492
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
489
493
|
}]);
|
490
494
|
}
|
491
495
|
if (fileMimeType !== mimeType) {
|
492
496
|
return _defineProperty({}, path, [{
|
493
497
|
message: "Mime type and file extension not matching. Mime type is '".concat(mimeType, "' but file extension is '").concat(fileMimeType, "'"),
|
494
|
-
value: src
|
498
|
+
value: src,
|
499
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
495
500
|
}]);
|
496
501
|
}
|
497
502
|
if (src.metadata) {
|
@@ -2092,14 +2097,6 @@ var RichTextSchema = /*#__PURE__*/function (_Schema) {
|
|
2092
2097
|
return _createClass(RichTextSchema, [{
|
2093
2098
|
key: "validate",
|
2094
2099
|
value: function validate(path, src) {
|
2095
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2096
|
-
if (src !== null && src !== void 0 && src.markdownish) {
|
2097
|
-
return _defineProperty({}, path, [{
|
2098
|
-
message: "Replace markdown with structured format",
|
2099
|
-
value: src,
|
2100
|
-
fixes: ["fix:deprecated-richtext"]
|
2101
|
-
}]);
|
2102
|
-
}
|
2103
2100
|
var assertRes = this.assert(path, src);
|
2104
2101
|
if (!assertRes.success) {
|
2105
2102
|
return _defineProperty({}, path, assertRes.errors[path]);
|
@@ -2294,7 +2291,8 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2294
2291
|
if (src[VAL_EXTENSION] !== "file") {
|
2295
2292
|
return _defineProperty({}, path, [{
|
2296
2293
|
message: "Image did not have the valid file extension type. Got: ".concat(src[VAL_EXTENSION]),
|
2297
|
-
value: src
|
2294
|
+
value: src,
|
2295
|
+
fixes: ["image:change-extension", "image:check-metadata"]
|
2298
2296
|
}]);
|
2299
2297
|
}
|
2300
2298
|
var _ref4 = this.options || {},
|
@@ -2304,7 +2302,8 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2304
2302
|
if (accept && mimeType && !mimeType.includes("/")) {
|
2305
2303
|
return _defineProperty({}, path, [{
|
2306
2304
|
message: "Invalid mime type format. Got: '".concat(mimeType, "'"),
|
2307
|
-
value: src
|
2305
|
+
value: src,
|
2306
|
+
fixes: ["image:check-metadata"]
|
2308
2307
|
}]);
|
2309
2308
|
}
|
2310
2309
|
if (accept && mimeType && mimeType.includes("/")) {
|
@@ -2324,7 +2323,8 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2324
2323
|
if (!isValidMimeType) {
|
2325
2324
|
return _defineProperty({}, path, [{
|
2326
2325
|
message: "Mime type mismatch. Found '".concat(mimeType, "' but schema accepts '").concat(accept, "'"),
|
2327
|
-
value: src
|
2326
|
+
value: src,
|
2327
|
+
fixes: ["image:check-metadata"]
|
2328
2328
|
}]);
|
2329
2329
|
}
|
2330
2330
|
}
|
@@ -2332,13 +2332,15 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2332
2332
|
if (!fileMimeType) {
|
2333
2333
|
return _defineProperty({}, path, [{
|
2334
2334
|
message: "Could not determine mime type from file extension. Got: ".concat(src[FILE_REF_PROP]),
|
2335
|
-
value: src
|
2335
|
+
value: src,
|
2336
|
+
fixes: ["image:check-metadata"]
|
2336
2337
|
}]);
|
2337
2338
|
}
|
2338
2339
|
if (fileMimeType && mimeType && fileMimeType !== mimeType) {
|
2339
2340
|
return _defineProperty({}, path, [{
|
2340
2341
|
message: "Mime type and file extension not matching. Mime type is '".concat(mimeType, "' but file extension is '").concat(fileMimeType, "'"),
|
2341
|
-
value: src
|
2342
|
+
value: src,
|
2343
|
+
fixes: ["image:check-metadata"]
|
2342
2344
|
}]);
|
2343
2345
|
}
|
2344
2346
|
if (src.metadata) {
|
@@ -2354,7 +2356,7 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2354
2356
|
message: "Found metadata, but it could not be validated. Image metadata must be an object with the required props: width (positive number), height (positive number) and the mime type.",
|
2355
2357
|
// These validation errors will have to be picked up by logic outside of this package and revalidated. Reasons: 1) we have to read files to verify the metadata, which is handled differently in different runtimes (Browser, QuickJS, Node.js); 2) we want to keep this package dependency free.
|
2356
2358
|
value: src,
|
2357
|
-
fixes: ["image:
|
2359
|
+
fixes: ["image:check-metadata"]
|
2358
2360
|
}]);
|
2359
2361
|
}
|
2360
2362
|
return _defineProperty({}, path, [{
|
@@ -449,7 +449,8 @@ var FileSchema = /*#__PURE__*/function (_Schema) {
|
|
449
449
|
if (src[VAL_EXTENSION] !== "file") {
|
450
450
|
return _defineProperty({}, path, [{
|
451
451
|
message: "File did not have the valid file extension type. Got: ".concat(src[VAL_EXTENSION]),
|
452
|
-
value: src
|
452
|
+
value: src,
|
453
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
453
454
|
}]);
|
454
455
|
}
|
455
456
|
var _ref4 = this.options || {},
|
@@ -459,7 +460,8 @@ var FileSchema = /*#__PURE__*/function (_Schema) {
|
|
459
460
|
if (accept && mimeType && !mimeType.includes("/")) {
|
460
461
|
return _defineProperty({}, path, [{
|
461
462
|
message: "Invalid mime type format. Got: ".concat(mimeType),
|
462
|
-
value: src
|
463
|
+
value: src,
|
464
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
463
465
|
}]);
|
464
466
|
}
|
465
467
|
if (accept && mimeType && mimeType.includes("/")) {
|
@@ -479,7 +481,8 @@ var FileSchema = /*#__PURE__*/function (_Schema) {
|
|
479
481
|
if (!isValidMimeType) {
|
480
482
|
return _defineProperty({}, path, [{
|
481
483
|
message: "Mime type mismatch. Found '".concat(mimeType, "' but schema accepts '").concat(accept, "'"),
|
482
|
-
value: src
|
484
|
+
value: src,
|
485
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
483
486
|
}]);
|
484
487
|
}
|
485
488
|
}
|
@@ -487,13 +490,15 @@ var FileSchema = /*#__PURE__*/function (_Schema) {
|
|
487
490
|
if (!fileMimeType) {
|
488
491
|
return _defineProperty({}, path, [{
|
489
492
|
message: "Could not determine mime type from file extension. Got: ".concat(src[FILE_REF_PROP]),
|
490
|
-
value: src
|
493
|
+
value: src,
|
494
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
491
495
|
}]);
|
492
496
|
}
|
493
497
|
if (fileMimeType !== mimeType) {
|
494
498
|
return _defineProperty({}, path, [{
|
495
499
|
message: "Mime type and file extension not matching. Mime type is '".concat(mimeType, "' but file extension is '").concat(fileMimeType, "'"),
|
496
|
-
value: src
|
500
|
+
value: src,
|
501
|
+
fixes: ["file:change-extension", "file:check-metadata"]
|
497
502
|
}]);
|
498
503
|
}
|
499
504
|
if (src.metadata) {
|
@@ -2094,14 +2099,6 @@ var RichTextSchema = /*#__PURE__*/function (_Schema) {
|
|
2094
2099
|
return _createClass(RichTextSchema, [{
|
2095
2100
|
key: "validate",
|
2096
2101
|
value: function validate(path, src) {
|
2097
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2098
|
-
if (src !== null && src !== void 0 && src.markdownish) {
|
2099
|
-
return _defineProperty({}, path, [{
|
2100
|
-
message: "Replace markdown with structured format",
|
2101
|
-
value: src,
|
2102
|
-
fixes: ["fix:deprecated-richtext"]
|
2103
|
-
}]);
|
2104
|
-
}
|
2105
2102
|
var assertRes = this.assert(path, src);
|
2106
2103
|
if (!assertRes.success) {
|
2107
2104
|
return _defineProperty({}, path, assertRes.errors[path]);
|
@@ -2296,7 +2293,8 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2296
2293
|
if (src[VAL_EXTENSION] !== "file") {
|
2297
2294
|
return _defineProperty({}, path, [{
|
2298
2295
|
message: "Image did not have the valid file extension type. Got: ".concat(src[VAL_EXTENSION]),
|
2299
|
-
value: src
|
2296
|
+
value: src,
|
2297
|
+
fixes: ["image:change-extension", "image:check-metadata"]
|
2300
2298
|
}]);
|
2301
2299
|
}
|
2302
2300
|
var _ref4 = this.options || {},
|
@@ -2306,7 +2304,8 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2306
2304
|
if (accept && mimeType && !mimeType.includes("/")) {
|
2307
2305
|
return _defineProperty({}, path, [{
|
2308
2306
|
message: "Invalid mime type format. Got: '".concat(mimeType, "'"),
|
2309
|
-
value: src
|
2307
|
+
value: src,
|
2308
|
+
fixes: ["image:check-metadata"]
|
2310
2309
|
}]);
|
2311
2310
|
}
|
2312
2311
|
if (accept && mimeType && mimeType.includes("/")) {
|
@@ -2326,7 +2325,8 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2326
2325
|
if (!isValidMimeType) {
|
2327
2326
|
return _defineProperty({}, path, [{
|
2328
2327
|
message: "Mime type mismatch. Found '".concat(mimeType, "' but schema accepts '").concat(accept, "'"),
|
2329
|
-
value: src
|
2328
|
+
value: src,
|
2329
|
+
fixes: ["image:check-metadata"]
|
2330
2330
|
}]);
|
2331
2331
|
}
|
2332
2332
|
}
|
@@ -2334,13 +2334,15 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2334
2334
|
if (!fileMimeType) {
|
2335
2335
|
return _defineProperty({}, path, [{
|
2336
2336
|
message: "Could not determine mime type from file extension. Got: ".concat(src[FILE_REF_PROP]),
|
2337
|
-
value: src
|
2337
|
+
value: src,
|
2338
|
+
fixes: ["image:check-metadata"]
|
2338
2339
|
}]);
|
2339
2340
|
}
|
2340
2341
|
if (fileMimeType && mimeType && fileMimeType !== mimeType) {
|
2341
2342
|
return _defineProperty({}, path, [{
|
2342
2343
|
message: "Mime type and file extension not matching. Mime type is '".concat(mimeType, "' but file extension is '").concat(fileMimeType, "'"),
|
2343
|
-
value: src
|
2344
|
+
value: src,
|
2345
|
+
fixes: ["image:check-metadata"]
|
2344
2346
|
}]);
|
2345
2347
|
}
|
2346
2348
|
if (src.metadata) {
|
@@ -2356,7 +2358,7 @@ var ImageSchema = /*#__PURE__*/function (_Schema) {
|
|
2356
2358
|
message: "Found metadata, but it could not be validated. Image metadata must be an object with the required props: width (positive number), height (positive number) and the mime type.",
|
2357
2359
|
// These validation errors will have to be picked up by logic outside of this package and revalidated. Reasons: 1) we have to read files to verify the metadata, which is handled differently in different runtimes (Browser, QuickJS, Node.js); 2) we want to keep this package dependency free.
|
2358
2360
|
value: src,
|
2359
|
-
fixes: ["image:
|
2361
|
+
fixes: ["image:check-metadata"]
|
2360
2362
|
}]);
|
2361
2363
|
}
|
2362
2364
|
return _defineProperty({}, path, [{
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var expr_dist_valbuildCoreExpr = require('./index-
|
5
|
+
var expr_dist_valbuildCoreExpr = require('./index-b20f2afc.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, D as DateSchema, F as FATAL_ERROR_TYPES, k as FILE_REF_PROP, l as FILE_REF_SUBTYPE_TAG, t as FileSchema, G as GenericSelector, r as ImageSchema, I as Internal, K as KeyOfSchema, L as LiteralSchema, M as ModuleFilePathSep, q as NumberSchema, O as ObjectSchema, R as RecordSchema, u as RichTextSchema, j as Schema, o as StringSchema, U as UnionSchema, V as VAL_EXTENSION, n as derefPatch, v as deserializeSchema, i as expr, h as initVal, m as modules } from './index-
|
1
|
+
export { A as ArraySchema, B as BooleanSchema, D as DateSchema, F as FATAL_ERROR_TYPES, k as FILE_REF_PROP, l as FILE_REF_SUBTYPE_TAG, t as FileSchema, G as GenericSelector, r as ImageSchema, I as Internal, K as KeyOfSchema, L as LiteralSchema, M as ModuleFilePathSep, q as NumberSchema, O as ObjectSchema, R as RecordSchema, u as RichTextSchema, j as Schema, o as StringSchema, U as UnionSchema, V as VAL_EXTENSION, n as derefPatch, v as deserializeSchema, i as expr, h as initVal, m as modules } from './index-439509d7.esm.js';
|
2
2
|
import './result-168dfc1d.esm.js';
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var expr_dist_valbuildCoreExpr = require('../../dist/index-
|
5
|
+
var expr_dist_valbuildCoreExpr = require('../../dist/index-3d77ee46.cjs.dev.js');
|
6
6
|
require('../../dist/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 expr_dist_valbuildCoreExpr = require('../../dist/index-
|
5
|
+
var expr_dist_valbuildCoreExpr = require('../../dist/index-b20f2afc.cjs.prod.js');
|
6
6
|
require('../../dist/result-787e35f6.cjs.prod.js');
|
7
7
|
|
8
8
|
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export { C as Call, E as Expr, N as NilSym, S as StringLiteral, e as StringTemplate, f as Sym, g as evaluate, p as parse } from '../../dist/index-
|
1
|
+
export { C as Call, E as Expr, N as NilSym, S as StringLiteral, e as StringTemplate, f as Sym, g as evaluate, p as parse } from '../../dist/index-439509d7.esm.js';
|
2
2
|
import '../../dist/result-168dfc1d.esm.js';
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var expr_dist_valbuildCoreExpr = require('../../dist/index-
|
5
|
+
var expr_dist_valbuildCoreExpr = require('../../dist/index-3d77ee46.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 expr_dist_valbuildCoreExpr = require('../../dist/index-
|
5
|
+
var expr_dist_valbuildCoreExpr = require('../../dist/index-b20f2afc.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-
|
2
|
-
export { P as PatchError } from '../../dist/index-
|
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-439509d7.esm.js';
|
2
|
+
export { P as PatchError } from '../../dist/index-439509d7.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-168dfc1d.esm.js';
|
4
4
|
import { p as pipe } from '../../dist/util-18613e99.esm.js';
|
5
5
|
|