From 2c047292f061bb3703f0f8efc1f741fc0ca43326 Mon Sep 17 00:00:00 2001 From: Dean Wenstrand Date: Sat, 4 Jul 2026 17:13:23 -0700 Subject: [PATCH] Add tableSize/pocketSize to pool hall camera schema Co-Authored-By: Claude Opus 4.8 --- src/index.tsx | 36 ++++++++++++++++++++++++++++++++++++ src/operations/pool_hall.gql | 2 ++ src/schema.gql | 6 ++++++ 3 files changed, 44 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 879ba91..7907b77 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -285,9 +285,11 @@ export type CreateCustomerPortalSessionResultGql = { export type CreatePoolHallCameraInput = { name: Scalars["String"]["input"]; + pocketSize?: InputMaybe; poolHallId: Scalars["ID"]["input"]; streamPath?: InputMaybe; tableLabel?: InputMaybe; + tableSize?: InputMaybe; }; export type CreatePoolHallInput = { @@ -2948,11 +2950,13 @@ export type PoolHallCamera = { lastPublishedAt?: Maybe; lastUnpublishedAt?: Maybe; name: Scalars["String"]["output"]; + pocketSize?: Maybe; poolHall: PoolHall; poolHallId: Scalars["ID"]["output"]; status: Scalars["String"]["output"]; streamPath: Scalars["String"]["output"]; tableLabel?: Maybe; + tableSize?: Maybe; updatedAt: Scalars["DateTime"]["output"]; }; @@ -3804,8 +3808,10 @@ export type UpdateAnnotationInputGql = { export type UpdatePoolHallCameraInput = { id: Scalars["ID"]["input"]; name?: InputMaybe; + pocketSize?: InputMaybe; status?: InputMaybe; tableLabel?: InputMaybe; + tableSize?: InputMaybe; }; export type UpdatePoolHallInput = { @@ -5529,6 +5535,8 @@ export type PoolHallCameraFieldsFragment = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -5543,6 +5551,8 @@ export type PoolHallCameraWithHallFieldsFragment = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -5573,6 +5583,8 @@ export type PoolHallCameraStreamCredentialsFieldsFragment = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -5613,6 +5625,8 @@ export type CameraClaimSessionFieldsFragment = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -5654,6 +5668,8 @@ export type CameraLeaseFieldsFragment = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -5725,6 +5741,8 @@ export type GetPoolHallCamerasQuery = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -5758,6 +5776,8 @@ export type GetClaimableCamerasQuery = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -5804,6 +5824,8 @@ export type GetCameraClaimSessionQuery = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -5852,6 +5874,8 @@ export type GetActiveCameraLeaseQuery = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -5930,6 +5954,8 @@ export type CreatePoolHallCameraMutation = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -5964,6 +5990,8 @@ export type UpdatePoolHallCameraMutation = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -6001,6 +6029,8 @@ export type RotatePoolHallCameraStreamKeyMutation = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -6048,6 +6078,8 @@ export type CreateCameraClaimSessionMutation = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -6095,6 +6127,8 @@ export type CancelCameraClaimSessionMutation = { tableLabel?: string | null; streamPath: string; status: string; + tableSize?: number | null; + pocketSize?: number | null; lastPublishedAt?: any | null; lastUnpublishedAt?: any | null; createdAt: any; @@ -8432,6 +8466,8 @@ export const PoolHallCameraFieldsFragmentDoc = gql` tableLabel streamPath status + tableSize + pocketSize lastPublishedAt lastUnpublishedAt createdAt diff --git a/src/operations/pool_hall.gql b/src/operations/pool_hall.gql index 0308b6b..77d0b15 100644 --- a/src/operations/pool_hall.gql +++ b/src/operations/pool_hall.gql @@ -17,6 +17,8 @@ fragment PoolHallCameraFields on PoolHallCamera { tableLabel streamPath status + tableSize + pocketSize lastPublishedAt lastUnpublishedAt createdAt diff --git a/src/schema.gql b/src/schema.gql index 931af76..5ba507a 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -907,6 +907,8 @@ type PoolHallCamera { tableLabel: String streamPath: String! status: String! + tableSize: Float + pocketSize: Float lastPublishedAt: DateTime lastUnpublishedAt: DateTime createdAt: DateTime! @@ -1511,6 +1513,8 @@ input CreatePoolHallCameraInput { name: String! tableLabel: String = null streamPath: String = null + tableSize: Float = null + pocketSize: Float = null } input UpdatePoolHallCameraInput { @@ -1518,6 +1522,8 @@ input UpdatePoolHallCameraInput { name: String = null tableLabel: String = null status: String = null + tableSize: Float = null + pocketSize: Float = null } input FinalizePlayerAssignmentsInput {