vineanova-redux-artifacts 1.88.0 → 1.90.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 +193 -0
- package/dist/reducers/index.js +4 -0
- package/dist/sagas/vineaNovaApi.sagas.js +775 -540
- package/dist/selectors/identityUserPersonSelector.js +58 -0
- package/dist/selectors/index.js +44 -0
- package/dist/selectors/recommendedSampleSizeSelector.js +58 -0
- package/dist/selectors/regionVineyardGeometrySelector.js +58 -0
- package/dist/selectors/sampleHeaderLinesSelector.js +58 -0
- package/dist/services/apiServices.js +684 -481
- package/dist/services/config/serviceConfig.js +3 -1
- package/package.json +1 -1
- package/src/actions/commonActions.js +43 -0
- package/src/reducers/index.js +4 -0
- package/src/sagas/vineaNovaApi.sagas.js +159 -0
- package/src/selectors/identityUserPersonSelector.js +64 -0
- package/src/selectors/index.js +4 -0
- package/src/selectors/recommendedSampleSizeSelector.js +64 -0
- package/src/selectors/regionVineyardGeometrySelector.js +64 -0
- package/src/selectors/sampleHeaderLinesSelector.js +64 -0
- package/src/services/apiServices.js +121 -0
- package/src/services/config/serviceConfig.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -3638,6 +3638,82 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
3638
3638
|
}]
|
|
3639
3639
|
}
|
|
3640
3640
|
},
|
|
3641
|
+
identityUserPerson: {
|
|
3642
|
+
put: {
|
|
3643
|
+
REQUEST: [function (payload) {
|
|
3644
|
+
return payload;
|
|
3645
|
+
}, function () {
|
|
3646
|
+
return {
|
|
3647
|
+
reducerName: 'identityUserPerson'
|
|
3648
|
+
};
|
|
3649
|
+
}],
|
|
3650
|
+
RECEIVE: [function (payload) {
|
|
3651
|
+
return payload;
|
|
3652
|
+
}, function () {
|
|
3653
|
+
return {
|
|
3654
|
+
reducerName: 'identityUserPerson'
|
|
3655
|
+
};
|
|
3656
|
+
}],
|
|
3657
|
+
ERROR: [function (payload) {
|
|
3658
|
+
return payload;
|
|
3659
|
+
}, function () {
|
|
3660
|
+
return {
|
|
3661
|
+
reducerName: 'identityUserPerson'
|
|
3662
|
+
};
|
|
3663
|
+
}],
|
|
3664
|
+
CLEARDATA: [function (payload) {
|
|
3665
|
+
return payload;
|
|
3666
|
+
}, function () {
|
|
3667
|
+
return {
|
|
3668
|
+
reducerName: 'identityUserPerson'
|
|
3669
|
+
};
|
|
3670
|
+
}],
|
|
3671
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
3672
|
+
return payload;
|
|
3673
|
+
}, function () {
|
|
3674
|
+
return {
|
|
3675
|
+
reducerName: 'identityUserPerson'
|
|
3676
|
+
};
|
|
3677
|
+
}]
|
|
3678
|
+
},
|
|
3679
|
+
get: {
|
|
3680
|
+
REQUEST: [function (payload) {
|
|
3681
|
+
return payload;
|
|
3682
|
+
}, function () {
|
|
3683
|
+
return {
|
|
3684
|
+
reducerName: 'identityUserPerson'
|
|
3685
|
+
};
|
|
3686
|
+
}],
|
|
3687
|
+
RECEIVE: [function (payload) {
|
|
3688
|
+
return payload;
|
|
3689
|
+
}, function () {
|
|
3690
|
+
return {
|
|
3691
|
+
reducerName: 'identityUserPerson'
|
|
3692
|
+
};
|
|
3693
|
+
}],
|
|
3694
|
+
ERROR: [function (payload) {
|
|
3695
|
+
return payload;
|
|
3696
|
+
}, function () {
|
|
3697
|
+
return {
|
|
3698
|
+
reducerName: 'identityUserPerson'
|
|
3699
|
+
};
|
|
3700
|
+
}],
|
|
3701
|
+
CLEARDATA: [function (payload) {
|
|
3702
|
+
return payload;
|
|
3703
|
+
}, function () {
|
|
3704
|
+
return {
|
|
3705
|
+
reducerName: 'identityUserPerson'
|
|
3706
|
+
};
|
|
3707
|
+
}],
|
|
3708
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
3709
|
+
return payload;
|
|
3710
|
+
}, function () {
|
|
3711
|
+
return {
|
|
3712
|
+
reducerName: 'identityUserPerson'
|
|
3713
|
+
};
|
|
3714
|
+
}]
|
|
3715
|
+
}
|
|
3716
|
+
},
|
|
3641
3717
|
identityVehicle: {
|
|
3642
3718
|
post: {
|
|
3643
3719
|
REQUEST: [function (payload) {
|
|
@@ -4743,6 +4819,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
4743
4819
|
}]
|
|
4744
4820
|
}
|
|
4745
4821
|
},
|
|
4822
|
+
recommendedSampleSize: {
|
|
4823
|
+
put: {
|
|
4824
|
+
REQUEST: [function (payload) {
|
|
4825
|
+
return payload;
|
|
4826
|
+
}, function () {
|
|
4827
|
+
return {
|
|
4828
|
+
reducerName: 'recommendedSampleSize'
|
|
4829
|
+
};
|
|
4830
|
+
}],
|
|
4831
|
+
RECEIVE: [function (payload) {
|
|
4832
|
+
return payload;
|
|
4833
|
+
}, function () {
|
|
4834
|
+
return {
|
|
4835
|
+
reducerName: 'recommendedSampleSize'
|
|
4836
|
+
};
|
|
4837
|
+
}],
|
|
4838
|
+
ERROR: [function (payload) {
|
|
4839
|
+
return payload;
|
|
4840
|
+
}, function () {
|
|
4841
|
+
return {
|
|
4842
|
+
reducerName: 'recommendedSampleSize'
|
|
4843
|
+
};
|
|
4844
|
+
}],
|
|
4845
|
+
CLEARDATA: [function (payload) {
|
|
4846
|
+
return payload;
|
|
4847
|
+
}, function () {
|
|
4848
|
+
return {
|
|
4849
|
+
reducerName: 'recommendedSampleSize'
|
|
4850
|
+
};
|
|
4851
|
+
}],
|
|
4852
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
4853
|
+
return payload;
|
|
4854
|
+
}, function () {
|
|
4855
|
+
return {
|
|
4856
|
+
reducerName: 'recommendedSampleSize'
|
|
4857
|
+
};
|
|
4858
|
+
}]
|
|
4859
|
+
}
|
|
4860
|
+
},
|
|
4746
4861
|
sampleHeader: {
|
|
4747
4862
|
"delete": {
|
|
4748
4863
|
REQUEST: [function (payload) {
|
|
@@ -4895,6 +5010,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
4895
5010
|
}]
|
|
4896
5011
|
}
|
|
4897
5012
|
},
|
|
5013
|
+
sampleHeaderLines: {
|
|
5014
|
+
get: {
|
|
5015
|
+
REQUEST: [function (payload) {
|
|
5016
|
+
return payload;
|
|
5017
|
+
}, function () {
|
|
5018
|
+
return {
|
|
5019
|
+
reducerName: 'sampleHeaderLines'
|
|
5020
|
+
};
|
|
5021
|
+
}],
|
|
5022
|
+
RECEIVE: [function (payload) {
|
|
5023
|
+
return payload;
|
|
5024
|
+
}, function () {
|
|
5025
|
+
return {
|
|
5026
|
+
reducerName: 'sampleHeaderLines'
|
|
5027
|
+
};
|
|
5028
|
+
}],
|
|
5029
|
+
ERROR: [function (payload) {
|
|
5030
|
+
return payload;
|
|
5031
|
+
}, function () {
|
|
5032
|
+
return {
|
|
5033
|
+
reducerName: 'sampleHeaderLines'
|
|
5034
|
+
};
|
|
5035
|
+
}],
|
|
5036
|
+
CLEARDATA: [function (payload) {
|
|
5037
|
+
return payload;
|
|
5038
|
+
}, function () {
|
|
5039
|
+
return {
|
|
5040
|
+
reducerName: 'sampleHeaderLines'
|
|
5041
|
+
};
|
|
5042
|
+
}],
|
|
5043
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5044
|
+
return payload;
|
|
5045
|
+
}, function () {
|
|
5046
|
+
return {
|
|
5047
|
+
reducerName: 'sampleHeaderLines'
|
|
5048
|
+
};
|
|
5049
|
+
}]
|
|
5050
|
+
}
|
|
5051
|
+
},
|
|
4898
5052
|
assignSampleHeaders: {
|
|
4899
5053
|
post: {
|
|
4900
5054
|
REQUEST: [function (payload) {
|
|
@@ -5324,6 +5478,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
5324
5478
|
}]
|
|
5325
5479
|
}
|
|
5326
5480
|
},
|
|
5481
|
+
regionVineyardGeometry: {
|
|
5482
|
+
get: {
|
|
5483
|
+
REQUEST: [function (payload) {
|
|
5484
|
+
return payload;
|
|
5485
|
+
}, function () {
|
|
5486
|
+
return {
|
|
5487
|
+
reducerName: 'regionVineyardGeometry'
|
|
5488
|
+
};
|
|
5489
|
+
}],
|
|
5490
|
+
RECEIVE: [function (payload) {
|
|
5491
|
+
return payload;
|
|
5492
|
+
}, function () {
|
|
5493
|
+
return {
|
|
5494
|
+
reducerName: 'regionVineyardGeometry'
|
|
5495
|
+
};
|
|
5496
|
+
}],
|
|
5497
|
+
ERROR: [function (payload) {
|
|
5498
|
+
return payload;
|
|
5499
|
+
}, function () {
|
|
5500
|
+
return {
|
|
5501
|
+
reducerName: 'regionVineyardGeometry'
|
|
5502
|
+
};
|
|
5503
|
+
}],
|
|
5504
|
+
CLEARDATA: [function (payload) {
|
|
5505
|
+
return payload;
|
|
5506
|
+
}, function () {
|
|
5507
|
+
return {
|
|
5508
|
+
reducerName: 'regionVineyardGeometry'
|
|
5509
|
+
};
|
|
5510
|
+
}],
|
|
5511
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5512
|
+
return payload;
|
|
5513
|
+
}, function () {
|
|
5514
|
+
return {
|
|
5515
|
+
reducerName: 'regionVineyardGeometry'
|
|
5516
|
+
};
|
|
5517
|
+
}]
|
|
5518
|
+
}
|
|
5519
|
+
},
|
|
5327
5520
|
vineyardBlockActivityProgress: {
|
|
5328
5521
|
get: {
|
|
5329
5522
|
REQUEST: [function (payload) {
|
package/dist/reducers/index.js
CHANGED
|
@@ -48,6 +48,7 @@ var rootReducer = {
|
|
|
48
48
|
identityRelationshipType: (0, _createNamedReducer["default"])('identityRelationshipType'),
|
|
49
49
|
identityRole: (0, _createNamedReducer["default"])('identityRole'),
|
|
50
50
|
identityServiceProvider: (0, _createNamedReducer["default"])('identityServiceProvider'),
|
|
51
|
+
identityUserPerson: (0, _createNamedReducer["default"])('identityUserPerson'),
|
|
51
52
|
identityVehicle: (0, _createNamedReducer["default"])('identityVehicle'),
|
|
52
53
|
gridVineyardBlocks: (0, _createNamedReducer["default"])('gridVineyardBlocks'),
|
|
53
54
|
identityVineyardBlocks: (0, _createNamedReducer["default"])('identityVineyardBlocks'),
|
|
@@ -64,8 +65,10 @@ var rootReducer = {
|
|
|
64
65
|
reportFile: (0, _createNamedReducer["default"])('reportFile'),
|
|
65
66
|
sampleHeaders: (0, _createNamedReducer["default"])('sampleHeaders'),
|
|
66
67
|
sampleHeaderStatus: (0, _createNamedReducer["default"])('sampleHeaderStatus'),
|
|
68
|
+
recommendedSampleSize: (0, _createNamedReducer["default"])('recommendedSampleSize'),
|
|
67
69
|
sampleHeader: (0, _createNamedReducer["default"])('sampleHeader'),
|
|
68
70
|
sampleIdentity: (0, _createNamedReducer["default"])('sampleIdentity'),
|
|
71
|
+
sampleHeaderLines: (0, _createNamedReducer["default"])('sampleHeaderLines'),
|
|
69
72
|
assignSampleHeaders: (0, _createNamedReducer["default"])('assignSampleHeaders'),
|
|
70
73
|
samplingUsers: (0, _createNamedReducer["default"])('samplingUsers'),
|
|
71
74
|
deAssignSampleHeaders: (0, _createNamedReducer["default"])('deAssignSampleHeaders'),
|
|
@@ -77,6 +80,7 @@ var rootReducer = {
|
|
|
77
80
|
searchTrackingBlockVintages: (0, _createNamedReducer["default"])('searchTrackingBlockVintages'),
|
|
78
81
|
vineyardBlocksGeometry: (0, _createNamedReducer["default"])('vineyardBlocksGeometry'),
|
|
79
82
|
vineyardGeometry: (0, _createNamedReducer["default"])('vineyardGeometry'),
|
|
83
|
+
regionVineyardGeometry: (0, _createNamedReducer["default"])('regionVineyardGeometry'),
|
|
80
84
|
vineyardBlockActivityProgress: (0, _createNamedReducer["default"])('vineyardBlockActivityProgress'),
|
|
81
85
|
identityVineyard: (0, _createNamedReducer["default"])('identityVineyard'),
|
|
82
86
|
lookupClassification: (0, _createNamedReducer["default"])('lookupClassification'),
|