@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/renderApp.js
CHANGED
|
@@ -43464,29 +43464,13 @@ const ParameterDefinitionsSchema$1 = z.record(propertyKeySchema$1, ParameterDefi
|
|
|
43464
43464
|
const VariableMappingsSchema$1 = z.record(propertyKeySchema$1, VariableMappingSchema$1);
|
|
43465
43465
|
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
|
|
43466
43466
|
ComponentVariableSchema$1);
|
|
43467
|
-
const
|
|
43468
|
-
.object({
|
|
43469
|
-
nodeId: propertyKeySchema$1,
|
|
43470
|
-
parameterId: propertyKeySchema$1,
|
|
43471
|
-
prebindingId: propertyKeySchema$1,
|
|
43472
|
-
})
|
|
43473
|
-
.strict();
|
|
43474
|
-
const PrebindingDefinitionSchema$1 = z
|
|
43475
|
-
.object({
|
|
43476
|
-
id: propertyKeySchema$1,
|
|
43477
|
-
variableMappings: VariableMappingsSchema$1.optional(),
|
|
43478
|
-
parameterDefinitions: ParameterDefinitionsSchema$1,
|
|
43479
|
-
passToNodes: z.array(PassToNodeSchema$1).optional(),
|
|
43480
|
-
})
|
|
43481
|
-
.strict();
|
|
43482
|
-
const ComponentSettingsSchema$1 = z
|
|
43483
|
-
.object({
|
|
43467
|
+
const ComponentSettingsSchema$1 = z.object({
|
|
43484
43468
|
variableDefinitions: ComponentVariablesSchema$1,
|
|
43485
43469
|
thumbnailId: z.enum(THUMBNAIL_IDS$1).optional(),
|
|
43486
43470
|
category: z.string().max(50, 'Category must contain at most 50 characters').optional(),
|
|
43487
|
-
|
|
43488
|
-
|
|
43489
|
-
|
|
43471
|
+
variableMappings: VariableMappingsSchema$1.optional(),
|
|
43472
|
+
parameterDefinitions: ParameterDefinitionsSchema$1.optional(),
|
|
43473
|
+
});
|
|
43490
43474
|
z.object({
|
|
43491
43475
|
componentTree: localeWrapper$1(ComponentTreeSchema$1),
|
|
43492
43476
|
dataSource: localeWrapper$1(DataSourceSchema$1),
|
|
@@ -58616,29 +58600,13 @@ const ParameterDefinitionsSchema = z.record(propertyKeySchema, ParameterDefiniti
|
|
|
58616
58600
|
const VariableMappingsSchema = z.record(propertyKeySchema, VariableMappingSchema);
|
|
58617
58601
|
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
|
|
58618
58602
|
ComponentVariableSchema);
|
|
58619
|
-
const
|
|
58620
|
-
.object({
|
|
58621
|
-
nodeId: propertyKeySchema,
|
|
58622
|
-
parameterId: propertyKeySchema,
|
|
58623
|
-
prebindingId: propertyKeySchema,
|
|
58624
|
-
})
|
|
58625
|
-
.strict();
|
|
58626
|
-
const PrebindingDefinitionSchema = z
|
|
58627
|
-
.object({
|
|
58628
|
-
id: propertyKeySchema,
|
|
58629
|
-
variableMappings: VariableMappingsSchema.optional(),
|
|
58630
|
-
parameterDefinitions: ParameterDefinitionsSchema,
|
|
58631
|
-
passToNodes: z.array(PassToNodeSchema).optional(),
|
|
58632
|
-
})
|
|
58633
|
-
.strict();
|
|
58634
|
-
const ComponentSettingsSchema = z
|
|
58635
|
-
.object({
|
|
58603
|
+
const ComponentSettingsSchema = z.object({
|
|
58636
58604
|
variableDefinitions: ComponentVariablesSchema,
|
|
58637
58605
|
thumbnailId: z.enum(THUMBNAIL_IDS).optional(),
|
|
58638
58606
|
category: z.string().max(50, 'Category must contain at most 50 characters').optional(),
|
|
58639
|
-
|
|
58640
|
-
|
|
58641
|
-
|
|
58607
|
+
variableMappings: VariableMappingsSchema.optional(),
|
|
58608
|
+
parameterDefinitions: ParameterDefinitionsSchema.optional(),
|
|
58609
|
+
});
|
|
58642
58610
|
z.object({
|
|
58643
58611
|
componentTree: localeWrapper(ComponentTreeSchema),
|
|
58644
58612
|
dataSource: localeWrapper(DataSourceSchema),
|