@sanity/client 7.18.0 → 7.19.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.
@@ -6564,6 +6564,9 @@ export declare interface VideoPlaybackInfo<
6564
6564
  R extends VideoRenditionInfo = T extends VideoPlaybackInfoItemSigned
6565
6565
  ? VideoRenditionInfoSigned
6566
6566
  : VideoRenditionInfo,
6567
+ S extends VideoSubtitleInfo = T extends VideoPlaybackInfoItemSigned
6568
+ ? VideoSubtitleInfoSigned
6569
+ : VideoSubtitleInfo,
6567
6570
  > {
6568
6571
  id: string
6569
6572
  thumbnail: T
@@ -6573,6 +6576,7 @@ export declare interface VideoPlaybackInfo<
6573
6576
  duration: number
6574
6577
  aspectRatio: number
6575
6578
  renditions?: R[]
6579
+ subtitles?: S[]
6576
6580
  }
6577
6581
 
6578
6582
  /** @public */
@@ -6623,6 +6627,29 @@ export declare interface VideoRenditionInfoSigned extends VideoRenditionInfoPubl
6623
6627
  expiresAt: string
6624
6628
  }
6625
6629
 
6630
+ /** @public */
6631
+ export declare type VideoSubtitleInfo = VideoSubtitleInfoPublic | VideoSubtitleInfoSigned
6632
+
6633
+ /** @public */
6634
+ export declare interface VideoSubtitleInfoPublic {
6635
+ /** Subtitle track identifier */
6636
+ trackId: string
6637
+ /** ISO 639-1 language code */
6638
+ languageCode: string
6639
+ /** URL to the subtitle file */
6640
+ url: string
6641
+ /** Whether this track contains closed captions */
6642
+ closedCaptions: boolean
6643
+ }
6644
+
6645
+ /** @public */
6646
+ export declare interface VideoSubtitleInfoSigned extends VideoSubtitleInfoPublic {
6647
+ /** Authentication token for signed playback */
6648
+ token: string
6649
+ /** Token expiration time in ISO 8601 format */
6650
+ expiresAt: string
6651
+ }
6652
+
6626
6653
  /**
6627
6654
  * Emitted when the listener reconnects and successfully resumes from
6628
6655
  * its previous position.
@@ -6564,6 +6564,9 @@ export declare interface VideoPlaybackInfo<
6564
6564
  R extends VideoRenditionInfo = T extends VideoPlaybackInfoItemSigned
6565
6565
  ? VideoRenditionInfoSigned
6566
6566
  : VideoRenditionInfo,
6567
+ S extends VideoSubtitleInfo = T extends VideoPlaybackInfoItemSigned
6568
+ ? VideoSubtitleInfoSigned
6569
+ : VideoSubtitleInfo,
6567
6570
  > {
6568
6571
  id: string
6569
6572
  thumbnail: T
@@ -6573,6 +6576,7 @@ export declare interface VideoPlaybackInfo<
6573
6576
  duration: number
6574
6577
  aspectRatio: number
6575
6578
  renditions?: R[]
6579
+ subtitles?: S[]
6576
6580
  }
6577
6581
 
6578
6582
  /** @public */
@@ -6623,6 +6627,29 @@ export declare interface VideoRenditionInfoSigned extends VideoRenditionInfoPubl
6623
6627
  expiresAt: string
6624
6628
  }
6625
6629
 
6630
+ /** @public */
6631
+ export declare type VideoSubtitleInfo = VideoSubtitleInfoPublic | VideoSubtitleInfoSigned
6632
+
6633
+ /** @public */
6634
+ export declare interface VideoSubtitleInfoPublic {
6635
+ /** Subtitle track identifier */
6636
+ trackId: string
6637
+ /** ISO 639-1 language code */
6638
+ languageCode: string
6639
+ /** URL to the subtitle file */
6640
+ url: string
6641
+ /** Whether this track contains closed captions */
6642
+ closedCaptions: boolean
6643
+ }
6644
+
6645
+ /** @public */
6646
+ export declare interface VideoSubtitleInfoSigned extends VideoSubtitleInfoPublic {
6647
+ /** Authentication token for signed playback */
6648
+ token: string
6649
+ /** Token expiration time in ISO 8601 format */
6650
+ expiresAt: string
6651
+ }
6652
+
6626
6653
  /**
6627
6654
  * Emitted when the listener reconnects and successfully resumes from
6628
6655
  * its previous position.