@contentful/experiences-visual-editor-react 1.42.0-prerelease-20250630T1135-a8b68d4.0 → 1.42.1-beta.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 +8 -40
- package/dist/index.js.map +1 -1
- package/dist/renderApp.js +8 -40
- package/dist/renderApp.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -843,29 +843,13 @@ const ParameterDefinitionsSchema$1 = z.record(propertyKeySchema$1, ParameterDefi
|
|
|
843
843
|
const VariableMappingsSchema$1 = z.record(propertyKeySchema$1, VariableMappingSchema$1);
|
|
844
844
|
const ComponentVariablesSchema$1 = z.record(z.string().regex(/^[a-zA-Z0-9-_]{1,54}$/), // Here the key is <variableName>_<nanoidId> so we need to allow for a longer length
|
|
845
845
|
ComponentVariableSchema$1);
|
|
846
|
-
const
|
|
847
|
-
.object({
|
|
848
|
-
nodeId: propertyKeySchema$1,
|
|
849
|
-
parameterId: propertyKeySchema$1,
|
|
850
|
-
prebindingId: propertyKeySchema$1,
|
|
851
|
-
})
|
|
852
|
-
.strict();
|
|
853
|
-
const PrebindingDefinitionSchema$1 = z
|
|
854
|
-
.object({
|
|
855
|
-
id: propertyKeySchema$1,
|
|
856
|
-
variableMappings: VariableMappingsSchema$1.optional(),
|
|
857
|
-
parameterDefinitions: ParameterDefinitionsSchema$1,
|
|
858
|
-
passToNodes: z.array(PassToNodeSchema$1).optional(),
|
|
859
|
-
})
|
|
860
|
-
.strict();
|
|
861
|
-
const ComponentSettingsSchema$1 = z
|
|
862
|
-
.object({
|
|
846
|
+
const ComponentSettingsSchema$1 = z.object({
|
|
863
847
|
variableDefinitions: ComponentVariablesSchema$1,
|
|
864
848
|
thumbnailId: z.enum(THUMBNAIL_IDS$1).optional(),
|
|
865
849
|
category: z.string().max(50, 'Category must contain at most 50 characters').optional(),
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
850
|
+
variableMappings: VariableMappingsSchema$1.optional(),
|
|
851
|
+
parameterDefinitions: ParameterDefinitionsSchema$1.optional(),
|
|
852
|
+
});
|
|
869
853
|
z.object({
|
|
870
854
|
componentTree: localeWrapper$1(ComponentTreeSchema$1),
|
|
871
855
|
dataSource: localeWrapper$1(DataSourceSchema$1),
|
|
@@ -3702,29 +3686,13 @@ const ParameterDefinitionsSchema = z.record(propertyKeySchema, ParameterDefiniti
|
|
|
3702
3686
|
const VariableMappingsSchema = z.record(propertyKeySchema, VariableMappingSchema);
|
|
3703
3687
|
const ComponentVariablesSchema = z.record(z.string().regex(/^[a-zA-Z0-9-_]{1,54}$/), // Here the key is <variableName>_<nanoidId> so we need to allow for a longer length
|
|
3704
3688
|
ComponentVariableSchema);
|
|
3705
|
-
const
|
|
3706
|
-
.object({
|
|
3707
|
-
nodeId: propertyKeySchema,
|
|
3708
|
-
parameterId: propertyKeySchema,
|
|
3709
|
-
prebindingId: propertyKeySchema,
|
|
3710
|
-
})
|
|
3711
|
-
.strict();
|
|
3712
|
-
const PrebindingDefinitionSchema = z
|
|
3713
|
-
.object({
|
|
3714
|
-
id: propertyKeySchema,
|
|
3715
|
-
variableMappings: VariableMappingsSchema.optional(),
|
|
3716
|
-
parameterDefinitions: ParameterDefinitionsSchema,
|
|
3717
|
-
passToNodes: z.array(PassToNodeSchema).optional(),
|
|
3718
|
-
})
|
|
3719
|
-
.strict();
|
|
3720
|
-
const ComponentSettingsSchema = z
|
|
3721
|
-
.object({
|
|
3689
|
+
const ComponentSettingsSchema = z.object({
|
|
3722
3690
|
variableDefinitions: ComponentVariablesSchema,
|
|
3723
3691
|
thumbnailId: z.enum(THUMBNAIL_IDS).optional(),
|
|
3724
3692
|
category: z.string().max(50, 'Category must contain at most 50 characters').optional(),
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3693
|
+
variableMappings: VariableMappingsSchema.optional(),
|
|
3694
|
+
parameterDefinitions: ParameterDefinitionsSchema.optional(),
|
|
3695
|
+
});
|
|
3728
3696
|
z.object({
|
|
3729
3697
|
componentTree: localeWrapper(ComponentTreeSchema),
|
|
3730
3698
|
dataSource: localeWrapper(DataSourceSchema),
|