@shotstack/schemas 1.4.1 → 1.4.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 +16 -3
- package/dist/schema.d.ts +2 -5
- package/dist/zod/zod.gen.cjs +505 -335
- package/dist/zod/zod.gen.d.ts +961 -41
- package/dist/zod/zod.gen.js +505 -335
- package/dist/zod/zod.gen.ts +167 -164
- package/package.json +1 -1
package/dist/api.bundled.json
CHANGED
|
@@ -1062,9 +1062,22 @@
|
|
|
1062
1062
|
"type": "string"
|
|
1063
1063
|
},
|
|
1064
1064
|
"scale": {
|
|
1065
|
-
"description": "Scale the asset to a fraction of the viewport size - i.e. setting the scale to 0.5 will scale asset to half the size of the viewport. This is useful for picture-in-picture video and scaling images such as logos and watermarks.",
|
|
1066
|
-
"
|
|
1067
|
-
|
|
1065
|
+
"description": "Scale the asset to a fraction of the viewport size - i.e. setting the scale to 0.5 will scale asset to half the size of the viewport. This is useful for picture-in-picture video and scaling images such as logos and watermarks. Use a number or an array of [Tween](./#tocs_tween) objects to create a custom animation.",
|
|
1066
|
+
"oneOf": [
|
|
1067
|
+
{
|
|
1068
|
+
"type": "number",
|
|
1069
|
+
"description": "Scale the asset to a fraction of the viewport size. For example, 0.5 will scale the asset to half the size of the viewport.",
|
|
1070
|
+
"format": "float",
|
|
1071
|
+
"example": 0.5
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"type": "array",
|
|
1075
|
+
"description": "An array of [Tween](./#tocs_tween) objects used to create a custom animation. Animate the scale of an asset over time.",
|
|
1076
|
+
"items": {
|
|
1077
|
+
"$ref": "#/components/schemas/Tween"
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
]
|
|
1068
1081
|
},
|
|
1069
1082
|
"width": {
|
|
1070
1083
|
"description": "Set the width of the clip bounding box in pixels. This constrains the width of the clip, overriding the default behavior where clips fill the viewport width.",
|
package/dist/schema.d.ts
CHANGED
|
@@ -512,11 +512,8 @@ export interface components {
|
|
|
512
512
|
* @enum {string}
|
|
513
513
|
*/
|
|
514
514
|
fit?: "cover" | "contain" | "crop" | "none";
|
|
515
|
-
/**
|
|
516
|
-
|
|
517
|
-
* @example 0
|
|
518
|
-
*/
|
|
519
|
-
scale?: number;
|
|
515
|
+
/** @description Scale the asset to a fraction of the viewport size - i.e. setting the scale to 0.5 will scale asset to half the size of the viewport. This is useful for picture-in-picture video and scaling images such as logos and watermarks. Use a number or an array of [Tween](./#tocs_tween) objects to create a custom animation. */
|
|
516
|
+
scale?: number | components["schemas"]["Tween"][];
|
|
520
517
|
/**
|
|
521
518
|
* @description Set the width of the clip bounding box in pixels. This constrains the width of the clip, overriding the default behavior where clips fill the viewport width.
|
|
522
519
|
* @example 800
|