@cntrl-site/sdk 1.22.14 → 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 +1 -1
- package/dist/index.mjs +1 -1
- 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,
|
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,
|
|
@@ -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,
|