@gls_spain/gps-common 30.0.0 → 30.0.1
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 +15 -11
- package/CHANGELOG.md +7 -0
- package/open-api-spec/index.js +1 -1
- package/package.json +1 -1
- package/schemas/definitions/networks.js +6 -1
- package/schemas/definitions/shops.js +6 -1
package/.idea/workspace.xml
CHANGED
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
<component name="ChangeListManager">
|
|
4
4
|
<list default="true" id="c2833e40-3178-44f3-9bc5-203849985c7f" name="Default Changelist" comment="">
|
|
5
5
|
<change beforePath="$PROJECT_DIR$/open-api-spec/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/open-api-spec/index.js" afterDir="false" />
|
|
6
|
-
<change beforePath="$PROJECT_DIR$/schemas/definitions/defaults.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/defaults.js" afterDir="false" />
|
|
7
|
-
<change beforePath="$PROJECT_DIR$/schemas/definitions/historic-records.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/historic-records.js" afterDir="false" />
|
|
8
6
|
</list>
|
|
9
7
|
<option name="SHOW_DIALOG" value="false" />
|
|
10
8
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -505,7 +503,13 @@
|
|
|
505
503
|
<workItem from="1584291295326" duration="639000" />
|
|
506
504
|
<workItem from="1584346563581" duration="3782000" />
|
|
507
505
|
<workItem from="1584431456137" duration="91000" />
|
|
508
|
-
<workItem from="1584450804621" duration="
|
|
506
|
+
<workItem from="1584450804621" duration="5722000" />
|
|
507
|
+
<workItem from="1584513827612" duration="583000" />
|
|
508
|
+
<workItem from="1584535774211" duration="830000" />
|
|
509
|
+
<workItem from="1584549919776" duration="870000" />
|
|
510
|
+
<workItem from="1584562718815" duration="955000" />
|
|
511
|
+
<workItem from="1584605080897" duration="682000" />
|
|
512
|
+
<workItem from="1584606282127" duration="169000" />
|
|
509
513
|
</task>
|
|
510
514
|
<servers />
|
|
511
515
|
</component>
|
|
@@ -557,22 +561,22 @@
|
|
|
557
561
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
558
562
|
</state>
|
|
559
563
|
<state x="606" y="280" key="EditFileWatcherDialog/0.23.2048.1129@0.23.2048.1129" timestamp="1580283934403" />
|
|
560
|
-
<state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="
|
|
564
|
+
<state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1584615888745">
|
|
561
565
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
562
566
|
</state>
|
|
563
|
-
<state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
564
|
-
<state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="
|
|
567
|
+
<state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1584615888745" />
|
|
568
|
+
<state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1584615888744">
|
|
565
569
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
566
570
|
</state>
|
|
567
|
-
<state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
568
|
-
<state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="
|
|
571
|
+
<state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1584615888744" />
|
|
572
|
+
<state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1584615888744">
|
|
569
573
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
570
574
|
</state>
|
|
571
|
-
<state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
572
|
-
<state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="
|
|
575
|
+
<state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1584615888744" />
|
|
576
|
+
<state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1584615888744">
|
|
573
577
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
574
578
|
</state>
|
|
575
|
-
<state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
579
|
+
<state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1584615888744" />
|
|
576
580
|
<state x="0" y="23" width="2048" height="1129" key="SettingsEditor" timestamp="1580283935326">
|
|
577
581
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
578
582
|
</state>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [30.0.1](https://github.com/GLS-Spain/gps-common/compare/v30.0.0...v30.0.1) (2020-03-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* fix defaults denormalization in network and shop schemas ([d7984fb](https://github.com/GLS-Spain/gps-common/commit/d7984fb32b4db683777b7587b989a2f464c2c29b))
|
|
7
|
+
|
|
1
8
|
# [30.0.0](https://github.com/GLS-Spain/gps-common/compare/v29.0.0...v30.0.0) (2020-03-17)
|
|
2
9
|
|
|
3
10
|
|
package/open-api-spec/index.js
CHANGED
|
@@ -199,7 +199,7 @@ openApiSpec['x-tagGroups'] = [
|
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
name: 'RESOURCES',
|
|
202
|
-
tags: ['Defaults', 'Super admin', 'Network', 'Network admin', 'Zone', 'Shop', 'Shop user', 'Expedition', 'Pod'
|
|
202
|
+
tags: ['Defaults', 'Super admin', 'Network', 'Network admin', 'Zone', 'Sales representative', 'Shop', 'Shop user', 'Expedition', 'Pod'],
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
name: 'HISTORIC RECORDS',
|
package/package.json
CHANGED
|
@@ -23,7 +23,12 @@ const network = () => ({
|
|
|
23
23
|
createdAt: datetime(),
|
|
24
24
|
updatedAt: datetime(),
|
|
25
25
|
deletable: { type: 'boolean' },
|
|
26
|
-
defaults:
|
|
26
|
+
defaults: {
|
|
27
|
+
type: 'object',
|
|
28
|
+
properties: { ...pickProperties(defaults(), ['derivationSettings', 'expirationSettings']) },
|
|
29
|
+
required: ['derivationSettings', 'expirationSettings'],
|
|
30
|
+
additionalProperties: false,
|
|
31
|
+
},
|
|
27
32
|
name: { type: 'string', trim: true },
|
|
28
33
|
contacts: {
|
|
29
34
|
type: 'array',
|
|
@@ -92,7 +92,12 @@ const shop = () => ({
|
|
|
92
92
|
createdAt: datetime(),
|
|
93
93
|
updatedAt: datetime(),
|
|
94
94
|
deletable: { type: 'boolean' },
|
|
95
|
-
defaults:
|
|
95
|
+
defaults: {
|
|
96
|
+
type: 'object',
|
|
97
|
+
properties: { ...pickProperties(defaults(), ['derivationSettings', 'expirationSettings']) },
|
|
98
|
+
required: ['derivationSettings', 'expirationSettings'],
|
|
99
|
+
additionalProperties: false,
|
|
100
|
+
},
|
|
96
101
|
network: {
|
|
97
102
|
type: 'object',
|
|
98
103
|
properties: { ...pickProperties(network(), ['_id', 'name', 'derivationSettings', 'expirationSettings']) },
|