vineanova-redux-artifacts 1.90.0 → 1.92.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 +115 -0
- package/dist/reducers/index.js +3 -1
- package/dist/sagas/vineaNovaApi.sagas.js +530 -386
- package/dist/selectors/index.js +22 -0
- package/dist/selectors/lookupActivitySelector.js +58 -0
- package/dist/selectors/lookupStatusSelector.js +9 -4
- package/dist/selectors/regionActivityProgressSelector.js +58 -0
- package/dist/services/apiServices.js +426 -303
- package/package.json +1 -1
- package/src/actions/commonActions.js +25 -0
- package/src/reducers/index.js +2 -0
- package/src/sagas/vineaNovaApi.sagas.js +98 -0
- package/src/selectors/index.js +2 -0
- package/src/selectors/lookupActivitySelector.js +64 -0
- package/src/selectors/lookupStatusSelector.js +9 -0
- package/src/selectors/regionActivityProgressSelector.js +64 -0
- package/src/services/apiServices.js +73 -0
package/CHANGELOG.md
CHANGED
|
@@ -5047,6 +5047,43 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
5047
5047
|
reducerName: 'sampleHeaderLines'
|
|
5048
5048
|
};
|
|
5049
5049
|
}]
|
|
5050
|
+
},
|
|
5051
|
+
put: {
|
|
5052
|
+
REQUEST: [function (payload) {
|
|
5053
|
+
return payload;
|
|
5054
|
+
}, function () {
|
|
5055
|
+
return {
|
|
5056
|
+
reducerName: 'sampleHeaderLines'
|
|
5057
|
+
};
|
|
5058
|
+
}],
|
|
5059
|
+
RECEIVE: [function (payload) {
|
|
5060
|
+
return payload;
|
|
5061
|
+
}, function () {
|
|
5062
|
+
return {
|
|
5063
|
+
reducerName: 'sampleHeaderLines'
|
|
5064
|
+
};
|
|
5065
|
+
}],
|
|
5066
|
+
ERROR: [function (payload) {
|
|
5067
|
+
return payload;
|
|
5068
|
+
}, function () {
|
|
5069
|
+
return {
|
|
5070
|
+
reducerName: 'sampleHeaderLines'
|
|
5071
|
+
};
|
|
5072
|
+
}],
|
|
5073
|
+
CLEARDATA: [function (payload) {
|
|
5074
|
+
return payload;
|
|
5075
|
+
}, function () {
|
|
5076
|
+
return {
|
|
5077
|
+
reducerName: 'sampleHeaderLines'
|
|
5078
|
+
};
|
|
5079
|
+
}],
|
|
5080
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5081
|
+
return payload;
|
|
5082
|
+
}, function () {
|
|
5083
|
+
return {
|
|
5084
|
+
reducerName: 'sampleHeaderLines'
|
|
5085
|
+
};
|
|
5086
|
+
}]
|
|
5050
5087
|
}
|
|
5051
5088
|
},
|
|
5052
5089
|
assignSampleHeaders: {
|
|
@@ -5556,6 +5593,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
5556
5593
|
}]
|
|
5557
5594
|
}
|
|
5558
5595
|
},
|
|
5596
|
+
regionActivityProgress: {
|
|
5597
|
+
get: {
|
|
5598
|
+
REQUEST: [function (payload) {
|
|
5599
|
+
return payload;
|
|
5600
|
+
}, function () {
|
|
5601
|
+
return {
|
|
5602
|
+
reducerName: 'regionActivityProgress'
|
|
5603
|
+
};
|
|
5604
|
+
}],
|
|
5605
|
+
RECEIVE: [function (payload) {
|
|
5606
|
+
return payload;
|
|
5607
|
+
}, function () {
|
|
5608
|
+
return {
|
|
5609
|
+
reducerName: 'regionActivityProgress'
|
|
5610
|
+
};
|
|
5611
|
+
}],
|
|
5612
|
+
ERROR: [function (payload) {
|
|
5613
|
+
return payload;
|
|
5614
|
+
}, function () {
|
|
5615
|
+
return {
|
|
5616
|
+
reducerName: 'regionActivityProgress'
|
|
5617
|
+
};
|
|
5618
|
+
}],
|
|
5619
|
+
CLEARDATA: [function (payload) {
|
|
5620
|
+
return payload;
|
|
5621
|
+
}, function () {
|
|
5622
|
+
return {
|
|
5623
|
+
reducerName: 'regionActivityProgress'
|
|
5624
|
+
};
|
|
5625
|
+
}],
|
|
5626
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5627
|
+
return payload;
|
|
5628
|
+
}, function () {
|
|
5629
|
+
return {
|
|
5630
|
+
reducerName: 'regionActivityProgress'
|
|
5631
|
+
};
|
|
5632
|
+
}]
|
|
5633
|
+
}
|
|
5634
|
+
},
|
|
5559
5635
|
identityVineyard: {
|
|
5560
5636
|
get: {
|
|
5561
5637
|
REQUEST: [function (payload) {
|
|
@@ -7812,6 +7888,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
7812
7888
|
}]
|
|
7813
7889
|
}
|
|
7814
7890
|
},
|
|
7891
|
+
lookupActivity: {
|
|
7892
|
+
get: {
|
|
7893
|
+
REQUEST: [function (payload) {
|
|
7894
|
+
return payload;
|
|
7895
|
+
}, function () {
|
|
7896
|
+
return {
|
|
7897
|
+
reducerName: 'lookupActivity'
|
|
7898
|
+
};
|
|
7899
|
+
}],
|
|
7900
|
+
RECEIVE: [function (payload) {
|
|
7901
|
+
return payload;
|
|
7902
|
+
}, function () {
|
|
7903
|
+
return {
|
|
7904
|
+
reducerName: 'lookupActivity'
|
|
7905
|
+
};
|
|
7906
|
+
}],
|
|
7907
|
+
ERROR: [function (payload) {
|
|
7908
|
+
return payload;
|
|
7909
|
+
}, function () {
|
|
7910
|
+
return {
|
|
7911
|
+
reducerName: 'lookupActivity'
|
|
7912
|
+
};
|
|
7913
|
+
}],
|
|
7914
|
+
CLEARDATA: [function (payload) {
|
|
7915
|
+
return payload;
|
|
7916
|
+
}, function () {
|
|
7917
|
+
return {
|
|
7918
|
+
reducerName: 'lookupActivity'
|
|
7919
|
+
};
|
|
7920
|
+
}],
|
|
7921
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
7922
|
+
return payload;
|
|
7923
|
+
}, function () {
|
|
7924
|
+
return {
|
|
7925
|
+
reducerName: 'lookupActivity'
|
|
7926
|
+
};
|
|
7927
|
+
}]
|
|
7928
|
+
}
|
|
7929
|
+
},
|
|
7815
7930
|
fetchAllLookups: {
|
|
7816
7931
|
REQUEST: [function (payload) {
|
|
7817
7932
|
return payload;
|
package/dist/reducers/index.js
CHANGED
|
@@ -82,6 +82,7 @@ var rootReducer = {
|
|
|
82
82
|
vineyardGeometry: (0, _createNamedReducer["default"])('vineyardGeometry'),
|
|
83
83
|
regionVineyardGeometry: (0, _createNamedReducer["default"])('regionVineyardGeometry'),
|
|
84
84
|
vineyardBlockActivityProgress: (0, _createNamedReducer["default"])('vineyardBlockActivityProgress'),
|
|
85
|
+
regionActivityProgress: (0, _createNamedReducer["default"])('regionActivityProgress'),
|
|
85
86
|
identityVineyard: (0, _createNamedReducer["default"])('identityVineyard'),
|
|
86
87
|
lookupClassification: (0, _createNamedReducer["default"])('lookupClassification'),
|
|
87
88
|
lookupClassificationGroup: (0, _createNamedReducer["default"])('lookupClassificationGroup'),
|
|
@@ -136,7 +137,8 @@ var rootReducer = {
|
|
|
136
137
|
lookupConsumableType: (0, _createNamedReducer["default"])('lookupConsumableType'),
|
|
137
138
|
lookupSensorStatus: (0, _createNamedReducer["default"])('lookupSensorStatus'),
|
|
138
139
|
lookupSensorType: (0, _createNamedReducer["default"])('lookupSensorType'),
|
|
139
|
-
lookupSensorTypeMeasureUnit: (0, _createNamedReducer["default"])('lookupSensorTypeMeasureUnit')
|
|
140
|
+
lookupSensorTypeMeasureUnit: (0, _createNamedReducer["default"])('lookupSensorTypeMeasureUnit'),
|
|
141
|
+
lookupActivity: (0, _createNamedReducer["default"])('lookupActivity')
|
|
140
142
|
})
|
|
141
143
|
};
|
|
142
144
|
var _default = rootReducer;
|