vineanova-redux-artifacts 1.119.2 → 1.119.3
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 +1 -1
- package/dist/actions/commonActions.js +117 -0
- package/dist/reducers/index.js +3 -0
- package/dist/sagas/vineaNovaApi.sagas.js +1133 -998
- package/dist/selectors/identitiesByRoleSelector.js +59 -0
- package/dist/selectors/index.js +33 -0
- package/dist/selectors/searchSupplyContractsSelector.js +59 -0
- package/dist/selectors/supplyContractBlocksGeometrySelector.js +59 -0
- package/dist/services/apiServices.js +870 -758
- package/package.json +1 -1
- package/src/actions/commonActions.js +27 -0
- package/src/reducers/index.js +3 -0
- package/src/sagas/vineaNovaApi.sagas.js +96 -0
- package/src/selectors/identitiesByRoleSelector.js +65 -0
- package/src/selectors/index.js +3 -0
- package/src/selectors/searchSupplyContractsSelector.js +65 -0
- package/src/selectors/supplyContractBlocksGeometrySelector.js +65 -0
- package/src/services/apiServices.js +73 -0
package/CHANGELOG.md
CHANGED
|
@@ -1717,6 +1717,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
1717
1717
|
}]
|
|
1718
1718
|
}
|
|
1719
1719
|
},
|
|
1720
|
+
identitiesByRole: {
|
|
1721
|
+
get: {
|
|
1722
|
+
REQUEST: [function (payload) {
|
|
1723
|
+
return payload;
|
|
1724
|
+
}, function () {
|
|
1725
|
+
return {
|
|
1726
|
+
reducerName: 'identitiesByRole'
|
|
1727
|
+
};
|
|
1728
|
+
}],
|
|
1729
|
+
RECEIVE: [function (payload) {
|
|
1730
|
+
return payload;
|
|
1731
|
+
}, function () {
|
|
1732
|
+
return {
|
|
1733
|
+
reducerName: 'identitiesByRole'
|
|
1734
|
+
};
|
|
1735
|
+
}],
|
|
1736
|
+
ERROR: [function (payload) {
|
|
1737
|
+
return payload;
|
|
1738
|
+
}, function () {
|
|
1739
|
+
return {
|
|
1740
|
+
reducerName: 'identitiesByRole'
|
|
1741
|
+
};
|
|
1742
|
+
}],
|
|
1743
|
+
CLEARDATA: [function (payload) {
|
|
1744
|
+
return payload;
|
|
1745
|
+
}, function () {
|
|
1746
|
+
return {
|
|
1747
|
+
reducerName: 'identitiesByRole'
|
|
1748
|
+
};
|
|
1749
|
+
}],
|
|
1750
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
1751
|
+
return payload;
|
|
1752
|
+
}, function () {
|
|
1753
|
+
return {
|
|
1754
|
+
reducerName: 'identitiesByRole'
|
|
1755
|
+
};
|
|
1756
|
+
}]
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1720
1759
|
identityAccommodation: {
|
|
1721
1760
|
post: {
|
|
1722
1761
|
REQUEST: [function (payload) {
|
|
@@ -6721,6 +6760,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
6721
6760
|
}]
|
|
6722
6761
|
}
|
|
6723
6762
|
},
|
|
6763
|
+
searchSupplyContracts: {
|
|
6764
|
+
post: {
|
|
6765
|
+
REQUEST: [function (payload) {
|
|
6766
|
+
return payload;
|
|
6767
|
+
}, function () {
|
|
6768
|
+
return {
|
|
6769
|
+
reducerName: 'searchSupplyContracts'
|
|
6770
|
+
};
|
|
6771
|
+
}],
|
|
6772
|
+
RECEIVE: [function (payload) {
|
|
6773
|
+
return payload;
|
|
6774
|
+
}, function () {
|
|
6775
|
+
return {
|
|
6776
|
+
reducerName: 'searchSupplyContracts'
|
|
6777
|
+
};
|
|
6778
|
+
}],
|
|
6779
|
+
ERROR: [function (payload) {
|
|
6780
|
+
return payload;
|
|
6781
|
+
}, function () {
|
|
6782
|
+
return {
|
|
6783
|
+
reducerName: 'searchSupplyContracts'
|
|
6784
|
+
};
|
|
6785
|
+
}],
|
|
6786
|
+
CLEARDATA: [function (payload) {
|
|
6787
|
+
return payload;
|
|
6788
|
+
}, function () {
|
|
6789
|
+
return {
|
|
6790
|
+
reducerName: 'searchSupplyContracts'
|
|
6791
|
+
};
|
|
6792
|
+
}],
|
|
6793
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
6794
|
+
return payload;
|
|
6795
|
+
}, function () {
|
|
6796
|
+
return {
|
|
6797
|
+
reducerName: 'searchSupplyContracts'
|
|
6798
|
+
};
|
|
6799
|
+
}]
|
|
6800
|
+
}
|
|
6801
|
+
},
|
|
6724
6802
|
searchTrackingVineyards: {
|
|
6725
6803
|
post: {
|
|
6726
6804
|
REQUEST: [function (payload) {
|
|
@@ -7033,6 +7111,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
7033
7111
|
}]
|
|
7034
7112
|
}
|
|
7035
7113
|
},
|
|
7114
|
+
supplyContractBlocksGeometry: {
|
|
7115
|
+
get: {
|
|
7116
|
+
REQUEST: [function (payload) {
|
|
7117
|
+
return payload;
|
|
7118
|
+
}, function () {
|
|
7119
|
+
return {
|
|
7120
|
+
reducerName: 'supplyContractBlocksGeometry'
|
|
7121
|
+
};
|
|
7122
|
+
}],
|
|
7123
|
+
RECEIVE: [function (payload) {
|
|
7124
|
+
return payload;
|
|
7125
|
+
}, function () {
|
|
7126
|
+
return {
|
|
7127
|
+
reducerName: 'supplyContractBlocksGeometry'
|
|
7128
|
+
};
|
|
7129
|
+
}],
|
|
7130
|
+
ERROR: [function (payload) {
|
|
7131
|
+
return payload;
|
|
7132
|
+
}, function () {
|
|
7133
|
+
return {
|
|
7134
|
+
reducerName: 'supplyContractBlocksGeometry'
|
|
7135
|
+
};
|
|
7136
|
+
}],
|
|
7137
|
+
CLEARDATA: [function (payload) {
|
|
7138
|
+
return payload;
|
|
7139
|
+
}, function () {
|
|
7140
|
+
return {
|
|
7141
|
+
reducerName: 'supplyContractBlocksGeometry'
|
|
7142
|
+
};
|
|
7143
|
+
}],
|
|
7144
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
7145
|
+
return payload;
|
|
7146
|
+
}, function () {
|
|
7147
|
+
return {
|
|
7148
|
+
reducerName: 'supplyContractBlocksGeometry'
|
|
7149
|
+
};
|
|
7150
|
+
}]
|
|
7151
|
+
}
|
|
7152
|
+
},
|
|
7036
7153
|
supplyContractBlock: {
|
|
7037
7154
|
get: {
|
|
7038
7155
|
REQUEST: [function (payload) {
|
package/dist/reducers/index.js
CHANGED
|
@@ -31,6 +31,7 @@ var rootReducer = {
|
|
|
31
31
|
identity: (0, _createNamedReducer["default"])('identity'),
|
|
32
32
|
identityDetails: (0, _createNamedReducer["default"])('identityDetails'),
|
|
33
33
|
identityStatus: (0, _createNamedReducer["default"])('identityStatus'),
|
|
34
|
+
identitiesByRole: (0, _createNamedReducer["default"])('identitiesByRole'),
|
|
34
35
|
identityAccommodation: (0, _createNamedReducer["default"])('identityAccommodation'),
|
|
35
36
|
identityActivity: (0, _createNamedReducer["default"])('identityActivity'),
|
|
36
37
|
identityClassification: (0, _createNamedReducer["default"])('identityClassification'),
|
|
@@ -91,6 +92,7 @@ var rootReducer = {
|
|
|
91
92
|
sampleSet: (0, _createNamedReducer["default"])('sampleSet'),
|
|
92
93
|
searchIdentity: (0, _createNamedReducer["default"])('searchIdentity'),
|
|
93
94
|
searchPlans: (0, _createNamedReducer["default"])('searchPlans'),
|
|
95
|
+
searchSupplyContracts: (0, _createNamedReducer["default"])('searchSupplyContracts'),
|
|
94
96
|
searchTrackingVineyards: (0, _createNamedReducer["default"])('searchTrackingVineyards'),
|
|
95
97
|
searchTrackingBlockVintages: (0, _createNamedReducer["default"])('searchTrackingBlockVintages'),
|
|
96
98
|
vineyardBlocksGeometry: (0, _createNamedReducer["default"])('vineyardBlocksGeometry'),
|
|
@@ -99,6 +101,7 @@ var rootReducer = {
|
|
|
99
101
|
vineyardBlockActivityProgress: (0, _createNamedReducer["default"])('vineyardBlockActivityProgress'),
|
|
100
102
|
regionActivityProgress: (0, _createNamedReducer["default"])('regionActivityProgress'),
|
|
101
103
|
syncVineyardGeometry: (0, _createNamedReducer["default"])('syncVineyardGeometry'),
|
|
104
|
+
supplyContractBlocksGeometry: (0, _createNamedReducer["default"])('supplyContractBlocksGeometry'),
|
|
102
105
|
supplyContractBlock: (0, _createNamedReducer["default"])('supplyContractBlock'),
|
|
103
106
|
blocksForSupplyContract: (0, _createNamedReducer["default"])('blocksForSupplyContract'),
|
|
104
107
|
identityVineyard: (0, _createNamedReducer["default"])('identityVineyard'),
|