@cntrl-site/sdk 1.12.0 → 1.12.1
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.
|
@@ -161,7 +161,8 @@ const YoutubeEmbedItemSchema = ItemBase_schema_1.ItemBaseSchema.extend({
|
|
|
161
161
|
const CodeEmbedItemSchema = ItemBase_schema_1.ItemBaseSchema.extend({
|
|
162
162
|
type: zod_1.z.literal(ArticleItemType_1.ArticleItemType.CodeEmbed),
|
|
163
163
|
commonParams: zod_1.z.object({
|
|
164
|
-
html: zod_1.z.string()
|
|
164
|
+
html: zod_1.z.string(),
|
|
165
|
+
scale: zod_1.z.boolean()
|
|
165
166
|
}),
|
|
166
167
|
sticky: zod_1.z.record(zod_1.z.object({
|
|
167
168
|
from: zod_1.z.number(),
|
package/package.json
CHANGED
|
@@ -204,7 +204,8 @@ const YoutubeEmbedItemSchema = ItemBaseSchema.extend({
|
|
|
204
204
|
const CodeEmbedItemSchema = ItemBaseSchema.extend({
|
|
205
205
|
type: z.literal(ArticleItemType.CodeEmbed),
|
|
206
206
|
commonParams: z.object({
|
|
207
|
-
html: z.string()
|
|
207
|
+
html: z.string(),
|
|
208
|
+
scale: z.boolean()
|
|
208
209
|
}),
|
|
209
210
|
sticky: z.record(
|
|
210
211
|
z.object({
|