contentful-migration 4.5.4 → 4.5.8

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 CHANGED
@@ -1,9 +1,4 @@
1
- ## [4.5.4](https://github.com/contentful/contentful-migration/compare/v4.5.3...v4.5.4) (2021-09-15)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * **types:** addSidebarWidget ([#888](https://github.com/contentful/contentful-migration/issues/888)) ([43d68ab](https://github.com/contentful/contentful-migration/commit/43d68abb668391538be057192ab83910c78b3f9f)), closes [#709](https://github.com/contentful/contentful-migration/issues/709)
1
+ ## [4.5.8](https://github.com/contentful/contentful-migration/compare/v4.5.7...v4.5.8) (2021-10-12)
7
2
 
8
3
  # Change Log
9
4
 
package/README.md CHANGED
@@ -646,6 +646,7 @@ Changes control interface of given field's ID.
646
646
  - `builtin` (Standard widget)
647
647
  - `app` (Custom App)
648
648
  - `extension` (Custom UI extension)
649
+ - `app` (Custom app widget)
649
650
 
650
651
  **`widgetId : string`** – The new widget ID for the field. See the [editor interface documentation](https://www.contentful.com/developers/docs/concepts/editor-interfaces/) for a list of available widgets.
651
652
 
@@ -659,6 +660,8 @@ Changes control interface of given field's ID.
659
660
  - **`ampm : string`** _(only for fields of type datePicker)_ – Specifies which type of clock to use. Must be one of the strings “12” or “24” (default).
660
661
  - **`bulkEditing : boolean`** _(only for fields of type Array)_ – Specifies whether bulk editing of linked entries is possible.
661
662
  - **`trackingFieldId : string`** _(only for fields of type slugEditor)_ – Specifies the ID of the field that will be used to generate the slug value.
663
+ - **`showCreateEntityAction : boolean`** _(only for fields of type Link)_ - specifies whether creation of new entries from the field is enabled.
664
+ - **`showLinkEntityAction : boolean`** _(only for fields of type Link)_ - specifies whether linking to existing entries from the field is enabled.
662
665
 
663
666
  #### `resetFieldControl (fieldId)` : void
664
667
 
package/index.d.ts CHANGED
@@ -226,7 +226,7 @@ export interface ContentType {
226
226
  * @param settings Instance settings for the widget
227
227
  * @param insertBeforeWidgetId Insert widget above this widget in the sidebar. If null, the widget will be added to the end.
228
228
  */
229
- addSidebarWidget (widgetNamespace: 'sidebar-builtin' | 'extension',
229
+ addSidebarWidget (widgetNamespace: 'sidebar-builtin' | 'extension' | 'app',
230
230
  widgetId: string,
231
231
  settings?: ISidebarWidgetSettings,
232
232
  insertBeforeWidgetId?: string | null): void
@@ -238,7 +238,7 @@ export interface ContentType {
238
238
  * @param widgetId The ID of the widget to update.
239
239
  * @param settings Instance settings for the widget
240
240
  */
241
- updateSidebarWidget (widgetNamespace: 'sidebar-builtin' | 'extension',
241
+ updateSidebarWidget (widgetNamespace: 'sidebar-builtin' | 'extension' | 'app',
242
242
  widgetId: string,
243
243
  settings: ISidebarWidgetSettings): void
244
244
 
@@ -248,7 +248,7 @@ export interface ContentType {
248
248
  * @param widgetNamespace The namespace of the widget. Use 'sidebar-builtin' for standard widgets or 'extension' for UI extensions.
249
249
  * @param widgetId The ID of the widget to remove.
250
250
  */
251
- removeSidebarWidget (widgetNamespace: 'sidebar-builtin' | 'extension',
251
+ removeSidebarWidget (widgetNamespace: 'sidebar-builtin' | 'extension' | 'app',
252
252
  widgetId: string): void
253
253
 
254
254
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentful-migration",
3
- "version": "4.5.4",
3
+ "version": "4.5.8",
4
4
  "description": "Migration tooling for contentful",
5
5
  "author": "Contentful GmbH",
6
6
  "license": "MIT",
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "devDependencies": {
69
69
  "@contentful/eslint-config-backend": "^7.0.0",
70
- "@semantic-release/changelog": "^5.0.1",
70
+ "@semantic-release/changelog": "^6.0.0",
71
71
  "@types/bluebird": "^3.5.30",
72
72
  "@types/chai": "^4.2.11",
73
73
  "@types/chai-as-promised": "^7.1.2",
@@ -93,7 +93,7 @@
93
93
  "nock": "^13.0.0",
94
94
  "rewire": "^5.0.0",
95
95
  "rimraf": "^3.0.2",
96
- "semantic-release": "^17.0.4",
96
+ "semantic-release": "^18.0.0",
97
97
  "sinon": "^10.0.0",
98
98
  "sinon-chai": "^3.5.0",
99
99
  "source-map-support": "^0.5.16",