From d94dbd6c0341d1edfffa626671ef5ddea9c8aa4e Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Mon, 20 May 2024 16:19:20 -0600 Subject: [PATCH] Make startFrame endFrame required for Shot --- src/index.tsx | 16 ++++++++-------- src/schema.gql | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 0174fc2..f6efec3 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -340,13 +340,13 @@ export type ShotGql = { bankFeatures?: Maybe; createdAt?: Maybe; cueObjectFeatures?: Maybe; - endFrame?: Maybe; - id?: Maybe; + endFrame: Scalars["Int"]["output"]; + id: Scalars["Int"]["output"]; pocketingIntentionFeatures?: Maybe; - startFrame?: Maybe; + startFrame: Scalars["Int"]["output"]; updatedAt?: Maybe; user?: Maybe; - videoId?: Maybe; + videoId: Scalars["Int"]["output"]; }; export type StreamErrorGql = { @@ -602,10 +602,10 @@ export type GetShotsQuery = { __typename?: "Query"; getShots: Array<{ __typename?: "ShotGQL"; - id?: number | null; - videoId?: number | null; - startFrame?: number | null; - endFrame?: number | null; + id: number; + videoId: number; + startFrame: number; + endFrame: number; createdAt?: any | null; updatedAt?: any | null; cueObjectFeatures?: { diff --git a/src/schema.gql b/src/schema.gql index 08ddf9b..a01cc6b 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -135,10 +135,10 @@ type MakePercentageIntervalGQL { } type ShotGQL { - id: Int - videoId: Int - startFrame: Int - endFrame: Int + id: Int! + videoId: Int! + startFrame: Int! + endFrame: Int! createdAt: DateTime updatedAt: DateTime cueObjectFeatures: CueObjectFeaturesGQL