@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 +0 -26
- package/dist/index.js.map +1 -1
- package/dist/renderApp.js +0 -26
- package/dist/renderApp.js.map +1 -1
- package/package.json +4 -4
package/dist/renderApp.js
CHANGED
|
@@ -42166,19 +42166,6 @@ const ComponentVariableSchema$1 = z.object({
|
|
|
42166
42166
|
});
|
|
42167
42167
|
const ComponentTreeNodeSchema$1 = BaseComponentTreeNodeSchema$1.extend({
|
|
42168
42168
|
children: z.lazy(() => ComponentTreeNodeSchema$1.array()),
|
|
42169
|
-
}).superRefine(({ id, prebindingId, parameters }, ctx) => {
|
|
42170
|
-
if (prebindingId && !parameters) {
|
|
42171
|
-
ctx.addIssue({
|
|
42172
|
-
code: z.ZodIssueCode.custom,
|
|
42173
|
-
message: `Found "prebindingId" but no "parameters" for node with id: "${id}"`,
|
|
42174
|
-
});
|
|
42175
|
-
}
|
|
42176
|
-
if (parameters && !prebindingId) {
|
|
42177
|
-
ctx.addIssue({
|
|
42178
|
-
code: z.ZodIssueCode.custom,
|
|
42179
|
-
message: `Found "parameters" but no "prebindingId" for node with id: "${id}"`,
|
|
42180
|
-
});
|
|
42181
|
-
}
|
|
42182
42169
|
});
|
|
42183
42170
|
const ComponentTreeSchema$1 = z
|
|
42184
42171
|
.object({
|
|
@@ -49730,19 +49717,6 @@ const ComponentVariableSchema = z.object({
|
|
|
49730
49717
|
});
|
|
49731
49718
|
const ComponentTreeNodeSchema = BaseComponentTreeNodeSchema.extend({
|
|
49732
49719
|
children: z.lazy(() => ComponentTreeNodeSchema.array()),
|
|
49733
|
-
}).superRefine(({ id, prebindingId, parameters }, ctx) => {
|
|
49734
|
-
if (prebindingId && !parameters) {
|
|
49735
|
-
ctx.addIssue({
|
|
49736
|
-
code: z.ZodIssueCode.custom,
|
|
49737
|
-
message: `Found "prebindingId" but no "parameters" for node with id: "${id}"`,
|
|
49738
|
-
});
|
|
49739
|
-
}
|
|
49740
|
-
if (parameters && !prebindingId) {
|
|
49741
|
-
ctx.addIssue({
|
|
49742
|
-
code: z.ZodIssueCode.custom,
|
|
49743
|
-
message: `Found "parameters" but no "prebindingId" for node with id: "${id}"`,
|
|
49744
|
-
});
|
|
49745
|
-
}
|
|
49746
49720
|
});
|
|
49747
49721
|
const ComponentTreeSchema = z
|
|
49748
49722
|
.object({
|