From cdf438c089b4df770e3ccaff75e3031a57191775 Mon Sep 17 00:00:00 2001 From: Loewy Date: Fri, 7 Nov 2025 11:53:13 -0800 Subject: [PATCH] add playlist w/ segment durations in gql return --- src/index.tsx | 23 +++++++++++++++++++++++ src/operations/shots.gql | 3 +++ 2 files changed, 26 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 2e0f93f..ced217a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -4487,6 +4487,10 @@ export type GetShotsWithMetadataFilterResultQuery = { id: string; streamSegmentType: StreamSegmentTypeEnum; } | null; + playlist?: { + __typename?: "HLSPlaylistGQL"; + segmentDurations: Array; + } | null; } | null; }>; }; @@ -4565,6 +4569,10 @@ export type GetShotsWithMetadataQuery = { id: string; streamSegmentType: StreamSegmentTypeEnum; } | null; + playlist?: { + __typename?: "HLSPlaylistGQL"; + segmentDurations: Array; + } | null; } | null; }>; }; @@ -4632,6 +4640,10 @@ export type GetShotsByIdsQuery = { id: string; streamSegmentType: StreamSegmentTypeEnum; } | null; + playlist?: { + __typename?: "HLSPlaylistGQL"; + segmentDurations: Array; + } | null; } | null; }>; }; @@ -4692,6 +4704,10 @@ export type ShotWithAllFeaturesFragment = { id: string; streamSegmentType: StreamSegmentTypeEnum; } | null; + playlist?: { + __typename?: "HLSPlaylistGQL"; + segmentDurations: Array; + } | null; } | null; }; @@ -4769,6 +4785,10 @@ export type EditShotMutation = { id: string; streamSegmentType: StreamSegmentTypeEnum; } | null; + playlist?: { + __typename?: "HLSPlaylistGQL"; + segmentDurations: Array; + } | null; } | null; } | null; }; @@ -6042,6 +6062,9 @@ export const ShotWithAllFeaturesFragmentDoc = gql` id streamSegmentType } + playlist { + segmentDurations + } } } `; diff --git a/src/operations/shots.gql b/src/operations/shots.gql index 0790651..c0efa2e 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -191,6 +191,9 @@ fragment ShotWithAllFeatures on ShotGQL { id streamSegmentType } + playlist { + segmentDurations + } } }