vineanova-redux-artifacts 1.119.376 → 1.119.377
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/dist/actions/commonActions.js +6 -6
- package/dist/hooks/index.js +4 -4
- package/dist/hooks/{useFetchlookupslastmodified.js → useFetchalllookupslastmodified.js} +6 -6
- package/dist/reducers/index.js +1 -1
- package/dist/sagas/vineaNovaApi.sagas.js +107 -110
- package/dist/selectors/{lookupslastmodifiedSelector.js → alllookupslastmodifiedSelector.js} +5 -5
- package/dist/selectors/index.js +4 -4
- package/dist/selectors/lookupStatusSelector.js +4 -9
- package/dist/services/apiServices.js +6 -8
- package/package.json +1 -1
- package/src/actions/commonActions.js +6 -6
- package/src/hooks/index.js +1 -1
- package/src/hooks/{useFetchlookupslastmodified.js → useFetchalllookupslastmodified.js} +5 -5
- package/src/reducers/index.js +1 -1
- package/src/sagas/vineaNovaApi.sagas.js +3 -6
- package/src/selectors/{lookupslastmodifiedSelector.js → alllookupslastmodifiedSelector.js} +5 -5
- package/src/selectors/index.js +1 -1
- package/src/selectors/lookupStatusSelector.js +0 -9
- package/src/services/apiServices.js +2 -3
|
@@ -10315,41 +10315,41 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
10315
10315
|
}]
|
|
10316
10316
|
}
|
|
10317
10317
|
},
|
|
10318
|
-
|
|
10318
|
+
alllookupslastmodified: {
|
|
10319
10319
|
get: {
|
|
10320
10320
|
REQUEST: [function (payload) {
|
|
10321
10321
|
return payload;
|
|
10322
10322
|
}, function () {
|
|
10323
10323
|
return {
|
|
10324
|
-
reducerName: '
|
|
10324
|
+
reducerName: 'alllookupslastmodified'
|
|
10325
10325
|
};
|
|
10326
10326
|
}],
|
|
10327
10327
|
RECEIVE: [function (payload) {
|
|
10328
10328
|
return payload;
|
|
10329
10329
|
}, function () {
|
|
10330
10330
|
return {
|
|
10331
|
-
reducerName: '
|
|
10331
|
+
reducerName: 'alllookupslastmodified'
|
|
10332
10332
|
};
|
|
10333
10333
|
}],
|
|
10334
10334
|
ERROR: [function (payload) {
|
|
10335
10335
|
return payload;
|
|
10336
10336
|
}, function () {
|
|
10337
10337
|
return {
|
|
10338
|
-
reducerName: '
|
|
10338
|
+
reducerName: 'alllookupslastmodified'
|
|
10339
10339
|
};
|
|
10340
10340
|
}],
|
|
10341
10341
|
CLEARDATA: [function (payload) {
|
|
10342
10342
|
return payload;
|
|
10343
10343
|
}, function () {
|
|
10344
10344
|
return {
|
|
10345
|
-
reducerName: '
|
|
10345
|
+
reducerName: 'alllookupslastmodified'
|
|
10346
10346
|
};
|
|
10347
10347
|
}],
|
|
10348
10348
|
UPDATEPARTIALENTITY: [function (payload) {
|
|
10349
10349
|
return payload;
|
|
10350
10350
|
}, function () {
|
|
10351
10351
|
return {
|
|
10352
|
-
reducerName: '
|
|
10352
|
+
reducerName: 'alllookupslastmodified'
|
|
10353
10353
|
};
|
|
10354
10354
|
}]
|
|
10355
10355
|
}
|
package/dist/hooks/index.js
CHANGED
|
@@ -1543,14 +1543,14 @@ Object.keys(_useFetcheditableLookupRows).forEach(function (key) {
|
|
|
1543
1543
|
}
|
|
1544
1544
|
});
|
|
1545
1545
|
});
|
|
1546
|
-
var
|
|
1547
|
-
Object.keys(
|
|
1546
|
+
var _useFetchalllookupslastmodified = require("./useFetchalllookupslastmodified");
|
|
1547
|
+
Object.keys(_useFetchalllookupslastmodified).forEach(function (key) {
|
|
1548
1548
|
if (key === "default" || key === "__esModule") return;
|
|
1549
|
-
if (key in exports && exports[key] ===
|
|
1549
|
+
if (key in exports && exports[key] === _useFetchalllookupslastmodified[key]) return;
|
|
1550
1550
|
Object.defineProperty(exports, key, {
|
|
1551
1551
|
enumerable: true,
|
|
1552
1552
|
get: function get() {
|
|
1553
|
-
return
|
|
1553
|
+
return _useFetchalllookupslastmodified[key];
|
|
1554
1554
|
}
|
|
1555
1555
|
});
|
|
1556
1556
|
});
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.useFetchalllookupslastmodified = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _reactRedux = require("react-redux");
|
|
9
9
|
var _isEmpty = _interopRequireDefault(require("lodash/isEmpty"));
|
|
@@ -17,10 +17,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
17
17
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
18
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
19
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20
|
-
var
|
|
20
|
+
var useFetchalllookupslastmodified = exports.useFetchalllookupslastmodified = function useFetchalllookupslastmodified(props) {
|
|
21
21
|
// selectors
|
|
22
|
-
var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.
|
|
23
|
-
var entity = (0, _reactRedux.useSelector)(VineaNovaSelectors.
|
|
22
|
+
var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.getalllookupslastmodifiedEntityData);
|
|
23
|
+
var entity = (0, _reactRedux.useSelector)(VineaNovaSelectors.getalllookupslastmodifiedEntityMeta);
|
|
24
24
|
var dispatchAPI = (0, _reactRedux.useDispatch)();
|
|
25
25
|
var _props$queryParams = props.queryParams,
|
|
26
26
|
queryParams = _props$queryParams === void 0 ? {} : _props$queryParams;
|
|
@@ -29,13 +29,13 @@ var useFetchlookupslastmodified = exports.useFetchlookupslastmodified = function
|
|
|
29
29
|
var shouldFetch = !(entity !== null && entity !== void 0 && entity.isLoaded) || (entity === null || entity === void 0 ? void 0 : entity.hasError) || (0, _isEmpty["default"])(entity.data);
|
|
30
30
|
(0, _react.useEffect)(function () {
|
|
31
31
|
if (shouldFetch) {
|
|
32
|
-
dispatchAPI(_actions.VineaNovaActions.api.v1.
|
|
32
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.alllookupslastmodified.get.request({
|
|
33
33
|
queryParams: _objectSpread({}, queryParams)
|
|
34
34
|
}));
|
|
35
35
|
}
|
|
36
36
|
}, [shouldFetch, JSON.stringify(queryParams)]);
|
|
37
37
|
var useQuery = function useQuery(queryParams) {
|
|
38
|
-
dispatchAPI(_actions.VineaNovaActions.api.v1.
|
|
38
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.alllookupslastmodified.get.request({
|
|
39
39
|
queryParams: _objectSpread({}, queryParams)
|
|
40
40
|
}));
|
|
41
41
|
};
|
package/dist/reducers/index.js
CHANGED
|
@@ -149,7 +149,7 @@ var rootReducer = {
|
|
|
149
149
|
canopyProfile: (0, _createNamedReducer["default"])('canopyProfile'),
|
|
150
150
|
editableLookupColumns: (0, _createNamedReducer["default"])('editableLookupColumns'),
|
|
151
151
|
editableLookupRows: (0, _createNamedReducer["default"])('editableLookupRows'),
|
|
152
|
-
|
|
152
|
+
alllookupslastmodified: (0, _createNamedReducer["default"])('alllookupslastmodified'),
|
|
153
153
|
harvestHistory: (0, _createNamedReducer["default"])('harvestHistory'),
|
|
154
154
|
identitySupplyContract: (0, _createNamedReducer["default"])('identitySupplyContract'),
|
|
155
155
|
identityTeam: (0, _createNamedReducer["default"])('identityTeam'),
|