From 9ee5c721c10ea7f2b30e76bdd37695361b90583c Mon Sep 17 00:00:00 2001 From: Loewy Date: Thu, 8 May 2025 13:44:58 -0700 Subject: [PATCH] add stream type to get shost for playlist --- src/index.tsx | 52 ++++++++++++++++++++++++++++++++++++++++ src/operations/shots.gql | 7 ++++++ 2 files changed, 59 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index aaafb8c..bb2cd70 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3831,6 +3831,15 @@ export type GetShotsWithMetadataFilterResultQuery = { name: string; }; }>; + video?: { + __typename?: "VideoGQL"; + id: number; + stream?: { + __typename?: "UploadStreamGQL"; + id: string; + streamSegmentType: StreamSegmentTypeEnum; + } | null; + } | null; }>; }; }; @@ -3900,6 +3909,15 @@ export type GetShotsWithMetadataQuery = { name: string; }; }>; + video?: { + __typename?: "VideoGQL"; + id: number; + stream?: { + __typename?: "UploadStreamGQL"; + id: string; + streamSegmentType: StreamSegmentTypeEnum; + } | null; + } | null; }>; }; }; @@ -3958,6 +3976,15 @@ export type GetShotsByIdsQuery = { notes: string; type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string }; }>; + video?: { + __typename?: "VideoGQL"; + id: number; + stream?: { + __typename?: "UploadStreamGQL"; + id: string; + streamSegmentType: StreamSegmentTypeEnum; + } | null; + } | null; }>; }; @@ -4009,6 +4036,15 @@ export type ShotWithAllFeaturesFragment = { notes: string; type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string }; }>; + video?: { + __typename?: "VideoGQL"; + id: number; + stream?: { + __typename?: "UploadStreamGQL"; + id: string; + streamSegmentType: StreamSegmentTypeEnum; + } | null; + } | null; }; export type EditShotMutationVariables = Exact<{ @@ -4077,6 +4113,15 @@ export type EditShotMutation = { name: string; }; }>; + video?: { + __typename?: "VideoGQL"; + id: number; + stream?: { + __typename?: "UploadStreamGQL"; + id: string; + streamSegmentType: StreamSegmentTypeEnum; + } | null; + } | null; } | null; }; }; @@ -5205,6 +5250,13 @@ export const ShotWithAllFeaturesFragmentDoc = gql` } notes } + video { + id + stream { + id + streamSegmentType + } + } } `; export const UserFragmentFragmentDoc = gql` diff --git a/src/operations/shots.gql b/src/operations/shots.gql index 8b8ef88..0790651 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -185,6 +185,13 @@ fragment ShotWithAllFeatures on ShotGQL { } notes } + video { + id + stream { + id + streamSegmentType + } + } } mutation EditShot($shotId: Int!, $fieldsToEdit: EditableShotFieldInputGQL!) {