@gls_spain/gps-common 34.20.1 → 34.21.0
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/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
# [34.21.0](https://github.com/GLS-Spain/gps-common/compare/v34.20.2...v34.21.0) (2021-06-29)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Features
|
|
5
5
|
|
|
6
|
-
* add new
|
|
6
|
+
* add new role userShopPremium ([f133444](https://github.com/GLS-Spain/gps-common/commit/f133444ab556a9f7f87d7d4b7d62607f5ea76815))
|
|
7
7
|
|
|
8
|
+
## [34.20.2](https://github.com/GLS-Spain/gps-common/compare/v34.20.1...v34.20.2) (2021-06-28)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add new property to response in findParcelShops ([7cb4100](https://github.com/GLS-Spain/gps-common/commit/7cb41004f8c2c4b6836ccffc71b6d6e63924c7a5))
|
|
14
|
+
|
|
15
|
+
## [34.20.1](https://github.com/GLS-Spain/gps-common/compare/v34.20.0...v34.20.1) (2021-06-25)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* add new property network on update shop ([2dfeefc](https://github.com/GLS-Spain/gps-common/commit/2dfeefc1dc28b51e9a009fd968bb0c4c22b5c58f))
|
|
21
|
+
|
|
8
22
|
# [34.20.0](https://github.com/GLS-Spain/gps-common/compare/v34.19.0...v34.20.0) (2021-06-25)
|
|
9
23
|
|
|
10
24
|
|
package/package.json
CHANGED
|
@@ -91,9 +91,10 @@ const parcelShops = () => ({
|
|
|
91
91
|
phone: phone(),
|
|
92
92
|
email: { type: 'string'},
|
|
93
93
|
activity: { type: 'string' },
|
|
94
|
-
service: { type: 'string' }
|
|
94
|
+
service: { type: 'string' },
|
|
95
|
+
isEco: { type: 'boolean' }
|
|
95
96
|
},
|
|
96
|
-
required: ['id', 'name', 'address', 'openingHours', 'distance', 'category', 'phone', 'email', 'activity', 'service'],
|
|
97
|
+
required: ['id', 'name', 'address', 'openingHours', 'distance', 'category', 'phone', 'email', 'activity', 'service', 'isEco'],
|
|
97
98
|
additionalProperties: false,
|
|
98
99
|
});
|
|
99
100
|
|
|
@@ -67,7 +67,7 @@ const shopUser = () =>
|
|
|
67
67
|
mergeSchemas(baseUser(), {
|
|
68
68
|
title: 'shopUser',
|
|
69
69
|
properties: {
|
|
70
|
-
role: { enum: ['shopUser'] },
|
|
70
|
+
role: { enum: ['shopUser', 'shopUserPremium'] },
|
|
71
71
|
network: {
|
|
72
72
|
type: 'object',
|
|
73
73
|
properties: { ...pickProperties(network(), ['_id', 'name']) },
|