@contentful/experience-design-system-types 2.41.1-dev-build-a14ed2ff.0 → 2.42.1-dev-build-99dae8de.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-types",
3
- "version": "2.41.1-dev-build-a14ed2ff.0",
3
+ "version": "2.42.1-dev-build-99dae8de.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/src/index.js",
@@ -75,16 +75,6 @@ function entryErrors(node, prefix) {
75
75
  ? validateTokenEntry
76
76
  : undefined;
77
77
  if (!check) {
78
- // Groups carry no `$type`, so one that names a type the schema does not know is a mistake. Left out, it would
79
- // go unreported as soon as another entry fails, because those errors replace the schema's own.
80
- if (type !== undefined) {
81
- errors.push({
82
- path: `${path}/$type`,
83
- message: `Unknown $type "${String(type)}"`,
84
- expected: 'component or a design token type',
85
- actual: String(type),
86
- });
87
- }
88
78
  errors.push(...entryErrors(value, path));
89
79
  }
90
80
  else if (!check(value)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-types",
3
- "version": "2.41.1-dev-build-a14ed2ff.0",
3
+ "version": "2.42.1-dev-build-99dae8de.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/src/index.js",