Add screenshot uri to video

This commit is contained in:
Mike Kalange 2024-04-29 14:08:27 -06:00
parent b74fb2b1d7
commit 381b4ce0c2
4 changed files with 8 additions and 0 deletions

View File

@ -418,6 +418,7 @@ export type VideoGql = {
name?: Maybe<Scalars["String"]["output"]>; name?: Maybe<Scalars["String"]["output"]>;
owner?: Maybe<UserGql>; owner?: Maybe<UserGql>;
playlist?: Maybe<HlsPlaylistGql>; playlist?: Maybe<HlsPlaylistGql>;
screenshotUri?: Maybe<Scalars["String"]["output"]>;
shots: Array<ShotGql>; shots: Array<ShotGql>;
startTime?: Maybe<Scalars["DateTime"]["output"]>; startTime?: Maybe<Scalars["DateTime"]["output"]>;
stream?: Maybe<UploadStreamGql>; stream?: Maybe<UploadStreamGql>;
@ -514,6 +515,7 @@ export type GetFeedQuery = {
__typename?: "VideoGQL"; __typename?: "VideoGQL";
id: number; id: number;
name?: string | null; name?: string | null;
screenshotUri?: string | null;
totalShotsMade: number; totalShotsMade: number;
totalShots: number; totalShots: number;
makePercentage: number; makePercentage: number;
@ -734,6 +736,7 @@ export type GetVideoDetailsQuery = {
__typename?: "VideoGQL"; __typename?: "VideoGQL";
id: number; id: number;
name?: string | null; name?: string | null;
screenshotUri?: string | null;
averageTimeBetweenShots?: number | null; averageTimeBetweenShots?: number | null;
elapsedTime?: number | null; elapsedTime?: number | null;
endTime?: any | null; endTime?: any | null;
@ -1019,6 +1022,7 @@ export const GetFeedDocument = gql`
username username
} }
name name
screenshotUri
totalShotsMade totalShotsMade
totalShots totalShots
makePercentage makePercentage
@ -1803,6 +1807,7 @@ export const GetVideoDetailsDocument = gql`
getVideo(videoId: $videoId) { getVideo(videoId: $videoId) {
id id
name name
screenshotUri
averageTimeBetweenShots averageTimeBetweenShots
elapsedTime elapsedTime
endTime endTime

View File

@ -10,6 +10,7 @@ query GetFeed(
username username
} }
name name
screenshotUri
totalShotsMade totalShotsMade
totalShots totalShots
makePercentage makePercentage

View File

@ -76,6 +76,7 @@ query GetVideoDetails($videoId: Int!) {
getVideo(videoId: $videoId) { getVideo(videoId: $videoId) {
id id
name name
screenshotUri
averageTimeBetweenShots averageTimeBetweenShots
elapsedTime elapsedTime
endTime endTime

View File

@ -197,6 +197,7 @@ type VideoGQL {
id: Int! id: Int!
owner: UserGQL owner: UserGQL
name: String name: String
screenshotUri: String
totalShotsMade: Int! totalShotsMade: Int!
totalShots: Int! totalShots: Int!
makePercentage: Float! makePercentage: Float!