vineanova-redux-artifacts 1.36.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 +4 -1
- package/dist/actions/commonActions.js +150 -0
- package/dist/index.js +6 -6
- package/dist/reducers/createNamedReducer.js +1 -1
- package/dist/reducers/index.js +1 -0
- package/dist/sagas/vineaNovaApi.sagas.js +1018 -790
- package/dist/selectors/assignSampleHeadersSelector.js +6 -5
- package/dist/selectors/blockVintageSelector.js +6 -5
- package/dist/selectors/contactMethodSelector.js +6 -5
- package/dist/selectors/cropBlockNotesSelector.js +71 -0
- package/dist/selectors/cropBlockPhenologySelector.js +6 -5
- package/dist/selectors/cropBlockSettingSelector.js +6 -5
- package/dist/selectors/cropBlockVintageSelector.js +6 -5
- package/dist/selectors/deAssignSampleHeadersSelector.js +6 -5
- package/dist/selectors/getLookUpSelector.js +6 -5
- package/dist/selectors/gridVineyardBlocksSelector.js +6 -5
- package/dist/selectors/healthcheckSelector.js +6 -5
- package/dist/selectors/identityClassificationSelector.js +6 -5
- package/dist/selectors/identityContactMethodAddressSelector.js +6 -5
- package/dist/selectors/identityContactMethodSelector.js +6 -5
- package/dist/selectors/identityDataConnectorSelector.js +6 -5
- package/dist/selectors/identityDetailsSelector.js +6 -5
- package/dist/selectors/identityNoteImageSelector.js +6 -5
- package/dist/selectors/identityNoteSelector.js +6 -5
- package/dist/selectors/identityNotesSelector.js +6 -5
- package/dist/selectors/identityOrganisationSelector.js +6 -5
- package/dist/selectors/identityPersonSelector.js +6 -5
- package/dist/selectors/identityReferenceSelector.js +6 -5
- package/dist/selectors/identityRelationshipSelector.js +6 -5
- package/dist/selectors/identityRelationshipTypeSelector.js +6 -5
- package/dist/selectors/identityRoleSelector.js +6 -5
- package/dist/selectors/identitySelector.js +6 -5
- package/dist/selectors/identityServiceProviderSelector.js +6 -5
- package/dist/selectors/identityVineyardBlockRowSelector.js +6 -5
- package/dist/selectors/identityVineyardBlockRowsSelector.js +6 -5
- package/dist/selectors/identityVineyardBlockSelector.js +6 -5
- package/dist/selectors/identityVineyardBlocksSelector.js +6 -5
- package/dist/selectors/identityVineyardSelector.js +6 -5
- package/dist/selectors/index.js +13 -0
- package/dist/selectors/lookupBlockVintageStatusSelector.js +6 -5
- package/dist/selectors/lookupBusinessUnitSelector.js +6 -5
- package/dist/selectors/lookupClassificationGroupIdentityTypeSelector.js +6 -5
- package/dist/selectors/lookupClassificationGroupSelector.js +6 -5
- package/dist/selectors/lookupClassificationSelector.js +6 -5
- package/dist/selectors/lookupContactMethodSelector.js +6 -5
- package/dist/selectors/lookupCountrySelector.js +6 -5
- package/dist/selectors/lookupCropSettingInstanceSelector.js +6 -5
- package/dist/selectors/lookupCropSettingOptionSelector.js +6 -5
- package/dist/selectors/lookupDataProviderSelector.js +6 -5
- package/dist/selectors/lookupDataProviderTypeSelector.js +6 -5
- package/dist/selectors/lookupEthnicitySelector.js +6 -5
- package/dist/selectors/lookupGenderSelector.js +6 -5
- package/dist/selectors/lookupGrowingRegionSelector.js +6 -5
- package/dist/selectors/lookupGrowingSubRegionSelector.js +6 -5
- package/dist/selectors/lookupIdentityTypeSelector.js +6 -5
- package/dist/selectors/lookupKeywordSelector.js +6 -5
- package/dist/selectors/lookupLanguageSelector.js +6 -5
- package/dist/selectors/lookupMeasureGroupSelector.js +6 -5
- package/dist/selectors/lookupMeasureInstanceSelector.js +6 -5
- package/dist/selectors/lookupMeasureSelector.js +6 -5
- package/dist/selectors/lookupNationalitySelector.js +6 -5
- package/dist/selectors/lookupNoteStatusSelector.js +6 -5
- package/dist/selectors/lookupPayrollSystemSelector.js +6 -5
- package/dist/selectors/lookupPhenologyMeasureOptionSelector.js +6 -5
- package/dist/selectors/lookupPhenologyMeasureSelector.js +6 -5
- package/dist/selectors/lookupPhenologyMeasureSetSelector.js +6 -5
- package/dist/selectors/lookupPhenologyMeasureTypeSelector.js +6 -5
- package/dist/selectors/lookupReferenceTypeIdentityTypeSelector.js +6 -5
- package/dist/selectors/lookupReferenceTypeSelector.js +6 -5
- package/dist/selectors/lookupRelationshipSubTypeSelector.js +6 -5
- package/dist/selectors/lookupRelationshipTypeSelector.js +6 -5
- package/dist/selectors/lookupRoleTypeIdentityTypeSelector.js +6 -5
- package/dist/selectors/lookupRoleTypeSelector.js +6 -5
- package/dist/selectors/lookupRootStockSelector.js +6 -5
- package/dist/selectors/lookupRowSpecialAttributeSelector.js +6 -5
- package/dist/selectors/lookupSalutationSelector.js +6 -5
- package/dist/selectors/lookupSampleRequestStatusSelector.js +6 -5
- package/dist/selectors/lookupStatusSelector.js +1 -1
- package/dist/selectors/lookupTownSelector.js +6 -5
- package/dist/selectors/lookupTrellisSelector.js +6 -5
- package/dist/selectors/lookupVarietyCloneSelector.js +6 -5
- package/dist/selectors/lookupVarietySelector.js +6 -5
- package/dist/selectors/lookupVintageSelector.js +6 -5
- package/dist/selectors/processblocksamplingSelector.js +6 -5
- package/dist/selectors/queueMessageSelector.js +6 -5
- package/dist/selectors/sampleBlockVintagesSelector.js +6 -5
- package/dist/selectors/sampleHeaderSelector.js +6 -5
- package/dist/selectors/sampleHeaderStatusSelector.js +6 -5
- package/dist/selectors/sampleHeadersSelector.js +6 -5
- package/dist/selectors/sampleIdentitySelector.js +6 -5
- package/dist/selectors/sampleSetSelector.js +6 -5
- package/dist/selectors/sampleSetsSelector.js +6 -5
- package/dist/selectors/samplingUsersSelector.js +6 -5
- package/dist/selectors/searchIdentitySelector.js +6 -5
- package/dist/services/apiServices.js +803 -588
- package/package.json +3 -2
- package/src/actions/commonActions.js +30 -0
- package/src/reducers/createNamedReducer.js +1 -1
- package/src/reducers/index.js +1 -0
- package/src/sagas/vineaNovaApi.sagas.js +125 -0
- package/src/selectors/assignSampleHeadersSelector.js +12 -9
- package/src/selectors/blockVintageSelector.js +12 -9
- package/src/selectors/contactMethodSelector.js +12 -9
- package/src/selectors/cropBlockNotesSelector.js +64 -0
- package/src/selectors/cropBlockPhenologySelector.js +12 -9
- package/src/selectors/cropBlockSettingSelector.js +12 -9
- package/src/selectors/cropBlockVintageSelector.js +12 -9
- package/src/selectors/deAssignSampleHeadersSelector.js +12 -9
- package/src/selectors/getLookUpSelector.js +12 -9
- package/src/selectors/gridVineyardBlocksSelector.js +12 -9
- package/src/selectors/healthcheckSelector.js +12 -9
- package/src/selectors/identityClassificationSelector.js +12 -9
- package/src/selectors/identityContactMethodAddressSelector.js +12 -9
- package/src/selectors/identityContactMethodSelector.js +12 -9
- package/src/selectors/identityDataConnectorSelector.js +12 -9
- package/src/selectors/identityDetailsSelector.js +12 -9
- package/src/selectors/identityNoteImageSelector.js +12 -9
- package/src/selectors/identityNoteSelector.js +12 -9
- package/src/selectors/identityNotesSelector.js +12 -9
- package/src/selectors/identityOrganisationSelector.js +12 -9
- package/src/selectors/identityPersonSelector.js +12 -9
- package/src/selectors/identityReferenceSelector.js +12 -9
- package/src/selectors/identityRelationshipSelector.js +12 -9
- package/src/selectors/identityRelationshipTypeSelector.js +12 -9
- package/src/selectors/identityRoleSelector.js +12 -9
- package/src/selectors/identitySelector.js +12 -9
- package/src/selectors/identityServiceProviderSelector.js +12 -9
- package/src/selectors/identityVineyardBlockRowSelector.js +12 -9
- package/src/selectors/identityVineyardBlockRowsSelector.js +12 -9
- package/src/selectors/identityVineyardBlockSelector.js +12 -9
- package/src/selectors/identityVineyardBlocksSelector.js +12 -9
- package/src/selectors/identityVineyardSelector.js +12 -9
- package/src/selectors/index.js +1 -0
- package/src/selectors/lookupBlockVintageStatusSelector.js +12 -9
- package/src/selectors/lookupBusinessUnitSelector.js +12 -9
- package/src/selectors/lookupClassificationGroupIdentityTypeSelector.js +12 -9
- package/src/selectors/lookupClassificationGroupSelector.js +12 -9
- package/src/selectors/lookupClassificationSelector.js +12 -9
- package/src/selectors/lookupContactMethodSelector.js +12 -9
- package/src/selectors/lookupCountrySelector.js +12 -9
- package/src/selectors/lookupCropSettingInstanceSelector.js +12 -9
- package/src/selectors/lookupCropSettingOptionSelector.js +12 -9
- package/src/selectors/lookupDataProviderSelector.js +12 -9
- package/src/selectors/lookupDataProviderTypeSelector.js +12 -9
- package/src/selectors/lookupEthnicitySelector.js +12 -9
- package/src/selectors/lookupGenderSelector.js +12 -9
- package/src/selectors/lookupGrowingRegionSelector.js +12 -9
- package/src/selectors/lookupGrowingSubRegionSelector.js +12 -9
- package/src/selectors/lookupIdentityTypeSelector.js +12 -9
- package/src/selectors/lookupKeywordSelector.js +12 -9
- package/src/selectors/lookupLanguageSelector.js +12 -9
- package/src/selectors/lookupMeasureGroupSelector.js +12 -9
- package/src/selectors/lookupMeasureInstanceSelector.js +12 -9
- package/src/selectors/lookupMeasureSelector.js +12 -9
- package/src/selectors/lookupNationalitySelector.js +12 -9
- package/src/selectors/lookupNoteStatusSelector.js +12 -9
- package/src/selectors/lookupPayrollSystemSelector.js +12 -9
- package/src/selectors/lookupPhenologyMeasureOptionSelector.js +12 -9
- package/src/selectors/lookupPhenologyMeasureSelector.js +12 -9
- package/src/selectors/lookupPhenologyMeasureSetSelector.js +12 -9
- package/src/selectors/lookupPhenologyMeasureTypeSelector.js +12 -9
- package/src/selectors/lookupReferenceTypeIdentityTypeSelector.js +12 -9
- package/src/selectors/lookupReferenceTypeSelector.js +12 -9
- package/src/selectors/lookupRelationshipSubTypeSelector.js +12 -9
- package/src/selectors/lookupRelationshipTypeSelector.js +12 -9
- package/src/selectors/lookupRoleTypeIdentityTypeSelector.js +12 -9
- package/src/selectors/lookupRoleTypeSelector.js +12 -9
- package/src/selectors/lookupRootStockSelector.js +12 -9
- package/src/selectors/lookupRowSpecialAttributeSelector.js +12 -9
- package/src/selectors/lookupSalutationSelector.js +12 -9
- package/src/selectors/lookupSampleRequestStatusSelector.js +12 -9
- package/src/selectors/lookupTownSelector.js +12 -9
- package/src/selectors/lookupTrellisSelector.js +12 -9
- package/src/selectors/lookupVarietyCloneSelector.js +12 -9
- package/src/selectors/lookupVarietySelector.js +12 -9
- package/src/selectors/lookupVintageSelector.js +12 -9
- package/src/selectors/processblocksamplingSelector.js +12 -9
- package/src/selectors/queueMessageSelector.js +12 -9
- package/src/selectors/sampleBlockVintagesSelector.js +12 -9
- package/src/selectors/sampleHeaderSelector.js +12 -9
- package/src/selectors/sampleHeaderStatusSelector.js +12 -9
- package/src/selectors/sampleHeadersSelector.js +12 -9
- package/src/selectors/sampleIdentitySelector.js +12 -9
- package/src/selectors/sampleSetSelector.js +12 -9
- package/src/selectors/sampleSetsSelector.js +12 -9
- package/src/selectors/samplingUsersSelector.js +12 -9
- package/src/selectors/searchIdentitySelector.js +12 -9
- package/src/services/apiServices.js +108 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
## 1.
|
|
5
|
+
## 1.40.0 (2021-11-24)
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
### Features
|
|
@@ -65,6 +65,7 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
65
65
|
* **paginations:** updated paginations ([a678254](https://infopowernz.visualstudio.com///commit/a678254e68f48b709baa4c95ee18a405f8567490))
|
|
66
66
|
* **phone:** phone number layout ([d76a2a0](https://infopowernz.visualstudio.com///commit/d76a2a0950b6268c85fb1536b748fd742813ff78))
|
|
67
67
|
* **phone:** phone number layout ([2f1cb19](https://infopowernz.visualstudio.com///commit/2f1cb198a542d97367738d0b1f5766b368529d3d))
|
|
68
|
+
* **react:** query used for fetching ([545dfe8](https://infopowernz.visualstudio.com///commit/545dfe8611ab46fa556c1c07cc2a26e4443dce5f))
|
|
68
69
|
* **redux:** upgraded redux artifacts ([6f9ca52](https://infopowernz.visualstudio.com///commit/6f9ca5269fabd38c336c75e0510f1ab6e3023de5))
|
|
69
70
|
* **reference:** added validations on reference ([6e0114b](https://infopowernz.visualstudio.com///commit/6e0114b7617b5aebeb887caf949b39c518fb90e3))
|
|
70
71
|
* **reference:** create new reference page ([e5820f1](https://infopowernz.visualstudio.com///commit/e5820f1df155ada645510e9aaab506e17c1c4ec5))
|
|
@@ -130,6 +131,7 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
130
131
|
* **createidentity:** fixed lint ([a7ceb55](https://infopowernz.visualstudio.com///commit/a7ceb55ec42304b0675e34d7d4d6cc52fdc63d8c))
|
|
131
132
|
* **dashboard.tests:** updated failing test case ([bf403df](https://infopowernz.visualstudio.com///commit/bf403df22dd300f8f878e38eb64cdae614383cd4))
|
|
132
133
|
* **dashboard:** page ([efc4456](https://infopowernz.visualstudio.com///commit/efc44562daa96262ac3af09a3d9cdfc8039b7741))
|
|
134
|
+
* **date:** updated datefns ([d75c937](https://infopowernz.visualstudio.com///commit/d75c937512125b432429b0f2697604a929903ce9))
|
|
133
135
|
* **date:** updated datepicker and today's date ([43f5350](https://infopowernz.visualstudio.com///commit/43f535041c46f1cb27eda9524f658b684e0459c4))
|
|
134
136
|
* **dropdown:** width to 100% fixed ([77eb545](https://infopowernz.visualstudio.com///commit/77eb545e514563d2f178caa168d6be5bd50dffe6))
|
|
135
137
|
* **e2es:** updated e2es ([0dd3c8f](https://infopowernz.visualstudio.com///commit/0dd3c8fa60f5019192a4fb4427c24cf1ef38525f))
|
|
@@ -150,6 +152,7 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
150
152
|
* **logout:** added logout page ([570db63](https://infopowernz.visualstudio.com///commit/570db63d92df94188d5b084cb362866b6500a7b9))
|
|
151
153
|
* merge conflicts ([f88683a](https://infopowernz.visualstudio.com///commit/f88683a780be4863f99a91ec2894a2e5e88eb645))
|
|
152
154
|
* **modules:** added modules ([34ca394](https://infopowernz.visualstudio.com///commit/34ca3949d90d8821f791af46612adead63a52f08))
|
|
155
|
+
* **noteimage:** fixed note image for existing records ([4791326](https://infopowernz.visualstudio.com///commit/4791326e9116b051db02c6f1a895b61c59045659))
|
|
153
156
|
* **notes:** delete notes image updated ([ecd6e3d](https://infopowernz.visualstudio.com///commit/ecd6e3dd71a240181134056db52428c399a9fde6))
|
|
154
157
|
* **organisation:** updated createidentity details ([1088499](https://infopowernz.visualstudio.com///commit/10884998d854222f81ae68b37fc6d3e650a519e9))
|
|
155
158
|
* **organization:** updated organization details ([04c1960](https://infopowernz.visualstudio.com///commit/04c196088cd4f9a1cbd95eda40ff8a4ed38240ee))
|
|
@@ -160,6 +160,156 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
160
160
|
}]
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
|
+
cropBlockNotes: {
|
|
164
|
+
get: {
|
|
165
|
+
REQUEST: [function (payload) {
|
|
166
|
+
return payload;
|
|
167
|
+
}, function () {
|
|
168
|
+
return {
|
|
169
|
+
reducerName: 'cropBlockNotes'
|
|
170
|
+
};
|
|
171
|
+
}],
|
|
172
|
+
RECEIVE: [function (payload) {
|
|
173
|
+
return payload;
|
|
174
|
+
}, function () {
|
|
175
|
+
return {
|
|
176
|
+
reducerName: 'cropBlockNotes'
|
|
177
|
+
};
|
|
178
|
+
}],
|
|
179
|
+
ERROR: [function (payload) {
|
|
180
|
+
return payload;
|
|
181
|
+
}, function () {
|
|
182
|
+
return {
|
|
183
|
+
reducerName: 'cropBlockNotes'
|
|
184
|
+
};
|
|
185
|
+
}],
|
|
186
|
+
CLEARDATA: [function (payload) {
|
|
187
|
+
return payload;
|
|
188
|
+
}, function () {
|
|
189
|
+
return {
|
|
190
|
+
reducerName: 'cropBlockNotes'
|
|
191
|
+
};
|
|
192
|
+
}],
|
|
193
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
194
|
+
return payload;
|
|
195
|
+
}, function () {
|
|
196
|
+
return {
|
|
197
|
+
reducerName: 'cropBlockNotes'
|
|
198
|
+
};
|
|
199
|
+
}]
|
|
200
|
+
},
|
|
201
|
+
post: {
|
|
202
|
+
REQUEST: [function (payload) {
|
|
203
|
+
return payload;
|
|
204
|
+
}, function () {
|
|
205
|
+
return {
|
|
206
|
+
reducerName: 'cropBlockNotes'
|
|
207
|
+
};
|
|
208
|
+
}],
|
|
209
|
+
RECEIVE: [function (payload) {
|
|
210
|
+
return payload;
|
|
211
|
+
}, function () {
|
|
212
|
+
return {
|
|
213
|
+
reducerName: 'cropBlockNotes'
|
|
214
|
+
};
|
|
215
|
+
}],
|
|
216
|
+
ERROR: [function (payload) {
|
|
217
|
+
return payload;
|
|
218
|
+
}, function () {
|
|
219
|
+
return {
|
|
220
|
+
reducerName: 'cropBlockNotes'
|
|
221
|
+
};
|
|
222
|
+
}],
|
|
223
|
+
CLEARDATA: [function (payload) {
|
|
224
|
+
return payload;
|
|
225
|
+
}, function () {
|
|
226
|
+
return {
|
|
227
|
+
reducerName: 'cropBlockNotes'
|
|
228
|
+
};
|
|
229
|
+
}],
|
|
230
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
231
|
+
return payload;
|
|
232
|
+
}, function () {
|
|
233
|
+
return {
|
|
234
|
+
reducerName: 'cropBlockNotes'
|
|
235
|
+
};
|
|
236
|
+
}]
|
|
237
|
+
},
|
|
238
|
+
put: {
|
|
239
|
+
REQUEST: [function (payload) {
|
|
240
|
+
return payload;
|
|
241
|
+
}, function () {
|
|
242
|
+
return {
|
|
243
|
+
reducerName: 'cropBlockNotes'
|
|
244
|
+
};
|
|
245
|
+
}],
|
|
246
|
+
RECEIVE: [function (payload) {
|
|
247
|
+
return payload;
|
|
248
|
+
}, function () {
|
|
249
|
+
return {
|
|
250
|
+
reducerName: 'cropBlockNotes'
|
|
251
|
+
};
|
|
252
|
+
}],
|
|
253
|
+
ERROR: [function (payload) {
|
|
254
|
+
return payload;
|
|
255
|
+
}, function () {
|
|
256
|
+
return {
|
|
257
|
+
reducerName: 'cropBlockNotes'
|
|
258
|
+
};
|
|
259
|
+
}],
|
|
260
|
+
CLEARDATA: [function (payload) {
|
|
261
|
+
return payload;
|
|
262
|
+
}, function () {
|
|
263
|
+
return {
|
|
264
|
+
reducerName: 'cropBlockNotes'
|
|
265
|
+
};
|
|
266
|
+
}],
|
|
267
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
268
|
+
return payload;
|
|
269
|
+
}, function () {
|
|
270
|
+
return {
|
|
271
|
+
reducerName: 'cropBlockNotes'
|
|
272
|
+
};
|
|
273
|
+
}]
|
|
274
|
+
},
|
|
275
|
+
"delete": {
|
|
276
|
+
REQUEST: [function (payload) {
|
|
277
|
+
return payload;
|
|
278
|
+
}, function () {
|
|
279
|
+
return {
|
|
280
|
+
reducerName: 'cropBlockNotes'
|
|
281
|
+
};
|
|
282
|
+
}],
|
|
283
|
+
RECEIVE: [function (payload) {
|
|
284
|
+
return payload;
|
|
285
|
+
}, function () {
|
|
286
|
+
return {
|
|
287
|
+
reducerName: 'cropBlockNotes'
|
|
288
|
+
};
|
|
289
|
+
}],
|
|
290
|
+
ERROR: [function (payload) {
|
|
291
|
+
return payload;
|
|
292
|
+
}, function () {
|
|
293
|
+
return {
|
|
294
|
+
reducerName: 'cropBlockNotes'
|
|
295
|
+
};
|
|
296
|
+
}],
|
|
297
|
+
CLEARDATA: [function (payload) {
|
|
298
|
+
return payload;
|
|
299
|
+
}, function () {
|
|
300
|
+
return {
|
|
301
|
+
reducerName: 'cropBlockNotes'
|
|
302
|
+
};
|
|
303
|
+
}],
|
|
304
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
305
|
+
return payload;
|
|
306
|
+
}, function () {
|
|
307
|
+
return {
|
|
308
|
+
reducerName: 'cropBlockNotes'
|
|
309
|
+
};
|
|
310
|
+
}]
|
|
311
|
+
}
|
|
312
|
+
},
|
|
163
313
|
cropBlockPhenology: {
|
|
164
314
|
get: {
|
|
165
315
|
REQUEST: [function (payload) {
|
package/dist/index.js
CHANGED
|
@@ -11,22 +11,22 @@ var _exportNames = {
|
|
|
11
11
|
VineaNovaActions: true,
|
|
12
12
|
VineaNovaSelectors: true
|
|
13
13
|
};
|
|
14
|
-
Object.defineProperty(exports, "
|
|
14
|
+
Object.defineProperty(exports, "VineaNovaActions", {
|
|
15
15
|
enumerable: true,
|
|
16
16
|
get: function get() {
|
|
17
|
-
return
|
|
17
|
+
return _actions.VineaNovaActions;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
Object.defineProperty(exports, "
|
|
20
|
+
Object.defineProperty(exports, "VineaNovaRootReducer", {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function get() {
|
|
23
|
-
return
|
|
23
|
+
return _reducers["default"];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
|
-
Object.defineProperty(exports, "
|
|
26
|
+
Object.defineProperty(exports, "VineaNovaRootSagas", {
|
|
27
27
|
enumerable: true,
|
|
28
28
|
get: function get() {
|
|
29
|
-
return
|
|
29
|
+
return _sagas.VineaNovaRootSagas;
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
exports.VineaNovaSelectors = void 0;
|
|
@@ -91,7 +91,7 @@ var createNamedReducer = function createNamedReducer() {
|
|
|
91
91
|
value = payload.value;
|
|
92
92
|
if (!Array.isArray(state.data)) return state;
|
|
93
93
|
if (!key) return state;
|
|
94
|
-
if (!
|
|
94
|
+
if (!entityId) return state;
|
|
95
95
|
var newEntities = state.data.map(function (entity) {
|
|
96
96
|
if (entity.id === entityId) {
|
|
97
97
|
return _objectSpread(_objectSpread({}, entity), {}, _defineProperty({}, key, value));
|
package/dist/reducers/index.js
CHANGED
|
@@ -14,6 +14,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
14
14
|
var rootReducer = {
|
|
15
15
|
entities: (0, _redux.combineReducers)({
|
|
16
16
|
blockVintage: (0, _createNamedReducer["default"])('blockVintage'),
|
|
17
|
+
cropBlockNotes: (0, _createNamedReducer["default"])('cropBlockNotes'),
|
|
17
18
|
cropBlockPhenology: (0, _createNamedReducer["default"])('cropBlockPhenology'),
|
|
18
19
|
cropBlockSetting: (0, _createNamedReducer["default"])('cropBlockSetting'),
|
|
19
20
|
cropBlockVintage: (0, _createNamedReducer["default"])('cropBlockVintage'),
|