From 0ad6e6373315ee104e393d695d9cc0a4030155cd Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Thu, 22 Feb 2024 17:07:29 -0700 Subject: [PATCH] Make video name optional --- src/index.tsx | 4 ++-- src/schema.gql | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index e96956a..f25e819 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -348,7 +348,7 @@ export type VideoGql = { id: Scalars['Int']['output']; makePercentage: Scalars['Float']['output']; medianRun?: Maybe; - name: Scalars['String']['output']; + name?: Maybe; shots: Array; startTime: Scalars['DateTime']['output']; stream?: Maybe; @@ -375,7 +375,7 @@ export type GetFeedQueryVariables = Exact<{ }>; -export type GetFeedQuery = { __typename?: 'Query', getVideoFeedForUser: { __typename?: 'VideoFeedGQL', videos: Array<{ __typename?: 'VideoGQL', id: number, name: string, totalShotsMade: number, totalShots: number, makePercentage: number, medianRun?: number | null, averageTimeBetweenShots?: number | null, createdAt: any, updatedAt: any, startTime: any, endTime: any, elapsedTime?: number | null, shots: Array<{ __typename?: 'ShotGQL', id?: number | null, videoId?: number | null, startFrame?: number | null, endFrame?: number | null, createdAt?: any | null, updatedAt?: any | null }>, stream?: { __typename?: 'UploadStreamGQL', id: string, linksRequested: number, uploadsCompleted: number, isCompleted: boolean, createdAt: any, updatedAt: any } | null }>, pageInfo: { __typename?: 'PageInfoGQL', hasNextPage: boolean, endCursor?: string | null } } }; +export type GetFeedQuery = { __typename?: 'Query', getVideoFeedForUser: { __typename?: 'VideoFeedGQL', videos: Array<{ __typename?: 'VideoGQL', id: number, name?: string | null, totalShotsMade: number, totalShots: number, makePercentage: number, medianRun?: number | null, averageTimeBetweenShots?: number | null, createdAt: any, updatedAt: any, startTime: any, endTime: any, elapsedTime?: number | null, shots: Array<{ __typename?: 'ShotGQL', id?: number | null, videoId?: number | null, startFrame?: number | null, endFrame?: number | null, createdAt?: any | null, updatedAt?: any | null }>, stream?: { __typename?: 'UploadStreamGQL', id: string, linksRequested: number, uploadsCompleted: number, isCompleted: boolean, createdAt: any, updatedAt: any } | null }>, pageInfo: { __typename?: 'PageInfoGQL', hasNextPage: boolean, endCursor?: string | null } } }; export type GetShotsQueryVariables = Exact<{ filterInput?: InputMaybe; diff --git a/src/schema.gql b/src/schema.gql index 81d8a35..458edb1 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -66,7 +66,7 @@ scalar Decimal type VideoGQL { id: Int! - name: String! + name: String totalShotsMade: Int! totalShots: Int! makePercentage: Float!