@gls_spain/gps-common 34.4.1 → 34.5.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 +14 -9
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/schemas/definitions/expeditions.js +15 -1
package/.idea/workspace.xml
CHANGED
|
@@ -120,8 +120,8 @@
|
|
|
120
120
|
</configuration>
|
|
121
121
|
<recent_temporary>
|
|
122
122
|
<list>
|
|
123
|
-
<item itemvalue="npm.build-documentation" />
|
|
124
123
|
<item itemvalue="JavaScript Debug.documentation.html (1)" />
|
|
124
|
+
<item itemvalue="npm.build-documentation" />
|
|
125
125
|
<item itemvalue="npm.test" />
|
|
126
126
|
<item itemvalue="npm.semantic-release" />
|
|
127
127
|
<item itemvalue="npm.commit" />
|
|
@@ -624,6 +624,11 @@
|
|
|
624
624
|
<workItem from="1600679037395" duration="238000" />
|
|
625
625
|
<workItem from="1600875504930" duration="94000" />
|
|
626
626
|
<workItem from="1601025758747" duration="988000" />
|
|
627
|
+
<workItem from="1601027058809" duration="203000" />
|
|
628
|
+
<workItem from="1601366983507" duration="49000" />
|
|
629
|
+
<workItem from="1601370976937" duration="339000" />
|
|
630
|
+
<workItem from="1601551727472" duration="27000" />
|
|
631
|
+
<workItem from="1603700811892" duration="405000" />
|
|
627
632
|
</task>
|
|
628
633
|
<servers />
|
|
629
634
|
</component>
|
|
@@ -666,22 +671,22 @@
|
|
|
666
671
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
667
672
|
</state>
|
|
668
673
|
<state x="762" y="341" key="#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog/0.23.2048.1129@0.23.2048.1129" timestamp="1595577705727" />
|
|
669
|
-
<state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="
|
|
674
|
+
<state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1603700951862">
|
|
670
675
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
671
676
|
</state>
|
|
672
|
-
<state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
673
|
-
<state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="
|
|
677
|
+
<state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1603700951862" />
|
|
678
|
+
<state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1603700951862">
|
|
674
679
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
675
680
|
</state>
|
|
676
|
-
<state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
677
|
-
<state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="
|
|
681
|
+
<state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1603700951862" />
|
|
682
|
+
<state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1603700951862">
|
|
678
683
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
679
684
|
</state>
|
|
680
|
-
<state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
681
|
-
<state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="
|
|
685
|
+
<state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1603700951862" />
|
|
686
|
+
<state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1603700951862">
|
|
682
687
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
683
688
|
</state>
|
|
684
|
-
<state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
689
|
+
<state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1603700951862" />
|
|
685
690
|
<state x="725" y="342" width="736" height="612" key="find.popup" timestamp="1598206991663">
|
|
686
691
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
687
692
|
</state>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [34.5.0](https://github.com/GLS-Spain/gps-common/compare/v34.4.1...v34.5.0) (2020-10-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add find expeditions by sale ([7a85fb7](https://github.com/GLS-Spain/gps-common/commit/7a85fb713ee95da08725f8bd7ace7ecaef8c0d71))
|
|
7
|
+
|
|
1
8
|
## [34.4.1](https://github.com/GLS-Spain/gps-common/compare/v34.4.0...v34.4.1) (2020-09-25)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -483,6 +483,16 @@ const findByCode = () => ({
|
|
|
483
483
|
additionalProperties: false,
|
|
484
484
|
});
|
|
485
485
|
|
|
486
|
+
const findBySale = () => ({
|
|
487
|
+
title: 'find by sale',
|
|
488
|
+
type: 'object',
|
|
489
|
+
properties: {
|
|
490
|
+
sale: objectWithUuid(),
|
|
491
|
+
},
|
|
492
|
+
required: ['sale'],
|
|
493
|
+
additionalProperties: false,
|
|
494
|
+
});
|
|
495
|
+
|
|
486
496
|
const findExpeditionsSuperAdminRequest = () =>
|
|
487
497
|
findRequest({
|
|
488
498
|
oneOf: [
|
|
@@ -494,11 +504,14 @@ const findExpeditionsSuperAdminRequest = () =>
|
|
|
494
504
|
findByShop(),
|
|
495
505
|
findByShopAndStatus(),
|
|
496
506
|
findByCode(),
|
|
507
|
+
findBySale(),
|
|
497
508
|
],
|
|
498
509
|
});
|
|
499
510
|
|
|
500
511
|
const findExpeditionsNetworkAdminRequest = () =>
|
|
501
|
-
findRequest({
|
|
512
|
+
findRequest({
|
|
513
|
+
oneOf: [findById(), findByShop(), findByShopAndStatus(), findByNoShop(), findByNoShopAndStatus(), findByCode(), findBySale()],
|
|
514
|
+
});
|
|
502
515
|
|
|
503
516
|
const findExpeditionsShopUserRequest = () =>
|
|
504
517
|
findRequest({
|
|
@@ -510,6 +523,7 @@ const findExpeditionsShopUserRequest = () =>
|
|
|
510
523
|
findByNoShop(),
|
|
511
524
|
findByNoShopAndStatus(),
|
|
512
525
|
findByCode(),
|
|
526
|
+
findBySale(),
|
|
513
527
|
],
|
|
514
528
|
});
|
|
515
529
|
|