vineanova-redux-artifacts 1.46.0 → 1.49.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 +6 -1
- package/dist/actions/commonActions.js +306 -0
- package/dist/reducers/index.js +5 -0
- package/dist/sagas/vineaNovaApi.sagas.js +1220 -764
- package/dist/selectors/chartFiltersSelector.js +71 -0
- package/dist/selectors/chartsSelector.js +71 -0
- package/dist/selectors/dashboardPageFiltersSelector.js +71 -0
- package/dist/selectors/dashboardPagesSelector.js +71 -0
- package/dist/selectors/index.js +65 -0
- package/dist/selectors/objectLogoSelector.js +71 -0
- package/dist/services/apiServices.js +1128 -701
- package/package.json +1 -1
- package/src/actions/commonActions.js +66 -0
- package/src/reducers/index.js +5 -0
- package/src/sagas/vineaNovaApi.sagas.js +253 -0
- package/src/selectors/chartFiltersSelector.js +64 -0
- package/src/selectors/chartsSelector.js +64 -0
- package/src/selectors/dashboardPageFiltersSelector.js +64 -0
- package/src/selectors/dashboardPagesSelector.js +64 -0
- package/src/selectors/index.js +5 -0
- package/src/selectors/objectLogoSelector.js +64 -0
- package/src/services/apiServices.js +216 -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.49.0 (2022-03-23)
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
### Features
|
|
@@ -37,6 +37,7 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
37
37
|
* **cropblock:** crop block settings ([0ad5c55](https://infopowernz.visualstudio.com///commit/0ad5c5548e9dcb9a03179095e4d9dfcda28eaa70))
|
|
38
38
|
* **datagrid:** updated search screen datagrid ([363c2b4](https://infopowernz.visualstudio.com///commit/363c2b40f011a1ec1b797d5738b826121910963a))
|
|
39
39
|
* **deeplink:** routing deeplink ([eb96d09](https://infopowernz.visualstudio.com///commit/eb96d09a2dd56d5b2b4473c3ac4a85d594061a81))
|
|
40
|
+
* **delete:** profile image api deleted ([d76012d](https://infopowernz.visualstudio.com///commit/d76012db81f6bdc2f26e4dcecacb97e5d143cf3d))
|
|
40
41
|
* **details:** updated details page ([25da966](https://infopowernz.visualstudio.com///commit/25da96638be26bc68a356761fb3a1c73003e9501))
|
|
41
42
|
* **dialog:** handled 400 and 500 errors by creating a dialog ([4a6bf72](https://infopowernz.visualstudio.com///commit/4a6bf720934cdf92381a836fa21662204777c2b6))
|
|
42
43
|
* **documents:** updated document ([930fb26](https://infopowernz.visualstudio.com///commit/930fb267b3f5127d8404999a819338ab9ea6d1f4))
|
|
@@ -47,6 +48,8 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
47
48
|
* **identity overview header:** Added organisation overview header ([be215cc](https://infopowernz.visualstudio.com///commit/be215cce88ce1c4f215edc85c281871ca6627bca))
|
|
48
49
|
* **identity:** updated identity screens ([75f298c](https://infopowernz.visualstudio.com///commit/75f298c67c6b4b011bce43b065f5bdf0214aa62a))
|
|
49
50
|
* **idle:** usertime out ([3cbf4ed](https://infopowernz.visualstudio.com///commit/3cbf4ed2e49f70135f4ef2580aa5de8f8e2b3d0c))
|
|
51
|
+
* **image:** upload image completed ([66bdf12](https://infopowernz.visualstudio.com///commit/66bdf1222dcc7e1a3cdc952ad0fbafcd89b2dd7e))
|
|
52
|
+
* **imageupload:** uploaded the image ([7d5e5e0](https://infopowernz.visualstudio.com///commit/7d5e5e0add1a3948d2176b4663b9d0b64d94c9f5))
|
|
50
53
|
* **inital:** setup ([8487520](https://infopowernz.visualstudio.com///commit/8487520a8d243c384d9d2561e514a9a5c7193c3b))
|
|
51
54
|
* **insert block:** created insert vineyard block endpoint ([a461fb7](https://infopowernz.visualstudio.com///commit/a461fb7b853cc1ec1c54b6dc5e842d1f553cce98))
|
|
52
55
|
* **layout:** reference ([2845163](https://infopowernz.visualstudio.com///commit/28451632b001ab14f950c8b005043f5f3d1cf5ee))
|
|
@@ -65,6 +68,7 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
65
68
|
* **paginations:** updated paginations ([a678254](https://infopowernz.visualstudio.com///commit/a678254e68f48b709baa4c95ee18a405f8567490))
|
|
66
69
|
* **phone:** phone number layout ([d76a2a0](https://infopowernz.visualstudio.com///commit/d76a2a0950b6268c85fb1536b748fd742813ff78))
|
|
67
70
|
* **phone:** phone number layout ([2f1cb19](https://infopowernz.visualstudio.com///commit/2f1cb198a542d97367738d0b1f5766b368529d3d))
|
|
71
|
+
* **photo:** upload a image ([b1cb94c](https://infopowernz.visualstudio.com///commit/b1cb94ce1a3b99184452fe16195a085db1f51931))
|
|
68
72
|
* **react:** query used for fetching ([545dfe8](https://infopowernz.visualstudio.com///commit/545dfe8611ab46fa556c1c07cc2a26e4443dce5f))
|
|
69
73
|
* **redux:** upgraded redux artifacts ([6f9ca52](https://infopowernz.visualstudio.com///commit/6f9ca5269fabd38c336c75e0510f1ab6e3023de5))
|
|
70
74
|
* **reference:** added validations on reference ([6e0114b](https://infopowernz.visualstudio.com///commit/6e0114b7617b5aebeb887caf949b39c518fb90e3))
|
|
@@ -158,6 +162,7 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
158
162
|
* **organization:** updated organization details ([04c1960](https://infopowernz.visualstudio.com///commit/04c196088cd4f9a1cbd95eda40ff8a4ed38240ee))
|
|
159
163
|
* **overview:** layout fixed ([550dd26](https://infopowernz.visualstudio.com///commit/550dd265ec0ae1c5e8763c98dae42ccdec9458c3))
|
|
160
164
|
* **overview:** updated overview page ([436aef6](https://infopowernz.visualstudio.com///commit/436aef608988f29a3bb6195a2d15da6b402f0814))
|
|
165
|
+
* **password:** reset password ([900ae6f](https://infopowernz.visualstudio.com///commit/900ae6fb1cafea5d53b7e92566e0af495aaafbcf))
|
|
161
166
|
* **phenology:** updated phenology screens ([d8a7dd4](https://infopowernz.visualstudio.com///commit/d8a7dd42bba135ccf985585666a67c5a5cb683e3))
|
|
162
167
|
* **prettier:** Prettier issue is fixed ([22f0dc2](https://infopowernz.visualstudio.com///commit/22f0dc2106f89f2516f9f6c50116da1da11dd6ac))
|
|
163
168
|
* **prettier:** updated prettier issues ([3642cd8](https://infopowernz.visualstudio.com///commit/3642cd8cd7ceec7bf232ff77de86d99e22c6deb5))
|
|
@@ -160,6 +160,162 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
160
160
|
}]
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
|
+
charts: {
|
|
164
|
+
get: {
|
|
165
|
+
REQUEST: [function (payload) {
|
|
166
|
+
return payload;
|
|
167
|
+
}, function () {
|
|
168
|
+
return {
|
|
169
|
+
reducerName: 'charts'
|
|
170
|
+
};
|
|
171
|
+
}],
|
|
172
|
+
RECEIVE: [function (payload) {
|
|
173
|
+
return payload;
|
|
174
|
+
}, function () {
|
|
175
|
+
return {
|
|
176
|
+
reducerName: 'charts'
|
|
177
|
+
};
|
|
178
|
+
}],
|
|
179
|
+
ERROR: [function (payload) {
|
|
180
|
+
return payload;
|
|
181
|
+
}, function () {
|
|
182
|
+
return {
|
|
183
|
+
reducerName: 'charts'
|
|
184
|
+
};
|
|
185
|
+
}],
|
|
186
|
+
CLEARDATA: [function (payload) {
|
|
187
|
+
return payload;
|
|
188
|
+
}, function () {
|
|
189
|
+
return {
|
|
190
|
+
reducerName: 'charts'
|
|
191
|
+
};
|
|
192
|
+
}],
|
|
193
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
194
|
+
return payload;
|
|
195
|
+
}, function () {
|
|
196
|
+
return {
|
|
197
|
+
reducerName: 'charts'
|
|
198
|
+
};
|
|
199
|
+
}]
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
chartFilters: {
|
|
203
|
+
get: {
|
|
204
|
+
REQUEST: [function (payload) {
|
|
205
|
+
return payload;
|
|
206
|
+
}, function () {
|
|
207
|
+
return {
|
|
208
|
+
reducerName: 'chartFilters'
|
|
209
|
+
};
|
|
210
|
+
}],
|
|
211
|
+
RECEIVE: [function (payload) {
|
|
212
|
+
return payload;
|
|
213
|
+
}, function () {
|
|
214
|
+
return {
|
|
215
|
+
reducerName: 'chartFilters'
|
|
216
|
+
};
|
|
217
|
+
}],
|
|
218
|
+
ERROR: [function (payload) {
|
|
219
|
+
return payload;
|
|
220
|
+
}, function () {
|
|
221
|
+
return {
|
|
222
|
+
reducerName: 'chartFilters'
|
|
223
|
+
};
|
|
224
|
+
}],
|
|
225
|
+
CLEARDATA: [function (payload) {
|
|
226
|
+
return payload;
|
|
227
|
+
}, function () {
|
|
228
|
+
return {
|
|
229
|
+
reducerName: 'chartFilters'
|
|
230
|
+
};
|
|
231
|
+
}],
|
|
232
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
233
|
+
return payload;
|
|
234
|
+
}, function () {
|
|
235
|
+
return {
|
|
236
|
+
reducerName: 'chartFilters'
|
|
237
|
+
};
|
|
238
|
+
}]
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
dashboardPages: {
|
|
242
|
+
get: {
|
|
243
|
+
REQUEST: [function (payload) {
|
|
244
|
+
return payload;
|
|
245
|
+
}, function () {
|
|
246
|
+
return {
|
|
247
|
+
reducerName: 'dashboardPages'
|
|
248
|
+
};
|
|
249
|
+
}],
|
|
250
|
+
RECEIVE: [function (payload) {
|
|
251
|
+
return payload;
|
|
252
|
+
}, function () {
|
|
253
|
+
return {
|
|
254
|
+
reducerName: 'dashboardPages'
|
|
255
|
+
};
|
|
256
|
+
}],
|
|
257
|
+
ERROR: [function (payload) {
|
|
258
|
+
return payload;
|
|
259
|
+
}, function () {
|
|
260
|
+
return {
|
|
261
|
+
reducerName: 'dashboardPages'
|
|
262
|
+
};
|
|
263
|
+
}],
|
|
264
|
+
CLEARDATA: [function (payload) {
|
|
265
|
+
return payload;
|
|
266
|
+
}, function () {
|
|
267
|
+
return {
|
|
268
|
+
reducerName: 'dashboardPages'
|
|
269
|
+
};
|
|
270
|
+
}],
|
|
271
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
272
|
+
return payload;
|
|
273
|
+
}, function () {
|
|
274
|
+
return {
|
|
275
|
+
reducerName: 'dashboardPages'
|
|
276
|
+
};
|
|
277
|
+
}]
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
dashboardPageFilters: {
|
|
281
|
+
get: {
|
|
282
|
+
REQUEST: [function (payload) {
|
|
283
|
+
return payload;
|
|
284
|
+
}, function () {
|
|
285
|
+
return {
|
|
286
|
+
reducerName: 'dashboardPageFilters'
|
|
287
|
+
};
|
|
288
|
+
}],
|
|
289
|
+
RECEIVE: [function (payload) {
|
|
290
|
+
return payload;
|
|
291
|
+
}, function () {
|
|
292
|
+
return {
|
|
293
|
+
reducerName: 'dashboardPageFilters'
|
|
294
|
+
};
|
|
295
|
+
}],
|
|
296
|
+
ERROR: [function (payload) {
|
|
297
|
+
return payload;
|
|
298
|
+
}, function () {
|
|
299
|
+
return {
|
|
300
|
+
reducerName: 'dashboardPageFilters'
|
|
301
|
+
};
|
|
302
|
+
}],
|
|
303
|
+
CLEARDATA: [function (payload) {
|
|
304
|
+
return payload;
|
|
305
|
+
}, function () {
|
|
306
|
+
return {
|
|
307
|
+
reducerName: 'dashboardPageFilters'
|
|
308
|
+
};
|
|
309
|
+
}],
|
|
310
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
311
|
+
return payload;
|
|
312
|
+
}, function () {
|
|
313
|
+
return {
|
|
314
|
+
reducerName: 'dashboardPageFilters'
|
|
315
|
+
};
|
|
316
|
+
}]
|
|
317
|
+
}
|
|
318
|
+
},
|
|
163
319
|
cropBlockNotes: {
|
|
164
320
|
get: {
|
|
165
321
|
REQUEST: [function (payload) {
|
|
@@ -3184,6 +3340,156 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
3184
3340
|
}]
|
|
3185
3341
|
}
|
|
3186
3342
|
},
|
|
3343
|
+
objectLogo: {
|
|
3344
|
+
post: {
|
|
3345
|
+
REQUEST: [function (payload) {
|
|
3346
|
+
return payload;
|
|
3347
|
+
}, function () {
|
|
3348
|
+
return {
|
|
3349
|
+
reducerName: 'objectLogo'
|
|
3350
|
+
};
|
|
3351
|
+
}],
|
|
3352
|
+
RECEIVE: [function (payload) {
|
|
3353
|
+
return payload;
|
|
3354
|
+
}, function () {
|
|
3355
|
+
return {
|
|
3356
|
+
reducerName: 'objectLogo'
|
|
3357
|
+
};
|
|
3358
|
+
}],
|
|
3359
|
+
ERROR: [function (payload) {
|
|
3360
|
+
return payload;
|
|
3361
|
+
}, function () {
|
|
3362
|
+
return {
|
|
3363
|
+
reducerName: 'objectLogo'
|
|
3364
|
+
};
|
|
3365
|
+
}],
|
|
3366
|
+
CLEARDATA: [function (payload) {
|
|
3367
|
+
return payload;
|
|
3368
|
+
}, function () {
|
|
3369
|
+
return {
|
|
3370
|
+
reducerName: 'objectLogo'
|
|
3371
|
+
};
|
|
3372
|
+
}],
|
|
3373
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
3374
|
+
return payload;
|
|
3375
|
+
}, function () {
|
|
3376
|
+
return {
|
|
3377
|
+
reducerName: 'objectLogo'
|
|
3378
|
+
};
|
|
3379
|
+
}]
|
|
3380
|
+
},
|
|
3381
|
+
get: {
|
|
3382
|
+
REQUEST: [function (payload) {
|
|
3383
|
+
return payload;
|
|
3384
|
+
}, function () {
|
|
3385
|
+
return {
|
|
3386
|
+
reducerName: 'objectLogo'
|
|
3387
|
+
};
|
|
3388
|
+
}],
|
|
3389
|
+
RECEIVE: [function (payload) {
|
|
3390
|
+
return payload;
|
|
3391
|
+
}, function () {
|
|
3392
|
+
return {
|
|
3393
|
+
reducerName: 'objectLogo'
|
|
3394
|
+
};
|
|
3395
|
+
}],
|
|
3396
|
+
ERROR: [function (payload) {
|
|
3397
|
+
return payload;
|
|
3398
|
+
}, function () {
|
|
3399
|
+
return {
|
|
3400
|
+
reducerName: 'objectLogo'
|
|
3401
|
+
};
|
|
3402
|
+
}],
|
|
3403
|
+
CLEARDATA: [function (payload) {
|
|
3404
|
+
return payload;
|
|
3405
|
+
}, function () {
|
|
3406
|
+
return {
|
|
3407
|
+
reducerName: 'objectLogo'
|
|
3408
|
+
};
|
|
3409
|
+
}],
|
|
3410
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
3411
|
+
return payload;
|
|
3412
|
+
}, function () {
|
|
3413
|
+
return {
|
|
3414
|
+
reducerName: 'objectLogo'
|
|
3415
|
+
};
|
|
3416
|
+
}]
|
|
3417
|
+
},
|
|
3418
|
+
put: {
|
|
3419
|
+
REQUEST: [function (payload) {
|
|
3420
|
+
return payload;
|
|
3421
|
+
}, function () {
|
|
3422
|
+
return {
|
|
3423
|
+
reducerName: 'objectLogo'
|
|
3424
|
+
};
|
|
3425
|
+
}],
|
|
3426
|
+
RECEIVE: [function (payload) {
|
|
3427
|
+
return payload;
|
|
3428
|
+
}, function () {
|
|
3429
|
+
return {
|
|
3430
|
+
reducerName: 'objectLogo'
|
|
3431
|
+
};
|
|
3432
|
+
}],
|
|
3433
|
+
ERROR: [function (payload) {
|
|
3434
|
+
return payload;
|
|
3435
|
+
}, function () {
|
|
3436
|
+
return {
|
|
3437
|
+
reducerName: 'objectLogo'
|
|
3438
|
+
};
|
|
3439
|
+
}],
|
|
3440
|
+
CLEARDATA: [function (payload) {
|
|
3441
|
+
return payload;
|
|
3442
|
+
}, function () {
|
|
3443
|
+
return {
|
|
3444
|
+
reducerName: 'objectLogo'
|
|
3445
|
+
};
|
|
3446
|
+
}],
|
|
3447
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
3448
|
+
return payload;
|
|
3449
|
+
}, function () {
|
|
3450
|
+
return {
|
|
3451
|
+
reducerName: 'objectLogo'
|
|
3452
|
+
};
|
|
3453
|
+
}]
|
|
3454
|
+
},
|
|
3455
|
+
"delete": {
|
|
3456
|
+
REQUEST: [function (payload) {
|
|
3457
|
+
return payload;
|
|
3458
|
+
}, function () {
|
|
3459
|
+
return {
|
|
3460
|
+
reducerName: 'objectLogo'
|
|
3461
|
+
};
|
|
3462
|
+
}],
|
|
3463
|
+
RECEIVE: [function (payload) {
|
|
3464
|
+
return payload;
|
|
3465
|
+
}, function () {
|
|
3466
|
+
return {
|
|
3467
|
+
reducerName: 'objectLogo'
|
|
3468
|
+
};
|
|
3469
|
+
}],
|
|
3470
|
+
ERROR: [function (payload) {
|
|
3471
|
+
return payload;
|
|
3472
|
+
}, function () {
|
|
3473
|
+
return {
|
|
3474
|
+
reducerName: 'objectLogo'
|
|
3475
|
+
};
|
|
3476
|
+
}],
|
|
3477
|
+
CLEARDATA: [function (payload) {
|
|
3478
|
+
return payload;
|
|
3479
|
+
}, function () {
|
|
3480
|
+
return {
|
|
3481
|
+
reducerName: 'objectLogo'
|
|
3482
|
+
};
|
|
3483
|
+
}],
|
|
3484
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
3485
|
+
return payload;
|
|
3486
|
+
}, function () {
|
|
3487
|
+
return {
|
|
3488
|
+
reducerName: 'objectLogo'
|
|
3489
|
+
};
|
|
3490
|
+
}]
|
|
3491
|
+
}
|
|
3492
|
+
},
|
|
3187
3493
|
processblocksampling: {
|
|
3188
3494
|
get: {
|
|
3189
3495
|
REQUEST: [function (payload) {
|
package/dist/reducers/index.js
CHANGED
|
@@ -14,6 +14,10 @@ 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
|
+
charts: (0, _createNamedReducer["default"])('charts'),
|
|
18
|
+
chartFilters: (0, _createNamedReducer["default"])('chartFilters'),
|
|
19
|
+
dashboardPages: (0, _createNamedReducer["default"])('dashboardPages'),
|
|
20
|
+
dashboardPageFilters: (0, _createNamedReducer["default"])('dashboardPageFilters'),
|
|
17
21
|
cropBlockNotes: (0, _createNamedReducer["default"])('cropBlockNotes'),
|
|
18
22
|
cropBlockPhenology: (0, _createNamedReducer["default"])('cropBlockPhenology'),
|
|
19
23
|
cropBlockSetting: (0, _createNamedReducer["default"])('cropBlockSetting'),
|
|
@@ -46,6 +50,7 @@ var rootReducer = {
|
|
|
46
50
|
linkedDocuments: (0, _createNamedReducer["default"])('linkedDocuments'),
|
|
47
51
|
getLookUp: (0, _createNamedReducer["default"])('getLookUp'),
|
|
48
52
|
queueMessage: (0, _createNamedReducer["default"])('queueMessage'),
|
|
53
|
+
objectLogo: (0, _createNamedReducer["default"])('objectLogo'),
|
|
49
54
|
processblocksampling: (0, _createNamedReducer["default"])('processblocksampling'),
|
|
50
55
|
sampleHeaders: (0, _createNamedReducer["default"])('sampleHeaders'),
|
|
51
56
|
sampleHeaderStatus: (0, _createNamedReducer["default"])('sampleHeaderStatus'),
|