@contentful/experiences-visual-editor-react 3.7.0-dev-20250919T0754-9f36582.0 → 3.7.0-dev-20250919T0822-6a47406.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/index.js CHANGED
@@ -792,19 +792,6 @@ const ComponentVariableSchema$1 = z.object({
792
792
  });
793
793
  const ComponentTreeNodeSchema$1 = BaseComponentTreeNodeSchema$1.extend({
794
794
  children: z.lazy(() => ComponentTreeNodeSchema$1.array()),
795
- }).superRefine(({ id, prebindingId, parameters }, ctx) => {
796
- if (prebindingId && !parameters) {
797
- ctx.addIssue({
798
- code: z.ZodIssueCode.custom,
799
- message: `Found "prebindingId" but no "parameters" for node with id: "${id}"`,
800
- });
801
- }
802
- if (parameters && !prebindingId) {
803
- ctx.addIssue({
804
- code: z.ZodIssueCode.custom,
805
- message: `Found "parameters" but no "prebindingId" for node with id: "${id}"`,
806
- });
807
- }
808
795
  });
809
796
  const ComponentTreeSchema$1 = z
810
797
  .object({
@@ -3784,19 +3771,6 @@ const ComponentVariableSchema = z.object({
3784
3771
  });
3785
3772
  const ComponentTreeNodeSchema = BaseComponentTreeNodeSchema.extend({
3786
3773
  children: z.lazy(() => ComponentTreeNodeSchema.array()),
3787
- }).superRefine(({ id, prebindingId, parameters }, ctx) => {
3788
- if (prebindingId && !parameters) {
3789
- ctx.addIssue({
3790
- code: z.ZodIssueCode.custom,
3791
- message: `Found "prebindingId" but no "parameters" for node with id: "${id}"`,
3792
- });
3793
- }
3794
- if (parameters && !prebindingId) {
3795
- ctx.addIssue({
3796
- code: z.ZodIssueCode.custom,
3797
- message: `Found "parameters" but no "prebindingId" for node with id: "${id}"`,
3798
- });
3799
- }
3800
3774
  });
3801
3775
  const ComponentTreeSchema = z
3802
3776
  .object({