Compare commits

...

2 Commits

Author SHA1 Message Date
dc02fd8387 Merge pull request 'Select detected ball colors for Shot Lab' (#291) from colonelpanic/shot-lab-image-colors into master
Reviewed-on: #291
2026-07-10 17:20:37 +00:00
ef4782fc14 Select detected ball colors for Shot Lab
All checks were successful
Tests / Tests (pull_request) Successful in 33s
2026-07-10 00:12:06 -07:00
2 changed files with 20 additions and 0 deletions

View File

@@ -6745,6 +6745,10 @@ export type GetTableStateQuery = {
getTableState: { getTableState: {
__typename?: "TableStateGQL"; __typename?: "TableStateGQL";
identifierToPosition: Array<Array<number>>; identifierToPosition: Array<Array<number>>;
identifierToColor: Array<{
__typename?: "RGBColorGQL";
hex: string;
} | null>;
}; };
}; };
@@ -6761,6 +6765,10 @@ export type GetLiveTableStateQuery = {
tableState: { tableState: {
__typename?: "TableStateGQL"; __typename?: "TableStateGQL";
identifierToPosition: Array<Array<number>>; identifierToPosition: Array<Array<number>>;
identifierToColor: Array<{
__typename?: "RGBColorGQL";
hex: string;
} | null>;
homography?: { homography?: {
__typename?: "HomographyInfoGQL"; __typename?: "HomographyInfoGQL";
id: number; id: number;
@@ -14426,6 +14434,9 @@ export const GetTableStateDocument = gql`
useHomography: $useHomography useHomography: $useHomography
) { ) {
identifierToPosition identifierToPosition
identifierToColor {
hex
}
} }
} }
`; `;
@@ -14504,6 +14515,9 @@ export const GetLiveTableStateDocument = gql`
frameIndex frameIndex
tableState { tableState {
identifierToPosition identifierToPosition
identifierToColor {
hex
}
homography { homography {
...HomographyInfo ...HomographyInfo
} }

View File

@@ -9,6 +9,9 @@ query GetTableState(
useHomography: $useHomography useHomography: $useHomography
) { ) {
identifierToPosition identifierToPosition
identifierToColor {
hex
}
} }
} }
@@ -18,6 +21,9 @@ query GetLiveTableState($videoId: Int!) {
frameIndex frameIndex
tableState { tableState {
identifierToPosition identifierToPosition
identifierToColor {
hex
}
homography { homography {
...HomographyInfo ...HomographyInfo
} }