@cntrl-site/sdk 1.22.13 → 1.22.15
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 +2 -2
- package/dist/index.mjs +2 -2
- package/dist/schemas/article/Item.schema.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -463,7 +463,7 @@ const ComponentItemSchema = ItemBaseSchema.extend({
|
|
|
463
463
|
opacity: zod.z.number().nonnegative(),
|
|
464
464
|
blur: zod.z.number()
|
|
465
465
|
})),
|
|
466
|
-
state: zod.z.record(
|
|
466
|
+
state: zod.z.record(ComponentStateParamsSchema)
|
|
467
467
|
});
|
|
468
468
|
const ItemSchema = zod.z.lazy(() => zod.z.discriminatedUnion("type", [
|
|
469
469
|
ImageItemSchema,
|
|
@@ -1952,7 +1952,7 @@ const ControlSliderComponent = {
|
|
|
1952
1952
|
{
|
|
1953
1953
|
if: {
|
|
1954
1954
|
name: "direction",
|
|
1955
|
-
value: "
|
|
1955
|
+
value: "vert"
|
|
1956
1956
|
},
|
|
1957
1957
|
then: {
|
|
1958
1958
|
name: "properties.pagination.properties.position.display.direction",
|
package/dist/index.mjs
CHANGED
|
@@ -444,7 +444,7 @@ const ComponentItemSchema = ItemBaseSchema.extend({
|
|
|
444
444
|
opacity: z.number().nonnegative(),
|
|
445
445
|
blur: z.number()
|
|
446
446
|
})),
|
|
447
|
-
state: z.record(
|
|
447
|
+
state: z.record(ComponentStateParamsSchema)
|
|
448
448
|
});
|
|
449
449
|
const ItemSchema = z.lazy(() => z.discriminatedUnion("type", [
|
|
450
450
|
ImageItemSchema,
|
|
@@ -1933,7 +1933,7 @@ const ControlSliderComponent = {
|
|
|
1933
1933
|
{
|
|
1934
1934
|
if: {
|
|
1935
1935
|
name: "direction",
|
|
1936
|
-
value: "
|
|
1936
|
+
value: "vert"
|
|
1937
1937
|
},
|
|
1938
1938
|
then: {
|
|
1939
1939
|
name: "properties.pagination.properties.position.display.direction",
|
|
@@ -192,7 +192,7 @@ const ComponentItemSchema = ItemBase_schema_1.ItemBaseSchema.extend({
|
|
|
192
192
|
opacity: zod_1.z.number().nonnegative(),
|
|
193
193
|
blur: zod_1.z.number()
|
|
194
194
|
})),
|
|
195
|
-
state: zod_1.z.record(
|
|
195
|
+
state: zod_1.z.record(ItemState_schema_1.ComponentStateParamsSchema)
|
|
196
196
|
});
|
|
197
197
|
exports.ItemSchema = zod_1.z.lazy(() => zod_1.z.discriminatedUnion('type', [
|
|
198
198
|
ImageItemSchema,
|