@gls_spain/gps-common 33.0.4 → 33.0.5
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 +2 -5
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/schemas/definitions/sales.js +1 -1
package/.idea/workspace.xml
CHANGED
|
@@ -1,10 +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 beforePath="$PROJECT_DIR$/open-api-spec/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/open-api-spec/index.js" afterDir="false" />
|
|
6
|
-
<change beforePath="$PROJECT_DIR$/schemas/definitions/sales.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/sales.js" afterDir="false" />
|
|
7
|
-
</list>
|
|
4
|
+
<list default="true" id="c2833e40-3178-44f3-9bc5-203849985c7f" name="Default Changelist" comment="" />
|
|
8
5
|
<option name="SHOW_DIALOG" value="false" />
|
|
9
6
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
10
7
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -587,7 +584,7 @@
|
|
|
587
584
|
<workItem from="1595832239784" duration="11480000" />
|
|
588
585
|
<workItem from="1595858491503" duration="4159000" />
|
|
589
586
|
<workItem from="1595865087442" duration="564000" />
|
|
590
|
-
<workItem from="1595914052000" duration="
|
|
587
|
+
<workItem from="1595914052000" duration="3114000" />
|
|
591
588
|
</task>
|
|
592
589
|
<servers />
|
|
593
590
|
</component>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [33.0.5](https://github.com/GLS-Spain/gps-common/compare/v33.0.4...v33.0.5) (2020-07-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove find all sales for super admins ([ce54dd6](https://github.com/GLS-Spain/gps-common/commit/ce54dd641241d842bd9ec403bc05eed3db9f69a1))
|
|
7
|
+
|
|
1
8
|
## [33.0.4](https://github.com/GLS-Spain/gps-common/compare/v33.0.3...v33.0.4) (2020-07-28)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -124,7 +124,7 @@ const findByShop = () => mergeSchemas(objectWithShopId(), { title: 'find by shop
|
|
|
124
124
|
|
|
125
125
|
const findByNetworkAndShop = () => mergeSchemas(objectWithNetworkId(), objectWithShopId(), { title: 'find by network and shop' });
|
|
126
126
|
|
|
127
|
-
const findSalesSuperAdminRequest = () => findRequest({ oneOf: [
|
|
127
|
+
const findSalesSuperAdminRequest = () => findRequest({ oneOf: [findByNetwork(), findByNetworkAndShop(), findById()] });
|
|
128
128
|
|
|
129
129
|
const findSalesNetworkAdminRequest = () => findRequest({ oneOf: [findAll(), findByShop(), findById()] });
|
|
130
130
|
|