vineanova-redux-artifacts 1.119.166 → 1.119.167
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 +90 -16
- package/dist/hooks/index.js +8 -8
- package/dist/reducers/index.js +1 -1
- package/dist/sagas/vineaNovaApi.sagas.js +933 -843
- package/dist/selectors/index.js +8 -8
- package/dist/services/apiServices.js +686 -613
- package/package.json +1 -1
- package/src/actions/commonActions.js +23 -9
- package/src/hooks/index.js +1 -1
- package/src/reducers/index.js +1 -1
- package/src/sagas/vineaNovaApi.sagas.js +71 -9
- package/src/selectors/index.js +1 -1
- package/src/services/apiServices.js +55 -10
package/CHANGELOG.md
CHANGED
|
@@ -6863,45 +6863,121 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
6863
6863
|
}]
|
|
6864
6864
|
}
|
|
6865
6865
|
},
|
|
6866
|
-
|
|
6866
|
+
workRecordsGeneric: {
|
|
6867
6867
|
get: {
|
|
6868
6868
|
REQUEST: [function (payload) {
|
|
6869
6869
|
return payload;
|
|
6870
6870
|
}, function () {
|
|
6871
6871
|
return {
|
|
6872
|
-
reducerName: '
|
|
6872
|
+
reducerName: 'workRecordsGeneric'
|
|
6873
6873
|
};
|
|
6874
6874
|
}],
|
|
6875
6875
|
RECEIVE: [function (payload) {
|
|
6876
6876
|
return payload;
|
|
6877
6877
|
}, function () {
|
|
6878
6878
|
return {
|
|
6879
|
-
reducerName: '
|
|
6879
|
+
reducerName: 'workRecordsGeneric'
|
|
6880
6880
|
};
|
|
6881
6881
|
}],
|
|
6882
6882
|
ERROR: [function (payload) {
|
|
6883
6883
|
return payload;
|
|
6884
6884
|
}, function () {
|
|
6885
6885
|
return {
|
|
6886
|
-
reducerName: '
|
|
6886
|
+
reducerName: 'workRecordsGeneric'
|
|
6887
6887
|
};
|
|
6888
6888
|
}],
|
|
6889
6889
|
CLEARDATA: [function (payload) {
|
|
6890
6890
|
return payload;
|
|
6891
6891
|
}, function () {
|
|
6892
6892
|
return {
|
|
6893
|
-
reducerName: '
|
|
6893
|
+
reducerName: 'workRecordsGeneric'
|
|
6894
6894
|
};
|
|
6895
6895
|
}],
|
|
6896
6896
|
UPDATEPARTIALENTITY: [function (payload) {
|
|
6897
6897
|
return payload;
|
|
6898
6898
|
}, function () {
|
|
6899
6899
|
return {
|
|
6900
|
-
reducerName: '
|
|
6900
|
+
reducerName: 'workRecordsGeneric'
|
|
6901
|
+
};
|
|
6902
|
+
}]
|
|
6903
|
+
},
|
|
6904
|
+
put: {
|
|
6905
|
+
REQUEST: [function (payload) {
|
|
6906
|
+
return payload;
|
|
6907
|
+
}, function () {
|
|
6908
|
+
return {
|
|
6909
|
+
reducerName: 'workRecordsGeneric'
|
|
6910
|
+
};
|
|
6911
|
+
}],
|
|
6912
|
+
RECEIVE: [function (payload) {
|
|
6913
|
+
return payload;
|
|
6914
|
+
}, function () {
|
|
6915
|
+
return {
|
|
6916
|
+
reducerName: 'workRecordsGeneric'
|
|
6917
|
+
};
|
|
6918
|
+
}],
|
|
6919
|
+
ERROR: [function (payload) {
|
|
6920
|
+
return payload;
|
|
6921
|
+
}, function () {
|
|
6922
|
+
return {
|
|
6923
|
+
reducerName: 'workRecordsGeneric'
|
|
6924
|
+
};
|
|
6925
|
+
}],
|
|
6926
|
+
CLEARDATA: [function (payload) {
|
|
6927
|
+
return payload;
|
|
6928
|
+
}, function () {
|
|
6929
|
+
return {
|
|
6930
|
+
reducerName: 'workRecordsGeneric'
|
|
6931
|
+
};
|
|
6932
|
+
}],
|
|
6933
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
6934
|
+
return payload;
|
|
6935
|
+
}, function () {
|
|
6936
|
+
return {
|
|
6937
|
+
reducerName: 'workRecordsGeneric'
|
|
6901
6938
|
};
|
|
6902
6939
|
}]
|
|
6903
6940
|
},
|
|
6904
6941
|
post: {
|
|
6942
|
+
REQUEST: [function (payload) {
|
|
6943
|
+
return payload;
|
|
6944
|
+
}, function () {
|
|
6945
|
+
return {
|
|
6946
|
+
reducerName: 'workRecordsGeneric'
|
|
6947
|
+
};
|
|
6948
|
+
}],
|
|
6949
|
+
RECEIVE: [function (payload) {
|
|
6950
|
+
return payload;
|
|
6951
|
+
}, function () {
|
|
6952
|
+
return {
|
|
6953
|
+
reducerName: 'workRecordsGeneric'
|
|
6954
|
+
};
|
|
6955
|
+
}],
|
|
6956
|
+
ERROR: [function (payload) {
|
|
6957
|
+
return payload;
|
|
6958
|
+
}, function () {
|
|
6959
|
+
return {
|
|
6960
|
+
reducerName: 'workRecordsGeneric'
|
|
6961
|
+
};
|
|
6962
|
+
}],
|
|
6963
|
+
CLEARDATA: [function (payload) {
|
|
6964
|
+
return payload;
|
|
6965
|
+
}, function () {
|
|
6966
|
+
return {
|
|
6967
|
+
reducerName: 'workRecordsGeneric'
|
|
6968
|
+
};
|
|
6969
|
+
}],
|
|
6970
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
6971
|
+
return payload;
|
|
6972
|
+
}, function () {
|
|
6973
|
+
return {
|
|
6974
|
+
reducerName: 'workRecordsGeneric'
|
|
6975
|
+
};
|
|
6976
|
+
}]
|
|
6977
|
+
}
|
|
6978
|
+
},
|
|
6979
|
+
workRecordsHourly: {
|
|
6980
|
+
get: {
|
|
6905
6981
|
REQUEST: [function (payload) {
|
|
6906
6982
|
return payload;
|
|
6907
6983
|
}, function () {
|
|
@@ -6938,7 +7014,7 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
6938
7014
|
};
|
|
6939
7015
|
}]
|
|
6940
7016
|
},
|
|
6941
|
-
|
|
7017
|
+
post: {
|
|
6942
7018
|
REQUEST: [function (payload) {
|
|
6943
7019
|
return payload;
|
|
6944
7020
|
}, function () {
|
|
@@ -6974,43 +7050,41 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
6974
7050
|
reducerName: 'workRecordsHourly'
|
|
6975
7051
|
};
|
|
6976
7052
|
}]
|
|
6977
|
-
}
|
|
6978
|
-
|
|
6979
|
-
workRecordsGeneric: {
|
|
6980
|
-
post: {
|
|
7053
|
+
},
|
|
7054
|
+
put: {
|
|
6981
7055
|
REQUEST: [function (payload) {
|
|
6982
7056
|
return payload;
|
|
6983
7057
|
}, function () {
|
|
6984
7058
|
return {
|
|
6985
|
-
reducerName: '
|
|
7059
|
+
reducerName: 'workRecordsHourly'
|
|
6986
7060
|
};
|
|
6987
7061
|
}],
|
|
6988
7062
|
RECEIVE: [function (payload) {
|
|
6989
7063
|
return payload;
|
|
6990
7064
|
}, function () {
|
|
6991
7065
|
return {
|
|
6992
|
-
reducerName: '
|
|
7066
|
+
reducerName: 'workRecordsHourly'
|
|
6993
7067
|
};
|
|
6994
7068
|
}],
|
|
6995
7069
|
ERROR: [function (payload) {
|
|
6996
7070
|
return payload;
|
|
6997
7071
|
}, function () {
|
|
6998
7072
|
return {
|
|
6999
|
-
reducerName: '
|
|
7073
|
+
reducerName: 'workRecordsHourly'
|
|
7000
7074
|
};
|
|
7001
7075
|
}],
|
|
7002
7076
|
CLEARDATA: [function (payload) {
|
|
7003
7077
|
return payload;
|
|
7004
7078
|
}, function () {
|
|
7005
7079
|
return {
|
|
7006
|
-
reducerName: '
|
|
7080
|
+
reducerName: 'workRecordsHourly'
|
|
7007
7081
|
};
|
|
7008
7082
|
}],
|
|
7009
7083
|
UPDATEPARTIALENTITY: [function (payload) {
|
|
7010
7084
|
return payload;
|
|
7011
7085
|
}, function () {
|
|
7012
7086
|
return {
|
|
7013
|
-
reducerName: '
|
|
7087
|
+
reducerName: 'workRecordsHourly'
|
|
7014
7088
|
};
|
|
7015
7089
|
}]
|
|
7016
7090
|
}
|
package/dist/hooks/index.js
CHANGED
|
@@ -872,25 +872,25 @@ Object.keys(_useFetchjobWorkRecords).forEach(function (key) {
|
|
|
872
872
|
}
|
|
873
873
|
});
|
|
874
874
|
});
|
|
875
|
-
var
|
|
876
|
-
Object.keys(
|
|
875
|
+
var _useFetchworkRecordsGeneric = require("./useFetchworkRecordsGeneric");
|
|
876
|
+
Object.keys(_useFetchworkRecordsGeneric).forEach(function (key) {
|
|
877
877
|
if (key === "default" || key === "__esModule") return;
|
|
878
|
-
if (key in exports && exports[key] ===
|
|
878
|
+
if (key in exports && exports[key] === _useFetchworkRecordsGeneric[key]) return;
|
|
879
879
|
Object.defineProperty(exports, key, {
|
|
880
880
|
enumerable: true,
|
|
881
881
|
get: function get() {
|
|
882
|
-
return
|
|
882
|
+
return _useFetchworkRecordsGeneric[key];
|
|
883
883
|
}
|
|
884
884
|
});
|
|
885
885
|
});
|
|
886
|
-
var
|
|
887
|
-
Object.keys(
|
|
886
|
+
var _useFetchworkRecordsHourly = require("./useFetchworkRecordsHourly");
|
|
887
|
+
Object.keys(_useFetchworkRecordsHourly).forEach(function (key) {
|
|
888
888
|
if (key === "default" || key === "__esModule") return;
|
|
889
|
-
if (key in exports && exports[key] ===
|
|
889
|
+
if (key in exports && exports[key] === _useFetchworkRecordsHourly[key]) return;
|
|
890
890
|
Object.defineProperty(exports, key, {
|
|
891
891
|
enumerable: true,
|
|
892
892
|
get: function get() {
|
|
893
|
-
return
|
|
893
|
+
return _useFetchworkRecordsHourly[key];
|
|
894
894
|
}
|
|
895
895
|
});
|
|
896
896
|
});
|
package/dist/reducers/index.js
CHANGED
|
@@ -88,8 +88,8 @@ var rootReducer = {
|
|
|
88
88
|
jobEvents: (0, _createNamedReducer["default"])('jobEvents'),
|
|
89
89
|
jobSupervisor: (0, _createNamedReducer["default"])('jobSupervisor'),
|
|
90
90
|
jobWorkRecords: (0, _createNamedReducer["default"])('jobWorkRecords'),
|
|
91
|
-
workRecordsHourly: (0, _createNamedReducer["default"])('workRecordsHourly'),
|
|
92
91
|
workRecordsGeneric: (0, _createNamedReducer["default"])('workRecordsGeneric'),
|
|
92
|
+
workRecordsHourly: (0, _createNamedReducer["default"])('workRecordsHourly'),
|
|
93
93
|
linkedDocument: (0, _createNamedReducer["default"])('linkedDocument'),
|
|
94
94
|
linkedDocuments: (0, _createNamedReducer["default"])('linkedDocuments'),
|
|
95
95
|
getLookUp: (0, _createNamedReducer["default"])('getLookUp'),
|