@contentful/experiences-visual-editor-react 1.42.0-prerelease-20250627T1335-d74dad7.0 → 1.42.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/renderApp.js CHANGED
@@ -43439,18 +43439,14 @@ const VariableMappingSchema$1 = z.object({
43439
43439
  // TODO: finalize schema structure before release
43440
43440
  // https://contentful.atlassian.net/browse/LUMOS-523
43441
43441
  const ParameterDefinitionSchema$1 = z.object({
43442
- defaultSource: z
43443
- .strictObject({
43444
- type: z.enum(['Entry']),
43445
- contentTypeId: z.string(),
43446
- link: z.strictObject({
43447
- sys: z.strictObject({
43448
- type: z.literal('Link'),
43449
- id: z.string(),
43450
- linkType: z.enum(['Entry']),
43451
- }),
43442
+ defaultValue: z
43443
+ .record(z.string(), z.object({
43444
+ sys: z.object({
43445
+ type: z.literal('Link'),
43446
+ id: z.string(),
43447
+ linkType: z.enum(['Entry']),
43452
43448
  }),
43453
- })
43449
+ }))
43454
43450
  .optional(),
43455
43451
  contentTypes: z.record(z.string(), z.object({
43456
43452
  sys: z.object({
@@ -58575,18 +58571,14 @@ const VariableMappingSchema = z.object({
58575
58571
  // TODO: finalize schema structure before release
58576
58572
  // https://contentful.atlassian.net/browse/LUMOS-523
58577
58573
  const ParameterDefinitionSchema = z.object({
58578
- defaultSource: z
58579
- .strictObject({
58580
- type: z.enum(['Entry']),
58581
- contentTypeId: z.string(),
58582
- link: z.strictObject({
58583
- sys: z.strictObject({
58584
- type: z.literal('Link'),
58585
- id: z.string(),
58586
- linkType: z.enum(['Entry']),
58587
- }),
58574
+ defaultValue: z
58575
+ .record(z.string(), z.object({
58576
+ sys: z.object({
58577
+ type: z.literal('Link'),
58578
+ id: z.string(),
58579
+ linkType: z.enum(['Entry']),
58588
58580
  }),
58589
- })
58581
+ }))
58590
58582
  .optional(),
58591
58583
  contentTypes: z.record(z.string(), z.object({
58592
58584
  sys: z.object({