From a68bb679260563596398cc1f90ff75b7b9b2f4c9 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 31 Jul 2026 18:53:12 -0700 Subject: [PATCH] Expose per-ball detector boxes on TableStateGQL Regenerated from the backend branch that adds identifierToBox, so this commit's schema matches that branch's Python export exactly. Kept off gql master because the export also reorders the share-link declarations that gql master carries in their pre-alphabetical positions. Co-Authored-By: Claude Opus 5 --- src/index.tsx | 1 + src/schema.gql | 47 ++++++++++++++++++++++++----------------------- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 8d2e120..e618486 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -4078,6 +4078,7 @@ export type SyncAppleSubscriptionResultGql = { export type TableStateGql = { __typename?: "TableStateGQL"; homography?: Maybe; + identifierToBox: Array; identifierToColor: Array>; identifierToPosition: Array>; }; diff --git a/src/schema.gql b/src/schema.gql index 1f74d9f..4357f9a 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -249,11 +249,6 @@ input CreatePoolHallCameraInput { claimTermsText: String = null } -input CreateShotShareLinkInput { - shotIds: [Int!]! - paddingSeconds: Float = null -} - input CreatePoolHallInput { name: String! address: String = null @@ -264,6 +259,11 @@ input CreatePoolHallInput { timezone: String = null } +input CreateShotShareLinkInput { + shotIds: [Int!]! + paddingSeconds: Float = null +} + type CreateSubscriptionResultGQL { checkoutUrl: String! sessionId: String! @@ -536,19 +536,6 @@ type GetUploadLinksReturn { stream: UploadStreamGQL } -type SegmentUploadLink { - segmentIndex: Int! - uploadUrl: String! - headers: [Header]! -} - -type UploadLinkBatch { - links: [SegmentUploadLink!]! - alreadyUploaded: [Int!]! -} - -union UploadLinkBatchGetUploadLinkErrors = UploadLinkBatch | GetUploadLinkErrors - type HLSPlaylistGQL { videoId: Int! m3u8Text: String! @@ -1314,6 +1301,12 @@ type SegmentAlreadyUploadedErr { segmentId: Int! } +type SegmentUploadLink { + segmentIndex: Int! + uploadUrl: String! + headers: [Header]! +} + type SerializedShotPathsGQL { b64EncodedBuffer: String } @@ -1466,6 +1459,11 @@ enum SessionCoachStateEnum { FAILED } +type ShareLinkGQL { + slug: String! + url: String! +} + type ShotAnnotationGQL { shotId: Int! type: ShotAnnotationTypeGQL! @@ -1715,6 +1713,7 @@ type TableStateGQL { identifierToPosition: [[Float!]!]! homography: HomographyInfoGQL identifierToColor: [RGBColorGQL]! + identifierToBox: [BoundingBoxGQL!]! } type TagClassGQL { @@ -1800,6 +1799,13 @@ type UploadLink { headers: [Header]! } +type UploadLinkBatch { + links: [SegmentUploadLink!]! + alreadyUploaded: [Int!]! +} + +union UploadLinkBatchGetUploadLinkErrors = UploadLinkBatch | GetUploadLinkErrors + union UploadLinkGetProfileUploadLinkErrors = UploadLink | GetProfileUploadLinkErrors @@ -1919,11 +1925,6 @@ type UserSubscriptionStatusGQL { stripeSubscriptionId: String } -type ShareLinkGQL { - slug: String! - url: String! -} - type VideoExportJobGQL { id: Int! videoId: Int!