@contentful/experiences-visual-editor-react 1.31.1-dev-20250218T1728-50b0be5.0 → 1.31.1-prerelease-20250218T2104-febb4f2.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 +16 -18
- package/dist/index.js.map +1 -1
- package/dist/renderApp.js +16 -18
- package/dist/renderApp.js.map +1 -1
- package/package.json +4 -4
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
|
|
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
|
-
|
|
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
|
|
43571
|
-
|
|
43572
|
-
|
|
43573
|
-
|
|
43574
|
-
|
|
43575
|
-
|
|
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);
|
|
@@ -58250,14 +58249,14 @@ const ComponentValueSchema = z
|
|
|
58250
58249
|
.strict();
|
|
58251
58250
|
// TODO: finalize schema structure before release
|
|
58252
58251
|
// https://contentful.atlassian.net/browse/LUMOS-523
|
|
58253
|
-
const
|
|
58252
|
+
const NoValueSchema = z.object({ type: z.literal('NoValue') }).strict();
|
|
58254
58253
|
const ComponentPropertyValueSchema = z.discriminatedUnion('type', [
|
|
58255
58254
|
DesignValueSchema,
|
|
58256
58255
|
BoundValueSchema,
|
|
58257
58256
|
UnboundValueSchema,
|
|
58258
58257
|
HyperlinkValueSchema,
|
|
58259
58258
|
ComponentValueSchema,
|
|
58260
|
-
|
|
58259
|
+
NoValueSchema,
|
|
58261
58260
|
]);
|
|
58262
58261
|
// TODO: finalize schema structure before release
|
|
58263
58262
|
// https://contentful.atlassian.net/browse/LUMOS-523
|
|
@@ -58270,13 +58269,12 @@ const VariableMappingsSchema = z.record(propertyKeySchema, VariableMappingSchema
|
|
|
58270
58269
|
// TODO: finalize schema structure before release
|
|
58271
58270
|
// https://contentful.atlassian.net/browse/LUMOS-523
|
|
58272
58271
|
const PatternPropertyDefinitionSchema = z.object({
|
|
58273
|
-
defaultValue: z
|
|
58274
|
-
|
|
58275
|
-
|
|
58276
|
-
|
|
58277
|
-
|
|
58278
|
-
|
|
58279
|
-
]),
|
|
58272
|
+
defaultValue: z
|
|
58273
|
+
.object({
|
|
58274
|
+
path: z.string(),
|
|
58275
|
+
type: z.literal('BoundValue'),
|
|
58276
|
+
})
|
|
58277
|
+
.optional(),
|
|
58280
58278
|
contentTypes: z.record(z.string(), z.any()),
|
|
58281
58279
|
});
|
|
58282
58280
|
const PatternPropertyDefinitionsSchema = z.record(propertyKeySchema, PatternPropertyDefinitionSchema);
|