vineanova-redux-artifacts 1.39.0 → 1.40.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 +16 -18
- package/dist/reducers/index.js +0 -1
- package/dist/sagas/vineaNovaApi.sagas.js +16 -16
- package/dist/selectors/index.js +0 -13
- package/dist/services/apiServices.js +14 -14
- package/package.json +1 -1
- package/src/actions/commonActions.js +15 -17
- package/src/reducers/index.js +0 -1
- package/src/sagas/vineaNovaApi.sagas.js +9 -10
- package/src/selectors/index.js +0 -1
- package/src/services/apiServices.js +6 -7
- package/dist/selectors/cropBlockNoteSelector.js +0 -71
- package/src/selectors/cropBlockNoteSelector.js +0 -64
package/CHANGELOG.md
CHANGED
|
@@ -197,43 +197,41 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
197
197
|
reducerName: 'cropBlockNotes'
|
|
198
198
|
};
|
|
199
199
|
}]
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
cropBlockNote: {
|
|
200
|
+
},
|
|
203
201
|
post: {
|
|
204
202
|
REQUEST: [function (payload) {
|
|
205
203
|
return payload;
|
|
206
204
|
}, function () {
|
|
207
205
|
return {
|
|
208
|
-
reducerName: '
|
|
206
|
+
reducerName: 'cropBlockNotes'
|
|
209
207
|
};
|
|
210
208
|
}],
|
|
211
209
|
RECEIVE: [function (payload) {
|
|
212
210
|
return payload;
|
|
213
211
|
}, function () {
|
|
214
212
|
return {
|
|
215
|
-
reducerName: '
|
|
213
|
+
reducerName: 'cropBlockNotes'
|
|
216
214
|
};
|
|
217
215
|
}],
|
|
218
216
|
ERROR: [function (payload) {
|
|
219
217
|
return payload;
|
|
220
218
|
}, function () {
|
|
221
219
|
return {
|
|
222
|
-
reducerName: '
|
|
220
|
+
reducerName: 'cropBlockNotes'
|
|
223
221
|
};
|
|
224
222
|
}],
|
|
225
223
|
CLEARDATA: [function (payload) {
|
|
226
224
|
return payload;
|
|
227
225
|
}, function () {
|
|
228
226
|
return {
|
|
229
|
-
reducerName: '
|
|
227
|
+
reducerName: 'cropBlockNotes'
|
|
230
228
|
};
|
|
231
229
|
}],
|
|
232
230
|
UPDATEPARTIALENTITY: [function (payload) {
|
|
233
231
|
return payload;
|
|
234
232
|
}, function () {
|
|
235
233
|
return {
|
|
236
|
-
reducerName: '
|
|
234
|
+
reducerName: 'cropBlockNotes'
|
|
237
235
|
};
|
|
238
236
|
}]
|
|
239
237
|
},
|
|
@@ -242,35 +240,35 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
242
240
|
return payload;
|
|
243
241
|
}, function () {
|
|
244
242
|
return {
|
|
245
|
-
reducerName: '
|
|
243
|
+
reducerName: 'cropBlockNotes'
|
|
246
244
|
};
|
|
247
245
|
}],
|
|
248
246
|
RECEIVE: [function (payload) {
|
|
249
247
|
return payload;
|
|
250
248
|
}, function () {
|
|
251
249
|
return {
|
|
252
|
-
reducerName: '
|
|
250
|
+
reducerName: 'cropBlockNotes'
|
|
253
251
|
};
|
|
254
252
|
}],
|
|
255
253
|
ERROR: [function (payload) {
|
|
256
254
|
return payload;
|
|
257
255
|
}, function () {
|
|
258
256
|
return {
|
|
259
|
-
reducerName: '
|
|
257
|
+
reducerName: 'cropBlockNotes'
|
|
260
258
|
};
|
|
261
259
|
}],
|
|
262
260
|
CLEARDATA: [function (payload) {
|
|
263
261
|
return payload;
|
|
264
262
|
}, function () {
|
|
265
263
|
return {
|
|
266
|
-
reducerName: '
|
|
264
|
+
reducerName: 'cropBlockNotes'
|
|
267
265
|
};
|
|
268
266
|
}],
|
|
269
267
|
UPDATEPARTIALENTITY: [function (payload) {
|
|
270
268
|
return payload;
|
|
271
269
|
}, function () {
|
|
272
270
|
return {
|
|
273
|
-
reducerName: '
|
|
271
|
+
reducerName: 'cropBlockNotes'
|
|
274
272
|
};
|
|
275
273
|
}]
|
|
276
274
|
},
|
|
@@ -279,35 +277,35 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
279
277
|
return payload;
|
|
280
278
|
}, function () {
|
|
281
279
|
return {
|
|
282
|
-
reducerName: '
|
|
280
|
+
reducerName: 'cropBlockNotes'
|
|
283
281
|
};
|
|
284
282
|
}],
|
|
285
283
|
RECEIVE: [function (payload) {
|
|
286
284
|
return payload;
|
|
287
285
|
}, function () {
|
|
288
286
|
return {
|
|
289
|
-
reducerName: '
|
|
287
|
+
reducerName: 'cropBlockNotes'
|
|
290
288
|
};
|
|
291
289
|
}],
|
|
292
290
|
ERROR: [function (payload) {
|
|
293
291
|
return payload;
|
|
294
292
|
}, function () {
|
|
295
293
|
return {
|
|
296
|
-
reducerName: '
|
|
294
|
+
reducerName: 'cropBlockNotes'
|
|
297
295
|
};
|
|
298
296
|
}],
|
|
299
297
|
CLEARDATA: [function (payload) {
|
|
300
298
|
return payload;
|
|
301
299
|
}, function () {
|
|
302
300
|
return {
|
|
303
|
-
reducerName: '
|
|
301
|
+
reducerName: 'cropBlockNotes'
|
|
304
302
|
};
|
|
305
303
|
}],
|
|
306
304
|
UPDATEPARTIALENTITY: [function (payload) {
|
|
307
305
|
return payload;
|
|
308
306
|
}, function () {
|
|
309
307
|
return {
|
|
310
|
-
reducerName: '
|
|
308
|
+
reducerName: 'cropBlockNotes'
|
|
311
309
|
};
|
|
312
310
|
}]
|
|
313
311
|
}
|
package/dist/reducers/index.js
CHANGED
|
@@ -15,7 +15,6 @@ var rootReducer = {
|
|
|
15
15
|
entities: (0, _redux.combineReducers)({
|
|
16
16
|
blockVintage: (0, _createNamedReducer["default"])('blockVintage'),
|
|
17
17
|
cropBlockNotes: (0, _createNamedReducer["default"])('cropBlockNotes'),
|
|
18
|
-
cropBlockNote: (0, _createNamedReducer["default"])('cropBlockNote'),
|
|
19
18
|
cropBlockPhenology: (0, _createNamedReducer["default"])('cropBlockPhenology'),
|
|
20
19
|
cropBlockSetting: (0, _createNamedReducer["default"])('cropBlockSetting'),
|
|
21
20
|
cropBlockVintage: (0, _createNamedReducer["default"])('cropBlockVintage'),
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports["default"] = root;
|
|
9
9
|
exports.deleteBlockVintageSagas = deleteBlockVintageSagas;
|
|
10
10
|
exports.deleteContactMethodSagas = deleteContactMethodSagas;
|
|
11
|
-
exports.
|
|
11
|
+
exports.deleteCropBlockNotesSagas = deleteCropBlockNotesSagas;
|
|
12
12
|
exports.deleteCropBlockPhenologySagas = deleteCropBlockPhenologySagas;
|
|
13
13
|
exports.deleteCropBlockVintageSagas = deleteCropBlockVintageSagas;
|
|
14
14
|
exports.deleteIdentityClassificationSagas = deleteIdentityClassificationSagas;
|
|
@@ -95,7 +95,7 @@ exports.getprocessblocksamplingSagas = getprocessblocksamplingSagas;
|
|
|
95
95
|
exports.postAssignSampleHeadersSagas = postAssignSampleHeadersSagas;
|
|
96
96
|
exports.postBlockVintageSagas = postBlockVintageSagas;
|
|
97
97
|
exports.postContactMethodSagas = postContactMethodSagas;
|
|
98
|
-
exports.
|
|
98
|
+
exports.postCropBlockNotesSagas = postCropBlockNotesSagas;
|
|
99
99
|
exports.postCropBlockPhenologySagas = postCropBlockPhenologySagas;
|
|
100
100
|
exports.postCropBlockSettingSagas = postCropBlockSettingSagas;
|
|
101
101
|
exports.postCropBlockVintageSagas = postCropBlockVintageSagas;
|
|
@@ -124,7 +124,7 @@ exports.posthealthcheckSagas = posthealthcheckSagas;
|
|
|
124
124
|
exports.postprocessblocksamplingSagas = postprocessblocksamplingSagas;
|
|
125
125
|
exports.putBlockVintageSagas = putBlockVintageSagas;
|
|
126
126
|
exports.putContactMethodSagas = putContactMethodSagas;
|
|
127
|
-
exports.
|
|
127
|
+
exports.putCropBlockNotesSagas = putCropBlockNotesSagas;
|
|
128
128
|
exports.putCropBlockPhenologySagas = putCropBlockPhenologySagas;
|
|
129
129
|
exports.putCropBlockSettingSagas = putCropBlockSettingSagas;
|
|
130
130
|
exports.putCropBlockVintageSagas = putCropBlockVintageSagas;
|
|
@@ -165,9 +165,9 @@ var _marked = /*#__PURE__*/regeneratorRuntime.mark(getBlockVintageSagas),
|
|
|
165
165
|
_marked3 = /*#__PURE__*/regeneratorRuntime.mark(putBlockVintageSagas),
|
|
166
166
|
_marked4 = /*#__PURE__*/regeneratorRuntime.mark(deleteBlockVintageSagas),
|
|
167
167
|
_marked5 = /*#__PURE__*/regeneratorRuntime.mark(getCropBlockNotesSagas),
|
|
168
|
-
_marked6 = /*#__PURE__*/regeneratorRuntime.mark(
|
|
169
|
-
_marked7 = /*#__PURE__*/regeneratorRuntime.mark(
|
|
170
|
-
_marked8 = /*#__PURE__*/regeneratorRuntime.mark(
|
|
168
|
+
_marked6 = /*#__PURE__*/regeneratorRuntime.mark(postCropBlockNotesSagas),
|
|
169
|
+
_marked7 = /*#__PURE__*/regeneratorRuntime.mark(putCropBlockNotesSagas),
|
|
170
|
+
_marked8 = /*#__PURE__*/regeneratorRuntime.mark(deleteCropBlockNotesSagas),
|
|
171
171
|
_marked9 = /*#__PURE__*/regeneratorRuntime.mark(getCropBlockPhenologySagas),
|
|
172
172
|
_marked10 = /*#__PURE__*/regeneratorRuntime.mark(postCropBlockPhenologySagas),
|
|
173
173
|
_marked11 = /*#__PURE__*/regeneratorRuntime.mark(putCropBlockPhenologySagas),
|
|
@@ -579,10 +579,10 @@ function getCropBlockNotesSagas(action) {
|
|
|
579
579
|
}, _marked5, null, [[1, 11]]);
|
|
580
580
|
}
|
|
581
581
|
|
|
582
|
-
function
|
|
582
|
+
function postCropBlockNotesSagas(action) {
|
|
583
583
|
var _action$payload6, payload, reducerName, response;
|
|
584
584
|
|
|
585
|
-
return regeneratorRuntime.wrap(function
|
|
585
|
+
return regeneratorRuntime.wrap(function postCropBlockNotesSagas$(_context6) {
|
|
586
586
|
while (1) {
|
|
587
587
|
switch (_context6.prev = _context6.next) {
|
|
588
588
|
case 0:
|
|
@@ -596,7 +596,7 @@ function postCropBlockNoteSagas(action) {
|
|
|
596
596
|
|
|
597
597
|
case 4:
|
|
598
598
|
_context6.next = 6;
|
|
599
|
-
return (0, _effects.call)(APIServices.
|
|
599
|
+
return (0, _effects.call)(APIServices.postCropBlockNotes, payload);
|
|
600
600
|
|
|
601
601
|
case 6:
|
|
602
602
|
response = _context6.sent;
|
|
@@ -634,10 +634,10 @@ function postCropBlockNoteSagas(action) {
|
|
|
634
634
|
}, _marked6, null, [[1, 11]]);
|
|
635
635
|
}
|
|
636
636
|
|
|
637
|
-
function
|
|
637
|
+
function putCropBlockNotesSagas(action) {
|
|
638
638
|
var _action$payload7, payload, reducerName, response;
|
|
639
639
|
|
|
640
|
-
return regeneratorRuntime.wrap(function
|
|
640
|
+
return regeneratorRuntime.wrap(function putCropBlockNotesSagas$(_context7) {
|
|
641
641
|
while (1) {
|
|
642
642
|
switch (_context7.prev = _context7.next) {
|
|
643
643
|
case 0:
|
|
@@ -651,7 +651,7 @@ function putCropBlockNoteSagas(action) {
|
|
|
651
651
|
|
|
652
652
|
case 4:
|
|
653
653
|
_context7.next = 6;
|
|
654
|
-
return (0, _effects.call)(APIServices.
|
|
654
|
+
return (0, _effects.call)(APIServices.putCropBlockNotes, payload);
|
|
655
655
|
|
|
656
656
|
case 6:
|
|
657
657
|
response = _context7.sent;
|
|
@@ -689,10 +689,10 @@ function putCropBlockNoteSagas(action) {
|
|
|
689
689
|
}, _marked7, null, [[1, 11]]);
|
|
690
690
|
}
|
|
691
691
|
|
|
692
|
-
function
|
|
692
|
+
function deleteCropBlockNotesSagas(action) {
|
|
693
693
|
var _action$payload8, payload, reducerName, response;
|
|
694
694
|
|
|
695
|
-
return regeneratorRuntime.wrap(function
|
|
695
|
+
return regeneratorRuntime.wrap(function deleteCropBlockNotesSagas$(_context8) {
|
|
696
696
|
while (1) {
|
|
697
697
|
switch (_context8.prev = _context8.next) {
|
|
698
698
|
case 0:
|
|
@@ -706,7 +706,7 @@ function deleteCropBlockNoteSagas(action) {
|
|
|
706
706
|
|
|
707
707
|
case 4:
|
|
708
708
|
_context8.next = 6;
|
|
709
|
-
return (0, _effects.call)(APIServices.
|
|
709
|
+
return (0, _effects.call)(APIServices.deleteCropBlockNotes, payload);
|
|
710
710
|
|
|
711
711
|
case 6:
|
|
712
712
|
response = _context8.sent;
|
|
@@ -8111,7 +8111,7 @@ function root() {
|
|
|
8111
8111
|
switch (_context140.prev = _context140.next) {
|
|
8112
8112
|
case 0:
|
|
8113
8113
|
_context140.next = 2;
|
|
8114
|
-
return (0, _effects.all)([(0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blockVintage.get.request().type, getBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blockVintage.post.request().type, postBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blockVintage.put.request().type, putBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blockVintage["delete"].request().type, deleteBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockNotes.get.request().type, getCropBlockNotesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockNote.post.request().type, postCropBlockNoteSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockNote.put.request().type, putCropBlockNoteSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockNote["delete"].request().type, deleteCropBlockNoteSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockPhenology.get.request().type, getCropBlockPhenologySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockPhenology.post.request().type, postCropBlockPhenologySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockPhenology.put.request().type, putCropBlockPhenologySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockPhenology["delete"].request().type, deleteCropBlockPhenologySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockSetting.get.request().type, getCropBlockSettingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockSetting.post.request().type, postCropBlockSettingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockSetting.put.request().type, putCropBlockSettingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockVintage.get.request().type, getCropBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockVintage.post.request().type, postCropBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockVintage.put.request().type, putCropBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockVintage["delete"].request().type, deleteCropBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.healthcheck.get.request().type, gethealthcheckSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.healthcheck.post.request().type, posthealthcheckSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identity.get.request().type, getIdentitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityDetails.get.request().type, getIdentityDetailsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityClassification.get.request().type, getIdentityClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityClassification.post.request().type, postIdentityClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityClassification.put.request().type, putIdentityClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityClassification["delete"].request().type, deleteIdentityClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityContactMethod.get.request().type, getIdentityContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.contactMethod.post.request().type, postContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.contactMethod.put.request().type, putContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.contactMethod["delete"].request().type, deleteContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityContactMethodAddress.get.request().type, getIdentityContactMethodAddressSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityContactMethodAddress.post.request().type, postIdentityContactMethodAddressSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityContactMethodAddress.put.request().type, putIdentityContactMethodAddressSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityDataConnector.get.request().type, getIdentityDataConnectorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityDataConnector.post.request().type, postIdentityDataConnectorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityDataConnector.put.request().type, putIdentityDataConnectorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNotes.get.request().type, getIdentityNotesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNote.put.request().type, putIdentityNoteSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNote.post.request().type, postIdentityNoteSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNote.get.request().type, getIdentityNoteSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNoteImage.put.request().type, putIdentityNoteImageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNoteImage["delete"].request().type, deleteIdentityNoteImageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityOrganisation.post.request().type, postIdentityOrganisationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityOrganisation.put.request().type, putIdentityOrganisationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityOrganisation.get.request().type, getIdentityOrganisationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityPerson.post.request().type, postIdentityPersonSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityPerson.put.request().type, putIdentityPersonSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityPerson.get.request().type, getIdentityPersonSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityReference.get.request().type, getIdentityReferenceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityReference.post.request().type, postIdentityReferenceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityReference.put.request().type, putIdentityReferenceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityReference["delete"].request().type, deleteIdentityReferenceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRelationship.get.request().type, getIdentityRelationshipSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRelationship.post.request().type, postIdentityRelationshipSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRelationship.put.request().type, putIdentityRelationshipSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRelationshipType.get.request().type, getIdentityRelationshipTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRole.post.request().type, postIdentityRoleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRole.put.request().type, putIdentityRoleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRole.get.request().type, getIdentityRoleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRole["delete"].request().type, deleteIdentityRoleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityServiceProvider.get.request().type, getIdentityServiceProviderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityServiceProvider.post.request().type, postIdentityServiceProviderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityServiceProvider.put.request().type, putIdentityServiceProviderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.gridVineyardBlocks.get.request().type, getGridVineyardBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlocks.get.request().type, getIdentityVineyardBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlock.post.request().type, postIdentityVineyardBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlock.put.request().type, putIdentityVineyardBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlock["delete"].request().type, deleteIdentityVineyardBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlockRows.get.request().type, getIdentityVineyardBlockRowsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlockRow.post.request().type, postIdentityVineyardBlockRowSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlockRow.put.request().type, putIdentityVineyardBlockRowSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlockRow["delete"].request().type, deleteIdentityVineyardBlockRowSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.getLookUp.get.request().type, getGetLookUpSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.queueMessage.post.request().type, postQueueMessageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.processblocksampling.get.request().type, getprocessblocksamplingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.processblocksampling.post.request().type, postprocessblocksamplingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeaders.get.request().type, getSampleHeadersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeaderStatus.put.request().type, putSampleHeaderStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeader["delete"].request().type, deleteSampleHeaderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeader.post.request().type, postSampleHeaderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleIdentity.get.request().type, getSampleIdentitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleIdentity.post.request().type, postSampleIdentitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.assignSampleHeaders.post.request().type, postAssignSampleHeadersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.samplingUsers.post.request().type, postSamplingUsersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.deAssignSampleHeaders.post.request().type, postDeAssignSampleHeadersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleSets.post.request().type, postSampleSetsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleBlockVintages.get.request().type, getSampleBlockVintagesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleSet.post.request().type, postSampleSetSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.searchIdentity.post.request().type, postSearchIdentitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyard.get.request().type, getIdentityVineyardSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyard.post.request().type, postIdentityVineyardSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyard.put.request().type, putIdentityVineyardSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupClassification.get.request().type, getlookupClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupClassificationGroup.get.request().type, getlookupClassificationGroupSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupClassificationGroupIdentityType.get.request().type, getlookupClassificationGroupIdentityTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupReferenceType.get.request().type, getlookupReferenceTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupIdentityType.get.request().type, getlookupIdentityTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRoleType.get.request().type, getlookupRoleTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRoleTypeIdentityType.get.request().type, getlookupRoleTypeIdentityTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupBusinessUnit.get.request().type, getlookupBusinessUnitSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupReferenceTypeIdentityType.get.request().type, getlookupReferenceTypeIdentityTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRelationshipType.get.request().type, getlookupRelationshipTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRelationshipSubType.get.request().type, getlookupRelationshipSubTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupContactMethod.get.request().type, getlookupContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupGender.get.request().type, getlookupGenderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupNationality.get.request().type, getlookupNationalitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupEthnicity.get.request().type, getlookupEthnicitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupLanguage.get.request().type, getlookupLanguageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupCountry.get.request().type, getlookupCountrySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupSalutation.get.request().type, getlookupSalutationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupGrowingRegion.get.request().type, getlookupGrowingRegionSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupGrowingSubRegion.get.request().type, getlookupGrowingSubRegionSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupTown.get.request().type, getlookupTownSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupVariety.get.request().type, getlookupVarietySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupBlockVintageStatus.get.request().type, getlookupBlockVintageStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupTrellis.get.request().type, getlookupTrellisSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRootStock.get.request().type, getlookupRootStockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupVarietyClone.get.request().type, getlookupVarietyCloneSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupVintage.get.request().type, getlookupVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRowSpecialAttribute.get.request().type, getlookupRowSpecialAttributeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupNoteStatus.get.request().type, getlookupNoteStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupMeasure.get.request().type, getlookupMeasureSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupMeasureGroup.get.request().type, getlookupMeasureGroupSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupMeasureInstance.get.request().type, getlookupMeasureInstanceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupKeyword.get.request().type, getlookupKeywordSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupSampleRequestStatus.get.request().type, getlookupSampleRequestStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPayrollSystem.get.request().type, getlookupPayrollSystemSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupDataProvider.get.request().type, getlookupDataProviderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupDataProviderType.get.request().type, getlookupDataProviderTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasure.get.request().type, getlookupPhenologyMeasureSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasureOption.get.request().type, getlookupPhenologyMeasureOptionSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasureSet.get.request().type, getlookupPhenologyMeasureSetSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasureType.get.request().type, getlookupPhenologyMeasureTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupCropSettingInstance.get.request().type, getlookupCropSettingInstanceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupCropSettingOption.get.request().type, getlookupCropSettingOptionSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.fetchAllLookups.request().type, fetchAllLookupsSagas), (0, _effects.takeLatest)(function (action) {
|
|
8114
|
+
return (0, _effects.all)([(0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blockVintage.get.request().type, getBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blockVintage.post.request().type, postBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blockVintage.put.request().type, putBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blockVintage["delete"].request().type, deleteBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockNotes.get.request().type, getCropBlockNotesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockNotes.post.request().type, postCropBlockNotesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockNotes.put.request().type, putCropBlockNotesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockNotes["delete"].request().type, deleteCropBlockNotesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockPhenology.get.request().type, getCropBlockPhenologySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockPhenology.post.request().type, postCropBlockPhenologySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockPhenology.put.request().type, putCropBlockPhenologySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockPhenology["delete"].request().type, deleteCropBlockPhenologySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockSetting.get.request().type, getCropBlockSettingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockSetting.post.request().type, postCropBlockSettingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockSetting.put.request().type, putCropBlockSettingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockVintage.get.request().type, getCropBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockVintage.post.request().type, postCropBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockVintage.put.request().type, putCropBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockVintage["delete"].request().type, deleteCropBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.healthcheck.get.request().type, gethealthcheckSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.healthcheck.post.request().type, posthealthcheckSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identity.get.request().type, getIdentitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityDetails.get.request().type, getIdentityDetailsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityClassification.get.request().type, getIdentityClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityClassification.post.request().type, postIdentityClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityClassification.put.request().type, putIdentityClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityClassification["delete"].request().type, deleteIdentityClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityContactMethod.get.request().type, getIdentityContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.contactMethod.post.request().type, postContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.contactMethod.put.request().type, putContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.contactMethod["delete"].request().type, deleteContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityContactMethodAddress.get.request().type, getIdentityContactMethodAddressSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityContactMethodAddress.post.request().type, postIdentityContactMethodAddressSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityContactMethodAddress.put.request().type, putIdentityContactMethodAddressSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityDataConnector.get.request().type, getIdentityDataConnectorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityDataConnector.post.request().type, postIdentityDataConnectorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityDataConnector.put.request().type, putIdentityDataConnectorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNotes.get.request().type, getIdentityNotesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNote.put.request().type, putIdentityNoteSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNote.post.request().type, postIdentityNoteSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNote.get.request().type, getIdentityNoteSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNoteImage.put.request().type, putIdentityNoteImageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNoteImage["delete"].request().type, deleteIdentityNoteImageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityOrganisation.post.request().type, postIdentityOrganisationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityOrganisation.put.request().type, putIdentityOrganisationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityOrganisation.get.request().type, getIdentityOrganisationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityPerson.post.request().type, postIdentityPersonSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityPerson.put.request().type, putIdentityPersonSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityPerson.get.request().type, getIdentityPersonSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityReference.get.request().type, getIdentityReferenceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityReference.post.request().type, postIdentityReferenceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityReference.put.request().type, putIdentityReferenceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityReference["delete"].request().type, deleteIdentityReferenceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRelationship.get.request().type, getIdentityRelationshipSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRelationship.post.request().type, postIdentityRelationshipSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRelationship.put.request().type, putIdentityRelationshipSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRelationshipType.get.request().type, getIdentityRelationshipTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRole.post.request().type, postIdentityRoleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRole.put.request().type, putIdentityRoleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRole.get.request().type, getIdentityRoleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRole["delete"].request().type, deleteIdentityRoleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityServiceProvider.get.request().type, getIdentityServiceProviderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityServiceProvider.post.request().type, postIdentityServiceProviderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityServiceProvider.put.request().type, putIdentityServiceProviderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.gridVineyardBlocks.get.request().type, getGridVineyardBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlocks.get.request().type, getIdentityVineyardBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlock.post.request().type, postIdentityVineyardBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlock.put.request().type, putIdentityVineyardBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlock["delete"].request().type, deleteIdentityVineyardBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlockRows.get.request().type, getIdentityVineyardBlockRowsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlockRow.post.request().type, postIdentityVineyardBlockRowSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlockRow.put.request().type, putIdentityVineyardBlockRowSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlockRow["delete"].request().type, deleteIdentityVineyardBlockRowSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.getLookUp.get.request().type, getGetLookUpSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.queueMessage.post.request().type, postQueueMessageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.processblocksampling.get.request().type, getprocessblocksamplingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.processblocksampling.post.request().type, postprocessblocksamplingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeaders.get.request().type, getSampleHeadersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeaderStatus.put.request().type, putSampleHeaderStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeader["delete"].request().type, deleteSampleHeaderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeader.post.request().type, postSampleHeaderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleIdentity.get.request().type, getSampleIdentitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleIdentity.post.request().type, postSampleIdentitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.assignSampleHeaders.post.request().type, postAssignSampleHeadersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.samplingUsers.post.request().type, postSamplingUsersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.deAssignSampleHeaders.post.request().type, postDeAssignSampleHeadersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleSets.post.request().type, postSampleSetsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleBlockVintages.get.request().type, getSampleBlockVintagesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleSet.post.request().type, postSampleSetSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.searchIdentity.post.request().type, postSearchIdentitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyard.get.request().type, getIdentityVineyardSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyard.post.request().type, postIdentityVineyardSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyard.put.request().type, putIdentityVineyardSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupClassification.get.request().type, getlookupClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupClassificationGroup.get.request().type, getlookupClassificationGroupSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupClassificationGroupIdentityType.get.request().type, getlookupClassificationGroupIdentityTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupReferenceType.get.request().type, getlookupReferenceTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupIdentityType.get.request().type, getlookupIdentityTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRoleType.get.request().type, getlookupRoleTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRoleTypeIdentityType.get.request().type, getlookupRoleTypeIdentityTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupBusinessUnit.get.request().type, getlookupBusinessUnitSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupReferenceTypeIdentityType.get.request().type, getlookupReferenceTypeIdentityTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRelationshipType.get.request().type, getlookupRelationshipTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRelationshipSubType.get.request().type, getlookupRelationshipSubTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupContactMethod.get.request().type, getlookupContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupGender.get.request().type, getlookupGenderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupNationality.get.request().type, getlookupNationalitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupEthnicity.get.request().type, getlookupEthnicitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupLanguage.get.request().type, getlookupLanguageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupCountry.get.request().type, getlookupCountrySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupSalutation.get.request().type, getlookupSalutationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupGrowingRegion.get.request().type, getlookupGrowingRegionSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupGrowingSubRegion.get.request().type, getlookupGrowingSubRegionSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupTown.get.request().type, getlookupTownSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupVariety.get.request().type, getlookupVarietySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupBlockVintageStatus.get.request().type, getlookupBlockVintageStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupTrellis.get.request().type, getlookupTrellisSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRootStock.get.request().type, getlookupRootStockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupVarietyClone.get.request().type, getlookupVarietyCloneSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupVintage.get.request().type, getlookupVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRowSpecialAttribute.get.request().type, getlookupRowSpecialAttributeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupNoteStatus.get.request().type, getlookupNoteStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupMeasure.get.request().type, getlookupMeasureSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupMeasureGroup.get.request().type, getlookupMeasureGroupSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupMeasureInstance.get.request().type, getlookupMeasureInstanceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupKeyword.get.request().type, getlookupKeywordSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupSampleRequestStatus.get.request().type, getlookupSampleRequestStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPayrollSystem.get.request().type, getlookupPayrollSystemSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupDataProvider.get.request().type, getlookupDataProviderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupDataProviderType.get.request().type, getlookupDataProviderTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasure.get.request().type, getlookupPhenologyMeasureSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasureOption.get.request().type, getlookupPhenologyMeasureOptionSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasureSet.get.request().type, getlookupPhenologyMeasureSetSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasureType.get.request().type, getlookupPhenologyMeasureTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupCropSettingInstance.get.request().type, getlookupCropSettingInstanceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupCropSettingOption.get.request().type, getlookupCropSettingOptionSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.fetchAllLookups.request().type, fetchAllLookupsSagas), (0, _effects.takeLatest)(function (action) {
|
|
8115
8115
|
return /CLEARDATA/.test(action.type);
|
|
8116
8116
|
}, clearReducerData), (0, _effects.takeLatest)(function (action) {
|
|
8117
8117
|
return /UPDATEPARTIALENTITY/.test(action.type);
|
package/dist/selectors/index.js
CHANGED
|
@@ -30,19 +30,6 @@ Object.keys(_cropBlockNotesSelector).forEach(function (key) {
|
|
|
30
30
|
});
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
var _cropBlockNoteSelector = require("./cropBlockNoteSelector");
|
|
34
|
-
|
|
35
|
-
Object.keys(_cropBlockNoteSelector).forEach(function (key) {
|
|
36
|
-
if (key === "default" || key === "__esModule") return;
|
|
37
|
-
if (key in exports && exports[key] === _cropBlockNoteSelector[key]) return;
|
|
38
|
-
Object.defineProperty(exports, key, {
|
|
39
|
-
enumerable: true,
|
|
40
|
-
get: function get() {
|
|
41
|
-
return _cropBlockNoteSelector[key];
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
|
|
46
33
|
var _cropBlockPhenologySelector = require("./cropBlockPhenologySelector");
|
|
47
34
|
|
|
48
35
|
Object.keys(_cropBlockPhenologySelector).forEach(function (key) {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.postIdentityReference = exports.postIdentityPerson = exports.postIdentityOrganisation = exports.postIdentityNote = exports.postIdentityDataConnector = exports.postIdentityContactMethodAddress = exports.postIdentityClassification = exports.postDeAssignSampleHeaders = exports.postCropBlockVintage = exports.postCropBlockSetting = exports.postCropBlockPhenology = exports.
|
|
7
|
-
exports.putSampleHeaderStatus = exports.putIdentityVineyardBlockRow = exports.putIdentityVineyardBlock = exports.putIdentityVineyard = exports.putIdentityServiceProvider = exports.putIdentityRole = exports.putIdentityRelationship = exports.putIdentityReference = exports.putIdentityPerson = exports.putIdentityOrganisation = exports.putIdentityNoteImage = exports.putIdentityNote = exports.putIdentityDataConnector = exports.putIdentityContactMethodAddress = exports.putIdentityClassification = exports.putCropBlockVintage = exports.putCropBlockSetting = exports.putCropBlockPhenology = exports.
|
|
6
|
+
exports.postIdentityReference = exports.postIdentityPerson = exports.postIdentityOrganisation = exports.postIdentityNote = exports.postIdentityDataConnector = exports.postIdentityContactMethodAddress = exports.postIdentityClassification = exports.postDeAssignSampleHeaders = exports.postCropBlockVintage = exports.postCropBlockSetting = exports.postCropBlockPhenology = exports.postCropBlockNotes = exports.postContactMethod = exports.postBlockVintage = exports.postAssignSampleHeaders = exports.getprocessblocksampling = exports.getlookupVintage = exports.getlookupVarietyClone = exports.getlookupVariety = exports.getlookupTrellis = exports.getlookupTown = exports.getlookupSampleRequestStatus = exports.getlookupSalutation = exports.getlookupRowSpecialAttribute = exports.getlookupRootStock = exports.getlookupRoleTypeIdentityType = exports.getlookupRoleType = exports.getlookupRelationshipType = exports.getlookupRelationshipSubType = exports.getlookupReferenceTypeIdentityType = exports.getlookupReferenceType = exports.getlookupPhenologyMeasureType = exports.getlookupPhenologyMeasureSet = exports.getlookupPhenologyMeasureOption = exports.getlookupPhenologyMeasure = exports.getlookupPayrollSystem = exports.getlookupNoteStatus = exports.getlookupNationality = exports.getlookupMeasureInstance = exports.getlookupMeasureGroup = exports.getlookupMeasure = exports.getlookupLanguage = exports.getlookupKeyword = exports.getlookupIdentityType = exports.getlookupGrowingSubRegion = exports.getlookupGrowingRegion = exports.getlookupGender = exports.getlookupEthnicity = exports.getlookupDataProviderType = exports.getlookupDataProvider = exports.getlookupCropSettingOption = exports.getlookupCropSettingInstance = exports.getlookupCountry = exports.getlookupContactMethod = exports.getlookupClassificationGroupIdentityType = exports.getlookupClassificationGroup = exports.getlookupClassification = exports.getlookupBusinessUnit = exports.getlookupBlockVintageStatus = exports.gethealthcheck = exports.getSampleIdentity = exports.getSampleHeaders = exports.getSampleBlockVintages = exports.getIdentityVineyardBlocks = exports.getIdentityVineyardBlockRows = exports.getIdentityVineyard = exports.getIdentityServiceProvider = exports.getIdentityRole = exports.getIdentityRelationshipType = exports.getIdentityRelationship = exports.getIdentityReference = exports.getIdentityPerson = exports.getIdentityOrganisation = exports.getIdentityNotes = exports.getIdentityNote = exports.getIdentityDetails = exports.getIdentityDataConnector = exports.getIdentityContactMethodAddress = exports.getIdentityContactMethod = exports.getIdentityClassification = exports.getIdentity = exports.getGridVineyardBlocks = exports.getGetLookUp = exports.getCropBlockVintage = exports.getCropBlockSetting = exports.getCropBlockPhenology = exports.getCropBlockNotes = exports.getBlockVintage = exports.deleteSampleHeader = exports.deleteIdentityVineyardBlockRow = exports.deleteIdentityVineyardBlock = exports.deleteIdentityRole = exports.deleteIdentityReference = exports.deleteIdentityNoteImage = exports.deleteIdentityClassification = exports.deleteCropBlockVintage = exports.deleteCropBlockPhenology = exports.deleteCropBlockNotes = exports.deleteContactMethod = exports.deleteBlockVintage = void 0;
|
|
7
|
+
exports.putSampleHeaderStatus = exports.putIdentityVineyardBlockRow = exports.putIdentityVineyardBlock = exports.putIdentityVineyard = exports.putIdentityServiceProvider = exports.putIdentityRole = exports.putIdentityRelationship = exports.putIdentityReference = exports.putIdentityPerson = exports.putIdentityOrganisation = exports.putIdentityNoteImage = exports.putIdentityNote = exports.putIdentityDataConnector = exports.putIdentityContactMethodAddress = exports.putIdentityClassification = exports.putCropBlockVintage = exports.putCropBlockSetting = exports.putCropBlockPhenology = exports.putCropBlockNotes = exports.putContactMethod = exports.putBlockVintage = exports.postprocessblocksampling = exports.posthealthcheck = exports.postSearchIdentity = exports.postSamplingUsers = exports.postSampleSets = exports.postSampleSet = exports.postSampleIdentity = exports.postSampleHeader = exports.postQueueMessage = exports.postIdentityVineyardBlockRow = exports.postIdentityVineyardBlock = exports.postIdentityVineyard = exports.postIdentityServiceProvider = exports.postIdentityRole = exports.postIdentityRelationship = exports.postIdentityReference = exports.postIdentityPerson = exports.postIdentityOrganisation = exports.postIdentityNote = exports.postIdentityDataConnector = exports.postIdentityContactMethodAddress = exports.postIdentityClassification = exports.postDeAssignSampleHeaders = exports.postCropBlockVintage = exports.postCropBlockSetting = exports.postCropBlockPhenology = exports.postCropBlockNotes = exports.postContactMethod = exports.postBlockVintage = exports.postAssignSampleHeaders = exports.getprocessblocksampling = exports.getlookupVintage = exports.getlookupVarietyClone = exports.getlookupVariety = exports.getlookupTrellis = exports.getlookupTown = exports.getlookupSampleRequestStatus = exports.getlookupSalutation = exports.getlookupRowSpecialAttribute = exports.getlookupRootStock = exports.getlookupRoleTypeIdentityType = exports.getlookupRoleType = exports.getlookupRelationshipType = exports.getlookupRelationshipSubType = exports.getlookupReferenceTypeIdentityType = exports.getlookupReferenceType = exports.getlookupPhenologyMeasureType = exports.getlookupPhenologyMeasureSet = exports.getlookupPhenologyMeasureOption = exports.getlookupPhenologyMeasure = exports.getlookupPayrollSystem = exports.getlookupNoteStatus = exports.getlookupNationality = exports.getlookupMeasureInstance = exports.getlookupMeasureGroup = exports.getlookupMeasure = exports.getlookupLanguage = exports.getlookupKeyword = exports.getlookupIdentityType = exports.getlookupGrowingSubRegion = exports.getlookupGrowingRegion = exports.getlookupGender = exports.getlookupEthnicity = exports.getlookupDataProviderType = exports.getlookupDataProvider = exports.getlookupCropSettingOption = exports.getlookupCropSettingInstance = exports.getlookupCountry = exports.getlookupContactMethod = exports.getlookupClassificationGroupIdentityType = exports.getlookupClassificationGroup = exports.getlookupClassification = exports.getlookupBusinessUnit = exports.getlookupBlockVintageStatus = exports.gethealthcheck = exports.getSampleIdentity = exports.getSampleHeaders = exports.getSampleBlockVintages = exports.getIdentityVineyardBlocks = exports.getIdentityVineyardBlockRows = exports.getIdentityVineyard = exports.getIdentityServiceProvider = exports.getIdentityRole = exports.getIdentityRelationshipType = exports.getIdentityRelationship = exports.getIdentityReference = exports.getIdentityPerson = exports.getIdentityOrganisation = exports.getIdentityNotes = exports.getIdentityNote = exports.getIdentityDetails = exports.getIdentityDataConnector = exports.getIdentityContactMethodAddress = exports.getIdentityContactMethod = exports.getIdentityClassification = exports.getIdentity = exports.getGridVineyardBlocks = exports.getGetLookUp = exports.getCropBlockVintage = exports.getCropBlockSetting = exports.getCropBlockPhenology = exports.getCropBlockNotes = exports.getBlockVintage = exports.deleteSampleHeader = exports.deleteIdentityVineyardBlockRow = exports.deleteIdentityVineyardBlock = exports.deleteIdentityRole = exports.deleteIdentityReference = exports.deleteIdentityNoteImage = exports.deleteIdentityClassification = exports.deleteCropBlockVintage = exports.deleteCropBlockPhenology = exports.deleteCropBlockNotes = exports.deleteContactMethod = exports.deleteBlockVintage = void 0;
|
|
8
8
|
|
|
9
9
|
var _winstonLogger = _interopRequireDefault(require("../utils/winstonLogger"));
|
|
10
10
|
|
|
@@ -290,7 +290,7 @@ var getCropBlockNotes = /*#__PURE__*/function () {
|
|
|
290
290
|
|
|
291
291
|
exports.getCropBlockNotes = getCropBlockNotes;
|
|
292
292
|
|
|
293
|
-
var
|
|
293
|
+
var postCropBlockNotes = /*#__PURE__*/function () {
|
|
294
294
|
var _ref16 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6(payload) {
|
|
295
295
|
var _ref17, queryParams, postBody, options, _ref18, _ref18$code, code, API_FUNCTION_CODE, apiUrl, response;
|
|
296
296
|
|
|
@@ -302,7 +302,7 @@ var postCropBlockNote = /*#__PURE__*/function () {
|
|
|
302
302
|
_ref17 = payload || {}, queryParams = _ref17.queryParams, postBody = _ref17.postBody, options = _ref17.options;
|
|
303
303
|
_ref18 = queryParams || {}, _ref18$code = _ref18.code, code = _ref18$code === void 0 ? '' : _ref18$code;
|
|
304
304
|
API_FUNCTION_CODE = process.env.REACT_APP_FUNCTION_CODE || code;
|
|
305
|
-
apiUrl = '/
|
|
305
|
+
apiUrl = '/CropBlockNotes';
|
|
306
306
|
_context6.next = 7;
|
|
307
307
|
return _serviceConfig["default"].request(_objectSpread({
|
|
308
308
|
url: apiUrl,
|
|
@@ -337,14 +337,14 @@ var postCropBlockNote = /*#__PURE__*/function () {
|
|
|
337
337
|
}, _callee6, null, [[0, 11]]);
|
|
338
338
|
}));
|
|
339
339
|
|
|
340
|
-
return function
|
|
340
|
+
return function postCropBlockNotes(_x6) {
|
|
341
341
|
return _ref16.apply(this, arguments);
|
|
342
342
|
};
|
|
343
343
|
}();
|
|
344
344
|
|
|
345
|
-
exports.
|
|
345
|
+
exports.postCropBlockNotes = postCropBlockNotes;
|
|
346
346
|
|
|
347
|
-
var
|
|
347
|
+
var putCropBlockNotes = /*#__PURE__*/function () {
|
|
348
348
|
var _ref19 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7(payload) {
|
|
349
349
|
var _ref20, queryParams, postBody, options, _ref21, _ref21$code, code, API_FUNCTION_CODE, apiUrl, response;
|
|
350
350
|
|
|
@@ -356,7 +356,7 @@ var putCropBlockNote = /*#__PURE__*/function () {
|
|
|
356
356
|
_ref20 = payload || {}, queryParams = _ref20.queryParams, postBody = _ref20.postBody, options = _ref20.options;
|
|
357
357
|
_ref21 = queryParams || {}, _ref21$code = _ref21.code, code = _ref21$code === void 0 ? '' : _ref21$code;
|
|
358
358
|
API_FUNCTION_CODE = process.env.REACT_APP_FUNCTION_CODE || code;
|
|
359
|
-
apiUrl = '/
|
|
359
|
+
apiUrl = '/CropBlockNotes';
|
|
360
360
|
_context7.next = 7;
|
|
361
361
|
return _serviceConfig["default"].request(_objectSpread({
|
|
362
362
|
url: apiUrl,
|
|
@@ -391,14 +391,14 @@ var putCropBlockNote = /*#__PURE__*/function () {
|
|
|
391
391
|
}, _callee7, null, [[0, 11]]);
|
|
392
392
|
}));
|
|
393
393
|
|
|
394
|
-
return function
|
|
394
|
+
return function putCropBlockNotes(_x7) {
|
|
395
395
|
return _ref19.apply(this, arguments);
|
|
396
396
|
};
|
|
397
397
|
}();
|
|
398
398
|
|
|
399
|
-
exports.
|
|
399
|
+
exports.putCropBlockNotes = putCropBlockNotes;
|
|
400
400
|
|
|
401
|
-
var
|
|
401
|
+
var deleteCropBlockNotes = /*#__PURE__*/function () {
|
|
402
402
|
var _ref22 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8(payload) {
|
|
403
403
|
var _ref23, queryParams, postBody, options, _ref24, _ref24$code, code, API_FUNCTION_CODE, apiUrl, response;
|
|
404
404
|
|
|
@@ -410,7 +410,7 @@ var deleteCropBlockNote = /*#__PURE__*/function () {
|
|
|
410
410
|
_ref23 = payload || {}, queryParams = _ref23.queryParams, postBody = _ref23.postBody, options = _ref23.options;
|
|
411
411
|
_ref24 = queryParams || {}, _ref24$code = _ref24.code, code = _ref24$code === void 0 ? '' : _ref24$code;
|
|
412
412
|
API_FUNCTION_CODE = process.env.REACT_APP_FUNCTION_CODE || code;
|
|
413
|
-
apiUrl = '/
|
|
413
|
+
apiUrl = '/CropBlockNotes';
|
|
414
414
|
_context8.next = 7;
|
|
415
415
|
return _serviceConfig["default"].request(_objectSpread({
|
|
416
416
|
url: apiUrl,
|
|
@@ -445,12 +445,12 @@ var deleteCropBlockNote = /*#__PURE__*/function () {
|
|
|
445
445
|
}, _callee8, null, [[0, 11]]);
|
|
446
446
|
}));
|
|
447
447
|
|
|
448
|
-
return function
|
|
448
|
+
return function deleteCropBlockNotes(_x8) {
|
|
449
449
|
return _ref22.apply(this, arguments);
|
|
450
450
|
};
|
|
451
451
|
}();
|
|
452
452
|
|
|
453
|
-
exports.
|
|
453
|
+
exports.deleteCropBlockNotes = deleteCropBlockNotes;
|
|
454
454
|
|
|
455
455
|
var getCropBlockPhenology = /*#__PURE__*/function () {
|
|
456
456
|
var _ref25 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9(payload) {
|
package/package.json
CHANGED
|
@@ -41,28 +41,26 @@ const ducksActions = createActions({
|
|
|
41
41
|
CLEARDATA: [(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
42
42
|
UPDATEPARTIALENTITY:[(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
43
43
|
},
|
|
44
|
-
},
|
|
45
|
-
cropBlockNote: {
|
|
46
44
|
post: {
|
|
47
|
-
REQUEST: [(payload) => payload, ()=> ({ reducerName: '
|
|
48
|
-
RECEIVE: [(payload) => payload, ()=> ({ reducerName: '
|
|
49
|
-
ERROR: [(payload) => payload, ()=> ({ reducerName: '
|
|
50
|
-
CLEARDATA: [(payload) => payload, ()=> ({ reducerName: '
|
|
51
|
-
UPDATEPARTIALENTITY:[(payload) => payload, ()=> ({ reducerName: '
|
|
45
|
+
REQUEST: [(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
46
|
+
RECEIVE: [(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
47
|
+
ERROR: [(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
48
|
+
CLEARDATA: [(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
49
|
+
UPDATEPARTIALENTITY:[(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
52
50
|
},
|
|
53
51
|
put: {
|
|
54
|
-
REQUEST: [(payload) => payload, ()=> ({ reducerName: '
|
|
55
|
-
RECEIVE: [(payload) => payload, ()=> ({ reducerName: '
|
|
56
|
-
ERROR: [(payload) => payload, ()=> ({ reducerName: '
|
|
57
|
-
CLEARDATA: [(payload) => payload, ()=> ({ reducerName: '
|
|
58
|
-
UPDATEPARTIALENTITY:[(payload) => payload, ()=> ({ reducerName: '
|
|
52
|
+
REQUEST: [(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
53
|
+
RECEIVE: [(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
54
|
+
ERROR: [(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
55
|
+
CLEARDATA: [(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
56
|
+
UPDATEPARTIALENTITY:[(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
59
57
|
},
|
|
60
58
|
delete: {
|
|
61
|
-
REQUEST: [(payload) => payload, ()=> ({ reducerName: '
|
|
62
|
-
RECEIVE: [(payload) => payload, ()=> ({ reducerName: '
|
|
63
|
-
ERROR: [(payload) => payload, ()=> ({ reducerName: '
|
|
64
|
-
CLEARDATA: [(payload) => payload, ()=> ({ reducerName: '
|
|
65
|
-
UPDATEPARTIALENTITY:[(payload) => payload, ()=> ({ reducerName: '
|
|
59
|
+
REQUEST: [(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
60
|
+
RECEIVE: [(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
61
|
+
ERROR: [(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
62
|
+
CLEARDATA: [(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
63
|
+
UPDATEPARTIALENTITY:[(payload) => payload, ()=> ({ reducerName: 'cropBlockNotes' })],
|
|
66
64
|
},
|
|
67
65
|
},
|
|
68
66
|
cropBlockPhenology: {
|
package/src/reducers/index.js
CHANGED
|
@@ -5,7 +5,6 @@ const rootReducer = {
|
|
|
5
5
|
entities: combineReducers({
|
|
6
6
|
blockVintage: createNamedReducer('blockVintage'),
|
|
7
7
|
cropBlockNotes: createNamedReducer('cropBlockNotes'),
|
|
8
|
-
cropBlockNote: createNamedReducer('cropBlockNote'),
|
|
9
8
|
cropBlockPhenology: createNamedReducer('cropBlockPhenology'),
|
|
10
9
|
cropBlockSetting: createNamedReducer('cropBlockSetting'),
|
|
11
10
|
cropBlockVintage: createNamedReducer('cropBlockVintage'),
|
|
@@ -163,8 +163,7 @@ import { VineaNovaActions } from '../actions'
|
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
|
|
167
|
-
export function* postCropBlockNoteSagas(action) {
|
|
166
|
+
export function* postCropBlockNotesSagas(action) {
|
|
168
167
|
const {
|
|
169
168
|
payload = {},
|
|
170
169
|
meta: { reducerName },
|
|
@@ -175,7 +174,7 @@ import { VineaNovaActions } from '../actions'
|
|
|
175
174
|
name: reducerName,
|
|
176
175
|
});
|
|
177
176
|
|
|
178
|
-
const response = yield call(APIServices.
|
|
177
|
+
const response = yield call(APIServices.postCropBlockNotes, payload);
|
|
179
178
|
yield put({
|
|
180
179
|
type: "SUCCESS",
|
|
181
180
|
payload: response,
|
|
@@ -194,7 +193,7 @@ import { VineaNovaActions } from '../actions'
|
|
|
194
193
|
}
|
|
195
194
|
}
|
|
196
195
|
|
|
197
|
-
export function*
|
|
196
|
+
export function* putCropBlockNotesSagas(action) {
|
|
198
197
|
const {
|
|
199
198
|
payload = {},
|
|
200
199
|
meta: { reducerName },
|
|
@@ -205,7 +204,7 @@ import { VineaNovaActions } from '../actions'
|
|
|
205
204
|
name: reducerName,
|
|
206
205
|
});
|
|
207
206
|
|
|
208
|
-
const response = yield call(APIServices.
|
|
207
|
+
const response = yield call(APIServices.putCropBlockNotes, payload);
|
|
209
208
|
yield put({
|
|
210
209
|
type: "SUCCESS",
|
|
211
210
|
payload: response,
|
|
@@ -224,7 +223,7 @@ import { VineaNovaActions } from '../actions'
|
|
|
224
223
|
}
|
|
225
224
|
}
|
|
226
225
|
|
|
227
|
-
export function*
|
|
226
|
+
export function* deleteCropBlockNotesSagas(action) {
|
|
228
227
|
const {
|
|
229
228
|
payload = {},
|
|
230
229
|
meta: { reducerName },
|
|
@@ -235,7 +234,7 @@ import { VineaNovaActions } from '../actions'
|
|
|
235
234
|
name: reducerName,
|
|
236
235
|
});
|
|
237
236
|
|
|
238
|
-
const response = yield call(APIServices.
|
|
237
|
+
const response = yield call(APIServices.deleteCropBlockNotes, payload);
|
|
239
238
|
yield put({
|
|
240
239
|
type: "SUCCESS",
|
|
241
240
|
payload: response,
|
|
@@ -4391,9 +4390,9 @@ export default function* root() {
|
|
|
4391
4390
|
takeLatest(VineaNovaActions.api.v1.blockVintage.put.request().type, putBlockVintageSagas),
|
|
4392
4391
|
takeLatest(VineaNovaActions.api.v1.blockVintage.delete.request().type, deleteBlockVintageSagas),
|
|
4393
4392
|
takeLatest(VineaNovaActions.api.v1.cropBlockNotes.get.request().type, getCropBlockNotesSagas),
|
|
4394
|
-
takeLatest(VineaNovaActions.api.v1.
|
|
4395
|
-
takeLatest(VineaNovaActions.api.v1.
|
|
4396
|
-
takeLatest(VineaNovaActions.api.v1.
|
|
4393
|
+
takeLatest(VineaNovaActions.api.v1.cropBlockNotes.post.request().type, postCropBlockNotesSagas),
|
|
4394
|
+
takeLatest(VineaNovaActions.api.v1.cropBlockNotes.put.request().type, putCropBlockNotesSagas),
|
|
4395
|
+
takeLatest(VineaNovaActions.api.v1.cropBlockNotes.delete.request().type, deleteCropBlockNotesSagas),
|
|
4397
4396
|
takeLatest(VineaNovaActions.api.v1.cropBlockPhenology.get.request().type, getCropBlockPhenologySagas),
|
|
4398
4397
|
takeLatest(VineaNovaActions.api.v1.cropBlockPhenology.post.request().type, postCropBlockPhenologySagas),
|
|
4399
4398
|
takeLatest(VineaNovaActions.api.v1.cropBlockPhenology.put.request().type, putCropBlockPhenologySagas),
|
package/src/selectors/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
export * from "./blockVintageSelector";
|
|
3
3
|
export * from "./cropBlockNotesSelector";
|
|
4
|
-
export * from "./cropBlockNoteSelector";
|
|
5
4
|
export * from "./cropBlockPhenologySelector";
|
|
6
5
|
export * from "./cropBlockSettingSelector";
|
|
7
6
|
export * from "./cropBlockVintageSelector";
|
|
@@ -135,13 +135,12 @@ import serviceConfig from "./config/serviceConfig";
|
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
|
|
138
|
-
|
|
139
|
-
export const postCropBlockNote = async (payload) => {
|
|
138
|
+
export const postCropBlockNotes = async (payload) => {
|
|
140
139
|
try {
|
|
141
140
|
const { queryParams, postBody, options } = payload || {};
|
|
142
141
|
const { code = '' } = queryParams || {};
|
|
143
142
|
const API_FUNCTION_CODE = process.env.REACT_APP_FUNCTION_CODE || code;
|
|
144
|
-
let apiUrl = '/
|
|
143
|
+
let apiUrl = '/CropBlockNotes';
|
|
145
144
|
const response = await serviceConfig.request({
|
|
146
145
|
url: apiUrl,
|
|
147
146
|
method: "post",
|
|
@@ -163,12 +162,12 @@ import serviceConfig from "./config/serviceConfig";
|
|
|
163
162
|
}
|
|
164
163
|
};
|
|
165
164
|
|
|
166
|
-
export const
|
|
165
|
+
export const putCropBlockNotes = async (payload) => {
|
|
167
166
|
try {
|
|
168
167
|
const { queryParams, postBody, options } = payload || {};
|
|
169
168
|
const { code = '' } = queryParams || {};
|
|
170
169
|
const API_FUNCTION_CODE = process.env.REACT_APP_FUNCTION_CODE || code;
|
|
171
|
-
let apiUrl = '/
|
|
170
|
+
let apiUrl = '/CropBlockNotes';
|
|
172
171
|
const response = await serviceConfig.request({
|
|
173
172
|
url: apiUrl,
|
|
174
173
|
method: "put",
|
|
@@ -190,12 +189,12 @@ import serviceConfig from "./config/serviceConfig";
|
|
|
190
189
|
}
|
|
191
190
|
};
|
|
192
191
|
|
|
193
|
-
export const
|
|
192
|
+
export const deleteCropBlockNotes = async (payload) => {
|
|
194
193
|
try {
|
|
195
194
|
const { queryParams, postBody, options } = payload || {};
|
|
196
195
|
const { code = '' } = queryParams || {};
|
|
197
196
|
const API_FUNCTION_CODE = process.env.REACT_APP_FUNCTION_CODE || code;
|
|
198
|
-
let apiUrl = '/
|
|
197
|
+
let apiUrl = '/CropBlockNotes';
|
|
199
198
|
const response = await serviceConfig.request({
|
|
200
199
|
url: apiUrl,
|
|
201
200
|
method: "delete",
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getCropBlockNoteEntityMeta = exports.getCropBlockNoteEntityData = exports.getCropBlockNoteEntity = void 0;
|
|
7
|
-
|
|
8
|
-
var _reselect = require("reselect");
|
|
9
|
-
|
|
10
|
-
var _isEmpty = _interopRequireDefault(require("lodash/isEmpty"));
|
|
11
|
-
|
|
12
|
-
var _dateFns = require("date-fns");
|
|
13
|
-
|
|
14
|
-
var _isNil = _interopRequireDefault(require("lodash/isNil"));
|
|
15
|
-
|
|
16
|
-
var _has = _interopRequireDefault(require("lodash/has"));
|
|
17
|
-
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
-
|
|
20
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
21
|
-
|
|
22
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
23
|
-
|
|
24
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25
|
-
|
|
26
|
-
var getCropBlockNoteEntity = function getCropBlockNoteEntity(state) {
|
|
27
|
-
return state.entities.cropBlockNote;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
exports.getCropBlockNoteEntity = getCropBlockNoteEntity;
|
|
31
|
-
var getCropBlockNoteEntityMeta = (0, _reselect.createSelector)([getCropBlockNoteEntity], function (reference) {
|
|
32
|
-
var isLoading = reference.isLoading,
|
|
33
|
-
isLoaded = reference.isLoaded,
|
|
34
|
-
hasError = reference.hasError,
|
|
35
|
-
error = reference.error;
|
|
36
|
-
return {
|
|
37
|
-
isLoading: isLoading,
|
|
38
|
-
isLoaded: isLoaded,
|
|
39
|
-
hasError: hasError,
|
|
40
|
-
error: error
|
|
41
|
-
};
|
|
42
|
-
});
|
|
43
|
-
exports.getCropBlockNoteEntityMeta = getCropBlockNoteEntityMeta;
|
|
44
|
-
var getCropBlockNoteEntityData = (0, _reselect.createSelector)([getCropBlockNoteEntity], function (reference) {
|
|
45
|
-
var _reference$data = reference.data,
|
|
46
|
-
data = _reference$data === void 0 ? [] : _reference$data;
|
|
47
|
-
var refData = (0, _isEmpty["default"])(data) ? [] : data;
|
|
48
|
-
if (!Array.isArray(refData) || (0, _isNil["default"])(refData)) return [];
|
|
49
|
-
var formattedData = refData.map(function (d) {
|
|
50
|
-
var hasDates = false;
|
|
51
|
-
var fromDate = '';
|
|
52
|
-
var toDate = '';
|
|
53
|
-
var fromTo = '';
|
|
54
|
-
|
|
55
|
-
if ((0, _has["default"])(d, 'effectiveToDate') && (0, _has["default"])(d, 'effectiveFromDate')) {
|
|
56
|
-
hasDates = true;
|
|
57
|
-
toDate = !(0, _isEmpty["default"])(d.effectiveToDate) && (0, _dateFns.isValid)(new Date(d.effectiveToDate)) ? (0, _dateFns.format)(new Date(d.effectiveToDate), viewDateFormat) : '';
|
|
58
|
-
fromDate = !(0, _isEmpty["default"])(d.effectiveFromDate) && (0, _dateFns.isValid)(new Date(d.effectiveFromDate)) ? (0, _dateFns.format)(new Date(d.effectiveFromDate), viewDateFormat) : '';
|
|
59
|
-
var seperator = toDate ? '-' : '';
|
|
60
|
-
fromToDate = "".concat(fromDate, " ").concat(seperator, " ").concat(toDate);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
return _objectSpread(_objectSpread({}, d), hasDates && {
|
|
64
|
-
fromDate: fromDate,
|
|
65
|
-
toDate: toDate,
|
|
66
|
-
fromTo: fromTo
|
|
67
|
-
});
|
|
68
|
-
});
|
|
69
|
-
return formattedData;
|
|
70
|
-
});
|
|
71
|
-
exports.getCropBlockNoteEntityData = getCropBlockNoteEntityData;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { createSelector } from 'reselect';
|
|
2
|
-
import isEmpty from 'lodash/isEmpty';
|
|
3
|
-
import {isValid, format} from 'date-fns';
|
|
4
|
-
import isNil from 'lodash/isNil';
|
|
5
|
-
import has from 'lodash/has';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export const getCropBlockNoteEntity = state => state.entities.cropBlockNote;
|
|
9
|
-
|
|
10
|
-
export const getCropBlockNoteEntityMeta = createSelector(
|
|
11
|
-
[getCropBlockNoteEntity],
|
|
12
|
-
reference => {
|
|
13
|
-
const { isLoading, isLoaded, hasError, error } = reference;
|
|
14
|
-
return {
|
|
15
|
-
isLoading,
|
|
16
|
-
isLoaded,
|
|
17
|
-
hasError,
|
|
18
|
-
error,
|
|
19
|
-
};
|
|
20
|
-
},
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
export const getCropBlockNoteEntityData = createSelector(
|
|
24
|
-
[getCropBlockNoteEntity],
|
|
25
|
-
reference => {
|
|
26
|
-
const { data = [] } = reference;
|
|
27
|
-
const refData = isEmpty(data) ? [] : data;
|
|
28
|
-
if (!Array.isArray(refData) || isNil(refData)) return [];
|
|
29
|
-
|
|
30
|
-
const formattedData = refData.map(d => {
|
|
31
|
-
let hasDates = false;
|
|
32
|
-
let fromDate = '';
|
|
33
|
-
let toDate = '';
|
|
34
|
-
let fromTo = '';
|
|
35
|
-
|
|
36
|
-
if(has(d, 'effectiveToDate') && has(d, 'effectiveFromDate')){
|
|
37
|
-
hasDates = true;
|
|
38
|
-
toDate =
|
|
39
|
-
!isEmpty(d.effectiveToDate) && isValid(new Date(d.effectiveToDate))
|
|
40
|
-
? format(new Date(d.effectiveToDate), viewDateFormat)
|
|
41
|
-
: '';
|
|
42
|
-
fromDate =
|
|
43
|
-
!isEmpty(d.effectiveFromDate) &&
|
|
44
|
-
isValid(new Date(d.effectiveFromDate))
|
|
45
|
-
? format(new Date(d.effectiveFromDate), viewDateFormat)
|
|
46
|
-
: '';
|
|
47
|
-
const seperator = toDate ? '-' : '';
|
|
48
|
-
fromToDate = `${fromDate} ${seperator} ${toDate}`;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
return {
|
|
52
|
-
...d,
|
|
53
|
-
...(hasDates && {
|
|
54
|
-
fromDate,
|
|
55
|
-
toDate,
|
|
56
|
-
fromTo,
|
|
57
|
-
})
|
|
58
|
-
};
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
return formattedData;
|
|
62
|
-
},
|
|
63
|
-
);
|
|
64
|
-
|