Create get videos with playlist gql

This commit is contained in:
2024-04-22 16:18:06 -06:00
parent 24fcac9318
commit 5181612f62
3 changed files with 88 additions and 0 deletions

View File

@@ -153,6 +153,13 @@ export type GetUploadLinkReturn = {
uploadUrl: Scalars["String"]["output"];
};
export type HlsPlaylistGql = {
__typename?: "HLSPlaylistGQL";
m3u8Text: Scalars["String"]["output"];
segmentDurations: Array<Scalars["Float"]["output"]>;
videoId: Scalars["Int"]["output"];
};
export type Header = {
__typename?: "Header";
key: Scalars["String"]["output"];
@@ -271,6 +278,7 @@ export type Query = {
getUserVideos: VideoHistoryGql;
getVideo: VideoGql;
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
getVideos: Array<VideoGql>;
};
export type QueryGetAggregatedShotMetricsArgs = {
@@ -309,6 +317,10 @@ export type QueryGetVideoMakePercentageIntervalsArgs = {
videoId: Scalars["ID"]["input"];
};
export type QueryGetVideosArgs = {
videoIds: Array<Scalars["Int"]["input"]>;
};
export type RangeFilter = {
greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>;
lessThan?: InputMaybe<Scalars["Float"]["input"]>;
@@ -402,6 +414,7 @@ export type VideoGql = {
medianRun?: Maybe<Scalars["Float"]["output"]>;
name?: Maybe<Scalars["String"]["output"]>;
owner?: Maybe<UserGql>;
playlist?: Maybe<HlsPlaylistGql>;
shots: Array<ShotGql>;
startTime?: Maybe<Scalars["DateTime"]["output"]>;
stream?: Maybe<UploadStreamGql>;