vineanova-redux-artifacts 1.45.0 → 1.46.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/CHANGELOG.md +1 -1
- package/dist/actions/commonActions.js +117 -0
- package/dist/reducers/index.js +4 -1
- package/dist/sagas/vineaNovaApi.sagas.js +274 -91
- package/dist/selectors/index.js +39 -0
- package/dist/selectors/lookupDocumentStatusSelector.js +71 -0
- package/dist/selectors/lookupDocumentTypeSelector.js +71 -0
- package/dist/selectors/lookupInactiveReasonSelector.js +71 -0
- package/dist/selectors/lookupStatusSelector.js +22 -4
- package/dist/services/apiServices.js +165 -3
- 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 +105 -0
- package/src/selectors/index.js +3 -0
- package/src/selectors/lookupDocumentStatusSelector.js +64 -0
- package/src/selectors/lookupDocumentTypeSelector.js +64 -0
- package/src/selectors/lookupInactiveReasonSelector.js +64 -0
- package/src/selectors/lookupStatusSelector.js +27 -0
- package/src/services/apiServices.js +84 -0
package/CHANGELOG.md
CHANGED
|
@@ -5668,6 +5668,123 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
5668
5668
|
}]
|
|
5669
5669
|
}
|
|
5670
5670
|
},
|
|
5671
|
+
lookupInactiveReason: {
|
|
5672
|
+
get: {
|
|
5673
|
+
REQUEST: [function (payload) {
|
|
5674
|
+
return payload;
|
|
5675
|
+
}, function () {
|
|
5676
|
+
return {
|
|
5677
|
+
reducerName: 'lookupInactiveReason'
|
|
5678
|
+
};
|
|
5679
|
+
}],
|
|
5680
|
+
RECEIVE: [function (payload) {
|
|
5681
|
+
return payload;
|
|
5682
|
+
}, function () {
|
|
5683
|
+
return {
|
|
5684
|
+
reducerName: 'lookupInactiveReason'
|
|
5685
|
+
};
|
|
5686
|
+
}],
|
|
5687
|
+
ERROR: [function (payload) {
|
|
5688
|
+
return payload;
|
|
5689
|
+
}, function () {
|
|
5690
|
+
return {
|
|
5691
|
+
reducerName: 'lookupInactiveReason'
|
|
5692
|
+
};
|
|
5693
|
+
}],
|
|
5694
|
+
CLEARDATA: [function (payload) {
|
|
5695
|
+
return payload;
|
|
5696
|
+
}, function () {
|
|
5697
|
+
return {
|
|
5698
|
+
reducerName: 'lookupInactiveReason'
|
|
5699
|
+
};
|
|
5700
|
+
}],
|
|
5701
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5702
|
+
return payload;
|
|
5703
|
+
}, function () {
|
|
5704
|
+
return {
|
|
5705
|
+
reducerName: 'lookupInactiveReason'
|
|
5706
|
+
};
|
|
5707
|
+
}]
|
|
5708
|
+
}
|
|
5709
|
+
},
|
|
5710
|
+
lookupDocumentType: {
|
|
5711
|
+
get: {
|
|
5712
|
+
REQUEST: [function (payload) {
|
|
5713
|
+
return payload;
|
|
5714
|
+
}, function () {
|
|
5715
|
+
return {
|
|
5716
|
+
reducerName: 'lookupDocumentType'
|
|
5717
|
+
};
|
|
5718
|
+
}],
|
|
5719
|
+
RECEIVE: [function (payload) {
|
|
5720
|
+
return payload;
|
|
5721
|
+
}, function () {
|
|
5722
|
+
return {
|
|
5723
|
+
reducerName: 'lookupDocumentType'
|
|
5724
|
+
};
|
|
5725
|
+
}],
|
|
5726
|
+
ERROR: [function (payload) {
|
|
5727
|
+
return payload;
|
|
5728
|
+
}, function () {
|
|
5729
|
+
return {
|
|
5730
|
+
reducerName: 'lookupDocumentType'
|
|
5731
|
+
};
|
|
5732
|
+
}],
|
|
5733
|
+
CLEARDATA: [function (payload) {
|
|
5734
|
+
return payload;
|
|
5735
|
+
}, function () {
|
|
5736
|
+
return {
|
|
5737
|
+
reducerName: 'lookupDocumentType'
|
|
5738
|
+
};
|
|
5739
|
+
}],
|
|
5740
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5741
|
+
return payload;
|
|
5742
|
+
}, function () {
|
|
5743
|
+
return {
|
|
5744
|
+
reducerName: 'lookupDocumentType'
|
|
5745
|
+
};
|
|
5746
|
+
}]
|
|
5747
|
+
}
|
|
5748
|
+
},
|
|
5749
|
+
lookupDocumentStatus: {
|
|
5750
|
+
get: {
|
|
5751
|
+
REQUEST: [function (payload) {
|
|
5752
|
+
return payload;
|
|
5753
|
+
}, function () {
|
|
5754
|
+
return {
|
|
5755
|
+
reducerName: 'lookupDocumentStatus'
|
|
5756
|
+
};
|
|
5757
|
+
}],
|
|
5758
|
+
RECEIVE: [function (payload) {
|
|
5759
|
+
return payload;
|
|
5760
|
+
}, function () {
|
|
5761
|
+
return {
|
|
5762
|
+
reducerName: 'lookupDocumentStatus'
|
|
5763
|
+
};
|
|
5764
|
+
}],
|
|
5765
|
+
ERROR: [function (payload) {
|
|
5766
|
+
return payload;
|
|
5767
|
+
}, function () {
|
|
5768
|
+
return {
|
|
5769
|
+
reducerName: 'lookupDocumentStatus'
|
|
5770
|
+
};
|
|
5771
|
+
}],
|
|
5772
|
+
CLEARDATA: [function (payload) {
|
|
5773
|
+
return payload;
|
|
5774
|
+
}, function () {
|
|
5775
|
+
return {
|
|
5776
|
+
reducerName: 'lookupDocumentStatus'
|
|
5777
|
+
};
|
|
5778
|
+
}],
|
|
5779
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5780
|
+
return payload;
|
|
5781
|
+
}, function () {
|
|
5782
|
+
return {
|
|
5783
|
+
reducerName: 'lookupDocumentStatus'
|
|
5784
|
+
};
|
|
5785
|
+
}]
|
|
5786
|
+
}
|
|
5787
|
+
},
|
|
5671
5788
|
fetchAllLookups: {
|
|
5672
5789
|
REQUEST: [function (payload) {
|
|
5673
5790
|
return payload;
|
package/dist/reducers/index.js
CHANGED
|
@@ -103,7 +103,10 @@ var rootReducer = {
|
|
|
103
103
|
lookupPhenologyMeasureSet: (0, _createNamedReducer["default"])('lookupPhenologyMeasureSet'),
|
|
104
104
|
lookupPhenologyMeasureType: (0, _createNamedReducer["default"])('lookupPhenologyMeasureType'),
|
|
105
105
|
lookupCropSettingInstance: (0, _createNamedReducer["default"])('lookupCropSettingInstance'),
|
|
106
|
-
lookupCropSettingOption: (0, _createNamedReducer["default"])('lookupCropSettingOption')
|
|
106
|
+
lookupCropSettingOption: (0, _createNamedReducer["default"])('lookupCropSettingOption'),
|
|
107
|
+
lookupInactiveReason: (0, _createNamedReducer["default"])('lookupInactiveReason'),
|
|
108
|
+
lookupDocumentType: (0, _createNamedReducer["default"])('lookupDocumentType'),
|
|
109
|
+
lookupDocumentStatus: (0, _createNamedReducer["default"])('lookupDocumentStatus')
|
|
107
110
|
})
|
|
108
111
|
};
|
|
109
112
|
var _default = rootReducer;
|