diff --git a/src/index.tsx b/src/index.tsx index f9b71a3..f28a67b 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2422,12 +2422,6 @@ export type RequestedMedalsGql = { totalMakes10000?: Maybe; }; -export type RunEntry = { - __typename?: "RunEntry"; - run: RunGql; - user: UserGql; -}; - export type RunFilterInput = { andFilters?: InputMaybe>; createdAt?: InputMaybe; @@ -2445,6 +2439,7 @@ export type RunGql = { id: Scalars["Int"]["output"]; runLength: Scalars["Int"]["output"]; shots: Array; + user: UserGql; userId: Scalars["Int"]["output"]; video: VideoGql; videoId: Scalars["Int"]["output"]; @@ -2452,7 +2447,7 @@ export type RunGql = { export type RunLeaderboardGql = { __typename?: "RunLeaderboardGQL"; - entries: Array; + entries: Array; }; export type RunsOrderingComponent = diff --git a/src/schema.gql b/src/schema.gql index aac7782..c3689ec 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -348,6 +348,7 @@ type RunGQL { userId: Int! shots: [ShotGQL!]! video: VideoGQL! + user: UserGQL! } type ShotGQL { @@ -730,12 +731,7 @@ input VideoFeedInputGQL @oneOf { } type RunLeaderboardGQL { - entries: [RunEntry!]! -} - -type RunEntry { - user: UserGQL! - run: RunGQL! + entries: [RunGQL!]! } type CountLeaderboardGQL {