@contentful/field-editor-reference 6.20.0 → 6.20.1
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.
|
@@ -45,7 +45,6 @@ const _fieldeditorshared = require("@contentful/field-editor-shared");
|
|
|
45
45
|
const _constate = /*#__PURE__*/ _interop_require_default(require("constate"));
|
|
46
46
|
const _contentfulmanagement = require("contentful-management");
|
|
47
47
|
const _lodash = require("lodash");
|
|
48
|
-
const _moment = /*#__PURE__*/ _interop_require_default(require("moment"));
|
|
49
48
|
const _pqueue = /*#__PURE__*/ _interop_require_default(require("p-queue"));
|
|
50
49
|
const _queryClient = require("./queryClient");
|
|
51
50
|
function _define_property(obj, key, value) {
|
|
@@ -387,7 +386,6 @@ const [InternalServiceProvider, useFetch, useEntityLoader, useCurrentIds] = (0,
|
|
|
387
386
|
const query = {
|
|
388
387
|
'environment.sys.id': environmentId,
|
|
389
388
|
'sys.status': 'scheduled',
|
|
390
|
-
'scheduledFor.datetime[gte]': (0, _moment.default)().startOf('hour').toISOString(),
|
|
391
389
|
'entity.sys.linkType[in]': 'Entry,Asset',
|
|
392
390
|
order: '-scheduledFor.datetime',
|
|
393
391
|
limit: maxScheduledActions
|
|
@@ -16,7 +16,6 @@ import { createGetContentTypeKey, createGetEntryKey, createGetSpaceKey } from '@
|
|
|
16
16
|
import constate from 'constate';
|
|
17
17
|
import { fetchAll } from 'contentful-management';
|
|
18
18
|
import { get } from 'lodash';
|
|
19
|
-
import moment from 'moment';
|
|
20
19
|
import PQueue from 'p-queue';
|
|
21
20
|
import { SharedQueryClientProvider, useQuery, useQueryClient } from './queryClient';
|
|
22
21
|
export function isContentfulResourceInfo(info) {
|
|
@@ -299,7 +298,6 @@ const [InternalServiceProvider, useFetch, useEntityLoader, useCurrentIds] = cons
|
|
|
299
298
|
const query = {
|
|
300
299
|
'environment.sys.id': environmentId,
|
|
301
300
|
'sys.status': 'scheduled',
|
|
302
|
-
'scheduledFor.datetime[gte]': moment().startOf('hour').toISOString(),
|
|
303
301
|
'entity.sys.linkType[in]': 'Entry,Asset',
|
|
304
302
|
order: '-scheduledFor.datetime',
|
|
305
303
|
limit: maxScheduledActions
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-reference",
|
|
3
|
-
"version": "6.20.
|
|
3
|
+
"version": "6.20.1",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"registry": "https://npm.pkg.github.com/"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "65018448c9f15cb25505fbab47b0b3b5f9185f88"
|
|
72
72
|
}
|