diff --git a/src/index.tsx b/src/index.tsx index b778513..3a14879 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -352,6 +352,7 @@ export type VideoGql = { makePercentage: Scalars["Float"]["output"]; medianRun?: Maybe; name?: Maybe; + owner?: Maybe; shots: Array; startTime?: Maybe; stream?: Maybe; @@ -415,6 +416,7 @@ export type GetFeedQuery = { startTime?: any | null; endTime?: any | null; elapsedTime?: number | null; + owner?: { __typename?: "UserGQL"; username: string } | null; shots: Array<{ __typename?: "ShotGQL"; id?: number | null; @@ -612,6 +614,9 @@ export const GetFeedDocument = gql` getVideoFeedForUser(limit: $limit, after: $after) { videos { id + owner { + username + } name totalShotsMade totalShots diff --git a/src/operations/feed.gql b/src/operations/feed.gql index e1bb6a9..52b10ef 100644 --- a/src/operations/feed.gql +++ b/src/operations/feed.gql @@ -2,6 +2,9 @@ query GetFeed($limit: Int! = 5, $after: String = null) { getVideoFeedForUser(limit: $limit, after: $after) { videos { id + owner { + username + } name totalShotsMade totalShots diff --git a/src/schema.gql b/src/schema.gql index 8c93626..c677ba3 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -70,6 +70,7 @@ scalar Decimal type VideoGQL { id: Int! + owner: UserGQL name: String totalShotsMade: Int! totalShots: Int!