@contentful/field-editor-reference 5.1.6 → 5.1.7
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 +4 -0
- package/dist/__fixtures__/FakeSdk.d.ts +1 -1
- package/dist/__fixtures__/asset/index.d.ts +6 -0
- package/dist/__fixtures__/content-type/index.d.ts +2 -0
- package/dist/__fixtures__/entry/index.d.ts +5 -0
- package/dist/__fixtures__/fixtures.d.ts +6 -0
- package/dist/__fixtures__/locale/index.d.ts +42 -0
- package/dist/__fixtures__/space/index.d.ts +2 -0
- package/dist/field-editor-reference.cjs.development.js +7 -2
- package/dist/field-editor-reference.cjs.development.js.map +1 -1
- package/dist/field-editor-reference.cjs.production.min.js +1 -1
- package/dist/field-editor-reference.cjs.production.min.js.map +1 -1
- package/dist/field-editor-reference.esm.js +7 -2
- package/dist/field-editor-reference.esm.js.map +1 -1
- package/package.json +3 -3
|
@@ -2271,11 +2271,11 @@ var _constate = /*#__PURE__*/constate(function useInitServices(props) {
|
|
|
2271
2271
|
};
|
|
2272
2272
|
}, [onEntityChanged, queryCache, isSameSpaceEntityQueryKey, queryClient]);
|
|
2273
2273
|
return {
|
|
2274
|
+
ids: props.sdk.ids,
|
|
2274
2275
|
cmaClient: cmaClient,
|
|
2275
2276
|
fetch: fetch,
|
|
2276
2277
|
getResource: getResource,
|
|
2277
2278
|
getEntity: getEntity,
|
|
2278
|
-
ids: props.sdk.ids,
|
|
2279
2279
|
getEntityScheduledActions: getEntityScheduledActions
|
|
2280
2280
|
};
|
|
2281
2281
|
}, function (_ref5) {
|
|
@@ -2291,8 +2291,13 @@ var _constate = /*#__PURE__*/constate(function useInitServices(props) {
|
|
|
2291
2291
|
getEntityScheduledActions: getEntityScheduledActions
|
|
2292
2292
|
};
|
|
2293
2293
|
}, function (_ref7) {
|
|
2294
|
+
var _ids$environmentAlias;
|
|
2295
|
+
|
|
2294
2296
|
var ids = _ref7.ids;
|
|
2295
|
-
return
|
|
2297
|
+
return {
|
|
2298
|
+
environment: (_ids$environmentAlias = ids.environmentAlias) != null ? _ids$environmentAlias : ids.environment,
|
|
2299
|
+
space: ids.space
|
|
2300
|
+
};
|
|
2296
2301
|
}),
|
|
2297
2302
|
InternalServiceProvider = _constate[0],
|
|
2298
2303
|
useEntityLoader = _constate[2],
|