You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/cma-client/src/generated/ApiTypes.ts
+28-4Lines changed: 28 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8229,6 +8229,14 @@ export type ItemVersionMeta = {
8229
8229
* Whether the record version is the published version or not
8230
8230
*/
8231
8231
is_published: boolean;
8232
+
/**
8233
+
* Date this version became the published version of the record, or `null` if it has never been published. May also be `null` for versions that were published before publication-history tracking was introduced; in that case, fall back to `is_published` to determine the live status.
8234
+
*/
8235
+
published_from: string|null;
8236
+
/**
8237
+
* Date this version stopped being the published version of the record (either replaced by a newer published version, or explicitly unpublished). `null` when the version is currently published or has never been published.
8238
+
*/
8239
+
published_until: string|null;
8232
8240
/**
8233
8241
* Whether the record version is the most recent version or not
8234
8242
*/
@@ -8341,7 +8349,7 @@ export type Upload = {
8341
8349
*/
8342
8350
mux_mp4_highest_res: null|'high'|'medium'|'low';
8343
8351
/**
8344
-
* 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.
8352
+
* 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.
8345
8353
*/
8346
8354
default_field_metadata: {
8347
8355
alt: LocalizedAlt;
@@ -8360,6 +8368,10 @@ export type Upload = {
8360
8368
*/
8361
8369
y: number;
8362
8370
}|null;
8371
+
/**
8372
+
* 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)
8373
+
*/
8374
+
poster_time: number|null;
8363
8375
};
8364
8376
/**
8365
8377
* Is this upload an image?
@@ -8578,7 +8590,7 @@ export type UploadAttributes = {
8578
8590
*/
8579
8591
mux_mp4_highest_res: null|'high'|'medium'|'low';
8580
8592
/**
8581
-
* 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.
8593
+
* 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.
8582
8594
*/
8583
8595
default_field_metadata: {
8584
8596
alt: LocalizedAlt;
@@ -8597,6 +8609,10 @@ export type UploadAttributes = {
8597
8609
*/
8598
8610
y: number;
8599
8611
}|null;
8612
+
/**
8613
+
* 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)
8614
+
*/
8615
+
poster_time: number|null;
8600
8616
};
8601
8617
/**
8602
8618
* Is this upload an image?
@@ -8689,7 +8705,7 @@ export type UploadCreateSchema = {
8689
8705
*/
8690
8706
notes?: string|null;
8691
8707
/**
8692
-
* 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.
8708
+
* 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.
8693
8709
*/
8694
8710
default_field_metadata?: {
8695
8711
alt?: LocalizedAlt;
@@ -8708,6 +8724,10 @@ export type UploadCreateSchema = {
8708
8724
*/
8709
8725
y: number;
8710
8726
}|null;
8727
+
/**
8728
+
* 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)
8729
+
*/
8730
+
poster_time?: number|null;
8711
8731
};
8712
8732
/**
8713
8733
* Tags
@@ -8747,7 +8767,7 @@ export type UploadUpdateSchema = {
8747
8767
*/
8748
8768
tags?: string[];
8749
8769
/**
8750
-
* 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.
8770
+
* 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.
8751
8771
*/
8752
8772
default_field_metadata?: {
8753
8773
alt?: LocalizedAlt;
@@ -8766,6 +8786,10 @@ export type UploadUpdateSchema = {
8766
8786
*/
8767
8787
y: number;
8768
8788
}|null;
8789
+
/**
8790
+
* 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)
Copy file name to clipboardExpand all lines: packages/cma-client/src/generated/RawApiTypes.ts
+23-3Lines changed: 23 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8277,6 +8277,14 @@ export type ItemVersionMeta = {
8277
8277
* Whether the record version is the published version or not
8278
8278
*/
8279
8279
is_published: boolean;
8280
+
/**
8281
+
* Date this version became the published version of the record, or `null` if it has never been published. May also be `null` for versions that were published before publication-history tracking was introduced; in that case, fall back to `is_published` to determine the live status.
8282
+
*/
8283
+
published_from: string|null;
8284
+
/**
8285
+
* Date this version stopped being the published version of the record (either replaced by a newer published version, or explicitly unpublished). `null` when the version is currently published or has never been published.
8286
+
*/
8287
+
published_until: string|null;
8280
8288
/**
8281
8289
* Whether the record version is the most recent version or not
8282
8290
*/
@@ -8616,7 +8624,7 @@ export type UploadAttributes = {
8616
8624
*/
8617
8625
mux_mp4_highest_res: null|'high'|'medium'|'low';
8618
8626
/**
8619
-
* 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.
8627
+
* 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.
8620
8628
*/
8621
8629
default_field_metadata: {
8622
8630
alt: LocalizedAlt;
@@ -8635,6 +8643,10 @@ export type UploadAttributes = {
8635
8643
*/
8636
8644
y: number;
8637
8645
}|null;
8646
+
/**
8647
+
* 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)
8648
+
*/
8649
+
poster_time: number|null;
8638
8650
};
8639
8651
/**
8640
8652
* Is this upload an image?
@@ -8812,7 +8824,7 @@ export type UploadCreateSchema = {
8812
8824
*/
8813
8825
notes?: string|null;
8814
8826
/**
8815
-
* 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.
8827
+
* 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.
8816
8828
*/
8817
8829
default_field_metadata?: {
8818
8830
alt?: LocalizedAlt;
@@ -8831,6 +8843,10 @@ export type UploadCreateSchema = {
8831
8843
*/
8832
8844
y: number;
8833
8845
}|null;
8846
+
/**
8847
+
* 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)
8848
+
*/
8849
+
poster_time?: number|null;
8834
8850
};
8835
8851
/**
8836
8852
* Tags
@@ -8920,7 +8936,7 @@ export type UploadUpdateSchema = {
8920
8936
*/
8921
8937
tags?: string[];
8922
8938
/**
8923
-
* 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.
8939
+
* 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.
8924
8940
*/
8925
8941
default_field_metadata?: {
8926
8942
alt?: LocalizedAlt;
@@ -8939,6 +8955,10 @@ export type UploadUpdateSchema = {
8939
8955
*/
8940
8956
y: number;
8941
8957
}|null;
8958
+
/**
8959
+
* 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)
0 commit comments