@gls_spain/gps-common 27.1.1 → 28.0.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.
@@ -1,11 +1,7 @@
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="">
5
- <change afterPath="$PROJECT_DIR$/.npmrc" afterDir="false" />
6
- <change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/package-lock.json" afterDir="false" />
7
- <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
8
- </list>
4
+ <list default="true" id="c2833e40-3178-44f3-9bc5-203849985c7f" name="Default Changelist" comment="" />
9
5
  <option name="SHOW_DIALOG" value="false" />
10
6
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
11
7
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -42,6 +38,7 @@
42
38
  <component name="PropertiesComponent">
43
39
  <property name="ASKED_SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
44
40
  <property name="NewWatcherDialog.advanced.open" value="true" />
41
+ <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
45
42
  <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
46
43
  <property name="WebServerToolWindowFactoryState" value="false" />
47
44
  <property name="javascript.nodejs.core.library.configured.version" value="10.15.3" />
@@ -476,7 +473,27 @@
476
473
  <workItem from="1580815629850" duration="3000" />
477
474
  <workItem from="1580901981635" duration="165000" />
478
475
  <workItem from="1580905118835" duration="5000" />
479
- <workItem from="1582011818288" duration="964000" />
476
+ <workItem from="1582011818288" duration="1685000" />
477
+ <workItem from="1582048591172" duration="574000" />
478
+ <workItem from="1582099262907" duration="387000" />
479
+ <workItem from="1582154278772" duration="110000" />
480
+ <workItem from="1582185898197" duration="1121000" />
481
+ <workItem from="1582216910927" duration="2774000" />
482
+ <workItem from="1582273610435" duration="306000" />
483
+ <workItem from="1582285559382" duration="771000" />
484
+ <workItem from="1582753457734" duration="206000" />
485
+ <workItem from="1583135423594" duration="766000" />
486
+ <workItem from="1583989933434" duration="1573000" />
487
+ <workItem from="1584001364382" duration="390000" />
488
+ <workItem from="1584088637527" duration="1396000" />
489
+ <workItem from="1584102452907" duration="6035000" />
490
+ <workItem from="1584124065065" duration="500000" />
491
+ <workItem from="1584127502708" duration="1529000" />
492
+ <workItem from="1584172241164" duration="4374000" />
493
+ <workItem from="1584184482897" duration="3931000" />
494
+ <workItem from="1584201225736" duration="2801000" />
495
+ <workItem from="1584260636797" duration="3021000" />
496
+ <workItem from="1584264807456" duration="5446000" />
480
497
  </task>
481
498
  <servers />
482
499
  </component>
@@ -524,29 +541,33 @@
524
541
  <screen x="0" y="23" width="2048" height="1129" />
525
542
  </state>
526
543
  <state x="606" y="280" key="EditFileWatcherDialog/0.23.2048.1129@0.23.2048.1129" timestamp="1580283934403" />
527
- <state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1582014108826">
544
+ <state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1584272257286">
528
545
  <screen x="0" y="23" width="2048" height="1129" />
529
546
  </state>
530
- <state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1582014108826" />
531
- <state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1582014108826">
547
+ <state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1584272257286" />
548
+ <state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1584272257286">
532
549
  <screen x="0" y="23" width="2048" height="1129" />
533
550
  </state>
534
- <state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1582014108826" />
535
- <state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1582014108825">
551
+ <state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1584272257286" />
552
+ <state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1584272257286">
536
553
  <screen x="0" y="23" width="2048" height="1129" />
537
554
  </state>
538
- <state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1582014108825" />
539
- <state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1582014108826">
555
+ <state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1584272257286" />
556
+ <state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1584272257286">
540
557
  <screen x="0" y="23" width="2048" height="1129" />
541
558
  </state>
542
- <state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1582014108826" />
559
+ <state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1584272257286" />
543
560
  <state x="0" y="23" width="2048" height="1129" key="SettingsEditor" timestamp="1580283935326">
544
561
  <screen x="0" y="23" width="2048" height="1129" />
545
562
  </state>
546
563
  <state x="0" y="23" width="2048" height="1129" key="SettingsEditor/0.23.2048.1129@0.23.2048.1129" timestamp="1580283935326" />
547
- <state x="1351" y="124" width="697" height="951" key="find.popup" timestamp="1580294138788">
564
+ <state x="1351" y="124" width="697" height="951" key="find.popup" timestamp="1584128984041">
548
565
  <screen x="0" y="23" width="2048" height="1129" />
549
566
  </state>
550
- <state x="1351" y="124" width="697" height="951" key="find.popup/0.23.2048.1129@0.23.2048.1129" timestamp="1580294138788" />
567
+ <state x="1351" y="124" width="697" height="951" key="find.popup/0.23.2048.1129@0.23.2048.1129" timestamp="1584128984041" />
568
+ <state x="689" y="276" width="670" height="676" key="search.everywhere.popup" timestamp="1584175179892">
569
+ <screen x="0" y="23" width="2048" height="1129" />
570
+ </state>
571
+ <state x="689" y="276" width="670" height="676" key="search.everywhere.popup/0.23.2048.1129@0.23.2048.1129" timestamp="1584175179892" />
551
572
  </component>
552
573
  </project>
package/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ # [28.0.0](https://github.com/GLS-Spain/gps-common/compare/v27.2.0...v28.0.0) (2020-03-15)
2
+
3
+
4
+ ### Features
5
+
6
+ * change expeditions to allow no shop until reception ([ebb7ed7](https://github.com/GLS-Spain/gps-common/commit/ebb7ed70de3d2a76435cb9677016a11d3c698769))
7
+ * remove jobs endpoints, add historic records and integrations ([65d8b50](https://github.com/GLS-Spain/gps-common/commit/65d8b503363489934c09f19ee1001b2d5f3884cf))
8
+
9
+
10
+ ### BREAKING CHANGES
11
+
12
+ * jobs replaced by historic records and integrations
13
+ * expeditions may have no shop until reception
14
+
15
+ # [27.2.0](https://github.com/GLS-Spain/gps-common/compare/v27.1.1...v27.2.0) (2020-02-20)
16
+
17
+
18
+ ### Features
19
+
20
+ * trim strings in schemas ([06fc8c1](https://github.com/GLS-Spain/gps-common/commit/06fc8c13e3dc32b0e9cbe0a5c3717e886919ee33))
21
+
1
22
  ## [27.1.1](https://github.com/GLS-Spain/gps-common/compare/v27.1.0...v27.1.1) (2020-02-18)
2
23
 
3
24
 
package/index.test.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const Ajv = require('ajv');
2
- const { lenientDatetimeFormat, timezoneFormat, normalizeKeyword } = require('@gls_spain/ajv-options');
2
+ const { lenientDatetimeFormat, timezoneFormat, normalizeKeyword, trimKeyword } = require('@gls_spain/ajv-options');
3
3
  const { errors, openApiSpec, schemas } = require('./index');
4
4
 
5
5
  describe('#errors', () => {
@@ -24,6 +24,7 @@ describe('#schemas', () => {
24
24
  test('should all be unique valid json schemas', () => {
25
25
  const ajv = Ajv({ formats: { 'date-time': lenientDatetimeFormat, timezone: timezoneFormat } });
26
26
  ajv.addKeyword('normalize', normalizeKeyword);
27
+ ajv.addKeyword('trim', trimKeyword);
27
28
  Object.values(schemas).forEach(schema => {
28
29
  try {
29
30
  ajv.compile(schema);