@shotstack/schemas 1.14.0 → 1.15.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 +12 -13
- package/dist/json-schema/edit.json +3828 -4198
- package/dist/json-schema/index.cjs +1 -6
- package/dist/json-schema/index.d.ts +1 -11
- package/dist/json-schema/index.js +0 -5
- package/dist/schema.d.ts +20 -9
- package/dist/zod/zod.gen.cjs +12 -4
- package/dist/zod/zod.gen.d.ts +99 -91
- package/dist/zod/zod.gen.js +12 -4
- package/dist/zod/zod.gen.ts +12 -4
- package/package.json +1 -1
- package/dist/json-schema/asset.json +0 -2725
- package/dist/json-schema/audio-asset.json +0 -315
- package/dist/json-schema/blueprint.json +0 -380
- package/dist/json-schema/caption-asset.json +0 -285
- package/dist/json-schema/caption-background.json +0 -61
- package/dist/json-schema/caption-detailer.json +0 -275
- package/dist/json-schema/caption-font.json +0 -97
- package/dist/json-schema/caption-margin.json +0 -49
- package/dist/json-schema/chroma-key.json +0 -46
- package/dist/json-schema/clip.json +0 -3236
- package/dist/json-schema/crop.json +0 -69
- package/dist/json-schema/destinations.json +0 -599
- package/dist/json-schema/flip-transformation.json +0 -37
- package/dist/json-schema/font.json +0 -18
- package/dist/json-schema/google-cloud-storage-destination-options.json +0 -42
- package/dist/json-schema/google-cloud-storage-destination.json +0 -73
- package/dist/json-schema/google-drive-destination-options.json +0 -30
- package/dist/json-schema/google-drive-destination.json +0 -54
- package/dist/json-schema/image-asset.json +0 -173
- package/dist/json-schema/image-to-video-asset.json +0 -151
- package/dist/json-schema/luma-asset.json +0 -38
- package/dist/json-schema/merge-field.json +0 -23
- package/dist/json-schema/offset.json +0 -175
- package/dist/json-schema/output.json +0 -893
- package/dist/json-schema/poster.json +0 -18
- package/dist/json-schema/range.json +0 -39
- package/dist/json-schema/rich-caption-active-font.json +0 -106
- package/dist/json-schema/rich-caption-active.json +0 -291
- package/dist/json-schema/rich-caption-animation.json +0 -46
- package/dist/json-schema/rich-caption-asset.json +0 -1247
- package/dist/json-schema/rich-text-alignment.json +0 -47
- package/dist/json-schema/rich-text-animation.json +0 -74
- package/dist/json-schema/rich-text-asset.json +0 -761
- package/dist/json-schema/rich-text-background.json +0 -78
- package/dist/json-schema/rich-text-content.json +0 -394
- package/dist/json-schema/rich-text-effects.json +0 -400
- package/dist/json-schema/rich-text-font.json +0 -157
- package/dist/json-schema/rich-text-gradient.json +0 -68
- package/dist/json-schema/rich-text-shadow.json +0 -79
- package/dist/json-schema/rich-text-stroke.json +0 -55
- package/dist/json-schema/rich-text-style.json +0 -165
- package/dist/json-schema/rotate-transformation.json +0 -153
- package/dist/json-schema/s3destination-options.json +0 -59
- package/dist/json-schema/s3destination.json +0 -90
- package/dist/json-schema/schemas.json +0 -4716
- package/dist/json-schema/shape-asset.json +0 -225
- package/dist/json-schema/shotstack-destination.json +0 -33
- package/dist/json-schema/size.json +0 -41
- package/dist/json-schema/skew-transformation.json +0 -175
- package/dist/json-schema/soundtrack.json +0 -47
- package/dist/json-schema/svg-asset.json +0 -26
- package/dist/json-schema/template.json +0 -827
- package/dist/json-schema/text-to-image-asset.json +0 -128
- package/dist/json-schema/text-to-speech-asset.json +0 -239
- package/dist/json-schema/thumbnail.json +0 -25
- package/dist/json-schema/timeline.json +0 -3364
- package/dist/json-schema/track.json +0 -3251
- package/dist/json-schema/transformation.json +0 -281
- package/dist/json-schema/transition.json +0 -85
- package/dist/json-schema/tween.json +0 -120
- package/dist/json-schema/video-asset.json +0 -471
- package/dist/json-schema/vimeo-destination-options.json +0 -149
- package/dist/json-schema/vimeo-destination-privacy-options.json +0 -90
- package/dist/json-schema/vimeo-destination.json +0 -178
package/dist/zod/zod.gen.js
CHANGED
|
@@ -260,7 +260,7 @@ export const googleCloudStorageDestinationSchema = googleCloudStorageDestination
|
|
|
260
260
|
* Pass the folder ID and options to configure how assets are stored in Google Drive.
|
|
261
261
|
*/
|
|
262
262
|
export const googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema = z.object({
|
|
263
|
-
folderId: z.string(),
|
|
263
|
+
folderId: z.optional(z.string()),
|
|
264
264
|
filename: z.optional(z.string())
|
|
265
265
|
}).strict();
|
|
266
266
|
export const googleDriveDestinationOptionsSchema = googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema;
|
|
@@ -269,7 +269,7 @@ export const googleDriveDestinationOptionsSchema = googleDriveDestinationOptions
|
|
|
269
269
|
*/
|
|
270
270
|
export const googleDriveDestinationGoogleDriveDestinationSchema = z.object({
|
|
271
271
|
provider: z.literal("google-drive"),
|
|
272
|
-
options: googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema
|
|
272
|
+
options: z.optional(googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema)
|
|
273
273
|
}).strict();
|
|
274
274
|
export const googleDriveDestinationSchema = googleDriveDestinationGoogleDriveDestinationSchema;
|
|
275
275
|
/**
|
|
@@ -423,7 +423,7 @@ export const html5AssetHtml5AssetSchema = z.object({
|
|
|
423
423
|
}).strict();
|
|
424
424
|
export const html5AssetSchema = html5AssetHtml5AssetSchema;
|
|
425
425
|
/**
|
|
426
|
-
* **Notice: The HtmlAsset is deprecated, use the [
|
|
426
|
+
* **Notice: The HtmlAsset is deprecated, use the [RichTextAsset](#tocs_richtextasset) instead.**
|
|
427
427
|
*
|
|
428
428
|
* The HtmlAsset clip type lets you create text based layout and formatting using
|
|
429
429
|
* HTML and CSS. You can also set the height and width of a bounding box for the HTML
|
|
@@ -1660,7 +1660,10 @@ export const sourceSourceSchema = z.object({
|
|
|
1660
1660
|
}).strict();
|
|
1661
1661
|
export const sourceSchema = sourceSourceSchema;
|
|
1662
1662
|
/**
|
|
1663
|
+
* **Notice: The Soundtrack is deprecated, use an [AudioAsset](#tocs_audioasset) clip on its own track instead.** This type continues to function; no behaviour change for existing integrations.
|
|
1663
1664
|
* A music or audio file in mp3 format that plays for the duration of the rendered video or the length of the audio file, which ever is shortest.
|
|
1665
|
+
*
|
|
1666
|
+
* @deprecated
|
|
1664
1667
|
*/
|
|
1665
1668
|
export const soundtrackSoundtrackSchema = z.object({
|
|
1666
1669
|
src: z.string().min(1).regex(/\S/),
|
|
@@ -1815,9 +1818,14 @@ export const textpropertiesTextStrokeSchema = z.object({
|
|
|
1815
1818
|
color: z.optional(z.union([z.string().regex(/^#[A-Fa-f0-9]{6}$/), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
|
|
1816
1819
|
}).strict();
|
|
1817
1820
|
/**
|
|
1821
|
+
* **Notice: The TextAsset is deprecated, use the [RichTextAsset](#tocs_richtextasset) instead.** This type
|
|
1822
|
+
* continues to function; no behaviour change for existing integrations.
|
|
1823
|
+
*
|
|
1818
1824
|
* The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom
|
|
1819
1825
|
* [Fonts](#tocs_font). You can also add a background bounding box used to control wrapping and overflow. Emoticons are also supported.
|
|
1820
1826
|
*
|
|
1827
|
+
*
|
|
1828
|
+
* @deprecated
|
|
1821
1829
|
*/
|
|
1822
1830
|
export const textassetTextAssetSchema = z.object({
|
|
1823
1831
|
type: z.enum(['text']),
|
|
@@ -2367,7 +2375,7 @@ export const texttospeechassetTextToSpeechAssetSchema = z.object({
|
|
|
2367
2375
|
}).strict();
|
|
2368
2376
|
export const textToSpeechAssetSchema = texttospeechassetTextToSpeechAssetSchema;
|
|
2369
2377
|
/**
|
|
2370
|
-
* **Notice: The TitleAsset is deprecated, use the [
|
|
2378
|
+
* **Notice: The TitleAsset is deprecated, use the [RichTextAsset](#tocs_richtextasset) instead.**
|
|
2371
2379
|
*
|
|
2372
2380
|
* The TitleAsset clip type lets you create video titles from a text string and apply styling and positioning.
|
|
2373
2381
|
*
|
package/dist/zod/zod.gen.ts
CHANGED
|
@@ -188,7 +188,7 @@ export const googleCloudStorageDestinationSchema = googleCloudStorageDestination
|
|
|
188
188
|
* Pass the folder ID and options to configure how assets are stored in Google Drive.
|
|
189
189
|
*/
|
|
190
190
|
export const googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema = z.object({
|
|
191
|
-
folderId: z.string(),
|
|
191
|
+
folderId: z.optional(z.string()),
|
|
192
192
|
filename: z.optional(z.string())
|
|
193
193
|
}).strict();
|
|
194
194
|
|
|
@@ -199,7 +199,7 @@ export const googleDriveDestinationOptionsSchema = googleDriveDestinationOptions
|
|
|
199
199
|
*/
|
|
200
200
|
export const googleDriveDestinationGoogleDriveDestinationSchema = z.object({
|
|
201
201
|
provider: z.literal("google-drive"),
|
|
202
|
-
options: googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema
|
|
202
|
+
options: z.optional(googleDriveDestinationOptionsGoogleDriveDestinationOptionsSchema)
|
|
203
203
|
}).strict();
|
|
204
204
|
|
|
205
205
|
export const googleDriveDestinationSchema = googleDriveDestinationGoogleDriveDestinationSchema;
|
|
@@ -381,7 +381,7 @@ export const html5AssetHtml5AssetSchema = z.object({
|
|
|
381
381
|
export const html5AssetSchema = html5AssetHtml5AssetSchema;
|
|
382
382
|
|
|
383
383
|
/**
|
|
384
|
-
* **Notice: The HtmlAsset is deprecated, use the [
|
|
384
|
+
* **Notice: The HtmlAsset is deprecated, use the [RichTextAsset](#tocs_richtextasset) instead.**
|
|
385
385
|
*
|
|
386
386
|
* The HtmlAsset clip type lets you create text based layout and formatting using
|
|
387
387
|
* HTML and CSS. You can also set the height and width of a bounding box for the HTML
|
|
@@ -1358,7 +1358,10 @@ export const sourceSourceSchema = z.object({
|
|
|
1358
1358
|
export const sourceSchema = sourceSourceSchema;
|
|
1359
1359
|
|
|
1360
1360
|
/**
|
|
1361
|
+
* **Notice: The Soundtrack is deprecated, use an [AudioAsset](#tocs_audioasset) clip on its own track instead.** This type continues to function; no behaviour change for existing integrations.
|
|
1361
1362
|
* A music or audio file in mp3 format that plays for the duration of the rendered video or the length of the audio file, which ever is shortest.
|
|
1363
|
+
*
|
|
1364
|
+
* @deprecated
|
|
1362
1365
|
*/
|
|
1363
1366
|
export const soundtrackSoundtrackSchema = z.object({
|
|
1364
1367
|
src: z.string().min(1).regex(/\S/),
|
|
@@ -1467,9 +1470,14 @@ export const textpropertiesTextStrokeSchema = z.object({
|
|
|
1467
1470
|
}).strict();
|
|
1468
1471
|
|
|
1469
1472
|
/**
|
|
1473
|
+
* **Notice: The TextAsset is deprecated, use the [RichTextAsset](#tocs_richtextasset) instead.** This type
|
|
1474
|
+
* continues to function; no behaviour change for existing integrations.
|
|
1475
|
+
*
|
|
1470
1476
|
* The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom
|
|
1471
1477
|
* [Fonts](#tocs_font). You can also add a background bounding box used to control wrapping and overflow. Emoticons are also supported.
|
|
1472
1478
|
*
|
|
1479
|
+
*
|
|
1480
|
+
* @deprecated
|
|
1473
1481
|
*/
|
|
1474
1482
|
export const textassetTextAssetSchema = z.object({
|
|
1475
1483
|
type: z.enum(['text']),
|
|
@@ -1921,7 +1929,7 @@ export const texttospeechassetTextToSpeechAssetSchema = z.object({
|
|
|
1921
1929
|
export const textToSpeechAssetSchema = texttospeechassetTextToSpeechAssetSchema;
|
|
1922
1930
|
|
|
1923
1931
|
/**
|
|
1924
|
-
* **Notice: The TitleAsset is deprecated, use the [
|
|
1932
|
+
* **Notice: The TitleAsset is deprecated, use the [RichTextAsset](#tocs_richtextasset) instead.**
|
|
1925
1933
|
*
|
|
1926
1934
|
* The TitleAsset clip type lets you create video titles from a text string and apply styling and positioning.
|
|
1927
1935
|
*
|