Compare commits

..

2 Commits

Author SHA1 Message Date
Dean Wenstrand
2c047292f0 Add tableSize/pocketSize to pool hall camera schema
All checks were successful
Tests / Tests (pull_request) Successful in 11s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 17:13:23 -07:00
9267cd8180 Merge pull request 'dean/pool-hall-gql' (#280) from dean/pool-hall-gql into master
Reviewed-on: #280
2026-07-04 16:35:00 +00:00
3 changed files with 44 additions and 0 deletions

View File

@@ -285,9 +285,11 @@ export type CreateCustomerPortalSessionResultGql = {
export type CreatePoolHallCameraInput = {
name: Scalars["String"]["input"];
pocketSize?: InputMaybe<Scalars["Float"]["input"]>;
poolHallId: Scalars["ID"]["input"];
streamPath?: InputMaybe<Scalars["String"]["input"]>;
tableLabel?: InputMaybe<Scalars["String"]["input"]>;
tableSize?: InputMaybe<Scalars["Float"]["input"]>;
};
export type CreatePoolHallInput = {
@@ -2948,11 +2950,13 @@ export type PoolHallCamera = {
lastPublishedAt?: Maybe<Scalars["DateTime"]["output"]>;
lastUnpublishedAt?: Maybe<Scalars["DateTime"]["output"]>;
name: Scalars["String"]["output"];
pocketSize?: Maybe<Scalars["Float"]["output"]>;
poolHall: PoolHall;
poolHallId: Scalars["ID"]["output"];
status: Scalars["String"]["output"];
streamPath: Scalars["String"]["output"];
tableLabel?: Maybe<Scalars["String"]["output"]>;
tableSize?: Maybe<Scalars["Float"]["output"]>;
updatedAt: Scalars["DateTime"]["output"];
};
@@ -3804,8 +3808,10 @@ export type UpdateAnnotationInputGql = {
export type UpdatePoolHallCameraInput = {
id: Scalars["ID"]["input"];
name?: InputMaybe<Scalars["String"]["input"]>;
pocketSize?: InputMaybe<Scalars["Float"]["input"]>;
status?: InputMaybe<Scalars["String"]["input"]>;
tableLabel?: InputMaybe<Scalars["String"]["input"]>;
tableSize?: InputMaybe<Scalars["Float"]["input"]>;
};
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

View File

@@ -17,6 +17,8 @@ fragment PoolHallCameraFields on PoolHallCamera {
tableLabel
streamPath
status
tableSize
pocketSize
lastPublishedAt
lastUnpublishedAt
createdAt

View File

@@ -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 {