@punks/backend-entity-manager 0.0.419 → 0.0.421
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -41032,7 +41032,7 @@ const fieldTextValidator = (item, selector, params) => {
|
|
|
41032
41032
|
: [{ errorCode: params.regexErrorCode ?? "regex" }]),
|
|
41033
41033
|
];
|
|
41034
41034
|
};
|
|
41035
|
-
const allErrors = values
|
|
41035
|
+
const allErrors = values?.flatMap(validateSingle) ?? [];
|
|
41036
41036
|
return {
|
|
41037
41037
|
isValid: isRequiredValid && allErrors.length === 0,
|
|
41038
41038
|
validationErrors: [
|