@shotstack/schemas 1.8.7 → 1.9.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/README.md +89 -89
- package/dist/api.bundled.json +26 -0
- package/dist/json-schema/asset.json +45 -2
- package/dist/json-schema/clip.json +45 -2
- package/dist/json-schema/edit.json +45 -2
- package/dist/json-schema/rich-caption-active-font.json +18 -1
- package/dist/json-schema/rich-caption-active.json +105 -1
- package/dist/json-schema/rich-caption-asset.json +45 -2
- package/dist/json-schema/schemas.json +48 -2
- package/dist/json-schema/timeline.json +45 -2
- package/dist/json-schema/track.json +45 -2
- package/dist/schema.d.ts +16 -0
- package/dist/zod/zod.gen.cjs +1091 -925
- package/dist/zod/zod.gen.d.ts +1220 -344
- package/dist/zod/zod.gen.js +1092 -926
- package/dist/zod/zod.gen.ts +1601 -1667
- package/package.json +95 -79
|
@@ -87,6 +87,21 @@
|
|
|
87
87
|
"type": "null"
|
|
88
88
|
}
|
|
89
89
|
]
|
|
90
|
+
},
|
|
91
|
+
"textDecoration": {
|
|
92
|
+
"anyOf": [
|
|
93
|
+
{
|
|
94
|
+
"type": "string",
|
|
95
|
+
"enum": [
|
|
96
|
+
"none",
|
|
97
|
+
"underline",
|
|
98
|
+
"line-through"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "null"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
90
105
|
}
|
|
91
106
|
},
|
|
92
107
|
"additionalProperties": false,
|
|
@@ -96,7 +111,8 @@
|
|
|
96
111
|
"weight",
|
|
97
112
|
"color",
|
|
98
113
|
"opacity",
|
|
99
|
-
"background"
|
|
114
|
+
"background",
|
|
115
|
+
"textDecoration"
|
|
100
116
|
]
|
|
101
117
|
},
|
|
102
118
|
{
|
|
@@ -969,6 +985,16 @@
|
|
|
969
985
|
}
|
|
970
986
|
]
|
|
971
987
|
},
|
|
988
|
+
"shadow": {
|
|
989
|
+
"anyOf": [
|
|
990
|
+
{
|
|
991
|
+
"$ref": "#/$defs/RichTextShadow"
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"type": "null"
|
|
995
|
+
}
|
|
996
|
+
]
|
|
997
|
+
},
|
|
972
998
|
"scale": {
|
|
973
999
|
"anyOf": [
|
|
974
1000
|
{
|
|
@@ -986,6 +1012,7 @@
|
|
|
986
1012
|
"required": [
|
|
987
1013
|
"font",
|
|
988
1014
|
"stroke",
|
|
1015
|
+
"shadow",
|
|
989
1016
|
"scale"
|
|
990
1017
|
]
|
|
991
1018
|
},
|
|
@@ -1026,13 +1053,29 @@
|
|
|
1026
1053
|
"type": "null"
|
|
1027
1054
|
}
|
|
1028
1055
|
]
|
|
1056
|
+
},
|
|
1057
|
+
"textDecoration": {
|
|
1058
|
+
"anyOf": [
|
|
1059
|
+
{
|
|
1060
|
+
"type": "string",
|
|
1061
|
+
"enum": [
|
|
1062
|
+
"none",
|
|
1063
|
+
"underline",
|
|
1064
|
+
"line-through"
|
|
1065
|
+
]
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"type": "null"
|
|
1069
|
+
}
|
|
1070
|
+
]
|
|
1029
1071
|
}
|
|
1030
1072
|
},
|
|
1031
1073
|
"additionalProperties": false,
|
|
1032
1074
|
"required": [
|
|
1033
1075
|
"color",
|
|
1034
1076
|
"background",
|
|
1035
|
-
"opacity"
|
|
1077
|
+
"opacity",
|
|
1078
|
+
"textDecoration"
|
|
1036
1079
|
]
|
|
1037
1080
|
},
|
|
1038
1081
|
"RichCaptionWordAnimation": {
|
|
@@ -2108,6 +2108,22 @@
|
|
|
2108
2108
|
"type": "null"
|
|
2109
2109
|
}
|
|
2110
2110
|
]
|
|
2111
|
+
},
|
|
2112
|
+
"textDecoration": {
|
|
2113
|
+
"anyOf": [
|
|
2114
|
+
{
|
|
2115
|
+
"type": "string",
|
|
2116
|
+
"description": "Text decoration to apply to all words.",
|
|
2117
|
+
"enum": [
|
|
2118
|
+
"none",
|
|
2119
|
+
"underline",
|
|
2120
|
+
"line-through"
|
|
2121
|
+
]
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
"type": "null"
|
|
2125
|
+
}
|
|
2126
|
+
]
|
|
2111
2127
|
}
|
|
2112
2128
|
},
|
|
2113
2129
|
"additionalProperties": false,
|
|
@@ -2117,7 +2133,8 @@
|
|
|
2117
2133
|
"weight",
|
|
2118
2134
|
"color",
|
|
2119
2135
|
"opacity",
|
|
2120
|
-
"background"
|
|
2136
|
+
"background",
|
|
2137
|
+
"textDecoration"
|
|
2121
2138
|
]
|
|
2122
2139
|
},
|
|
2123
2140
|
{
|
|
@@ -2272,6 +2289,17 @@
|
|
|
2272
2289
|
}
|
|
2273
2290
|
]
|
|
2274
2291
|
},
|
|
2292
|
+
"shadow": {
|
|
2293
|
+
"anyOf": [
|
|
2294
|
+
{
|
|
2295
|
+
"description": "Shadow properties for the active word. Overrides the base shadow when a word is active.",
|
|
2296
|
+
"$ref": "#/$defs/RichTextShadow"
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
"type": "null"
|
|
2300
|
+
}
|
|
2301
|
+
]
|
|
2302
|
+
},
|
|
2275
2303
|
"scale": {
|
|
2276
2304
|
"anyOf": [
|
|
2277
2305
|
{
|
|
@@ -2290,6 +2318,7 @@
|
|
|
2290
2318
|
"required": [
|
|
2291
2319
|
"font",
|
|
2292
2320
|
"stroke",
|
|
2321
|
+
"shadow",
|
|
2293
2322
|
"scale"
|
|
2294
2323
|
]
|
|
2295
2324
|
},
|
|
@@ -2334,13 +2363,30 @@
|
|
|
2334
2363
|
"type": "null"
|
|
2335
2364
|
}
|
|
2336
2365
|
]
|
|
2366
|
+
},
|
|
2367
|
+
"textDecoration": {
|
|
2368
|
+
"anyOf": [
|
|
2369
|
+
{
|
|
2370
|
+
"type": "string",
|
|
2371
|
+
"description": "Text decoration to apply to the active word.",
|
|
2372
|
+
"enum": [
|
|
2373
|
+
"none",
|
|
2374
|
+
"underline",
|
|
2375
|
+
"line-through"
|
|
2376
|
+
]
|
|
2377
|
+
},
|
|
2378
|
+
{
|
|
2379
|
+
"type": "null"
|
|
2380
|
+
}
|
|
2381
|
+
]
|
|
2337
2382
|
}
|
|
2338
2383
|
},
|
|
2339
2384
|
"additionalProperties": false,
|
|
2340
2385
|
"required": [
|
|
2341
2386
|
"color",
|
|
2342
2387
|
"background",
|
|
2343
|
-
"opacity"
|
|
2388
|
+
"opacity",
|
|
2389
|
+
"textDecoration"
|
|
2344
2390
|
]
|
|
2345
2391
|
},
|
|
2346
2392
|
"RichCaptionWordAnimation": {
|
|
@@ -1930,6 +1930,21 @@
|
|
|
1930
1930
|
"type": "null"
|
|
1931
1931
|
}
|
|
1932
1932
|
]
|
|
1933
|
+
},
|
|
1934
|
+
"textDecoration": {
|
|
1935
|
+
"anyOf": [
|
|
1936
|
+
{
|
|
1937
|
+
"type": "string",
|
|
1938
|
+
"enum": [
|
|
1939
|
+
"none",
|
|
1940
|
+
"underline",
|
|
1941
|
+
"line-through"
|
|
1942
|
+
]
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
"type": "null"
|
|
1946
|
+
}
|
|
1947
|
+
]
|
|
1933
1948
|
}
|
|
1934
1949
|
},
|
|
1935
1950
|
"additionalProperties": false,
|
|
@@ -1939,7 +1954,8 @@
|
|
|
1939
1954
|
"weight",
|
|
1940
1955
|
"color",
|
|
1941
1956
|
"opacity",
|
|
1942
|
-
"background"
|
|
1957
|
+
"background",
|
|
1958
|
+
"textDecoration"
|
|
1943
1959
|
]
|
|
1944
1960
|
},
|
|
1945
1961
|
{
|
|
@@ -2081,6 +2097,16 @@
|
|
|
2081
2097
|
}
|
|
2082
2098
|
]
|
|
2083
2099
|
},
|
|
2100
|
+
"shadow": {
|
|
2101
|
+
"anyOf": [
|
|
2102
|
+
{
|
|
2103
|
+
"$ref": "#/$defs/RichTextShadow"
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
"type": "null"
|
|
2107
|
+
}
|
|
2108
|
+
]
|
|
2109
|
+
},
|
|
2084
2110
|
"scale": {
|
|
2085
2111
|
"anyOf": [
|
|
2086
2112
|
{
|
|
@@ -2098,6 +2124,7 @@
|
|
|
2098
2124
|
"required": [
|
|
2099
2125
|
"font",
|
|
2100
2126
|
"stroke",
|
|
2127
|
+
"shadow",
|
|
2101
2128
|
"scale"
|
|
2102
2129
|
]
|
|
2103
2130
|
},
|
|
@@ -2138,13 +2165,29 @@
|
|
|
2138
2165
|
"type": "null"
|
|
2139
2166
|
}
|
|
2140
2167
|
]
|
|
2168
|
+
},
|
|
2169
|
+
"textDecoration": {
|
|
2170
|
+
"anyOf": [
|
|
2171
|
+
{
|
|
2172
|
+
"type": "string",
|
|
2173
|
+
"enum": [
|
|
2174
|
+
"none",
|
|
2175
|
+
"underline",
|
|
2176
|
+
"line-through"
|
|
2177
|
+
]
|
|
2178
|
+
},
|
|
2179
|
+
{
|
|
2180
|
+
"type": "null"
|
|
2181
|
+
}
|
|
2182
|
+
]
|
|
2141
2183
|
}
|
|
2142
2184
|
},
|
|
2143
2185
|
"additionalProperties": false,
|
|
2144
2186
|
"required": [
|
|
2145
2187
|
"color",
|
|
2146
2188
|
"background",
|
|
2147
|
-
"opacity"
|
|
2189
|
+
"opacity",
|
|
2190
|
+
"textDecoration"
|
|
2148
2191
|
]
|
|
2149
2192
|
},
|
|
2150
2193
|
"RichCaptionWordAnimation": {
|
|
@@ -1817,6 +1817,21 @@
|
|
|
1817
1817
|
"type": "null"
|
|
1818
1818
|
}
|
|
1819
1819
|
]
|
|
1820
|
+
},
|
|
1821
|
+
"textDecoration": {
|
|
1822
|
+
"anyOf": [
|
|
1823
|
+
{
|
|
1824
|
+
"type": "string",
|
|
1825
|
+
"enum": [
|
|
1826
|
+
"none",
|
|
1827
|
+
"underline",
|
|
1828
|
+
"line-through"
|
|
1829
|
+
]
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
"type": "null"
|
|
1833
|
+
}
|
|
1834
|
+
]
|
|
1820
1835
|
}
|
|
1821
1836
|
},
|
|
1822
1837
|
"additionalProperties": false,
|
|
@@ -1826,7 +1841,8 @@
|
|
|
1826
1841
|
"weight",
|
|
1827
1842
|
"color",
|
|
1828
1843
|
"opacity",
|
|
1829
|
-
"background"
|
|
1844
|
+
"background",
|
|
1845
|
+
"textDecoration"
|
|
1830
1846
|
]
|
|
1831
1847
|
},
|
|
1832
1848
|
{
|
|
@@ -1968,6 +1984,16 @@
|
|
|
1968
1984
|
}
|
|
1969
1985
|
]
|
|
1970
1986
|
},
|
|
1987
|
+
"shadow": {
|
|
1988
|
+
"anyOf": [
|
|
1989
|
+
{
|
|
1990
|
+
"$ref": "#/$defs/RichTextShadow"
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
"type": "null"
|
|
1994
|
+
}
|
|
1995
|
+
]
|
|
1996
|
+
},
|
|
1971
1997
|
"scale": {
|
|
1972
1998
|
"anyOf": [
|
|
1973
1999
|
{
|
|
@@ -1985,6 +2011,7 @@
|
|
|
1985
2011
|
"required": [
|
|
1986
2012
|
"font",
|
|
1987
2013
|
"stroke",
|
|
2014
|
+
"shadow",
|
|
1988
2015
|
"scale"
|
|
1989
2016
|
]
|
|
1990
2017
|
},
|
|
@@ -2025,13 +2052,29 @@
|
|
|
2025
2052
|
"type": "null"
|
|
2026
2053
|
}
|
|
2027
2054
|
]
|
|
2055
|
+
},
|
|
2056
|
+
"textDecoration": {
|
|
2057
|
+
"anyOf": [
|
|
2058
|
+
{
|
|
2059
|
+
"type": "string",
|
|
2060
|
+
"enum": [
|
|
2061
|
+
"none",
|
|
2062
|
+
"underline",
|
|
2063
|
+
"line-through"
|
|
2064
|
+
]
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"type": "null"
|
|
2068
|
+
}
|
|
2069
|
+
]
|
|
2028
2070
|
}
|
|
2029
2071
|
},
|
|
2030
2072
|
"additionalProperties": false,
|
|
2031
2073
|
"required": [
|
|
2032
2074
|
"color",
|
|
2033
2075
|
"background",
|
|
2034
|
-
"opacity"
|
|
2076
|
+
"opacity",
|
|
2077
|
+
"textDecoration"
|
|
2035
2078
|
]
|
|
2036
2079
|
},
|
|
2037
2080
|
"RichCaptionWordAnimation": {
|
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,6 +1076,13 @@ 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: {
|
|
@@ -1076,6 +1090,8 @@ export interface components {
|
|
|
1076
1090
|
font?: components["schemas"]["RichCaptionActiveFont"];
|
|
1077
1091
|
/** @description Stroke properties for the active word. */
|
|
1078
1092
|
stroke?: components["schemas"]["RichTextStroke"];
|
|
1093
|
+
/** @description Shadow properties for the active word. Overrides the base shadow when a word is active. */
|
|
1094
|
+
shadow?: components["schemas"]["RichTextShadow"];
|
|
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
|