@contentful/experiences-visual-editor-react 1.32.0 → 1.33.0-dev-20250220T1731-53c66f8.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
@@ -43547,14 +43547,14 @@ const ComponentValueSchema$1 = z
43547
43547
  .strict();
43548
43548
  // TODO: finalize schema structure before release
43549
43549
  // https://contentful.atlassian.net/browse/LUMOS-523
43550
- const EmptyObjectSchema$1 = z.object({ type: z.undefined() });
43550
+ const NoValueSchema$1 = z.object({ type: z.literal('NoValue') }).strict();
43551
43551
  const ComponentPropertyValueSchema$1 = z.discriminatedUnion('type', [
43552
43552
  DesignValueSchema$1,
43553
43553
  BoundValueSchema$1,
43554
43554
  UnboundValueSchema$1,
43555
43555
  HyperlinkValueSchema$1,
43556
43556
  ComponentValueSchema$1,
43557
- EmptyObjectSchema$1,
43557
+ NoValueSchema$1,
43558
43558
  ]);
43559
43559
  // TODO: finalize schema structure before release
43560
43560
  // https://contentful.atlassian.net/browse/LUMOS-523
@@ -43567,13 +43567,12 @@ const VariableMappingsSchema$1 = z.record(propertyKeySchema$1, VariableMappingSc
43567
43567
  // TODO: finalize schema structure before release
43568
43568
  // https://contentful.atlassian.net/browse/LUMOS-523
43569
43569
  const PatternPropertyDefinitionSchema$1 = z.object({
43570
- defaultValue: z.union([
43571
- z.object({
43572
- path: z.string(),
43573
- type: z.literal('BoundValue'),
43574
- }),
43575
- z.null(),
43576
- ]),
43570
+ defaultValue: z
43571
+ .object({
43572
+ path: z.string(),
43573
+ type: z.literal('BoundValue'),
43574
+ })
43575
+ .optional(),
43577
43576
  contentTypes: z.record(z.string(), z.any()),
43578
43577
  });
43579
43578
  const PatternPropertyDefinitionsSchema$1 = z.record(propertyKeySchema$1, PatternPropertyDefinitionSchema$1);
@@ -43582,6 +43581,7 @@ const PatternPropertyDefinitionsSchema$1 = z.record(propertyKeySchema$1, Pattern
43582
43581
  const PatternPropertySchema$1 = z.object({
43583
43582
  type: z.literal('BoundValue'),
43584
43583
  path: z.string(),
43584
+ contenType: z.string(),
43585
43585
  });
43586
43586
  const PatternPropertysSchema$1 = z.record(propertyKeySchema$1, PatternPropertySchema$1);
43587
43587
  const BreakpointSchema$1 = z
@@ -58272,14 +58272,14 @@ const ComponentValueSchema = z
58272
58272
  .strict();
58273
58273
  // TODO: finalize schema structure before release
58274
58274
  // https://contentful.atlassian.net/browse/LUMOS-523
58275
- const EmptyObjectSchema = z.object({ type: z.undefined() });
58275
+ const NoValueSchema = z.object({ type: z.literal('NoValue') }).strict();
58276
58276
  const ComponentPropertyValueSchema = z.discriminatedUnion('type', [
58277
58277
  DesignValueSchema,
58278
58278
  BoundValueSchema,
58279
58279
  UnboundValueSchema,
58280
58280
  HyperlinkValueSchema,
58281
58281
  ComponentValueSchema,
58282
- EmptyObjectSchema,
58282
+ NoValueSchema,
58283
58283
  ]);
58284
58284
  // TODO: finalize schema structure before release
58285
58285
  // https://contentful.atlassian.net/browse/LUMOS-523
@@ -58292,13 +58292,12 @@ const VariableMappingsSchema = z.record(propertyKeySchema, VariableMappingSchema
58292
58292
  // TODO: finalize schema structure before release
58293
58293
  // https://contentful.atlassian.net/browse/LUMOS-523
58294
58294
  const PatternPropertyDefinitionSchema = z.object({
58295
- defaultValue: z.union([
58296
- z.object({
58297
- path: z.string(),
58298
- type: z.literal('BoundValue'),
58299
- }),
58300
- z.null(),
58301
- ]),
58295
+ defaultValue: z
58296
+ .object({
58297
+ path: z.string(),
58298
+ type: z.literal('BoundValue'),
58299
+ })
58300
+ .optional(),
58302
58301
  contentTypes: z.record(z.string(), z.any()),
58303
58302
  });
58304
58303
  const PatternPropertyDefinitionsSchema = z.record(propertyKeySchema, PatternPropertyDefinitionSchema);
@@ -58307,6 +58306,7 @@ const PatternPropertyDefinitionsSchema = z.record(propertyKeySchema, PatternProp
58307
58306
  const PatternPropertySchema = z.object({
58308
58307
  type: z.literal('BoundValue'),
58309
58308
  path: z.string(),
58309
+ contenType: z.string(),
58310
58310
  });
58311
58311
  const PatternPropertysSchema = z.record(propertyKeySchema, PatternPropertySchema);
58312
58312
  const BreakpointSchema = z