@gls_spain/gps-common 31.0.1 → 31.0.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/.idea/workspace.xml +13 -10
- package/CHANGELOG.md +7 -0
- package/package.json +10 -10
- package/schemas/definitions/init.js +7 -2
package/.idea/workspace.xml
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="ChangeListManager">
|
|
4
|
-
<list default="true" id="c2833e40-3178-44f3-9bc5-203849985c7f" name="Default Changelist" comment=""
|
|
4
|
+
<list default="true" id="c2833e40-3178-44f3-9bc5-203849985c7f" name="Default Changelist" comment="">
|
|
5
|
+
<change beforePath="$PROJECT_DIR$/schemas/definitions/init.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/init.js" afterDir="false" />
|
|
6
|
+
</list>
|
|
5
7
|
<option name="SHOW_DIALOG" value="false" />
|
|
6
8
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
7
9
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -530,7 +532,8 @@
|
|
|
530
532
|
<workItem from="1585060691790" duration="705000" />
|
|
531
533
|
<workItem from="1585071898721" duration="603000" />
|
|
532
534
|
<workItem from="1585076315474" duration="929000" />
|
|
533
|
-
<workItem from="1585115696576" duration="
|
|
535
|
+
<workItem from="1585115696576" duration="1386000" />
|
|
536
|
+
<workItem from="1585152558330" duration="837000" />
|
|
534
537
|
</task>
|
|
535
538
|
<servers />
|
|
536
539
|
</component>
|
|
@@ -586,22 +589,22 @@
|
|
|
586
589
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
587
590
|
</state>
|
|
588
591
|
<state x="606" y="280" key="EditFileWatcherDialog/0.23.2048.1129@0.23.2048.1129" timestamp="1580283934403" />
|
|
589
|
-
<state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="
|
|
592
|
+
<state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1585153665514">
|
|
590
593
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
591
594
|
</state>
|
|
592
|
-
<state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
593
|
-
<state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="
|
|
595
|
+
<state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1585153665514" />
|
|
596
|
+
<state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1585153665513">
|
|
594
597
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
595
598
|
</state>
|
|
596
|
-
<state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
597
|
-
<state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="
|
|
599
|
+
<state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1585153665513" />
|
|
600
|
+
<state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1585153665513">
|
|
598
601
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
599
602
|
</state>
|
|
600
|
-
<state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
601
|
-
<state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="
|
|
603
|
+
<state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1585153665513" />
|
|
604
|
+
<state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1585153665513">
|
|
602
605
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
603
606
|
</state>
|
|
604
|
-
<state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
607
|
+
<state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1585153665513" />
|
|
605
608
|
<state x="0" y="23" width="2048" height="1129" key="SettingsEditor" timestamp="1580283935326">
|
|
606
609
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
607
610
|
</state>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [31.0.2](https://github.com/GLS-Spain/gps-common/compare/v31.0.1...v31.0.2) (2020-03-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* fix init request schema ([c07a631](https://github.com/GLS-Spain/gps-common/commit/c07a6314d6e8c1aff0d3b4068964f1aeaecd829e))
|
|
7
|
+
|
|
1
8
|
## [31.0.1](https://github.com/GLS-Spain/gps-common/compare/v31.0.0...v31.0.1) (2020-03-25)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gls_spain/gps-common",
|
|
3
|
-
"version": "31.0.
|
|
3
|
+
"version": "31.0.2",
|
|
4
4
|
"description": "Errors, schemas and documentation for the Parcel Shops project",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [
|
|
@@ -29,31 +29,31 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@semantic-release/changelog": "^5.0.0",
|
|
31
31
|
"@semantic-release/git": "^9.0.0",
|
|
32
|
-
"@semantic-release/npm": "^7.0.
|
|
33
|
-
"@semantic-release/release-notes-generator": "^9.0.
|
|
34
|
-
"@types/jest": "^25.1.
|
|
35
|
-
"ajv": "^6.
|
|
32
|
+
"@semantic-release/npm": "^7.0.5",
|
|
33
|
+
"@semantic-release/release-notes-generator": "^9.0.1",
|
|
34
|
+
"@types/jest": "^25.1.4",
|
|
35
|
+
"ajv": "^6.12.0",
|
|
36
36
|
"commitizen": "^4.0.3",
|
|
37
37
|
"cz-conventional-changelog": "^3.1.0",
|
|
38
38
|
"eslint": "^6.8.0",
|
|
39
|
-
"eslint-config-airbnb-base": "^14.
|
|
40
|
-
"eslint-config-prettier": "^6.10.
|
|
39
|
+
"eslint-config-airbnb-base": "^14.1.0",
|
|
40
|
+
"eslint-config-prettier": "^6.10.1",
|
|
41
41
|
"eslint-plugin-import": "^2.20.1",
|
|
42
42
|
"husky": "^4.2.3",
|
|
43
43
|
"jest": "^25.1.0",
|
|
44
44
|
"prettier": "^1.19.1",
|
|
45
|
-
"redoc-cli": "^0.9.
|
|
45
|
+
"redoc-cli": "^0.9.7",
|
|
46
46
|
"semantic-release": "^17.0.4"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@gls_spain/ajv-options": "^1.1.0",
|
|
50
50
|
"@gls_spain/common-errors": "^1.0.0",
|
|
51
51
|
"@gls_spain/common-json-schemas": "^1.1.0",
|
|
52
|
-
"@gls_spain/mongodb": "^1.0
|
|
52
|
+
"@gls_spain/mongodb": "^1.1.0",
|
|
53
53
|
"@gls_spain/winston-transports": "^1.0.0",
|
|
54
54
|
"lodash": "^4.17.15",
|
|
55
55
|
"winston": "^3.2.1",
|
|
56
|
-
"yargs": "^15.1
|
|
56
|
+
"yargs": "^15.3.1"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"commit": "git-cz",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { password } = require('@gls_spain/common-json-schemas');
|
|
1
|
+
const { password, pickProperties } = require('@gls_spain/common-json-schemas');
|
|
2
2
|
const { superAdmin } = require('./users');
|
|
3
3
|
const { defaults } = require('./defaults');
|
|
4
4
|
|
|
@@ -14,7 +14,12 @@ const initRequest = () => ({
|
|
|
14
14
|
required: ['username', 'password'],
|
|
15
15
|
additionalProperties: false,
|
|
16
16
|
},
|
|
17
|
-
defaults:
|
|
17
|
+
defaults: {
|
|
18
|
+
type: 'object',
|
|
19
|
+
properties: { ...pickProperties(defaults(), ['derivationSettings', 'expirationSettings']) },
|
|
20
|
+
required: ['derivationSettings', 'expirationSettings'],
|
|
21
|
+
additionalProperties: false,
|
|
22
|
+
},
|
|
18
23
|
},
|
|
19
24
|
required: ['superAdmin', 'defaults'],
|
|
20
25
|
additionalProperties: false,
|