@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.1.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@5.1.6...@contentful/field-editor-reference@5.1.7) (2022-09-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @contentful/field-editor-reference
|
|
9
|
+
|
|
6
10
|
## [5.1.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@5.1.5...@contentful/field-editor-reference@5.1.6) (2022-09-07)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import changed from './changed_asset.json';
|
|
2
|
+
import created from './created_asset.json';
|
|
3
|
+
import empty from './empty_asset.json';
|
|
4
|
+
import invalid from './invalid_asset.json';
|
|
5
|
+
import published from './published_asset.json';
|
|
6
|
+
export { changed, empty, published, invalid, created };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import englishDefault from './english_default_locale.json';
|
|
2
|
+
import german from './german_locale.json';
|
|
3
|
+
declare const list: {
|
|
4
|
+
sys: {
|
|
5
|
+
type: string;
|
|
6
|
+
};
|
|
7
|
+
total: number;
|
|
8
|
+
skip: number;
|
|
9
|
+
limit: number;
|
|
10
|
+
items: {
|
|
11
|
+
sys: {
|
|
12
|
+
id: string;
|
|
13
|
+
type: string;
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
version: number;
|
|
17
|
+
space: {
|
|
18
|
+
sys: {
|
|
19
|
+
type: string;
|
|
20
|
+
linkType: string;
|
|
21
|
+
id: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
environment: {
|
|
25
|
+
sys: {
|
|
26
|
+
id: string;
|
|
27
|
+
type: string;
|
|
28
|
+
linkType: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
name: string;
|
|
33
|
+
code: string;
|
|
34
|
+
internal_code: string;
|
|
35
|
+
fallbackCode: null;
|
|
36
|
+
contentDeliveryApi: boolean;
|
|
37
|
+
contentManagementApi: boolean;
|
|
38
|
+
default: boolean;
|
|
39
|
+
optional: boolean;
|
|
40
|
+
}[];
|
|
41
|
+
};
|
|
42
|
+
export { englishDefault, german, list };
|
|
@@ -2278,11 +2278,11 @@ var _constate = /*#__PURE__*/constate(function useInitServices(props) {
|
|
|
2278
2278
|
};
|
|
2279
2279
|
}, [onEntityChanged, queryCache, isSameSpaceEntityQueryKey, queryClient]);
|
|
2280
2280
|
return {
|
|
2281
|
+
ids: props.sdk.ids,
|
|
2281
2282
|
cmaClient: cmaClient,
|
|
2282
2283
|
fetch: fetch,
|
|
2283
2284
|
getResource: getResource,
|
|
2284
2285
|
getEntity: getEntity,
|
|
2285
|
-
ids: props.sdk.ids,
|
|
2286
2286
|
getEntityScheduledActions: getEntityScheduledActions
|
|
2287
2287
|
};
|
|
2288
2288
|
}, function (_ref5) {
|
|
@@ -2298,8 +2298,13 @@ var _constate = /*#__PURE__*/constate(function useInitServices(props) {
|
|
|
2298
2298
|
getEntityScheduledActions: getEntityScheduledActions
|
|
2299
2299
|
};
|
|
2300
2300
|
}, function (_ref7) {
|
|
2301
|
+
var _ids$environmentAlias;
|
|
2302
|
+
|
|
2301
2303
|
var ids = _ref7.ids;
|
|
2302
|
-
return
|
|
2304
|
+
return {
|
|
2305
|
+
environment: (_ids$environmentAlias = ids.environmentAlias) != null ? _ids$environmentAlias : ids.environment,
|
|
2306
|
+
space: ids.space
|
|
2307
|
+
};
|
|
2303
2308
|
}),
|
|
2304
2309
|
InternalServiceProvider = _constate[0],
|
|
2305
2310
|
useEntityLoader = _constate[2],
|