@shotstack/schemas 1.8.7 → 1.9.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.
- package/README.md +89 -89
- package/dist/api.bundled.json +48 -10
- package/dist/json-schema/asset.json +57 -15
- package/dist/json-schema/clip.json +57 -15
- package/dist/json-schema/edit.json +57 -15
- package/dist/json-schema/rich-caption-active-font.json +18 -1
- package/dist/json-schema/rich-caption-active.json +118 -2
- package/dist/json-schema/rich-caption-asset.json +57 -15
- package/dist/json-schema/rich-caption-word-animation.json +0 -14
- package/dist/json-schema/schemas.json +61 -17
- package/dist/json-schema/timeline.json +57 -15
- package/dist/json-schema/track.json +57 -15
- package/dist/schema.d.ts +18 -8
- package/dist/zod/zod.gen.cjs +1098 -933
- package/dist/zod/zod.gen.d.ts +1436 -515
- package/dist/zod/zod.gen.js +1099 -934
- package/dist/zod/zod.gen.ts +1606 -1667
- package/package.json +95 -79
package/dist/schema.d.ts
CHANGED
|
@@ -1030,6 +1030,13 @@ export interface components {
|
|
|
1030
1030
|
* @example #000000
|
|
1031
1031
|
*/
|
|
1032
1032
|
background?: string;
|
|
1033
|
+
/**
|
|
1034
|
+
* @description Text decoration to apply to all words.
|
|
1035
|
+
* @default none
|
|
1036
|
+
* @example underline
|
|
1037
|
+
* @enum {string}
|
|
1038
|
+
*/
|
|
1039
|
+
textDecoration?: "none" | "underline" | "line-through";
|
|
1033
1040
|
};
|
|
1034
1041
|
/** @description Text style properties including spacing, line height, and transformations. */
|
|
1035
1042
|
style?: components["schemas"]["RichTextStyle"];
|
|
@@ -1069,13 +1076,22 @@ export interface components {
|
|
|
1069
1076
|
* @example 1
|
|
1070
1077
|
*/
|
|
1071
1078
|
opacity?: number;
|
|
1079
|
+
/**
|
|
1080
|
+
* @description Text decoration to apply to the active word.
|
|
1081
|
+
* @default none
|
|
1082
|
+
* @example underline
|
|
1083
|
+
* @enum {string}
|
|
1084
|
+
*/
|
|
1085
|
+
textDecoration?: "none" | "underline" | "line-through";
|
|
1072
1086
|
};
|
|
1073
1087
|
/** @description Styling properties for the active/highlighted word. */
|
|
1074
1088
|
RichCaptionActive: {
|
|
1075
1089
|
/** @description Font properties for the active word. */
|
|
1076
1090
|
font?: components["schemas"]["RichCaptionActiveFont"];
|
|
1077
|
-
/** @description Stroke properties for the active word. */
|
|
1078
|
-
stroke?: components["schemas"]["RichTextStroke"];
|
|
1091
|
+
/** @description Stroke properties for the active word. Set to "none" to explicitly remove the base stroke on the active word. */
|
|
1092
|
+
stroke?: components["schemas"]["RichTextStroke"] | "none";
|
|
1093
|
+
/** @description Shadow properties for the active word. Set to "none" to explicitly remove the base shadow on the active word. */
|
|
1094
|
+
shadow?: components["schemas"]["RichTextShadow"] | "none";
|
|
1079
1095
|
/**
|
|
1080
1096
|
* @description Scale multiplier for the active word. 1.0 is normal size, 1.2 is 20% larger.
|
|
1081
1097
|
* @default 1
|
|
@@ -1101,12 +1117,6 @@ export interface components {
|
|
|
1101
1117
|
* @enum {string}
|
|
1102
1118
|
*/
|
|
1103
1119
|
style: "karaoke" | "highlight" | "pop" | "fade" | "slide" | "bounce" | "typewriter" | "none";
|
|
1104
|
-
/**
|
|
1105
|
-
* @description Animation speed multiplier. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed.
|
|
1106
|
-
* @default 1
|
|
1107
|
-
* @example 1
|
|
1108
|
-
*/
|
|
1109
|
-
speed?: number;
|
|
1110
1120
|
/**
|
|
1111
1121
|
* @description Direction for directional animations (slide). Only applicable when style is `slide`.
|
|
1112
1122
|
* @default up
|