@gls_spain/gps-common 32.1.1 → 32.2.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/.idea/workspace.xml +16 -13
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/schemas/definitions/shops.js +38 -1
package/.idea/workspace.xml
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="ChangeListManager">
|
|
4
4
|
<list default="true" id="c2833e40-3178-44f3-9bc5-203849985c7f" name="Default Changelist" comment="">
|
|
5
|
-
<change beforePath="$PROJECT_DIR$/
|
|
6
|
-
<change beforePath="$PROJECT_DIR$/schemas/definitions/expeditions.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/expeditions.js" afterDir="false" />
|
|
7
|
-
<change beforePath="$PROJECT_DIR$/schemas/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/index.js" afterDir="false" />
|
|
5
|
+
<change beforePath="$PROJECT_DIR$/schemas/definitions/shops.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/shops.js" afterDir="false" />
|
|
8
6
|
</list>
|
|
9
7
|
<option name="SHOW_DIALOG" value="false" />
|
|
10
8
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -123,8 +121,8 @@
|
|
|
123
121
|
</configuration>
|
|
124
122
|
<recent_temporary>
|
|
125
123
|
<list>
|
|
126
|
-
<item itemvalue="npm.build-documentation" />
|
|
127
124
|
<item itemvalue="JavaScript Debug.documentation.html (1)" />
|
|
125
|
+
<item itemvalue="npm.build-documentation" />
|
|
128
126
|
<item itemvalue="npm.test" />
|
|
129
127
|
<item itemvalue="Jest.index.test.js" />
|
|
130
128
|
<item itemvalue="Jest.#errors" />
|
|
@@ -554,7 +552,12 @@
|
|
|
554
552
|
<workItem from="1587569584217" duration="5000" />
|
|
555
553
|
<workItem from="1588001875839" duration="425000" />
|
|
556
554
|
<workItem from="1588014009601" duration="1578000" />
|
|
557
|
-
<workItem from="1588016472441" duration="
|
|
555
|
+
<workItem from="1588016472441" duration="477000" />
|
|
556
|
+
<workItem from="1588613126613" duration="538000" />
|
|
557
|
+
<workItem from="1588661146603" duration="148000" />
|
|
558
|
+
<workItem from="1589785291101" duration="1725000" />
|
|
559
|
+
<workItem from="1589830264435" duration="1000" />
|
|
560
|
+
<workItem from="1591786805051" duration="676000" />
|
|
558
561
|
</task>
|
|
559
562
|
<servers />
|
|
560
563
|
</component>
|
|
@@ -605,22 +608,22 @@
|
|
|
605
608
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
606
609
|
</state>
|
|
607
610
|
<state x="606" y="280" key="EditFileWatcherDialog/0.23.2048.1129@0.23.2048.1129" timestamp="1580283934403" />
|
|
608
|
-
<state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="
|
|
611
|
+
<state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1588016801036">
|
|
609
612
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
610
613
|
</state>
|
|
611
|
-
<state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
612
|
-
<state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="
|
|
614
|
+
<state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1588016801036" />
|
|
615
|
+
<state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1588016801036">
|
|
613
616
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
614
617
|
</state>
|
|
615
|
-
<state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
616
|
-
<state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="
|
|
618
|
+
<state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1588016801036" />
|
|
619
|
+
<state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1588016801036">
|
|
617
620
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
618
621
|
</state>
|
|
619
|
-
<state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
620
|
-
<state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="
|
|
622
|
+
<state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1588016801036" />
|
|
623
|
+
<state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1588016801036">
|
|
621
624
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
622
625
|
</state>
|
|
623
|
-
<state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
626
|
+
<state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1588016801036" />
|
|
624
627
|
<state x="0" y="23" width="2048" height="1129" key="SettingsEditor" timestamp="1580283935326">
|
|
625
628
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
626
629
|
</state>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [32.2.0](https://github.com/GLS-Spain/gps-common/compare/v32.1.1...v32.2.0) (2020-06-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add activity to shops ([7d9d73e](https://github.com/GLS-Spain/gps-common/commit/7d9d73e37276ea4565839e75466bfe3dd025b14c)), closes [#GPS-369](https://github.com/GLS-Spain/gps-common/issues/GPS-369)
|
|
7
|
+
|
|
1
8
|
## [32.1.1](https://github.com/GLS-Spain/gps-common/compare/v32.1.0...v32.1.1) (2020-04-27)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -84,6 +84,41 @@ const shopRepresentative = () => ({
|
|
|
84
84
|
additionalProperties: false,
|
|
85
85
|
});
|
|
86
86
|
|
|
87
|
+
const shopActivity = () => ({
|
|
88
|
+
type: 'string',
|
|
89
|
+
enum: [
|
|
90
|
+
'bookshop',
|
|
91
|
+
'press',
|
|
92
|
+
'bazaar',
|
|
93
|
+
'telecom',
|
|
94
|
+
'mobileAccessories',
|
|
95
|
+
'inkSupplies',
|
|
96
|
+
'computer',
|
|
97
|
+
'optics',
|
|
98
|
+
'pharmacy',
|
|
99
|
+
'food',
|
|
100
|
+
'hardware',
|
|
101
|
+
'tobacco',
|
|
102
|
+
'lottery',
|
|
103
|
+
'clothing',
|
|
104
|
+
'barberShop',
|
|
105
|
+
'bar',
|
|
106
|
+
'appliances',
|
|
107
|
+
'repairShop',
|
|
108
|
+
'gasStation',
|
|
109
|
+
'realState',
|
|
110
|
+
'travelAgency',
|
|
111
|
+
'legal',
|
|
112
|
+
'academy',
|
|
113
|
+
'sportsShop',
|
|
114
|
+
'gardenAndPets',
|
|
115
|
+
'photos',
|
|
116
|
+
'jewelryStore',
|
|
117
|
+
'shoeShop',
|
|
118
|
+
'other',
|
|
119
|
+
],
|
|
120
|
+
});
|
|
121
|
+
|
|
87
122
|
const shop = () => ({
|
|
88
123
|
title: 'shop',
|
|
89
124
|
type: 'object',
|
|
@@ -152,6 +187,7 @@ const shop = () => ({
|
|
|
152
187
|
items: contact(),
|
|
153
188
|
},
|
|
154
189
|
fiscal: fiscal(),
|
|
190
|
+
activity: shopActivity(),
|
|
155
191
|
notes: { type: 'string', trim: true },
|
|
156
192
|
derivationSettings: derivationSettings(),
|
|
157
193
|
expirationSettings: expirationSettings(),
|
|
@@ -215,6 +251,7 @@ const createShopRequest = () =>
|
|
|
215
251
|
'timezone',
|
|
216
252
|
'contacts',
|
|
217
253
|
'fiscal',
|
|
254
|
+
'activity',
|
|
218
255
|
'notes',
|
|
219
256
|
'derivationSettings',
|
|
220
257
|
'expirationSettings',
|
|
@@ -320,7 +357,7 @@ const updateShopRequest = () =>
|
|
|
320
357
|
...pickProperties(
|
|
321
358
|
shop(),
|
|
322
359
|
['name', 'address', 'capabilities', 'openingSchedule', 'contacts'],
|
|
323
|
-
['fiscal', 'notes', 'derivationSettings', 'expirationSettings'],
|
|
360
|
+
['fiscal', 'activity', 'notes', 'derivationSettings', 'expirationSettings'],
|
|
324
361
|
),
|
|
325
362
|
},
|
|
326
363
|
minProperties: 1,
|