@nocobase/plugin-error-handler 0.9.0-alpha.1 → 0.9.1-alpha.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/README.md +9 -0
- package/README.zh-CN.md +9 -0
- package/lib/locale/en_US.d.ts +4 -2
- package/lib/locale/en_US.js +4 -2
- package/package.json +3 -3
- package/src/locale/en_US.ts +4 -2
package/README.md
ADDED
package/README.zh-CN.md
ADDED
package/lib/locale/en_US.d.ts
CHANGED
package/lib/locale/en_US.js
CHANGED
|
@@ -5,7 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _default = {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
"unique violation": "{{field}} must be unique",
|
|
9
|
+
"notNull violation": "notNull violation",
|
|
10
|
+
"Validation error": "{{field}} validation error",
|
|
11
|
+
"notNull Violation": "{{field}} cannot be null"
|
|
10
12
|
};
|
|
11
13
|
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-error-handler",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1-alpha.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"main": "./lib/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@formily/json-schema": "^2.0.15",
|
|
10
|
-
"@nocobase/server": "0.9.
|
|
10
|
+
"@nocobase/server": "0.9.1-alpha.1"
|
|
11
11
|
},
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
14
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
15
15
|
"directory": "packages/plugin-error-handler"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "56cb184b00dc383b853015d525bf6e79dea92169"
|
|
18
18
|
}
|
package/src/locale/en_US.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
"unique violation": "{{field}} must be unique",
|
|
3
|
+
"notNull violation": "notNull violation",
|
|
4
|
+
"Validation error": "{{field}} validation error",
|
|
5
|
+
"notNull Violation": "{{field}} cannot be null"
|
|
4
6
|
};
|