@shotstack/schemas 1.23.1 → 1.23.2
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 +9 -9
- package/dist/json-schema/edit.json +9 -9
- package/dist/json-schema/index.cjs +1 -1
- package/dist/json-schema/index.js +1 -1
- package/dist/schema.d.ts +16 -14
- package/dist/zod/zod.gen.cjs +2 -0
- package/dist/zod/zod.gen.d.ts +2 -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
|
@@ -1320,7 +1320,7 @@ export interface components {
|
|
|
1320
1320
|
* <li>`highlight` - Word changes to active color when spoken (shows all words)</li>
|
|
1321
1321
|
* <li>`pop` - Each word scales up when active</li>
|
|
1322
1322
|
* <li>`fade` - Gradual opacity transition per word</li>
|
|
1323
|
-
* <li>`slide` - Words slide in
|
|
1323
|
+
* <li>`slide` - Words slide in, travelling in `direction`</li>
|
|
1324
1324
|
* <li>`bounce` - Spring animation on word appearance</li>
|
|
1325
1325
|
* <li>`typewriter` - Words appear one by one and stay visible</li>
|
|
1326
1326
|
* <li>`none` - No animation, all words visible immediately</li>
|
|
@@ -1331,7 +1331,7 @@ export interface components {
|
|
|
1331
1331
|
*/
|
|
1332
1332
|
style: "karaoke" | "highlight" | "pop" | "fade" | "slide" | "bounce" | "typewriter" | "none";
|
|
1333
1333
|
/**
|
|
1334
|
-
* @description
|
|
1334
|
+
* @description The direction words travel when style is `slide`.
|
|
1335
1335
|
* @default up
|
|
1336
1336
|
* @example up
|
|
1337
1337
|
* @enum {string}
|
|
@@ -1672,7 +1672,7 @@ export interface components {
|
|
|
1672
1672
|
* <li>`shuffleTopLeft` - rotate in from top left</li>
|
|
1673
1673
|
* <li>`zoom` - fast zoom in</li>
|
|
1674
1674
|
* </ul>
|
|
1675
|
-
* The transition speed can also be controlled by appending `Fast` or `Slow` to
|
|
1675
|
+
* The transition speed can also be controlled by appending `Fast` or `Slow` to any transition except `zoom`, e.g. `fadeFast` or `carouselLeftSlow`.
|
|
1676
1676
|
* @enum {string}
|
|
1677
1677
|
*/
|
|
1678
1678
|
in?: "none" | "fade" | "fadeSlow" | "fadeFast" | "reveal" | "revealSlow" | "revealFast" | "wipeLeft" | "wipeLeftSlow" | "wipeLeftFast" | "wipeRight" | "wipeRightSlow" | "wipeRightFast" | "slideLeft" | "slideLeftSlow" | "slideLeftFast" | "slideRight" | "slideRightSlow" | "slideRightFast" | "slideUp" | "slideUpSlow" | "slideUpFast" | "slideDown" | "slideDownSlow" | "slideDownFast" | "carouselLeft" | "carouselLeftSlow" | "carouselLeftFast" | "carouselRight" | "carouselRightSlow" | "carouselRightFast" | "carouselUp" | "carouselUpSlow" | "carouselUpFast" | "carouselDown" | "carouselDownSlow" | "carouselDownFast" | "shuffleTopRight" | "shuffleTopRightSlow" | "shuffleTopRightFast" | "shuffleRightTop" | "shuffleRightTopSlow" | "shuffleRightTopFast" | "shuffleRightBottom" | "shuffleRightBottomSlow" | "shuffleRightBottomFast" | "shuffleBottomRight" | "shuffleBottomRightSlow" | "shuffleBottomRightFast" | "shuffleBottomLeft" | "shuffleBottomLeftSlow" | "shuffleBottomLeftFast" | "shuffleLeftBottom" | "shuffleLeftBottomSlow" | "shuffleLeftBottomFast" | "shuffleLeftTop" | "shuffleLeftTopSlow" | "shuffleLeftTopFast" | "shuffleTopLeft" | "shuffleTopLeftSlow" | "shuffleTopLeftFast" | "zoom";
|
|
@@ -1701,7 +1701,7 @@ export interface components {
|
|
|
1701
1701
|
* <li>`shuffleTopLeft` - rotate out from top left</li>
|
|
1702
1702
|
* <li>`zoom` - fast zoom out</li>
|
|
1703
1703
|
* </ul>
|
|
1704
|
-
* The transition speed can also be controlled by appending `Fast` or `Slow` to
|
|
1704
|
+
* The transition speed can also be controlled by appending `Fast` or `Slow` to any transition except `zoom`, e.g. `fadeFast` or `carouselLeftSlow`.
|
|
1705
1705
|
* @enum {string}
|
|
1706
1706
|
*/
|
|
1707
1707
|
out?: "none" | "fade" | "fadeSlow" | "fadeFast" | "reveal" | "revealSlow" | "revealFast" | "wipeLeft" | "wipeLeftSlow" | "wipeLeftFast" | "wipeRight" | "wipeRightSlow" | "wipeRightFast" | "slideLeft" | "slideLeftSlow" | "slideLeftFast" | "slideRight" | "slideRightSlow" | "slideRightFast" | "slideUp" | "slideUpSlow" | "slideUpFast" | "slideDown" | "slideDownSlow" | "slideDownFast" | "carouselLeft" | "carouselLeftSlow" | "carouselLeftFast" | "carouselRight" | "carouselRightSlow" | "carouselRightFast" | "carouselUp" | "carouselUpSlow" | "carouselUpFast" | "carouselDown" | "carouselDownSlow" | "carouselDownFast" | "shuffleTopRight" | "shuffleTopRightSlow" | "shuffleTopRightFast" | "shuffleRightTop" | "shuffleRightTopSlow" | "shuffleRightTopFast" | "shuffleRightBottom" | "shuffleRightBottomSlow" | "shuffleRightBottomFast" | "shuffleBottomRight" | "shuffleBottomRightSlow" | "shuffleBottomRightFast" | "shuffleBottomLeft" | "shuffleBottomLeftSlow" | "shuffleBottomLeftFast" | "shuffleLeftBottom" | "shuffleLeftBottomSlow" | "shuffleLeftBottomFast" | "shuffleLeftTop" | "shuffleLeftTopSlow" | "shuffleLeftTopFast" | "shuffleTopLeft" | "shuffleTopLeftSlow" | "shuffleTopLeftFast" | "zoom";
|
|
@@ -2077,31 +2077,31 @@ export interface components {
|
|
|
2077
2077
|
/** @description Animation properties for text entrance effects. */
|
|
2078
2078
|
RichTextAnimation: {
|
|
2079
2079
|
/**
|
|
2080
|
-
* @description The animation preset to apply. Available presets: <ul>
|
|
2081
|
-
* <li>`fadeIn` -
|
|
2082
|
-
* <li>`slideIn` -
|
|
2083
|
-
* <li>`typewriter` -
|
|
2084
|
-
* <li>`ascend` -
|
|
2085
|
-
* <li>`shift` -
|
|
2086
|
-
* <li>`movingLetters` - letters
|
|
2080
|
+
* @description The animation preset to apply. Every preset starts with the clip. Available presets: <ul>
|
|
2081
|
+
* <li>`fadeIn` - fade in</li>
|
|
2082
|
+
* <li>`slideIn` - fade in while sliding in `direction`</li>
|
|
2083
|
+
* <li>`typewriter` - type the text out behind a cursor</li>
|
|
2084
|
+
* <li>`ascend` - each word rises (`up`) or drops (`down`) into place</li>
|
|
2085
|
+
* <li>`shift` - fade in while shifting a short distance in `direction`</li>
|
|
2086
|
+
* <li>`movingLetters` - fade in, then ripple the letters along `direction` for the rest of the clip. Ignores `duration` and `style`.</li>
|
|
2087
2087
|
* </ul>
|
|
2088
2088
|
* @example shift
|
|
2089
2089
|
* @enum {string}
|
|
2090
2090
|
*/
|
|
2091
2091
|
preset: "fadeIn" | "slideIn" | "typewriter" | "ascend" | "shift" | "movingLetters";
|
|
2092
2092
|
/**
|
|
2093
|
-
* @description Override animation duration in seconds. Must be between 0.1 and 30 seconds.
|
|
2093
|
+
* @description Override animation duration in seconds. Must be between 0.1 and 30 seconds. When omitted, the text animates at about 30 characters per second, taking at least 0.3 seconds and at most 90% of the clip.
|
|
2094
2094
|
* @example 2
|
|
2095
2095
|
*/
|
|
2096
2096
|
duration?: number;
|
|
2097
2097
|
/**
|
|
2098
|
-
* @description
|
|
2098
|
+
* @description Animate by character or by word. Applies to `fadeIn`, `slideIn`, `typewriter` and `shift`, where `shift` defaults to `character`. `ascend` always animates by word.
|
|
2099
2099
|
* @example character
|
|
2100
2100
|
* @enum {string}
|
|
2101
2101
|
*/
|
|
2102
2102
|
style?: "character" | "word";
|
|
2103
2103
|
/**
|
|
2104
|
-
* @description
|
|
2104
|
+
* @description The direction the text travels. Defaults to `left` for `slideIn` and `shift`, and to `up` for `ascend` and `movingLetters`. <ul>
|
|
2105
2105
|
* <li>`ascend` - supports: up, down</li>
|
|
2106
2106
|
* <li>`shift` - supports: left, right, up, down</li>
|
|
2107
2107
|
* <li>`slideIn` - supports: left, right, up, down</li>
|
|
@@ -2268,9 +2268,11 @@ export interface components {
|
|
|
2268
2268
|
* <ul>
|
|
2269
2269
|
* <li>Opacity - animate the transparency of a clip.</li>
|
|
2270
2270
|
* <li>Offset - animate the x and y position of a clip.</li>
|
|
2271
|
+
* <li>Scale - animate the size of a clip.</li>
|
|
2271
2272
|
* <li>Rotation - animate the rotation of a clip.</li>
|
|
2272
2273
|
* <li>Skew - animate the horizontal and vertical shearing effect.</li>
|
|
2273
2274
|
* <li>Volume - animate the audio volume of a clip.</li>
|
|
2275
|
+
* <li>Speed - animate the playback speed of a video clip.</li>
|
|
2274
2276
|
* </ul>
|
|
2275
2277
|
*/
|
|
2276
2278
|
Tween: {
|
package/dist/zod/zod.gen.cjs
CHANGED
|
@@ -2268,9 +2268,11 @@ exports.transitionSchema = exports.transitionTransitionSchema;
|
|
|
2268
2268
|
* <ul>
|
|
2269
2269
|
* <li>Opacity - animate the transparency of a clip.</li>
|
|
2270
2270
|
* <li>Offset - animate the x and y position of a clip.</li>
|
|
2271
|
+
* <li>Scale - animate the size of a clip.</li>
|
|
2271
2272
|
* <li>Rotation - animate the rotation of a clip.</li>
|
|
2272
2273
|
* <li>Skew - animate the horizontal and vertical shearing effect.</li>
|
|
2273
2274
|
* <li>Volume - animate the audio volume of a clip.</li>
|
|
2275
|
+
* <li>Speed - animate the playback speed of a video clip.</li>
|
|
2274
2276
|
* </ul>
|
|
2275
2277
|
*/
|
|
2276
2278
|
exports.tweenTweenSchema = zod_1.z.object({
|
package/dist/zod/zod.gen.d.ts
CHANGED
|
@@ -5820,9 +5820,11 @@ export declare const transitionSchema: z.ZodObject<{
|
|
|
5820
5820
|
* <ul>
|
|
5821
5821
|
* <li>Opacity - animate the transparency of a clip.</li>
|
|
5822
5822
|
* <li>Offset - animate the x and y position of a clip.</li>
|
|
5823
|
+
* <li>Scale - animate the size of a clip.</li>
|
|
5823
5824
|
* <li>Rotation - animate the rotation of a clip.</li>
|
|
5824
5825
|
* <li>Skew - animate the horizontal and vertical shearing effect.</li>
|
|
5825
5826
|
* <li>Volume - animate the audio volume of a clip.</li>
|
|
5827
|
+
* <li>Speed - animate the playback speed of a video clip.</li>
|
|
5826
5828
|
* </ul>
|
|
5827
5829
|
*/
|
|
5828
5830
|
export declare const tweenTweenSchema: z.ZodObject<{
|
package/dist/zod/zod.gen.js
CHANGED
|
@@ -2259,9 +2259,11 @@ export const transitionSchema = transitionTransitionSchema;
|
|
|
2259
2259
|
* <ul>
|
|
2260
2260
|
* <li>Opacity - animate the transparency of a clip.</li>
|
|
2261
2261
|
* <li>Offset - animate the x and y position of a clip.</li>
|
|
2262
|
+
* <li>Scale - animate the size of a clip.</li>
|
|
2262
2263
|
* <li>Rotation - animate the rotation of a clip.</li>
|
|
2263
2264
|
* <li>Skew - animate the horizontal and vertical shearing effect.</li>
|
|
2264
2265
|
* <li>Volume - animate the audio volume of a clip.</li>
|
|
2266
|
+
* <li>Speed - animate the playback speed of a video clip.</li>
|
|
2265
2267
|
* </ul>
|
|
2266
2268
|
*/
|
|
2267
2269
|
export const tweenTweenSchema = z.object({
|
package/dist/zod/zod.gen.ts
CHANGED
|
@@ -1890,9 +1890,11 @@ export const transitionSchema = transitionTransitionSchema;
|
|
|
1890
1890
|
* <ul>
|
|
1891
1891
|
* <li>Opacity - animate the transparency of a clip.</li>
|
|
1892
1892
|
* <li>Offset - animate the x and y position of a clip.</li>
|
|
1893
|
+
* <li>Scale - animate the size of a clip.</li>
|
|
1893
1894
|
* <li>Rotation - animate the rotation of a clip.</li>
|
|
1894
1895
|
* <li>Skew - animate the horizontal and vertical shearing effect.</li>
|
|
1895
1896
|
* <li>Volume - animate the audio volume of a clip.</li>
|
|
1897
|
+
* <li>Speed - animate the playback speed of a video clip.</li>
|
|
1896
1898
|
* </ul>
|
|
1897
1899
|
*/
|
|
1898
1900
|
export const tweenTweenSchema = z.object({
|