diff --git a/src/index.tsx b/src/index.tsx index c1d487a..57f6e20 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -418,6 +418,7 @@ export type VideoGql = { name?: Maybe; owner?: Maybe; playlist?: Maybe; + screenshotUri?: Maybe; shots: Array; startTime?: Maybe; stream?: Maybe; @@ -514,6 +515,7 @@ export type GetFeedQuery = { __typename?: "VideoGQL"; id: number; name?: string | null; + screenshotUri?: string | null; totalShotsMade: number; totalShots: number; makePercentage: number; @@ -734,6 +736,7 @@ export type GetVideoDetailsQuery = { __typename?: "VideoGQL"; id: number; name?: string | null; + screenshotUri?: string | null; averageTimeBetweenShots?: number | null; elapsedTime?: number | null; endTime?: any | null; @@ -1019,6 +1022,7 @@ export const GetFeedDocument = gql` username } name + screenshotUri totalShotsMade totalShots makePercentage @@ -1803,6 +1807,7 @@ export const GetVideoDetailsDocument = gql` getVideo(videoId: $videoId) { id name + screenshotUri averageTimeBetweenShots elapsedTime endTime diff --git a/src/operations/feed.gql b/src/operations/feed.gql index f8f416f..d6dc09e 100644 --- a/src/operations/feed.gql +++ b/src/operations/feed.gql @@ -10,6 +10,7 @@ query GetFeed( username } name + screenshotUri totalShotsMade totalShots makePercentage diff --git a/src/operations/video.gql b/src/operations/video.gql index ef1c86c..b205a72 100644 --- a/src/operations/video.gql +++ b/src/operations/video.gql @@ -76,6 +76,7 @@ query GetVideoDetails($videoId: Int!) { getVideo(videoId: $videoId) { id name + screenshotUri averageTimeBetweenShots elapsedTime endTime diff --git a/src/schema.gql b/src/schema.gql index 9f2e0f9..51b9e36 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -197,6 +197,7 @@ type VideoGQL { id: Int! owner: UserGQL name: String + screenshotUri: String totalShotsMade: Int! totalShots: Int! makePercentage: Float!