vineanova-redux-artifacts 1.87.0 → 1.89.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 +771 -536
- package/dist/selectors/identityUserPersonSelector.js +58 -0
- package/dist/selectors/index.js +44 -0
- package/dist/selectors/recommendedSampleSizeSelector.js +58 -0
- package/dist/selectors/reportFileSelector.js +58 -0
- package/dist/selectors/sampleHeaderLinesSelector.js +58 -0
- package/dist/services/apiServices.js +675 -471
- 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/reportFileSelector.js +64 -0
- package/src/selectors/sampleHeaderLinesSelector.js +64 -0
- package/src/services/apiServices.js +122 -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) {
|
|
@@ -4626,6 +4702,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
4626
4702
|
}]
|
|
4627
4703
|
}
|
|
4628
4704
|
},
|
|
4705
|
+
reportFile: {
|
|
4706
|
+
post: {
|
|
4707
|
+
REQUEST: [function (payload) {
|
|
4708
|
+
return payload;
|
|
4709
|
+
}, function () {
|
|
4710
|
+
return {
|
|
4711
|
+
reducerName: 'reportFile'
|
|
4712
|
+
};
|
|
4713
|
+
}],
|
|
4714
|
+
RECEIVE: [function (payload) {
|
|
4715
|
+
return payload;
|
|
4716
|
+
}, function () {
|
|
4717
|
+
return {
|
|
4718
|
+
reducerName: 'reportFile'
|
|
4719
|
+
};
|
|
4720
|
+
}],
|
|
4721
|
+
ERROR: [function (payload) {
|
|
4722
|
+
return payload;
|
|
4723
|
+
}, function () {
|
|
4724
|
+
return {
|
|
4725
|
+
reducerName: 'reportFile'
|
|
4726
|
+
};
|
|
4727
|
+
}],
|
|
4728
|
+
CLEARDATA: [function (payload) {
|
|
4729
|
+
return payload;
|
|
4730
|
+
}, function () {
|
|
4731
|
+
return {
|
|
4732
|
+
reducerName: 'reportFile'
|
|
4733
|
+
};
|
|
4734
|
+
}],
|
|
4735
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
4736
|
+
return payload;
|
|
4737
|
+
}, function () {
|
|
4738
|
+
return {
|
|
4739
|
+
reducerName: 'reportFile'
|
|
4740
|
+
};
|
|
4741
|
+
}]
|
|
4742
|
+
}
|
|
4743
|
+
},
|
|
4629
4744
|
sampleHeaders: {
|
|
4630
4745
|
get: {
|
|
4631
4746
|
REQUEST: [function (payload) {
|
|
@@ -4704,6 +4819,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
4704
4819
|
}]
|
|
4705
4820
|
}
|
|
4706
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
|
+
},
|
|
4707
4861
|
sampleHeader: {
|
|
4708
4862
|
"delete": {
|
|
4709
4863
|
REQUEST: [function (payload) {
|
|
@@ -4856,6 +5010,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
4856
5010
|
}]
|
|
4857
5011
|
}
|
|
4858
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
|
+
},
|
|
4859
5052
|
assignSampleHeaders: {
|
|
4860
5053
|
post: {
|
|
4861
5054
|
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'),
|
|
@@ -61,10 +62,13 @@ var rootReducer = {
|
|
|
61
62
|
objectLogo: (0, _createNamedReducer["default"])('objectLogo'),
|
|
62
63
|
processblocksampling: (0, _createNamedReducer["default"])('processblocksampling'),
|
|
63
64
|
reports: (0, _createNamedReducer["default"])('reports'),
|
|
65
|
+
reportFile: (0, _createNamedReducer["default"])('reportFile'),
|
|
64
66
|
sampleHeaders: (0, _createNamedReducer["default"])('sampleHeaders'),
|
|
65
67
|
sampleHeaderStatus: (0, _createNamedReducer["default"])('sampleHeaderStatus'),
|
|
68
|
+
recommendedSampleSize: (0, _createNamedReducer["default"])('recommendedSampleSize'),
|
|
66
69
|
sampleHeader: (0, _createNamedReducer["default"])('sampleHeader'),
|
|
67
70
|
sampleIdentity: (0, _createNamedReducer["default"])('sampleIdentity'),
|
|
71
|
+
sampleHeaderLines: (0, _createNamedReducer["default"])('sampleHeaderLines'),
|
|
68
72
|
assignSampleHeaders: (0, _createNamedReducer["default"])('assignSampleHeaders'),
|
|
69
73
|
samplingUsers: (0, _createNamedReducer["default"])('samplingUsers'),
|
|
70
74
|
deAssignSampleHeaders: (0, _createNamedReducer["default"])('deAssignSampleHeaders'),
|