@thzero/library_server_validation_joi 0.15.11 → 0.16.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.
- package/gamer.js +1 -1
- package/index.js +1 -1
- package/news/index.js +2 -2
- package/package.json +8 -8
package/gamer.js
CHANGED
|
@@ -2,7 +2,7 @@ import Joi from 'joi';
|
|
|
2
2
|
import JoiDate from '@joi/date';
|
|
3
3
|
Joi.extend(JoiDate);
|
|
4
4
|
|
|
5
|
-
import JoiBaseValidationService from './index';
|
|
5
|
+
import JoiBaseValidationService from './index.js';
|
|
6
6
|
|
|
7
7
|
class GamerJoiValidationService extends JoiBaseValidationService {
|
|
8
8
|
_gamerId = Joi.string()
|
package/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import Joi from 'joi';
|
|
|
2
2
|
import JoiDate from '@joi/date';
|
|
3
3
|
Joi.extend(JoiDate);
|
|
4
4
|
|
|
5
|
-
import BaseValidationService from '@thzero/library_common_service/service/validation';
|
|
5
|
+
import BaseValidationService from '@thzero/library_common_service/service/validation.js';
|
|
6
6
|
|
|
7
7
|
class JoiBaseValidationService extends BaseValidationService {
|
|
8
8
|
check(correlationId, schema, value, context, prefix) {
|
package/news/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Joi from 'joi';
|
|
2
2
|
|
|
3
|
-
import LibraryConstants from '@thzero/library_server/constants';
|
|
3
|
+
import LibraryConstants from '@thzero/library_server/constants.js';
|
|
4
4
|
|
|
5
|
-
import JoiBaseValidationService from '../index';
|
|
5
|
+
import JoiBaseValidationService from '../index.js';
|
|
6
6
|
|
|
7
7
|
class BaseNewsJoiBaseValidationService extends JoiBaseValidationService {
|
|
8
8
|
getNewsSchema() {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thzero/library_server_validation_joi",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.16.2",
|
|
5
5
|
"version_major": 0,
|
|
6
|
-
"version_minor":
|
|
7
|
-
"version_patch":
|
|
8
|
-
"version_date": "
|
|
6
|
+
"version_minor": 16,
|
|
7
|
+
"version_patch": 2,
|
|
8
|
+
"version_date": "08/28/2022",
|
|
9
9
|
"author": "thZero",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"repository": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"node": ">=12.8.3"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
|
-
"cli-update": "
|
|
23
|
+
"cli-update": "library-cli --updateversion --pi",
|
|
24
24
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"joi": "^17.6.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@thzero/library_common": "^0.
|
|
32
|
-
"@thzero/library_common_service": "^0.
|
|
33
|
-
"@thzero/library_server": "^0.
|
|
31
|
+
"@thzero/library_common": "^0.16",
|
|
32
|
+
"@thzero/library_common_service": "^0.16",
|
|
33
|
+
"@thzero/library_server": "^0.16"
|
|
34
34
|
}
|
|
35
35
|
}
|