vineanova-redux-artifacts 1.70.0 → 1.71.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 +58 -19
- package/dist/reducers/index.js +2 -1
- package/dist/sagas/vineaNovaApi.sagas.js +393 -336
- package/dist/selectors/index.js +21 -8
- package/dist/selectors/vineyardGeometrySelector.js +71 -0
- package/dist/services/apiServices.js +297 -244
- package/package.json +1 -1
- package/src/actions/commonActions.js +18 -9
- package/src/reducers/index.js +2 -1
- package/src/sagas/vineaNovaApi.sagas.js +44 -12
- package/src/selectors/index.js +2 -1
- package/src/selectors/vineyardGeometrySelector.js +64 -0
- package/src/services/apiServices.js +40 -13
package/CHANGELOG.md
CHANGED
|
@@ -5014,45 +5014,86 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
5014
5014
|
}]
|
|
5015
5015
|
}
|
|
5016
5016
|
},
|
|
5017
|
-
|
|
5017
|
+
vineyardBlocksGeometry: {
|
|
5018
5018
|
get: {
|
|
5019
5019
|
REQUEST: [function (payload) {
|
|
5020
5020
|
return payload;
|
|
5021
5021
|
}, function () {
|
|
5022
5022
|
return {
|
|
5023
|
-
reducerName: '
|
|
5023
|
+
reducerName: 'vineyardBlocksGeometry'
|
|
5024
5024
|
};
|
|
5025
5025
|
}],
|
|
5026
5026
|
RECEIVE: [function (payload) {
|
|
5027
5027
|
return payload;
|
|
5028
5028
|
}, function () {
|
|
5029
5029
|
return {
|
|
5030
|
-
reducerName: '
|
|
5030
|
+
reducerName: 'vineyardBlocksGeometry'
|
|
5031
5031
|
};
|
|
5032
5032
|
}],
|
|
5033
5033
|
ERROR: [function (payload) {
|
|
5034
5034
|
return payload;
|
|
5035
5035
|
}, function () {
|
|
5036
5036
|
return {
|
|
5037
|
-
reducerName: '
|
|
5037
|
+
reducerName: 'vineyardBlocksGeometry'
|
|
5038
5038
|
};
|
|
5039
5039
|
}],
|
|
5040
5040
|
CLEARDATA: [function (payload) {
|
|
5041
5041
|
return payload;
|
|
5042
5042
|
}, function () {
|
|
5043
5043
|
return {
|
|
5044
|
-
reducerName: '
|
|
5044
|
+
reducerName: 'vineyardBlocksGeometry'
|
|
5045
5045
|
};
|
|
5046
5046
|
}],
|
|
5047
5047
|
UPDATEPARTIALENTITY: [function (payload) {
|
|
5048
5048
|
return payload;
|
|
5049
5049
|
}, function () {
|
|
5050
5050
|
return {
|
|
5051
|
-
reducerName: '
|
|
5051
|
+
reducerName: 'vineyardBlocksGeometry'
|
|
5052
5052
|
};
|
|
5053
5053
|
}]
|
|
5054
|
-
}
|
|
5055
|
-
|
|
5054
|
+
}
|
|
5055
|
+
},
|
|
5056
|
+
vineyardGeometry: {
|
|
5057
|
+
get: {
|
|
5058
|
+
REQUEST: [function (payload) {
|
|
5059
|
+
return payload;
|
|
5060
|
+
}, function () {
|
|
5061
|
+
return {
|
|
5062
|
+
reducerName: 'vineyardGeometry'
|
|
5063
|
+
};
|
|
5064
|
+
}],
|
|
5065
|
+
RECEIVE: [function (payload) {
|
|
5066
|
+
return payload;
|
|
5067
|
+
}, function () {
|
|
5068
|
+
return {
|
|
5069
|
+
reducerName: 'vineyardGeometry'
|
|
5070
|
+
};
|
|
5071
|
+
}],
|
|
5072
|
+
ERROR: [function (payload) {
|
|
5073
|
+
return payload;
|
|
5074
|
+
}, function () {
|
|
5075
|
+
return {
|
|
5076
|
+
reducerName: 'vineyardGeometry'
|
|
5077
|
+
};
|
|
5078
|
+
}],
|
|
5079
|
+
CLEARDATA: [function (payload) {
|
|
5080
|
+
return payload;
|
|
5081
|
+
}, function () {
|
|
5082
|
+
return {
|
|
5083
|
+
reducerName: 'vineyardGeometry'
|
|
5084
|
+
};
|
|
5085
|
+
}],
|
|
5086
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5087
|
+
return payload;
|
|
5088
|
+
}, function () {
|
|
5089
|
+
return {
|
|
5090
|
+
reducerName: 'vineyardGeometry'
|
|
5091
|
+
};
|
|
5092
|
+
}]
|
|
5093
|
+
}
|
|
5094
|
+
},
|
|
5095
|
+
identityVineyard: {
|
|
5096
|
+
get: {
|
|
5056
5097
|
REQUEST: [function (payload) {
|
|
5057
5098
|
return payload;
|
|
5058
5099
|
}, function () {
|
|
@@ -5089,7 +5130,7 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
5089
5130
|
};
|
|
5090
5131
|
}]
|
|
5091
5132
|
},
|
|
5092
|
-
|
|
5133
|
+
post: {
|
|
5093
5134
|
REQUEST: [function (payload) {
|
|
5094
5135
|
return payload;
|
|
5095
5136
|
}, function () {
|
|
@@ -5126,7 +5167,7 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
5126
5167
|
};
|
|
5127
5168
|
}]
|
|
5128
5169
|
},
|
|
5129
|
-
|
|
5170
|
+
put: {
|
|
5130
5171
|
REQUEST: [function (payload) {
|
|
5131
5172
|
return payload;
|
|
5132
5173
|
}, function () {
|
|
@@ -5162,43 +5203,41 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
5162
5203
|
reducerName: 'identityVineyard'
|
|
5163
5204
|
};
|
|
5164
5205
|
}]
|
|
5165
|
-
}
|
|
5166
|
-
|
|
5167
|
-
vineyardBlocksGeometry: {
|
|
5168
|
-
get: {
|
|
5206
|
+
},
|
|
5207
|
+
"delete": {
|
|
5169
5208
|
REQUEST: [function (payload) {
|
|
5170
5209
|
return payload;
|
|
5171
5210
|
}, function () {
|
|
5172
5211
|
return {
|
|
5173
|
-
reducerName: '
|
|
5212
|
+
reducerName: 'identityVineyard'
|
|
5174
5213
|
};
|
|
5175
5214
|
}],
|
|
5176
5215
|
RECEIVE: [function (payload) {
|
|
5177
5216
|
return payload;
|
|
5178
5217
|
}, function () {
|
|
5179
5218
|
return {
|
|
5180
|
-
reducerName: '
|
|
5219
|
+
reducerName: 'identityVineyard'
|
|
5181
5220
|
};
|
|
5182
5221
|
}],
|
|
5183
5222
|
ERROR: [function (payload) {
|
|
5184
5223
|
return payload;
|
|
5185
5224
|
}, function () {
|
|
5186
5225
|
return {
|
|
5187
|
-
reducerName: '
|
|
5226
|
+
reducerName: 'identityVineyard'
|
|
5188
5227
|
};
|
|
5189
5228
|
}],
|
|
5190
5229
|
CLEARDATA: [function (payload) {
|
|
5191
5230
|
return payload;
|
|
5192
5231
|
}, function () {
|
|
5193
5232
|
return {
|
|
5194
|
-
reducerName: '
|
|
5233
|
+
reducerName: 'identityVineyard'
|
|
5195
5234
|
};
|
|
5196
5235
|
}],
|
|
5197
5236
|
UPDATEPARTIALENTITY: [function (payload) {
|
|
5198
5237
|
return payload;
|
|
5199
5238
|
}, function () {
|
|
5200
5239
|
return {
|
|
5201
|
-
reducerName: '
|
|
5240
|
+
reducerName: 'identityVineyard'
|
|
5202
5241
|
};
|
|
5203
5242
|
}]
|
|
5204
5243
|
}
|
package/dist/reducers/index.js
CHANGED
|
@@ -73,8 +73,9 @@ var rootReducer = {
|
|
|
73
73
|
sites: (0, _createNamedReducer["default"])('sites'),
|
|
74
74
|
sensors: (0, _createNamedReducer["default"])('sensors'),
|
|
75
75
|
sensorBlocks: (0, _createNamedReducer["default"])('sensorBlocks'),
|
|
76
|
-
identityVineyard: (0, _createNamedReducer["default"])('identityVineyard'),
|
|
77
76
|
vineyardBlocksGeometry: (0, _createNamedReducer["default"])('vineyardBlocksGeometry'),
|
|
77
|
+
vineyardGeometry: (0, _createNamedReducer["default"])('vineyardGeometry'),
|
|
78
|
+
identityVineyard: (0, _createNamedReducer["default"])('identityVineyard'),
|
|
78
79
|
lookupClassification: (0, _createNamedReducer["default"])('lookupClassification'),
|
|
79
80
|
lookupClassificationGroup: (0, _createNamedReducer["default"])('lookupClassificationGroup'),
|
|
80
81
|
lookupClassificationGroupIdentityType: (0, _createNamedReducer["default"])('lookupClassificationGroupIdentityType'),
|