@gls_spain/gps-common 34.27.0 → 34.27.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
CHANGED
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="27fd1870-b1c2-4bc1-b832-c34fc2da3402" name="Default Changelist" comment=""
|
|
7
|
+
<list default="true" id="27fd1870-b1c2-4bc1-b832-c34fc2da3402" name="Default Changelist" comment="">
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/schemas/definitions/defaults.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/defaults.js" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/schemas/definitions/sales.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/sales.js" afterDir="false" />
|
|
10
|
+
</list>
|
|
8
11
|
<option name="SHOW_DIALOG" value="false" />
|
|
9
12
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
10
13
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -30,6 +33,7 @@
|
|
|
30
33
|
"node.js.selected.package.tslint": "(autodetect)",
|
|
31
34
|
"nodejs_package_manager_path": "npm",
|
|
32
35
|
"prettierjs.PrettierConfiguration.Package": "C:\\Projects\\gps-common\\node_modules\\prettier",
|
|
36
|
+
"ts.external.directory.path": "C:\\Users\\riglesias\\AppData\\Local\\JetBrains\\Toolbox\\apps\\WebStorm\\ch-0\\221.5591.52\\plugins\\JavaScriptLanguage\\jsLanguageServicesImpl\\external",
|
|
33
37
|
"vue.rearranger.settings.migration": "true"
|
|
34
38
|
}
|
|
35
39
|
}]]></component>
|
|
@@ -44,7 +48,7 @@
|
|
|
44
48
|
<workItem from="1617873799077" duration="885000" />
|
|
45
49
|
<workItem from="1634799141153" duration="3415000" />
|
|
46
50
|
<workItem from="1640086365945" duration="600000" />
|
|
47
|
-
<workItem from="1657532028037" duration="
|
|
51
|
+
<workItem from="1657532028037" duration="4219000" />
|
|
48
52
|
</task>
|
|
49
53
|
<servers />
|
|
50
54
|
</component>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [34.27.2](https://github.com/GLS-Spain/gps-common/compare/v34.27.1...v34.27.2) (2022-07-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* change name properties ([da8c131](https://github.com/GLS-Spain/gps-common/commit/da8c131f69b1df5091b79f021b051c3db5f69435))
|
|
7
|
+
|
|
8
|
+
## [34.27.1](https://github.com/GLS-Spain/gps-common/compare/v34.27.0...v34.27.1) (2022-07-11)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add salesSize traveller ([e9d77ae](https://github.com/GLS-Spain/gps-common/commit/e9d77aeec4f5f6c91a9812e1473be5f1052a81db))
|
|
14
|
+
|
|
1
15
|
# [34.27.0](https://github.com/GLS-Spain/gps-common/compare/v34.26.21...v34.27.0) (2022-07-11)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -47,7 +47,7 @@ const expirationSettings = () => ({
|
|
|
47
47
|
|
|
48
48
|
const saleSize = () => ({
|
|
49
49
|
type: 'string',
|
|
50
|
-
enum: ['envelope', 'xs', 's', 'm', 'l', 'xl', 'letter'],
|
|
50
|
+
enum: ['envelope', 'xs', 's', 'm', 'l', 'xl', 'letter', 'small', 'medium', 'large'],
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
const saleZoneRegion = () => ({
|
|
@@ -81,11 +81,11 @@ const saleZone = () => ({
|
|
|
81
81
|
pricesTraveller: {
|
|
82
82
|
type: 'object',
|
|
83
83
|
properties: {
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
small: money(),
|
|
85
|
+
medium: money(),
|
|
86
86
|
large: money(),
|
|
87
87
|
},
|
|
88
|
-
required: ['
|
|
88
|
+
required: ['small', 'medium', 'large'],
|
|
89
89
|
additionalProperties: false,
|
|
90
90
|
},
|
|
91
91
|
includes: { type: 'array', items: saleZoneRegion(), uniqueItems: true },
|
|
@@ -53,7 +53,7 @@ const sale = () => ({
|
|
|
53
53
|
additionalProperties: false,
|
|
54
54
|
},
|
|
55
55
|
size: saleSize(),
|
|
56
|
-
fourteenService:{ type: 'boolean' },
|
|
56
|
+
fourteenService: { type: 'boolean' },
|
|
57
57
|
price: money(),
|
|
58
58
|
settings: mergeSchemas(salesSettings(), network().properties.salesSettings, {
|
|
59
59
|
description: 'a copy of both the defaults sale settings and the network sale settings as they were when the sale was created',
|
|
@@ -199,8 +199,9 @@ const checkSalePriceResponse = () => ({
|
|
|
199
199
|
properties: {
|
|
200
200
|
zone: { type: 'string' },
|
|
201
201
|
price: money(),
|
|
202
|
+
pricesTraveller: money(),
|
|
202
203
|
},
|
|
203
|
-
required: ['zone', 'price'],
|
|
204
|
+
required: ['zone', 'price', 'pricesTraveller'],
|
|
204
205
|
additionalProperties: false,
|
|
205
206
|
});
|
|
206
207
|
|