@contentful/field-editor-reference 6.13.0 → 6.13.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.
|
@@ -242,10 +242,6 @@ async function fetchExternalResource({ urn, fetch, options, spaceId, environment
|
|
|
242
242
|
spaceId,
|
|
243
243
|
environmentId
|
|
244
244
|
], ({ cmaClient })=>{
|
|
245
|
-
console.log('>> fetch resource types', {
|
|
246
|
-
spaceId,
|
|
247
|
-
environmentId
|
|
248
|
-
});
|
|
249
245
|
return (0, _contentfulmanagement.fetchAll)(({ query })=>cmaClient.resourceType.getForEnvironment({
|
|
250
246
|
spaceId,
|
|
251
247
|
environmentId,
|
|
@@ -253,8 +249,6 @@ async function fetchExternalResource({ urn, fetch, options, spaceId, environment
|
|
|
253
249
|
}), {});
|
|
254
250
|
})
|
|
255
251
|
]);
|
|
256
|
-
console.log('>> resource', resource);
|
|
257
|
-
console.log('>> resourceTypes', resourceTypes);
|
|
258
252
|
const resourceTypeEntity = resourceTypes.find((rt)=>rt.sys.id === resourceType);
|
|
259
253
|
if (!resourceTypeEntity) {
|
|
260
254
|
throw new UnsupportedError('Unsupported resource type');
|
|
@@ -154,10 +154,6 @@ async function fetchExternalResource({ urn, fetch, options, spaceId, environment
|
|
|
154
154
|
spaceId,
|
|
155
155
|
environmentId
|
|
156
156
|
], ({ cmaClient })=>{
|
|
157
|
-
console.log('>> fetch resource types', {
|
|
158
|
-
spaceId,
|
|
159
|
-
environmentId
|
|
160
|
-
});
|
|
161
157
|
return fetchAll(({ query })=>cmaClient.resourceType.getForEnvironment({
|
|
162
158
|
spaceId,
|
|
163
159
|
environmentId,
|
|
@@ -165,8 +161,6 @@ async function fetchExternalResource({ urn, fetch, options, spaceId, environment
|
|
|
165
161
|
}), {});
|
|
166
162
|
})
|
|
167
163
|
]);
|
|
168
|
-
console.log('>> resource', resource);
|
|
169
|
-
console.log('>> resourceTypes', resourceTypes);
|
|
170
164
|
const resourceTypeEntity = resourceTypes.find((rt)=>rt.sys.id === resourceType);
|
|
171
165
|
if (!resourceTypeEntity) {
|
|
172
166
|
throw new UnsupportedError('Unsupported resource type');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-reference",
|
|
3
|
-
"version": "6.13.
|
|
3
|
+
"version": "6.13.1",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@contentful/f36-components": "^5.4.1",
|
|
40
40
|
"@contentful/f36-icons": "^5.4.1",
|
|
41
41
|
"@contentful/f36-tokens": "^5.1.0",
|
|
42
|
-
"@contentful/field-editor-shared": "^2.13.
|
|
42
|
+
"@contentful/field-editor-shared": "^2.13.1",
|
|
43
43
|
"@contentful/mimetype": "^2.2.29",
|
|
44
44
|
"@dnd-kit/core": "^6.0.8",
|
|
45
45
|
"@dnd-kit/modifiers": "^7.0.0",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"registry": "https://npm.pkg.github.com/"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "5a7e41aa7b9bbd285221f164daa777fb48cbdb01"
|
|
71
71
|
}
|