@shotstack/schemas 1.23.0 → 1.23.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/dist/api.bundled.json +3 -3
- package/dist/json-schema/edit.json +3 -3
- package/dist/json-schema/index.cjs +1 -1
- package/dist/json-schema/index.js +1 -1
- package/dist/schema.d.ts +3 -3
- package/dist/zod/zod.gen.cjs +1 -1
- package/dist/zod/zod.gen.d.ts +1 -1
- package/dist/zod/zod.gen.js +1 -1
- package/dist/zod/zod.gen.ts +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -2323,7 +2323,7 @@ export interface components {
|
|
|
2323
2323
|
*/
|
|
2324
2324
|
replace: unknown;
|
|
2325
2325
|
};
|
|
2326
|
-
/** @description The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified. */
|
|
2326
|
+
/** @description The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified. A custom `size` can be up to 3840px on each side, or 1920px for `gif`. Video can be up to 3840 × 2160 pixels (8,294,400) in any shape, for example 2160 × 3840 for vertical 4K; larger sizes are rejected. Video above 1920 × 1080 pixels, including the `4k` resolution, needs a plan that includes 4K. */
|
|
2327
2327
|
Output: {
|
|
2328
2328
|
/**
|
|
2329
2329
|
* @description The output format and type of media file to generate. <ul>
|
|
@@ -2426,12 +2426,12 @@ export interface components {
|
|
|
2426
2426
|
/** @description Set a custom size for a video or image in pixels. When using a custom size omit the `resolution` and `aspectRatio`. Custom sizes must be divisible by 2 based on the encoder specifications. */
|
|
2427
2427
|
Size: {
|
|
2428
2428
|
/**
|
|
2429
|
-
* @description Set a custom width for the video or image file in pixels. Value must be divisible by 2.
|
|
2429
|
+
* @description Set a custom width for the video or image file in pixels. Value must be divisible by 2.
|
|
2430
2430
|
* @example 1200
|
|
2431
2431
|
*/
|
|
2432
2432
|
width?: number;
|
|
2433
2433
|
/**
|
|
2434
|
-
* @description Set a custom height for the video or image file in pixels. Value must be divisible by 2.
|
|
2434
|
+
* @description Set a custom height for the video or image file in pixels. Value must be divisible by 2.
|
|
2435
2435
|
* @example 800
|
|
2436
2436
|
*/
|
|
2437
2437
|
height?: number;
|
package/dist/zod/zod.gen.cjs
CHANGED
|
@@ -2055,7 +2055,7 @@ exports.thumbnailThumbnailSchema = zod_1.z.object({
|
|
|
2055
2055
|
}).strict();
|
|
2056
2056
|
exports.thumbnailSchema = exports.thumbnailThumbnailSchema;
|
|
2057
2057
|
/**
|
|
2058
|
-
* The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified.
|
|
2058
|
+
* The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified. A custom `size` can be up to 3840px on each side, or 1920px for `gif`. Video can be up to 3840 × 2160 pixels (8,294,400) in any shape, for example 2160 × 3840 for vertical 4K; larger sizes are rejected. Video above 1920 × 1080 pixels, including the `4k` resolution, needs a plan that includes 4K.
|
|
2059
2059
|
*/
|
|
2060
2060
|
exports.outputOutputSchema = zod_1.z.object({
|
|
2061
2061
|
format: zod_1.z.enum([
|
package/dist/zod/zod.gen.d.ts
CHANGED
|
@@ -5250,7 +5250,7 @@ export declare const thumbnailSchema: z.ZodObject<{
|
|
|
5250
5250
|
scale: z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>;
|
|
5251
5251
|
}, z.core.$strict>;
|
|
5252
5252
|
/**
|
|
5253
|
-
* The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified.
|
|
5253
|
+
* The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified. A custom `size` can be up to 3840px on each side, or 1920px for `gif`. Video can be up to 3840 × 2160 pixels (8,294,400) in any shape, for example 2160 × 3840 for vertical 4K; larger sizes are rejected. Video above 1920 × 1080 pixels, including the `4k` resolution, needs a plan that includes 4K.
|
|
5254
5254
|
*/
|
|
5255
5255
|
export declare const outputOutputSchema: z.ZodObject<{
|
|
5256
5256
|
format: z.ZodEnum<{
|
package/dist/zod/zod.gen.js
CHANGED
|
@@ -2046,7 +2046,7 @@ export const thumbnailThumbnailSchema = z.object({
|
|
|
2046
2046
|
}).strict();
|
|
2047
2047
|
export const thumbnailSchema = thumbnailThumbnailSchema;
|
|
2048
2048
|
/**
|
|
2049
|
-
* The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified.
|
|
2049
|
+
* The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified. A custom `size` can be up to 3840px on each side, or 1920px for `gif`. Video can be up to 3840 × 2160 pixels (8,294,400) in any shape, for example 2160 × 3840 for vertical 4K; larger sizes are rejected. Video above 1920 × 1080 pixels, including the `4k` resolution, needs a plan that includes 4K.
|
|
2050
2050
|
*/
|
|
2051
2051
|
export const outputOutputSchema = z.object({
|
|
2052
2052
|
format: z.enum([
|
package/dist/zod/zod.gen.ts
CHANGED
|
@@ -1673,7 +1673,7 @@ export const thumbnailThumbnailSchema = z.object({
|
|
|
1673
1673
|
export const thumbnailSchema = thumbnailThumbnailSchema;
|
|
1674
1674
|
|
|
1675
1675
|
/**
|
|
1676
|
-
* The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified.
|
|
1676
|
+
* The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified. A custom `size` can be up to 3840px on each side, or 1920px for `gif`. Video can be up to 3840 × 2160 pixels (8,294,400) in any shape, for example 2160 × 3840 for vertical 4K; larger sizes are rejected. Video above 1920 × 1080 pixels, including the `4k` resolution, needs a plan that includes 4K.
|
|
1677
1677
|
*/
|
|
1678
1678
|
export const outputOutputSchema = z.object({
|
|
1679
1679
|
format: z.enum([
|