vineanova-redux-artifacts 1.119.4 → 1.119.6
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 +154 -0
- package/dist/reducers/index.js +3 -0
- package/dist/sagas/vineaNovaApi.sagas.js +1182 -1002
- 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 +928 -778
- package/package.json +1 -1
- package/src/actions/commonActions.js +34 -0
- package/src/reducers/index.js +3 -0
- package/src/sagas/vineaNovaApi.sagas.js +127 -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 +97 -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) {
|
|
@@ -4201,6 +4240,43 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
4201
4240
|
reducerName: 'identitySupplyContract'
|
|
4202
4241
|
};
|
|
4203
4242
|
}]
|
|
4243
|
+
},
|
|
4244
|
+
"delete": {
|
|
4245
|
+
REQUEST: [function (payload) {
|
|
4246
|
+
return payload;
|
|
4247
|
+
}, function () {
|
|
4248
|
+
return {
|
|
4249
|
+
reducerName: 'identitySupplyContract'
|
|
4250
|
+
};
|
|
4251
|
+
}],
|
|
4252
|
+
RECEIVE: [function (payload) {
|
|
4253
|
+
return payload;
|
|
4254
|
+
}, function () {
|
|
4255
|
+
return {
|
|
4256
|
+
reducerName: 'identitySupplyContract'
|
|
4257
|
+
};
|
|
4258
|
+
}],
|
|
4259
|
+
ERROR: [function (payload) {
|
|
4260
|
+
return payload;
|
|
4261
|
+
}, function () {
|
|
4262
|
+
return {
|
|
4263
|
+
reducerName: 'identitySupplyContract'
|
|
4264
|
+
};
|
|
4265
|
+
}],
|
|
4266
|
+
CLEARDATA: [function (payload) {
|
|
4267
|
+
return payload;
|
|
4268
|
+
}, function () {
|
|
4269
|
+
return {
|
|
4270
|
+
reducerName: 'identitySupplyContract'
|
|
4271
|
+
};
|
|
4272
|
+
}],
|
|
4273
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
4274
|
+
return payload;
|
|
4275
|
+
}, function () {
|
|
4276
|
+
return {
|
|
4277
|
+
reducerName: 'identitySupplyContract'
|
|
4278
|
+
};
|
|
4279
|
+
}]
|
|
4204
4280
|
}
|
|
4205
4281
|
},
|
|
4206
4282
|
identityUserPerson: {
|
|
@@ -6760,6 +6836,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
6760
6836
|
}]
|
|
6761
6837
|
}
|
|
6762
6838
|
},
|
|
6839
|
+
searchSupplyContracts: {
|
|
6840
|
+
post: {
|
|
6841
|
+
REQUEST: [function (payload) {
|
|
6842
|
+
return payload;
|
|
6843
|
+
}, function () {
|
|
6844
|
+
return {
|
|
6845
|
+
reducerName: 'searchSupplyContracts'
|
|
6846
|
+
};
|
|
6847
|
+
}],
|
|
6848
|
+
RECEIVE: [function (payload) {
|
|
6849
|
+
return payload;
|
|
6850
|
+
}, function () {
|
|
6851
|
+
return {
|
|
6852
|
+
reducerName: 'searchSupplyContracts'
|
|
6853
|
+
};
|
|
6854
|
+
}],
|
|
6855
|
+
ERROR: [function (payload) {
|
|
6856
|
+
return payload;
|
|
6857
|
+
}, function () {
|
|
6858
|
+
return {
|
|
6859
|
+
reducerName: 'searchSupplyContracts'
|
|
6860
|
+
};
|
|
6861
|
+
}],
|
|
6862
|
+
CLEARDATA: [function (payload) {
|
|
6863
|
+
return payload;
|
|
6864
|
+
}, function () {
|
|
6865
|
+
return {
|
|
6866
|
+
reducerName: 'searchSupplyContracts'
|
|
6867
|
+
};
|
|
6868
|
+
}],
|
|
6869
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
6870
|
+
return payload;
|
|
6871
|
+
}, function () {
|
|
6872
|
+
return {
|
|
6873
|
+
reducerName: 'searchSupplyContracts'
|
|
6874
|
+
};
|
|
6875
|
+
}]
|
|
6876
|
+
}
|
|
6877
|
+
},
|
|
6763
6878
|
searchTrackingVineyards: {
|
|
6764
6879
|
post: {
|
|
6765
6880
|
REQUEST: [function (payload) {
|
|
@@ -7072,6 +7187,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
7072
7187
|
}]
|
|
7073
7188
|
}
|
|
7074
7189
|
},
|
|
7190
|
+
supplyContractBlocksGeometry: {
|
|
7191
|
+
get: {
|
|
7192
|
+
REQUEST: [function (payload) {
|
|
7193
|
+
return payload;
|
|
7194
|
+
}, function () {
|
|
7195
|
+
return {
|
|
7196
|
+
reducerName: 'supplyContractBlocksGeometry'
|
|
7197
|
+
};
|
|
7198
|
+
}],
|
|
7199
|
+
RECEIVE: [function (payload) {
|
|
7200
|
+
return payload;
|
|
7201
|
+
}, function () {
|
|
7202
|
+
return {
|
|
7203
|
+
reducerName: 'supplyContractBlocksGeometry'
|
|
7204
|
+
};
|
|
7205
|
+
}],
|
|
7206
|
+
ERROR: [function (payload) {
|
|
7207
|
+
return payload;
|
|
7208
|
+
}, function () {
|
|
7209
|
+
return {
|
|
7210
|
+
reducerName: 'supplyContractBlocksGeometry'
|
|
7211
|
+
};
|
|
7212
|
+
}],
|
|
7213
|
+
CLEARDATA: [function (payload) {
|
|
7214
|
+
return payload;
|
|
7215
|
+
}, function () {
|
|
7216
|
+
return {
|
|
7217
|
+
reducerName: 'supplyContractBlocksGeometry'
|
|
7218
|
+
};
|
|
7219
|
+
}],
|
|
7220
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
7221
|
+
return payload;
|
|
7222
|
+
}, function () {
|
|
7223
|
+
return {
|
|
7224
|
+
reducerName: 'supplyContractBlocksGeometry'
|
|
7225
|
+
};
|
|
7226
|
+
}]
|
|
7227
|
+
}
|
|
7228
|
+
},
|
|
7075
7229
|
supplyContractBlock: {
|
|
7076
7230
|
get: {
|
|
7077
7231
|
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'),
|
|
@@ -92,6 +93,7 @@ var rootReducer = {
|
|
|
92
93
|
sampleSet: (0, _createNamedReducer["default"])('sampleSet'),
|
|
93
94
|
searchIdentity: (0, _createNamedReducer["default"])('searchIdentity'),
|
|
94
95
|
searchPlans: (0, _createNamedReducer["default"])('searchPlans'),
|
|
96
|
+
searchSupplyContracts: (0, _createNamedReducer["default"])('searchSupplyContracts'),
|
|
95
97
|
searchTrackingVineyards: (0, _createNamedReducer["default"])('searchTrackingVineyards'),
|
|
96
98
|
searchTrackingBlockVintages: (0, _createNamedReducer["default"])('searchTrackingBlockVintages'),
|
|
97
99
|
vineyardBlocksGeometry: (0, _createNamedReducer["default"])('vineyardBlocksGeometry'),
|
|
@@ -100,6 +102,7 @@ var rootReducer = {
|
|
|
100
102
|
vineyardBlockActivityProgress: (0, _createNamedReducer["default"])('vineyardBlockActivityProgress'),
|
|
101
103
|
regionActivityProgress: (0, _createNamedReducer["default"])('regionActivityProgress'),
|
|
102
104
|
syncVineyardGeometry: (0, _createNamedReducer["default"])('syncVineyardGeometry'),
|
|
105
|
+
supplyContractBlocksGeometry: (0, _createNamedReducer["default"])('supplyContractBlocksGeometry'),
|
|
103
106
|
supplyContractBlock: (0, _createNamedReducer["default"])('supplyContractBlock'),
|
|
104
107
|
blocksForSupplyContract: (0, _createNamedReducer["default"])('blocksForSupplyContract'),
|
|
105
108
|
identityVineyard: (0, _createNamedReducer["default"])('identityVineyard'),
|