@nocobase/plugin-error-handler 0.9.0-alpha.1 → 0.9.0-alpha.2

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.
@@ -1,5 +1,7 @@
1
1
  declare const _default: {
2
- 'unique violation': string;
3
- 'notNull Violation': string;
2
+ "unique violation": string;
3
+ "notNull violation": string;
4
+ "Validation error": string;
5
+ "notNull Violation": string;
4
6
  };
5
7
  export default _default;
@@ -5,7 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _default = {
8
- 'unique violation': '{{field}} must be unique',
9
- 'notNull Violation': '{{field}} cannot be null'
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.0-alpha.1",
3
+ "version": "0.9.0-alpha.2",
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.0-alpha.1"
10
+ "@nocobase/server": "0.9.0-alpha.2"
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": "d84c2a47c42c2ffec4fbf317d53268952fbd58d7"
17
+ "gitHead": "b8f76ad38e60e677c5bb4aab0a4cdb28d98a0f49"
18
18
  }
@@ -1,4 +1,6 @@
1
1
  export default {
2
- 'unique violation': '{{field}} must be unique',
3
- 'notNull Violation': '{{field}} cannot be null',
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
  };