@shotstack/schemas 1.16.0 → 1.17.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/api.bundled.json +20 -0
- package/dist/json-schema/edit.json +24 -0
- package/dist/json-schema/index.cjs +1 -1
- package/dist/json-schema/index.js +1 -1
- package/dist/schema.d.ts +14 -0
- package/dist/zod/zod.gen.cjs +2 -0
- package/dist/zod/zod.gen.d.ts +312 -0
- package/dist/zod/zod.gen.js +2 -0
- package/dist/zod/zod.gen.ts +2 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1137,6 +1137,13 @@ export interface components {
|
|
|
1137
1137
|
* @default 400
|
|
1138
1138
|
*/
|
|
1139
1139
|
weight?: unknown;
|
|
1140
|
+
/**
|
|
1141
|
+
* @description The font style.
|
|
1142
|
+
* @default normal
|
|
1143
|
+
* @example italic
|
|
1144
|
+
* @enum {string}
|
|
1145
|
+
*/
|
|
1146
|
+
style?: "normal" | "italic";
|
|
1140
1147
|
/**
|
|
1141
1148
|
* @description The text color using hexadecimal color notation.
|
|
1142
1149
|
* @default #ffffff
|
|
@@ -1817,6 +1824,13 @@ export interface components {
|
|
|
1817
1824
|
* @default 400
|
|
1818
1825
|
*/
|
|
1819
1826
|
weight?: unknown;
|
|
1827
|
+
/**
|
|
1828
|
+
* @description The font style.
|
|
1829
|
+
* @default normal
|
|
1830
|
+
* @example italic
|
|
1831
|
+
* @enum {string}
|
|
1832
|
+
*/
|
|
1833
|
+
style?: "normal" | "italic";
|
|
1820
1834
|
/**
|
|
1821
1835
|
* @description The text color using hexadecimal color notation.
|
|
1822
1836
|
* @default #000000
|
package/dist/zod/zod.gen.cjs
CHANGED
|
@@ -907,6 +907,7 @@ exports.richcaptionpropertiesRichCaptionFontSchema = zod_1.z.object({
|
|
|
907
907
|
return Number(v);
|
|
908
908
|
} return v; }), zod_1.z.number().int().gte(1).lte(500)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(24),
|
|
909
909
|
weight: zod_1.z.optional(zod_1.z.unknown()).default('400'),
|
|
910
|
+
style: zod_1.z.optional(zod_1.z.enum(['normal', 'italic'])),
|
|
910
911
|
color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default('#ffffff'),
|
|
911
912
|
opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
912
913
|
return undefined; if (Array.isArray(v))
|
|
@@ -1227,6 +1228,7 @@ exports.richtextpropertiesRichTextFontSchema = zod_1.z.object({
|
|
|
1227
1228
|
return Number(v);
|
|
1228
1229
|
} return v; }), zod_1.z.number().int().gte(1).lte(500)), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(24),
|
|
1229
1230
|
weight: zod_1.z.optional(zod_1.z.unknown()).default('400'),
|
|
1231
|
+
style: zod_1.z.optional(zod_1.z.enum(['normal', 'italic'])),
|
|
1230
1232
|
color: zod_1.z.optional(zod_1.z.union([zod_1.z.string().regex(/^#[A-Fa-f0-9]{6}$/), zod_1.z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default('#000000'),
|
|
1231
1233
|
opacity: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
1232
1234
|
return undefined; if (Array.isArray(v))
|