Skip to content

Commit dbb7019

Browse files
committed
Update the schema
1 parent 3179242 commit dbb7019

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

packages/cma-client-analysis/__tests__/__snapshots__/code-analysis.test.ts.snap

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ exports[`TypeScript Compiler API - Unit Tests extractTypeDependencies uploads.cr
10981098
*/
10991099
notes?: string | null;
11001100
/**
1101-
* Patch the asset's default metadata. Send any subset of \`alt\`/\`title\`/\`custom_data\`/\`focal_point\` — missing keys preserve their stored values. See the response shape for the full structure and per-key semantics.
1101+
* Patch the asset's default metadata. Send any subset of \`alt\`/\`title\`/\`custom_data\`/\`focal_point\`/\`poster_time\` — missing keys preserve their stored values. See the response shape for the full structure and per-key semantics.
11021102
*/
11031103
default_field_metadata?: {
11041104
alt?: LocalizedAlt;
@@ -1117,6 +1117,10 @@ exports[`TypeScript Compiler API - Unit Tests extractTypeDependencies uploads.cr
11171117
*/
11181118
y: number;
11191119
} | null;
1120+
/**
1121+
* Poster time in seconds (only for video assets). Float seconds into the video used to generate the thumbnail; null uses Mux's default (middle of the video)
1122+
*/
1123+
poster_time?: number | null;
11201124
};
11211125
/**
11221126
* Tags
@@ -1242,7 +1246,7 @@ export type Upload = {
12421246
*/
12431247
mux_mp4_highest_res: null | 'high' | 'medium' | 'low';
12441248
/**
1245-
* Per-asset default metadata applied when no record-level overrides are present. \`alt\`, \`title\`, and \`custom_data\` are objects keyed by locale; \`focal_point\` is a single value per asset (only meaningful for image assets). See [non-localized focal points](https://www.datocms.com/product-updates/non-localized-focal-points) for more info.
1249+
* Per-asset default metadata applied when no record-level overrides are present. \`alt\`, \`title\`, and \`custom_data\` are objects keyed by locale; \`focal_point\` (image assets) and \`poster_time\` (video assets) are a single value per asset. See [non-localized focal points](https://www.datocms.com/product-updates/non-localized-focal-points) for more info.
12461250
*/
12471251
default_field_metadata: {
12481252
alt: LocalizedAlt;
@@ -1261,6 +1265,10 @@ export type Upload = {
12611265
*/
12621266
y: number;
12631267
} | null;
1268+
/**
1269+
* Poster time in seconds (only for video assets). Float seconds into the video used to generate the thumbnail; null uses Mux's default (middle of the video)
1270+
*/
1271+
poster_time: number | null;
12641272
};
12651273
/**
12661274
* Is this upload an image?

0 commit comments

Comments
 (0)