add stream type to get shost for playlist

This commit is contained in:
Loewy 2025-05-08 13:44:58 -07:00
parent 00cca10cb3
commit 9ee5c721c1
2 changed files with 59 additions and 0 deletions

View File

@ -3831,6 +3831,15 @@ export type GetShotsWithMetadataFilterResultQuery = {
name: string; 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; 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; notes: string;
type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: 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; notes: string;
type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: 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<{ export type EditShotMutationVariables = Exact<{
@ -4077,6 +4113,15 @@ export type EditShotMutation = {
name: string; name: string;
}; };
}>; }>;
video?: {
__typename?: "VideoGQL";
id: number;
stream?: {
__typename?: "UploadStreamGQL";
id: string;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
} | null;
} | null; } | null;
}; };
}; };
@ -5205,6 +5250,13 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
} }
notes notes
} }
video {
id
stream {
id
streamSegmentType
}
}
} }
`; `;
export const UserFragmentFragmentDoc = gql` export const UserFragmentFragmentDoc = gql`

View File

@ -185,6 +185,13 @@ fragment ShotWithAllFeatures on ShotGQL {
} }
notes notes
} }
video {
id
stream {
id
streamSegmentType
}
}
} }
mutation EditShot($shotId: Int!, $fieldsToEdit: EditableShotFieldInputGQL!) { mutation EditShot($shotId: Int!, $fieldsToEdit: EditableShotFieldInputGQL!) {