From 0bcfd32b14106097012c7be8228a6e24f3d50789 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 26 Feb 2025 19:29:15 -0700 Subject: [PATCH] Add start segment and end segment client side fields --- src/client-schema.gql | 2 ++ src/index.tsx | 14 ++++++++++++++ src/operations/shots.gql | 2 ++ 3 files changed, 18 insertions(+) diff --git a/src/client-schema.gql b/src/client-schema.gql index 22b5acf..b270fc1 100644 --- a/src/client-schema.gql +++ b/src/client-schema.gql @@ -4,6 +4,8 @@ directive @client on FIELD extend type ShotGQL { startTime: Float! endTime: Float! + startSegment: Int! + endSegment: Int! } extend type UploadStreamGQL { diff --git a/src/index.tsx b/src/index.tsx index b8518ed..8e3cf38 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2608,6 +2608,7 @@ export type ShotGql = { createdAt?: Maybe; cueObjectFeatures?: Maybe; endFrame: Scalars["Int"]["output"]; + endSegment: Scalars["Int"]["output"]; endTime: Scalars["Float"]["output"]; falsePositiveScore?: Maybe; id: Scalars["Int"]["output"]; @@ -2617,6 +2618,7 @@ export type ShotGql = { runFeatures?: Maybe; serializedShotPaths?: Maybe; startFrame: Scalars["Int"]["output"]; + startSegment: Scalars["Int"]["output"]; startTime: Scalars["Float"]["output"]; updatedAt?: Maybe; user?: Maybe; @@ -3536,6 +3538,8 @@ export type GetShotsWithMetadataFilterResultQuery = { endFrame: number; startTime: number; endTime: number; + startSegment: number; + endSegment: number; falsePositiveScore?: number | null; createdAt?: any | null; updatedAt?: any | null; @@ -3603,6 +3607,8 @@ export type GetShotsWithMetadataQuery = { endFrame: number; startTime: number; endTime: number; + startSegment: number; + endSegment: number; falsePositiveScore?: number | null; createdAt?: any | null; updatedAt?: any | null; @@ -3663,6 +3669,8 @@ export type GetShotsByIdsQuery = { endFrame: number; startTime: number; endTime: number; + startSegment: number; + endSegment: number; falsePositiveScore?: number | null; createdAt?: any | null; updatedAt?: any | null; @@ -3712,6 +3720,8 @@ export type ShotWithAllFeaturesFragment = { endFrame: number; startTime: number; endTime: number; + startSegment: number; + endSegment: number; falsePositiveScore?: number | null; createdAt?: any | null; updatedAt?: any | null; @@ -3774,6 +3784,8 @@ export type EditShotMutation = { endFrame: number; startTime: number; endTime: number; + startSegment: number; + endSegment: number; falsePositiveScore?: number | null; createdAt?: any | null; updatedAt?: any | null; @@ -4852,6 +4864,8 @@ export const ShotWithAllFeaturesFragmentDoc = gql` endFrame startTime @client endTime @client + startSegment @client + endSegment @client user { id } diff --git a/src/operations/shots.gql b/src/operations/shots.gql index f0187e7..9093b44 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -139,6 +139,8 @@ fragment ShotWithAllFeatures on ShotGQL { endFrame startTime @client endTime @client + startSegment @client + endSegment @client user { id }