@shotstack/schemas 1.5.0 → 1.5.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.
@@ -910,6 +910,19 @@
910
910
  "mount"
911
911
  ],
912
912
  "deprecated": true
913
+ },
914
+ "instance": {
915
+ "description": "The instance type to use for rendering. Different instance types have different capabilities and performance characteristics. Use `a1` for high-resolution 4K renders.",
916
+ "type": "string",
917
+ "example": "a1"
918
+ },
919
+ "poster": {
920
+ "description": "Generate a poster image from a specific point on the timeline.",
921
+ "$ref": "#/components/schemas/Poster"
922
+ },
923
+ "thumbnail": {
924
+ "description": "Generate a thumbnail image from a specific point on the timeline.",
925
+ "$ref": "#/components/schemas/Thumbnail"
913
926
  }
914
927
  },
915
928
  "required": [
@@ -1485,6 +1498,10 @@
1485
1498
  "description": "Text style properties including spacing, line height, and transformations.",
1486
1499
  "$ref": "#/components/schemas/RichTextStyle"
1487
1500
  },
1501
+ "stroke": {
1502
+ "description": "Text stroke (outline) properties for the text.",
1503
+ "$ref": "#/components/schemas/RichTextStroke"
1504
+ },
1488
1505
  "shadow": {
1489
1506
  "description": "Text shadow properties.",
1490
1507
  "$ref": "#/components/schemas/RichTextShadow"
@@ -3745,6 +3762,11 @@
3745
3762
  "type": "number",
3746
3763
  "example": 0.25
3747
3764
  },
3765
+ "bottom": {
3766
+ "description": "The margin below the text. Pushes captions up the screen.",
3767
+ "type": "number",
3768
+ "example": 0.25
3769
+ },
3748
3770
  "left": {
3749
3771
  "description": "The margin to the left of the text. Pushes captions to the right.",
3750
3772
  "type": "number",
package/dist/schema.d.ts CHANGED
@@ -448,6 +448,15 @@ export interface components {
448
448
  * @enum {string}
449
449
  */
450
450
  disk?: "local" | "mount";
451
+ /**
452
+ * @description The instance type to use for rendering. Different instance types have different capabilities and performance characteristics. Use `a1` for high-resolution 4K renders.
453
+ * @example a1
454
+ */
455
+ instance?: string;
456
+ /** @description Generate a poster image from a specific point on the timeline. */
457
+ poster?: components["schemas"]["Poster"];
458
+ /** @description Generate a thumbnail image from a specific point on the timeline. */
459
+ thumbnail?: components["schemas"]["Thumbnail"];
451
460
  };
452
461
  /** @description A timeline represents the contents of a video edit over time, an audio edit over time, in seconds, or an image layout. A timeline consists of layers called tracks. Tracks are composed of titles, images, audio, html or video segments referred to as clips which are placed along the track at specific starting point and lasting for a specific amount of time. */
453
462
  Timeline: {
@@ -725,6 +734,8 @@ export interface components {
725
734
  font?: components["schemas"]["RichTextFont"];
726
735
  /** @description Text style properties including spacing, line height, and transformations. */
727
736
  style?: components["schemas"]["RichTextStyle"];
737
+ /** @description Text stroke (outline) properties for the text. */
738
+ stroke?: components["schemas"]["RichTextStroke"];
728
739
  /** @description Text shadow properties. */
729
740
  shadow?: components["schemas"]["RichTextShadow"];
730
741
  /** @description Background styling properties for the text bounding box. */
@@ -2328,6 +2339,11 @@ export interface components {
2328
2339
  * @example 0.25
2329
2340
  */
2330
2341
  top?: number;
2342
+ /**
2343
+ * @description The margin below the text. Pushes captions up the screen.
2344
+ * @example 0.25
2345
+ */
2346
+ bottom?: number;
2331
2347
  /**
2332
2348
  * @description The margin to the left of the text. Pushes captions to the right.
2333
2349
  * @example 0.05
@@ -78,6 +78,10 @@ exports.captionpropertiesCaptionMarginSchema = zod_1.z.object({
78
78
  return undefined; if (Array.isArray(v))
79
79
  return v; if (typeof v === 'string')
80
80
  return Number(v); return v; }), zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), zod_1.z.number()))),
81
+ bottom: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
82
+ return undefined; if (Array.isArray(v))
83
+ return v; if (typeof v === 'string')
84
+ return Number(v); return v; }), zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), zod_1.z.number()))),
81
85
  left: zod_1.z.optional(zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
82
86
  return undefined; if (Array.isArray(v))
83
87
  return v; if (typeof v === 'string')
@@ -1334,6 +1338,7 @@ exports.richtextassetRichTextAssetSchema = zod_1.z.object({
1334
1338
  text: zod_1.z.string().max(5000),
1335
1339
  font: zod_1.z.optional(exports.richtextpropertiesRichTextFontSchema),
1336
1340
  style: zod_1.z.optional(exports.richtextpropertiesRichTextStyleSchema),
1341
+ stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema),
1337
1342
  shadow: zod_1.z.optional(exports.richtextpropertiesRichTextShadowSchema),
1338
1343
  background: zod_1.z.optional(exports.richtextpropertiesRichTextBackgroundSchema),
1339
1344
  border: zod_1.z.optional(exports.richtextpropertiesRichTextBorderSchema),
@@ -2751,6 +2756,9 @@ exports.editEditSchema = zod_1.z.object({
2751
2756
  merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema)),
2752
2757
  callback: zod_1.z.optional(zod_1.z.string()),
2753
2758
  disk: zod_1.z.optional(zod_1.z.enum(["local", "mount"])),
2759
+ instance: zod_1.z.optional(zod_1.z.string()),
2760
+ poster: zod_1.z.optional(exports.posterPosterSchema),
2761
+ thumbnail: zod_1.z.optional(exports.thumbnailThumbnailSchema),
2754
2762
  }).strict();
2755
2763
  exports.editSchema = exports.editEditSchema;
2756
2764
  /**