@contentful/experiences-visual-editor-react 2.0.0-dev-20250703T1456-7a2737b.0 → 2.0.0-dev-20250704T1052-fad2ef4.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 +4 -16
- package/dist/index.js.map +1 -1
- package/dist/renderApp.js +4 -16
- package/dist/renderApp.js.map +1 -1
- package/package.json +4 -4
package/dist/renderApp.js
CHANGED
|
@@ -43964,13 +43964,7 @@ const ParameterDefinitionSchema$1 = z.object({
|
|
|
43964
43964
|
}),
|
|
43965
43965
|
})
|
|
43966
43966
|
.optional(),
|
|
43967
|
-
contentTypes: z.
|
|
43968
|
-
sys: z.object({
|
|
43969
|
-
type: z.literal('Link'),
|
|
43970
|
-
id: z.string(),
|
|
43971
|
-
linkType: z.enum(['ContentType']),
|
|
43972
|
-
}),
|
|
43973
|
-
})),
|
|
43967
|
+
contentTypes: z.array(z.string()),
|
|
43974
43968
|
passToNodes: z.array(PassToNodeSchema$1).optional(),
|
|
43975
43969
|
});
|
|
43976
43970
|
const ParameterDefinitionsSchema$1 = z.record(propertyKeySchema$1, ParameterDefinitionSchema$1);
|
|
@@ -43990,7 +43984,7 @@ const ComponentSettingsSchema$1 = z
|
|
|
43990
43984
|
variableDefinitions: ComponentVariablesSchema$1,
|
|
43991
43985
|
thumbnailId: z.enum(THUMBNAIL_IDS$1).optional(),
|
|
43992
43986
|
category: z.string().max(50, 'Category must contain at most 50 characters').optional(),
|
|
43993
|
-
prebindingDefinitions: z.array(PrebindingDefinitionSchema$1).
|
|
43987
|
+
prebindingDefinitions: z.array(PrebindingDefinitionSchema$1).length(1).optional(),
|
|
43994
43988
|
})
|
|
43995
43989
|
.strict();
|
|
43996
43990
|
z.object({
|
|
@@ -58734,13 +58728,7 @@ const ParameterDefinitionSchema = z.object({
|
|
|
58734
58728
|
}),
|
|
58735
58729
|
})
|
|
58736
58730
|
.optional(),
|
|
58737
|
-
contentTypes: z.
|
|
58738
|
-
sys: z.object({
|
|
58739
|
-
type: z.literal('Link'),
|
|
58740
|
-
id: z.string(),
|
|
58741
|
-
linkType: z.enum(['ContentType']),
|
|
58742
|
-
}),
|
|
58743
|
-
})),
|
|
58731
|
+
contentTypes: z.array(z.string()),
|
|
58744
58732
|
passToNodes: z.array(PassToNodeSchema).optional(),
|
|
58745
58733
|
});
|
|
58746
58734
|
const ParameterDefinitionsSchema = z.record(propertyKeySchema, ParameterDefinitionSchema);
|
|
@@ -58760,7 +58748,7 @@ const ComponentSettingsSchema = z
|
|
|
58760
58748
|
variableDefinitions: ComponentVariablesSchema,
|
|
58761
58749
|
thumbnailId: z.enum(THUMBNAIL_IDS).optional(),
|
|
58762
58750
|
category: z.string().max(50, 'Category must contain at most 50 characters').optional(),
|
|
58763
|
-
prebindingDefinitions: z.array(PrebindingDefinitionSchema).
|
|
58751
|
+
prebindingDefinitions: z.array(PrebindingDefinitionSchema).length(1).optional(),
|
|
58764
58752
|
})
|
|
58765
58753
|
.strict();
|
|
58766
58754
|
z.object({
|