@nocobase/plugin-error-handler 0.17.0-alpha.2 → 0.17.0-alpha.4

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,7 +1,7 @@
1
1
  module.exports = {
2
- "@nocobase/client": "0.17.0-alpha.2",
2
+ "@nocobase/client": "0.17.0-alpha.4",
3
3
  "@formily/json-schema": "2.2.27",
4
- "@nocobase/database": "0.17.0-alpha.2",
5
- "@nocobase/server": "0.17.0-alpha.2",
4
+ "@nocobase/database": "0.17.0-alpha.4",
5
+ "@nocobase/server": "0.17.0-alpha.4",
6
6
  "lodash": "4.17.21"
7
7
  };
@@ -0,0 +1,6 @@
1
+ {
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"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "unique violation": "{{field}} debe ser único",
3
+ "notNull violation": "notNull violación",
4
+ "Validation error": "{{field}} error de validación",
5
+ "notNull Violation": "{{field}} no puede ser null"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "unique violation": "{{field}} doit être unique",
3
+ "notNull violation": "Violation de contrainte notNull",
4
+ "Validation error": "Erreur de validation de {{field}}",
5
+ "notNull Violation": "{{field}} ne peut pas être null"
6
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "unique violation": "{{field}} は一意でなくてはなりません",
3
+ "notNull Violation": "{{field}} はNullにできません"
4
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "unique violation": "{{field}} deve ser único",
3
+ "notNull violation": "violação de não nulo",
4
+ "Validation error": "erro de validação de {{field}}",
5
+ "notNull Violation": "{{field}} não pode ser nulo"
6
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "unique violation": "{{field}} 字段值是唯一的",
3
+ "notNull violation": "{{field}} 字段不能为空",
4
+ "Validation error": "{{field}} 字段规则验证失败"
5
+ }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "错误处理器",
5
5
  "description": "Handling application errors and exceptions",
6
6
  "description.zh-CN": "处理应用程序中的错误和异常",
7
- "version": "0.17.0-alpha.2",
7
+ "version": "0.17.0-alpha.4",
8
8
  "license": "AGPL-3.0",
9
9
  "main": "./dist/server/index.js",
10
10
  "devDependencies": {
@@ -23,5 +23,5 @@
23
23
  "url": "git+https://github.com/nocobase/nocobase.git",
24
24
  "directory": "packages/plugin-error-handler"
25
25
  },
26
- "gitHead": "c4d4383a1fde1058011e2f1fd1d9272812e6daeb"
26
+ "gitHead": "663b03a3799a70ba1a2bc6a0d686e679331a50ad"
27
27
  }
@@ -1,7 +0,0 @@
1
- declare const _default: {
2
- 'unique violation': string;
3
- 'notNull violation': string;
4
- 'Validation error': string;
5
- 'notNull Violation': string;
6
- };
7
- export default _default;
@@ -1,28 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var en_US_exports = {};
19
- __export(en_US_exports, {
20
- default: () => en_US_default
21
- });
22
- module.exports = __toCommonJS(en_US_exports);
23
- var en_US_default = {
24
- "unique violation": "{{field}} must be unique",
25
- "notNull violation": "notNull violation",
26
- "Validation error": "{{field}} validation error",
27
- "notNull Violation": "{{field}} cannot be null"
28
- };
@@ -1,7 +0,0 @@
1
- declare const _default: {
2
- "unique violation": string;
3
- "notNull violation": string;
4
- "Validation error": string;
5
- "notNull Violation": string;
6
- };
7
- export default _default;
@@ -1,28 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var es_ES_exports = {};
19
- __export(es_ES_exports, {
20
- default: () => es_ES_default
21
- });
22
- module.exports = __toCommonJS(es_ES_exports);
23
- var es_ES_default = {
24
- "unique violation": "{{field}} debe ser \xFAnico",
25
- "notNull violation": "notNull violaci\xF3n",
26
- "Validation error": "{{field}} error de validaci\xF3n",
27
- "notNull Violation": "{{field}} no puede ser null"
28
- };
@@ -1,7 +0,0 @@
1
- declare const _default: {
2
- 'unique violation': string;
3
- 'notNull violation': string;
4
- 'Validation error': string;
5
- 'notNull Violation': string;
6
- };
7
- export default _default;
@@ -1,28 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var fr_FR_exports = {};
19
- __export(fr_FR_exports, {
20
- default: () => fr_FR_default
21
- });
22
- module.exports = __toCommonJS(fr_FR_exports);
23
- var fr_FR_default = {
24
- "unique violation": "{{field}} doit \xEAtre unique",
25
- "notNull violation": "Violation de contrainte notNull",
26
- "Validation error": "Erreur de validation de {{field}}",
27
- "notNull Violation": "{{field}} ne peut pas \xEAtre null"
28
- };
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- 'unique violation': string;
3
- 'notNull Violation': string;
4
- };
5
- export default _default;
@@ -1,26 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var ja_JP_exports = {};
19
- __export(ja_JP_exports, {
20
- default: () => ja_JP_default
21
- });
22
- module.exports = __toCommonJS(ja_JP_exports);
23
- var ja_JP_default = {
24
- "unique violation": "{{field}} \u306F\u4E00\u610F\u3067\u306A\u304F\u3066\u306F\u306A\u308A\u307E\u305B\u3093",
25
- "notNull Violation": "{{field}} \u306FNull\u306B\u3067\u304D\u307E\u305B\u3093"
26
- };
@@ -1,7 +0,0 @@
1
- declare const _default: {
2
- 'unique violation': string;
3
- 'notNull violation': string;
4
- 'Validation error': string;
5
- 'notNull Violation': string;
6
- };
7
- export default _default;
@@ -1,28 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var pt_BR_exports = {};
19
- __export(pt_BR_exports, {
20
- default: () => pt_BR_default
21
- });
22
- module.exports = __toCommonJS(pt_BR_exports);
23
- var pt_BR_default = {
24
- "unique violation": "{{field}} deve ser \xFAnico",
25
- "notNull violation": "viola\xE7\xE3o de n\xE3o nulo",
26
- "Validation error": "erro de valida\xE7\xE3o de {{field}}",
27
- "notNull Violation": "{{field}} n\xE3o pode ser nulo"
28
- };
@@ -1,6 +0,0 @@
1
- declare const _default: {
2
- 'unique violation': string;
3
- 'notNull violation': string;
4
- 'Validation error': string;
5
- };
6
- export default _default;
@@ -1,27 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var zh_CN_exports = {};
19
- __export(zh_CN_exports, {
20
- default: () => zh_CN_default
21
- });
22
- module.exports = __toCommonJS(zh_CN_exports);
23
- var zh_CN_default = {
24
- "unique violation": "{{field}} \u5B57\u6BB5\u503C\u662F\u552F\u4E00\u7684",
25
- "notNull violation": "{{field}} \u5B57\u6BB5\u4E0D\u80FD\u4E3A\u7A7A",
26
- "Validation error": "{{field}} \u5B57\u6BB5\u89C4\u5219\u9A8C\u8BC1\u5931\u8D25"
27
- };