@nocobase/plugin-error-handler 0.11.1-alpha.2 → 0.11.1-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.
- package/lib/locale/en_US.d.ts +7 -0
- package/lib/locale/en_US.js +13 -0
- package/lib/locale/es-ES.d.ts +7 -0
- package/lib/locale/es-ES.js +13 -0
- package/lib/locale/fr_FR.d.ts +7 -0
- package/lib/locale/fr_FR.js +13 -0
- package/lib/locale/ja_JP.d.ts +5 -0
- package/lib/locale/ja_JP.js +11 -0
- package/lib/locale/pt-BR.d.ts +7 -0
- package/lib/locale/pt-BR.js +13 -0
- package/lib/locale/zh_CN.d.ts +6 -0
- package/lib/locale/zh_CN.js +12 -0
- package/lib/server/locale/fr_FR.d.ts +7 -0
- package/lib/server/locale/fr_FR.js +13 -0
- package/package.json +7 -7
- package/src/locale/en_US.ts +6 -0
- package/src/locale/es-ES.ts +6 -0
- package/src/locale/fr_FR.ts +6 -0
- package/src/locale/ja_JP.ts +4 -0
- package/src/locale/pt-BR.ts +6 -0
- package/src/locale/zh_CN.ts +5 -0
- package/src/server/locale/fr_FR.ts +6 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = {
|
|
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'
|
|
12
|
+
};
|
|
13
|
+
exports.default = _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
"unique violation": "{{field}} debe ser único",
|
|
9
|
+
"notNull violation": "notNull violación",
|
|
10
|
+
"Validation error": "{{field}} error de validación",
|
|
11
|
+
"notNull Violation": "{{field}} no puede ser null"
|
|
12
|
+
};
|
|
13
|
+
exports.default = _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
'unique violation': '{{field}} doit être unique',
|
|
9
|
+
'notNull violation': 'Violation de contrainte notNull',
|
|
10
|
+
'Validation error': 'Erreur de validation de {{field}}',
|
|
11
|
+
'notNull Violation': '{{field}} ne peut pas être null'
|
|
12
|
+
};
|
|
13
|
+
exports.default = _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
'unique violation': '{{field}} は一意でなくてはなりません',
|
|
9
|
+
'notNull Violation': '{{field}} はNullにできません'
|
|
10
|
+
};
|
|
11
|
+
exports.default = _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
'unique violation': '{{field}} deve ser único',
|
|
9
|
+
'notNull violation': 'violação de não nulo',
|
|
10
|
+
'Validation error': 'erro de validação de {{field}}',
|
|
11
|
+
'notNull Violation': '{{field}} não pode ser nulo'
|
|
12
|
+
};
|
|
13
|
+
exports.default = _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
'unique violation': '{{field}} 字段值是唯一的',
|
|
9
|
+
'notNull violation': '{{field}} 字段不能为空',
|
|
10
|
+
'Validation error': '{{field}} 字段规则验证失败'
|
|
11
|
+
};
|
|
12
|
+
exports.default = _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
'unique violation': '{{field}} doit être unique',
|
|
9
|
+
'notNull violation': 'Violation de contrainte notNull',
|
|
10
|
+
'Validation error': 'Erreur de validation de {{field}}',
|
|
11
|
+
'notNull Violation': '{{field}} ne peut pas être null'
|
|
12
|
+
};
|
|
13
|
+
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"displayName.zh-CN": "错误处理",
|
|
5
5
|
"description": "Managing and handling errors and exceptions in an application.",
|
|
6
6
|
"description.zh-CN": "管理和处理应用程序中的错误和异常。",
|
|
7
|
-
"version": "0.11.1-alpha.
|
|
7
|
+
"version": "0.11.1-alpha.4",
|
|
8
8
|
"license": "AGPL-3.0",
|
|
9
9
|
"main": "./lib/server/index.js",
|
|
10
10
|
"files": [
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
],
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@formily/json-schema": "2.2.26",
|
|
23
|
-
"@nocobase/client": "0.11.1-alpha.
|
|
24
|
-
"@nocobase/database": "0.11.1-alpha.
|
|
25
|
-
"@nocobase/server": "0.11.1-alpha.
|
|
26
|
-
"@nocobase/test": "0.11.1-alpha.
|
|
27
|
-
"@nocobase/utils": "0.11.1-alpha.
|
|
23
|
+
"@nocobase/client": "0.11.1-alpha.4",
|
|
24
|
+
"@nocobase/database": "0.11.1-alpha.4",
|
|
25
|
+
"@nocobase/server": "0.11.1-alpha.4",
|
|
26
|
+
"@nocobase/test": "0.11.1-alpha.4",
|
|
27
|
+
"@nocobase/utils": "0.11.1-alpha.4",
|
|
28
28
|
"supertest": "^6.1.6"
|
|
29
29
|
},
|
|
30
30
|
"repository": {
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
33
33
|
"directory": "packages/plugin-error-handler"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "d9b5bde913013f1057e1aab49587eb0ad3dcb06e"
|
|
36
36
|
}
|