@contentful/experiences-visual-editor-react 3.7.1 → 3.7.2-dev-20250924T1414-f20af61.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/renderApp.js CHANGED
@@ -42169,19 +42169,6 @@ const ComponentVariableSchema$1 = z.object({
42169
42169
  });
42170
42170
  const ComponentTreeNodeSchema$1 = BaseComponentTreeNodeSchema$1.extend({
42171
42171
  children: z.lazy(() => ComponentTreeNodeSchema$1.array()),
42172
- }).superRefine(({ id, prebindingId, parameters }, ctx) => {
42173
- if (prebindingId && !parameters) {
42174
- ctx.addIssue({
42175
- code: z.ZodIssueCode.custom,
42176
- message: `Found "prebindingId" but no "parameters" for node with id: "${id}"`,
42177
- });
42178
- }
42179
- if (parameters && !prebindingId) {
42180
- ctx.addIssue({
42181
- code: z.ZodIssueCode.custom,
42182
- message: `Found "parameters" but no "prebindingId" for node with id: "${id}"`,
42183
- });
42184
- }
42185
42172
  });
42186
42173
  const ComponentTreeSchema$1 = z
42187
42174
  .object({
@@ -49992,19 +49979,6 @@ const ComponentVariableSchema = z.object({
49992
49979
  });
49993
49980
  const ComponentTreeNodeSchema = BaseComponentTreeNodeSchema.extend({
49994
49981
  children: z.lazy(() => ComponentTreeNodeSchema.array()),
49995
- }).superRefine(({ id, prebindingId, parameters }, ctx) => {
49996
- if (prebindingId && !parameters) {
49997
- ctx.addIssue({
49998
- code: z.ZodIssueCode.custom,
49999
- message: `Found "prebindingId" but no "parameters" for node with id: "${id}"`,
50000
- });
50001
- }
50002
- if (parameters && !prebindingId) {
50003
- ctx.addIssue({
50004
- code: z.ZodIssueCode.custom,
50005
- message: `Found "parameters" but no "prebindingId" for node with id: "${id}"`,
50006
- });
50007
- }
50008
49982
  });
50009
49983
  const ComponentTreeSchema = z
50010
49984
  .object({