@contentful/experiences-visual-editor-react 1.42.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/renderApp.js CHANGED
@@ -43439,14 +43439,18 @@ 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
- 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']),
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
+ }),
43448
43452
  }),
43449
- }))
43453
+ })
43450
43454
  .optional(),
43451
43455
  contentTypes: z.record(z.string(), z.object({
43452
43456
  sys: z.object({
@@ -58571,14 +58575,18 @@ const VariableMappingSchema = z.object({
58571
58575
  // TODO: finalize schema structure before release
58572
58576
  // https://contentful.atlassian.net/browse/LUMOS-523
58573
58577
  const ParameterDefinitionSchema = z.object({
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']),
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
+ }),
58580
58588
  }),
58581
- }))
58589
+ })
58582
58590
  .optional(),
58583
58591
  contentTypes: z.record(z.string(), z.object({
58584
58592
  sys: z.object({