@contentful/field-editor-shared 2.9.1 → 2.10.0
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/types/types.d.ts +10 -0
- package/package.json +2 -2
package/dist/types/types.d.ts
CHANGED
|
@@ -41,12 +41,22 @@ export type ReleaseV2EntityWithLocales = {
|
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
|
+
export type ReleaseV2AnnotationType = 'Hidden' | 'Ideation';
|
|
45
|
+
export type ReleaseV2Annotations = {
|
|
46
|
+
'Contentful:Timeline'?: {
|
|
47
|
+
type?: ReleaseV2AnnotationType;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export type ReleaseMetadataV2 = {
|
|
51
|
+
annotations?: ReleaseV2Annotations;
|
|
52
|
+
};
|
|
44
53
|
export type ReleaseV2Props = Omit<ReleaseProps, 'entities' | 'sys'> & {
|
|
45
54
|
sys: ReleaseProps['sys'] & {
|
|
46
55
|
schemaVersion: 'Release.v2';
|
|
47
56
|
};
|
|
48
57
|
entities: CollectionProp<ReleaseV2Entity | ReleaseV2EntityWithLocales>;
|
|
49
58
|
startDate?: string;
|
|
59
|
+
metadata?: ReleaseMetadataV2;
|
|
50
60
|
};
|
|
51
61
|
export type ReleaseAction = 'publish' | 'unpublish' | 'not-in-release';
|
|
52
62
|
export type ReleaseEntityStatus = 'willPublish' | 'becomesDraft' | 'remainsDraft' | 'notInRelease';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-shared",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"registry": "https://npm.pkg.github.com/"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "be09f0d73046834685814d083141f5166cb64457"
|
|
61
61
|
}
|