@contentful/experiences-core 1.21.1-dev-20241107T2156-6c005a7.0 → 1.22.0-dev-20241108T1129-d000e6a.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.d.ts CHANGED
@@ -98,6 +98,13 @@ type ExperienceTreeNode = {
98
98
  dataSource: ExperienceDataSource;
99
99
  unboundValues: ExperienceUnboundValues;
100
100
  breakpoints: Breakpoint[];
101
+ pattern?: {
102
+ id: string;
103
+ nodeId: string;
104
+ nodeLocation: string;
105
+ isVisibilityPropertyExposed: boolean;
106
+ variableNameToComponentValueKeyMap: Record<string, string>;
107
+ };
101
108
  };
102
109
  children: ExperienceTreeNode[];
103
110
  parentId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experiences-core",
3
- "version": "1.21.1-dev-20241107T2156-6c005a7.0",
3
+ "version": "1.22.0-dev-20241108T1129-d000e6a.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -69,11 +69,11 @@
69
69
  "vitest": "^2.1.1"
70
70
  },
71
71
  "dependencies": {
72
- "@contentful/experiences-validators": "1.21.1-dev-20241107T2156-6c005a7.0",
72
+ "@contentful/experiences-validators": "1.22.0-dev-20241108T1129-d000e6a.0",
73
73
  "@contentful/rich-text-types": "^16.3.0"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "contentful": ">=10.6.0"
77
77
  },
78
- "gitHead": "9896536313c120178a95e88ba3026ff26e0799f2"
78
+ "gitHead": "b7636c1d4f2f6881324da77d5286d5817ff992e5"
79
79
  }
@@ -1,15 +0,0 @@
1
- import { ComponentPropertyValue, ExperienceUnboundValues, ExperienceDataSource, ExperienceComponentSettings } from '@contentful/experiences-validators';
2
-
3
- declare const deserializePatternVariables: ({ nodeVariables, componentInstanceProps, componentInstanceUnboundValues, componentInstanceDataSource, patternVariableDefinitions, }: {
4
- nodeVariables: Record<string, ComponentPropertyValue>;
5
- componentInstanceProps: Record<string, ComponentPropertyValue>;
6
- componentInstanceUnboundValues: ExperienceUnboundValues;
7
- componentInstanceDataSource: ExperienceDataSource;
8
- patternVariableDefinitions?: ExperienceComponentSettings["variableDefinitions"];
9
- }) => {
10
- childNodeVariable: Record<string, ComponentPropertyValue>;
11
- dataSource: ExperienceDataSource;
12
- unboundValues: ExperienceUnboundValues;
13
- };
14
-
15
- export { deserializePatternVariables };