vineanova-redux-artifacts 1.45.0 → 1.48.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 +267 -0
- package/dist/reducers/index.js +5 -1
- package/dist/sagas/vineaNovaApi.sagas.js +764 -353
- package/dist/selectors/index.js +52 -0
- package/dist/selectors/lookupDocumentStatusSelector.js +71 -0
- package/dist/selectors/lookupDocumentTypeSelector.js +71 -0
- package/dist/selectors/lookupInactiveReasonSelector.js +71 -0
- package/dist/selectors/lookupStatusSelector.js +22 -4
- package/dist/selectors/objectLogoSelector.js +71 -0
- package/dist/services/apiServices.js +669 -292
- package/package.json +1 -1
- package/src/actions/commonActions.js +57 -0
- package/src/reducers/index.js +4 -0
- package/src/sagas/vineaNovaApi.sagas.js +230 -0
- package/src/selectors/index.js +4 -0
- package/src/selectors/lookupDocumentStatusSelector.js +64 -0
- package/src/selectors/lookupDocumentTypeSelector.js +64 -0
- package/src/selectors/lookupInactiveReasonSelector.js +64 -0
- package/src/selectors/lookupStatusSelector.js +27 -0
- package/src/selectors/objectLogoSelector.js +64 -0
- package/src/services/apiServices.js +192 -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.48.0 (2022-03-14)
|
|
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))
|
|
@@ -3184,6 +3184,156 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
3184
3184
|
}]
|
|
3185
3185
|
}
|
|
3186
3186
|
},
|
|
3187
|
+
objectLogo: {
|
|
3188
|
+
post: {
|
|
3189
|
+
REQUEST: [function (payload) {
|
|
3190
|
+
return payload;
|
|
3191
|
+
}, function () {
|
|
3192
|
+
return {
|
|
3193
|
+
reducerName: 'objectLogo'
|
|
3194
|
+
};
|
|
3195
|
+
}],
|
|
3196
|
+
RECEIVE: [function (payload) {
|
|
3197
|
+
return payload;
|
|
3198
|
+
}, function () {
|
|
3199
|
+
return {
|
|
3200
|
+
reducerName: 'objectLogo'
|
|
3201
|
+
};
|
|
3202
|
+
}],
|
|
3203
|
+
ERROR: [function (payload) {
|
|
3204
|
+
return payload;
|
|
3205
|
+
}, function () {
|
|
3206
|
+
return {
|
|
3207
|
+
reducerName: 'objectLogo'
|
|
3208
|
+
};
|
|
3209
|
+
}],
|
|
3210
|
+
CLEARDATA: [function (payload) {
|
|
3211
|
+
return payload;
|
|
3212
|
+
}, function () {
|
|
3213
|
+
return {
|
|
3214
|
+
reducerName: 'objectLogo'
|
|
3215
|
+
};
|
|
3216
|
+
}],
|
|
3217
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
3218
|
+
return payload;
|
|
3219
|
+
}, function () {
|
|
3220
|
+
return {
|
|
3221
|
+
reducerName: 'objectLogo'
|
|
3222
|
+
};
|
|
3223
|
+
}]
|
|
3224
|
+
},
|
|
3225
|
+
get: {
|
|
3226
|
+
REQUEST: [function (payload) {
|
|
3227
|
+
return payload;
|
|
3228
|
+
}, function () {
|
|
3229
|
+
return {
|
|
3230
|
+
reducerName: 'objectLogo'
|
|
3231
|
+
};
|
|
3232
|
+
}],
|
|
3233
|
+
RECEIVE: [function (payload) {
|
|
3234
|
+
return payload;
|
|
3235
|
+
}, function () {
|
|
3236
|
+
return {
|
|
3237
|
+
reducerName: 'objectLogo'
|
|
3238
|
+
};
|
|
3239
|
+
}],
|
|
3240
|
+
ERROR: [function (payload) {
|
|
3241
|
+
return payload;
|
|
3242
|
+
}, function () {
|
|
3243
|
+
return {
|
|
3244
|
+
reducerName: 'objectLogo'
|
|
3245
|
+
};
|
|
3246
|
+
}],
|
|
3247
|
+
CLEARDATA: [function (payload) {
|
|
3248
|
+
return payload;
|
|
3249
|
+
}, function () {
|
|
3250
|
+
return {
|
|
3251
|
+
reducerName: 'objectLogo'
|
|
3252
|
+
};
|
|
3253
|
+
}],
|
|
3254
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
3255
|
+
return payload;
|
|
3256
|
+
}, function () {
|
|
3257
|
+
return {
|
|
3258
|
+
reducerName: 'objectLogo'
|
|
3259
|
+
};
|
|
3260
|
+
}]
|
|
3261
|
+
},
|
|
3262
|
+
put: {
|
|
3263
|
+
REQUEST: [function (payload) {
|
|
3264
|
+
return payload;
|
|
3265
|
+
}, function () {
|
|
3266
|
+
return {
|
|
3267
|
+
reducerName: 'objectLogo'
|
|
3268
|
+
};
|
|
3269
|
+
}],
|
|
3270
|
+
RECEIVE: [function (payload) {
|
|
3271
|
+
return payload;
|
|
3272
|
+
}, function () {
|
|
3273
|
+
return {
|
|
3274
|
+
reducerName: 'objectLogo'
|
|
3275
|
+
};
|
|
3276
|
+
}],
|
|
3277
|
+
ERROR: [function (payload) {
|
|
3278
|
+
return payload;
|
|
3279
|
+
}, function () {
|
|
3280
|
+
return {
|
|
3281
|
+
reducerName: 'objectLogo'
|
|
3282
|
+
};
|
|
3283
|
+
}],
|
|
3284
|
+
CLEARDATA: [function (payload) {
|
|
3285
|
+
return payload;
|
|
3286
|
+
}, function () {
|
|
3287
|
+
return {
|
|
3288
|
+
reducerName: 'objectLogo'
|
|
3289
|
+
};
|
|
3290
|
+
}],
|
|
3291
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
3292
|
+
return payload;
|
|
3293
|
+
}, function () {
|
|
3294
|
+
return {
|
|
3295
|
+
reducerName: 'objectLogo'
|
|
3296
|
+
};
|
|
3297
|
+
}]
|
|
3298
|
+
},
|
|
3299
|
+
"delete": {
|
|
3300
|
+
REQUEST: [function (payload) {
|
|
3301
|
+
return payload;
|
|
3302
|
+
}, function () {
|
|
3303
|
+
return {
|
|
3304
|
+
reducerName: 'objectLogo'
|
|
3305
|
+
};
|
|
3306
|
+
}],
|
|
3307
|
+
RECEIVE: [function (payload) {
|
|
3308
|
+
return payload;
|
|
3309
|
+
}, function () {
|
|
3310
|
+
return {
|
|
3311
|
+
reducerName: 'objectLogo'
|
|
3312
|
+
};
|
|
3313
|
+
}],
|
|
3314
|
+
ERROR: [function (payload) {
|
|
3315
|
+
return payload;
|
|
3316
|
+
}, function () {
|
|
3317
|
+
return {
|
|
3318
|
+
reducerName: 'objectLogo'
|
|
3319
|
+
};
|
|
3320
|
+
}],
|
|
3321
|
+
CLEARDATA: [function (payload) {
|
|
3322
|
+
return payload;
|
|
3323
|
+
}, function () {
|
|
3324
|
+
return {
|
|
3325
|
+
reducerName: 'objectLogo'
|
|
3326
|
+
};
|
|
3327
|
+
}],
|
|
3328
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
3329
|
+
return payload;
|
|
3330
|
+
}, function () {
|
|
3331
|
+
return {
|
|
3332
|
+
reducerName: 'objectLogo'
|
|
3333
|
+
};
|
|
3334
|
+
}]
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
3187
3337
|
processblocksampling: {
|
|
3188
3338
|
get: {
|
|
3189
3339
|
REQUEST: [function (payload) {
|
|
@@ -5668,6 +5818,123 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
5668
5818
|
}]
|
|
5669
5819
|
}
|
|
5670
5820
|
},
|
|
5821
|
+
lookupInactiveReason: {
|
|
5822
|
+
get: {
|
|
5823
|
+
REQUEST: [function (payload) {
|
|
5824
|
+
return payload;
|
|
5825
|
+
}, function () {
|
|
5826
|
+
return {
|
|
5827
|
+
reducerName: 'lookupInactiveReason'
|
|
5828
|
+
};
|
|
5829
|
+
}],
|
|
5830
|
+
RECEIVE: [function (payload) {
|
|
5831
|
+
return payload;
|
|
5832
|
+
}, function () {
|
|
5833
|
+
return {
|
|
5834
|
+
reducerName: 'lookupInactiveReason'
|
|
5835
|
+
};
|
|
5836
|
+
}],
|
|
5837
|
+
ERROR: [function (payload) {
|
|
5838
|
+
return payload;
|
|
5839
|
+
}, function () {
|
|
5840
|
+
return {
|
|
5841
|
+
reducerName: 'lookupInactiveReason'
|
|
5842
|
+
};
|
|
5843
|
+
}],
|
|
5844
|
+
CLEARDATA: [function (payload) {
|
|
5845
|
+
return payload;
|
|
5846
|
+
}, function () {
|
|
5847
|
+
return {
|
|
5848
|
+
reducerName: 'lookupInactiveReason'
|
|
5849
|
+
};
|
|
5850
|
+
}],
|
|
5851
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5852
|
+
return payload;
|
|
5853
|
+
}, function () {
|
|
5854
|
+
return {
|
|
5855
|
+
reducerName: 'lookupInactiveReason'
|
|
5856
|
+
};
|
|
5857
|
+
}]
|
|
5858
|
+
}
|
|
5859
|
+
},
|
|
5860
|
+
lookupDocumentType: {
|
|
5861
|
+
get: {
|
|
5862
|
+
REQUEST: [function (payload) {
|
|
5863
|
+
return payload;
|
|
5864
|
+
}, function () {
|
|
5865
|
+
return {
|
|
5866
|
+
reducerName: 'lookupDocumentType'
|
|
5867
|
+
};
|
|
5868
|
+
}],
|
|
5869
|
+
RECEIVE: [function (payload) {
|
|
5870
|
+
return payload;
|
|
5871
|
+
}, function () {
|
|
5872
|
+
return {
|
|
5873
|
+
reducerName: 'lookupDocumentType'
|
|
5874
|
+
};
|
|
5875
|
+
}],
|
|
5876
|
+
ERROR: [function (payload) {
|
|
5877
|
+
return payload;
|
|
5878
|
+
}, function () {
|
|
5879
|
+
return {
|
|
5880
|
+
reducerName: 'lookupDocumentType'
|
|
5881
|
+
};
|
|
5882
|
+
}],
|
|
5883
|
+
CLEARDATA: [function (payload) {
|
|
5884
|
+
return payload;
|
|
5885
|
+
}, function () {
|
|
5886
|
+
return {
|
|
5887
|
+
reducerName: 'lookupDocumentType'
|
|
5888
|
+
};
|
|
5889
|
+
}],
|
|
5890
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5891
|
+
return payload;
|
|
5892
|
+
}, function () {
|
|
5893
|
+
return {
|
|
5894
|
+
reducerName: 'lookupDocumentType'
|
|
5895
|
+
};
|
|
5896
|
+
}]
|
|
5897
|
+
}
|
|
5898
|
+
},
|
|
5899
|
+
lookupDocumentStatus: {
|
|
5900
|
+
get: {
|
|
5901
|
+
REQUEST: [function (payload) {
|
|
5902
|
+
return payload;
|
|
5903
|
+
}, function () {
|
|
5904
|
+
return {
|
|
5905
|
+
reducerName: 'lookupDocumentStatus'
|
|
5906
|
+
};
|
|
5907
|
+
}],
|
|
5908
|
+
RECEIVE: [function (payload) {
|
|
5909
|
+
return payload;
|
|
5910
|
+
}, function () {
|
|
5911
|
+
return {
|
|
5912
|
+
reducerName: 'lookupDocumentStatus'
|
|
5913
|
+
};
|
|
5914
|
+
}],
|
|
5915
|
+
ERROR: [function (payload) {
|
|
5916
|
+
return payload;
|
|
5917
|
+
}, function () {
|
|
5918
|
+
return {
|
|
5919
|
+
reducerName: 'lookupDocumentStatus'
|
|
5920
|
+
};
|
|
5921
|
+
}],
|
|
5922
|
+
CLEARDATA: [function (payload) {
|
|
5923
|
+
return payload;
|
|
5924
|
+
}, function () {
|
|
5925
|
+
return {
|
|
5926
|
+
reducerName: 'lookupDocumentStatus'
|
|
5927
|
+
};
|
|
5928
|
+
}],
|
|
5929
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5930
|
+
return payload;
|
|
5931
|
+
}, function () {
|
|
5932
|
+
return {
|
|
5933
|
+
reducerName: 'lookupDocumentStatus'
|
|
5934
|
+
};
|
|
5935
|
+
}]
|
|
5936
|
+
}
|
|
5937
|
+
},
|
|
5671
5938
|
fetchAllLookups: {
|
|
5672
5939
|
REQUEST: [function (payload) {
|
|
5673
5940
|
return payload;
|
package/dist/reducers/index.js
CHANGED
|
@@ -46,6 +46,7 @@ var rootReducer = {
|
|
|
46
46
|
linkedDocuments: (0, _createNamedReducer["default"])('linkedDocuments'),
|
|
47
47
|
getLookUp: (0, _createNamedReducer["default"])('getLookUp'),
|
|
48
48
|
queueMessage: (0, _createNamedReducer["default"])('queueMessage'),
|
|
49
|
+
objectLogo: (0, _createNamedReducer["default"])('objectLogo'),
|
|
49
50
|
processblocksampling: (0, _createNamedReducer["default"])('processblocksampling'),
|
|
50
51
|
sampleHeaders: (0, _createNamedReducer["default"])('sampleHeaders'),
|
|
51
52
|
sampleHeaderStatus: (0, _createNamedReducer["default"])('sampleHeaderStatus'),
|
|
@@ -103,7 +104,10 @@ var rootReducer = {
|
|
|
103
104
|
lookupPhenologyMeasureSet: (0, _createNamedReducer["default"])('lookupPhenologyMeasureSet'),
|
|
104
105
|
lookupPhenologyMeasureType: (0, _createNamedReducer["default"])('lookupPhenologyMeasureType'),
|
|
105
106
|
lookupCropSettingInstance: (0, _createNamedReducer["default"])('lookupCropSettingInstance'),
|
|
106
|
-
lookupCropSettingOption: (0, _createNamedReducer["default"])('lookupCropSettingOption')
|
|
107
|
+
lookupCropSettingOption: (0, _createNamedReducer["default"])('lookupCropSettingOption'),
|
|
108
|
+
lookupInactiveReason: (0, _createNamedReducer["default"])('lookupInactiveReason'),
|
|
109
|
+
lookupDocumentType: (0, _createNamedReducer["default"])('lookupDocumentType'),
|
|
110
|
+
lookupDocumentStatus: (0, _createNamedReducer["default"])('lookupDocumentStatus')
|
|
107
111
|
})
|
|
108
112
|
};
|
|
109
113
|
var _default = rootReducer;
|