contentful-ui-extensions-sdk 4.1.0 → 4.1.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [4.1.1](https://github.com/contentful/ui-extensions-sdk/compare/v4.1.0...v4.1.1) (2021-10-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [3161] use correct type for conflicting errors ([#1017](https://github.com/contentful/ui-extensions-sdk/issues/1017)) ([621a1d0](https://github.com/contentful/ui-extensions-sdk/commit/621a1d0d8f4e7b1ab45278377ba58fff76e09a4f))
7
+
1
8
  # [4.1.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.0.1...v4.1.0) (2021-10-05)
2
9
 
3
10
 
@@ -1,3 +1,4 @@
1
+ import { Link } from './utils';
1
2
  export interface BaseValidationError {
2
3
  name: string;
3
4
  message?: string;
@@ -25,7 +26,7 @@ export interface RequiredValidationError extends BaseValidationError {
25
26
  }
26
27
  export interface UniqueValidationError extends BaseValidationError {
27
28
  name: 'unique';
28
- conflicting: string[];
29
+ conflicting: Link<'Entry', 'Link'>[];
29
30
  }
30
31
  export interface ProhibitRegexpValidationError extends BaseValidationError {
31
32
  name: 'prohibitRegexp';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "contentful-ui-extensions-sdk",
3
3
  "description": "SDK to develop custom UI Extension for the Contentful Web App",
4
- "version": "4.1.0",
4
+ "version": "4.1.1",
5
5
  "author": "Contentful GmbH",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -52,7 +52,7 @@
52
52
  "@types/sinon": "^10.0.0",
53
53
  "@types/sinon-chai": "^3.2.5",
54
54
  "@typescript-eslint/eslint-plugin": "4.32.0",
55
- "@typescript-eslint/parser": "4.32.0",
55
+ "@typescript-eslint/parser": "4.33.0",
56
56
  "async-retry": "1.3.3",
57
57
  "babel-eslint": "10.1.0",
58
58
  "chai": "4.3.4",