Compare commits

..

1 Commits

Author SHA1 Message Date
dean
2d930ca5e8 Update schema for defaultAndroidRecordingFormat 2026-01-07 11:23:16 -08:00
9 changed files with 49 additions and 583 deletions

View File

@@ -9,7 +9,6 @@ for proto in $(find ./rbproto -iname '*.proto'); do
protoc -I=./rbproto --python_out=./rbproto/python --pyi_out=./rbproto/python ./rbproto/shot.proto protoc -I=./rbproto --python_out=./rbproto/python --pyi_out=./rbproto/python ./rbproto/shot.proto
yarn pbjs ./rbproto/shot.proto --ts ./rbproto/ts/shot.ts yarn pbjs ./rbproto/shot.proto --ts ./rbproto/ts/shot.ts
done done
black rbproto/python
prettier ./rbproto --write prettier ./rbproto --write
git ls-files | xargs md5sum > after.txt git ls-files | xargs md5sum > after.txt

View File

@@ -21,7 +21,7 @@
in in
with pkgs; { with pkgs; {
devShell = mkShell { devShell = mkShell {
buildInputs = [nodejs yarn watchman alejandra nodePackages.prettier just protobuf black]; buildInputs = [nodejs yarn watchman alejandra nodePackages.prettier just protobuf];
}; };
}); });
} }

View File

@@ -8,7 +8,7 @@ packages = [{include = "rbproto"}]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = ">=3.10,<=3.13" python = ">=3.10,<=3.13"
protobuf = ">=4.25.3" protobuf = "^4.25.3"
[build-system] [build-system]

View File

@@ -6,45 +6,44 @@ from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports) # @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default() _sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
b'\n\nshot.proto\x12\x0fserialized_shot"?\n\x03\x42ox\x12\x0c\n\x04left\x18\x01 \x01(\x02\x12\x0b\n\x03top\x18\x02 \x01(\x02\x12\r\n\x05width\x18\x03 \x01(\x02\x12\x0e\n\x06height\x18\x04 \x01(\x02"\x1d\n\x05Point\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02"\x7f\n\rBallDetection\x12.\n\x0eplane_position\x18\x01 \x01(\x0b\x32\x16.serialized_shot.Point\x12(\n\nannotation\x18\x02 \x01(\x0b\x32\x14.serialized_shot.Box\x12\x14\n\x0cinterpolated\x18\x03 \x01(\x08"T\n\x10RLEBallDetection\x12\x31\n\tdetection\x18\x01 \x01(\x0b\x32\x1e.serialized_shot.BallDetection\x12\r\n\x05\x63ount\x18\x02 \x01(\r"L\n\x13RLEDetectionHistory\x12\x35\n\ndetections\x18\x01 \x03(\x0b\x32!.serialized_shot.RLEBallDetection"F\n\x10\x44\x65tectionHistory\x12\x32\n\ndetections\x18\x01 \x03(\x0b\x32\x1e.serialized_shot.BallDetection"\xfc\x01\n\rCollisionInfo\x12\x0e\n\x06source\x18\x01 \x01(\r\x12M\n\x10\x62\x61ll_identifiers\x18\x02 \x03(\x0b\x32\x33.serialized_shot.CollisionInfo.BallIdentifiersEntry\x12\x17\n\x0fwall_identifier\x18\x03 \x01(\r\x12\x13\n\x0b\x66rame_index\x18\x04 \x01(\r\x12\x0e\n\x06static\x18\x05 \x01(\x08\x1aN\n\x14\x42\x61llIdentifiersEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.serialized_shot.Point:\x02\x38\x01"\xcc\x02\n\x04Path\x12\x13\n\x0bstart_frame\x18\x01 \x01(\r\x12\x11\n\tend_frame\x18\x02 \x01(\r\x12\x37\n\ndetections\x18\x03 \x01(\x0b\x32!.serialized_shot.DetectionHistoryH\x00\x12>\n\x0erle_detections\x18\x04 \x01(\x0b\x32$.serialized_shot.RLEDetectionHistoryH\x00\x12\x15\n\x0bnot_present\x18\x05 \x01(\x08H\x00\x12\x11\n\tis_static\x18\x06 \x01(\x08\x12\x32\n\nstart_info\x18\x07 \x01(\x0b\x32\x1e.serialized_shot.CollisionInfo\x12\x30\n\x08\x65nd_info\x18\x08 \x01(\x0b\x32\x1e.serialized_shot.CollisionInfoB\x13\n\x11\x64\x65tection_history"R\n\x11IdentifierHistory\x12\x17\n\x0f\x62\x61ll_identifier\x18\x01 \x01(\r\x12$\n\x05paths\x18\x02 \x03(\x0b\x32\x15.serialized_shot.Path"\xf4\x01\n\x12KeyBallIdentifiers\x12\x10\n\x08\x63ue_ball\x18\x01 \x01(\r\x12\x13\n\x0bobject_ball\x18\x02 \x01(\r\x12\x13\n\x0btarget_ball\x18\x03 \x01(\r\x12\x18\n\x10\x63ontact_sequence\x18\x04 \x03(\r\x12\x18\n\x0b\x63ue_ball_id\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x1b\n\x0eobject_ball_id\x18\x06 \x01(\rH\x01\x88\x01\x01\x12\x1b\n\x0etarget_ball_id\x18\x07 \x01(\rH\x02\x88\x01\x01\x42\x0e\n\x0c_cue_ball_idB\x11\n\x0f_object_ball_idB\x11\n\x0f_target_ball_id"\xa8\x01\n\x04Shot\x12@\n\x14identifier_histories\x18\x03 \x03(\x0b\x32".serialized_shot.IdentifierHistory\x12\x36\n\tkey_balls\x18\x04 \x01(\x0b\x32#.serialized_shot.KeyBallIdentifiers\x12\x13\n\x0bstart_index\x18\x05 \x01(\r\x12\x11\n\tend_index\x18\x06 \x01(\rb\x06proto3'
) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nshot.proto\x12\x0fserialized_shot\"?\n\x03\x42ox\x12\x0c\n\x04left\x18\x01 \x01(\x02\x12\x0b\n\x03top\x18\x02 \x01(\x02\x12\r\n\x05width\x18\x03 \x01(\x02\x12\x0e\n\x06height\x18\x04 \x01(\x02\"\x1d\n\x05Point\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\"\x7f\n\rBallDetection\x12.\n\x0eplane_position\x18\x01 \x01(\x0b\x32\x16.serialized_shot.Point\x12(\n\nannotation\x18\x02 \x01(\x0b\x32\x14.serialized_shot.Box\x12\x14\n\x0cinterpolated\x18\x03 \x01(\x08\"T\n\x10RLEBallDetection\x12\x31\n\tdetection\x18\x01 \x01(\x0b\x32\x1e.serialized_shot.BallDetection\x12\r\n\x05\x63ount\x18\x02 \x01(\r\"L\n\x13RLEDetectionHistory\x12\x35\n\ndetections\x18\x01 \x03(\x0b\x32!.serialized_shot.RLEBallDetection\"F\n\x10\x44\x65tectionHistory\x12\x32\n\ndetections\x18\x01 \x03(\x0b\x32\x1e.serialized_shot.BallDetection\"\xfc\x01\n\rCollisionInfo\x12\x0e\n\x06source\x18\x01 \x01(\r\x12M\n\x10\x62\x61ll_identifiers\x18\x02 \x03(\x0b\x32\x33.serialized_shot.CollisionInfo.BallIdentifiersEntry\x12\x17\n\x0fwall_identifier\x18\x03 \x01(\r\x12\x13\n\x0b\x66rame_index\x18\x04 \x01(\r\x12\x0e\n\x06static\x18\x05 \x01(\x08\x1aN\n\x14\x42\x61llIdentifiersEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.serialized_shot.Point:\x02\x38\x01\"\xcc\x02\n\x04Path\x12\x13\n\x0bstart_frame\x18\x01 \x01(\r\x12\x11\n\tend_frame\x18\x02 \x01(\r\x12\x37\n\ndetections\x18\x03 \x01(\x0b\x32!.serialized_shot.DetectionHistoryH\x00\x12>\n\x0erle_detections\x18\x04 \x01(\x0b\x32$.serialized_shot.RLEDetectionHistoryH\x00\x12\x15\n\x0bnot_present\x18\x05 \x01(\x08H\x00\x12\x11\n\tis_static\x18\x06 \x01(\x08\x12\x32\n\nstart_info\x18\x07 \x01(\x0b\x32\x1e.serialized_shot.CollisionInfo\x12\x30\n\x08\x65nd_info\x18\x08 \x01(\x0b\x32\x1e.serialized_shot.CollisionInfoB\x13\n\x11\x64\x65tection_history\"R\n\x11IdentifierHistory\x12\x17\n\x0f\x62\x61ll_identifier\x18\x01 \x01(\r\x12$\n\x05paths\x18\x02 \x03(\x0b\x32\x15.serialized_shot.Path\"\xf4\x01\n\x12KeyBallIdentifiers\x12\x10\n\x08\x63ue_ball\x18\x01 \x01(\r\x12\x13\n\x0bobject_ball\x18\x02 \x01(\r\x12\x13\n\x0btarget_ball\x18\x03 \x01(\r\x12\x18\n\x10\x63ontact_sequence\x18\x04 \x03(\r\x12\x18\n\x0b\x63ue_ball_id\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x1b\n\x0eobject_ball_id\x18\x06 \x01(\rH\x01\x88\x01\x01\x12\x1b\n\x0etarget_ball_id\x18\x07 \x01(\rH\x02\x88\x01\x01\x42\x0e\n\x0c_cue_ball_idB\x11\n\x0f_object_ball_idB\x11\n\x0f_target_ball_id\"\xa8\x01\n\x04Shot\x12@\n\x14identifier_histories\x18\x03 \x03(\x0b\x32\".serialized_shot.IdentifierHistory\x12\x36\n\tkey_balls\x18\x04 \x01(\x0b\x32#.serialized_shot.KeyBallIdentifiers\x12\x13\n\x0bstart_index\x18\x05 \x01(\r\x12\x11\n\tend_index\x18\x06 \x01(\rb\x06proto3')
_globals = globals() _globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "shot_pb2", _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'shot_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False: if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None DESCRIPTOR._options = None
_globals["_COLLISIONINFO_BALLIDENTIFIERSENTRY"]._options = None _globals['_COLLISIONINFO_BALLIDENTIFIERSENTRY']._options = None
_globals["_COLLISIONINFO_BALLIDENTIFIERSENTRY"]._serialized_options = b"8\001" _globals['_COLLISIONINFO_BALLIDENTIFIERSENTRY']._serialized_options = b'8\001'
_globals["_BOX"]._serialized_start = 31 _globals['_BOX']._serialized_start=31
_globals["_BOX"]._serialized_end = 94 _globals['_BOX']._serialized_end=94
_globals["_POINT"]._serialized_start = 96 _globals['_POINT']._serialized_start=96
_globals["_POINT"]._serialized_end = 125 _globals['_POINT']._serialized_end=125
_globals["_BALLDETECTION"]._serialized_start = 127 _globals['_BALLDETECTION']._serialized_start=127
_globals["_BALLDETECTION"]._serialized_end = 254 _globals['_BALLDETECTION']._serialized_end=254
_globals["_RLEBALLDETECTION"]._serialized_start = 256 _globals['_RLEBALLDETECTION']._serialized_start=256
_globals["_RLEBALLDETECTION"]._serialized_end = 340 _globals['_RLEBALLDETECTION']._serialized_end=340
_globals["_RLEDETECTIONHISTORY"]._serialized_start = 342 _globals['_RLEDETECTIONHISTORY']._serialized_start=342
_globals["_RLEDETECTIONHISTORY"]._serialized_end = 418 _globals['_RLEDETECTIONHISTORY']._serialized_end=418
_globals["_DETECTIONHISTORY"]._serialized_start = 420 _globals['_DETECTIONHISTORY']._serialized_start=420
_globals["_DETECTIONHISTORY"]._serialized_end = 490 _globals['_DETECTIONHISTORY']._serialized_end=490
_globals["_COLLISIONINFO"]._serialized_start = 493 _globals['_COLLISIONINFO']._serialized_start=493
_globals["_COLLISIONINFO"]._serialized_end = 745 _globals['_COLLISIONINFO']._serialized_end=745
_globals["_COLLISIONINFO_BALLIDENTIFIERSENTRY"]._serialized_start = 667 _globals['_COLLISIONINFO_BALLIDENTIFIERSENTRY']._serialized_start=667
_globals["_COLLISIONINFO_BALLIDENTIFIERSENTRY"]._serialized_end = 745 _globals['_COLLISIONINFO_BALLIDENTIFIERSENTRY']._serialized_end=745
_globals["_PATH"]._serialized_start = 748 _globals['_PATH']._serialized_start=748
_globals["_PATH"]._serialized_end = 1080 _globals['_PATH']._serialized_end=1080
_globals["_IDENTIFIERHISTORY"]._serialized_start = 1082 _globals['_IDENTIFIERHISTORY']._serialized_start=1082
_globals["_IDENTIFIERHISTORY"]._serialized_end = 1164 _globals['_IDENTIFIERHISTORY']._serialized_end=1164
_globals["_KEYBALLIDENTIFIERS"]._serialized_start = 1167 _globals['_KEYBALLIDENTIFIERS']._serialized_start=1167
_globals["_KEYBALLIDENTIFIERS"]._serialized_end = 1411 _globals['_KEYBALLIDENTIFIERS']._serialized_end=1411
_globals["_SHOT"]._serialized_start = 1414 _globals['_SHOT']._serialized_start=1414
_globals["_SHOT"]._serialized_end = 1582 _globals['_SHOT']._serialized_end=1582
# @@protoc_insertion_point(module_scope) # @@protoc_insertion_point(module_scope)

View File

@@ -1,13 +1,7 @@
from google.protobuf.internal import containers as _containers from google.protobuf.internal import containers as _containers
from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message from google.protobuf import message as _message
from typing import ( from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
ClassVar as _ClassVar,
Iterable as _Iterable,
Mapping as _Mapping,
Optional as _Optional,
Union as _Union,
)
DESCRIPTOR: _descriptor.FileDescriptor DESCRIPTOR: _descriptor.FileDescriptor
@@ -21,13 +15,7 @@ class Box(_message.Message):
top: float top: float
width: float width: float
height: float height: float
def __init__( def __init__(self, left: _Optional[float] = ..., top: _Optional[float] = ..., width: _Optional[float] = ..., height: _Optional[float] = ...) -> None: ...
self,
left: _Optional[float] = ...,
top: _Optional[float] = ...,
width: _Optional[float] = ...,
height: _Optional[float] = ...,
) -> None: ...
class Point(_message.Message): class Point(_message.Message):
__slots__ = ["x", "y"] __slots__ = ["x", "y"]
@@ -35,9 +23,7 @@ class Point(_message.Message):
Y_FIELD_NUMBER: _ClassVar[int] Y_FIELD_NUMBER: _ClassVar[int]
x: float x: float
y: float y: float
def __init__( def __init__(self, x: _Optional[float] = ..., y: _Optional[float] = ...) -> None: ...
self, x: _Optional[float] = ..., y: _Optional[float] = ...
) -> None: ...
class BallDetection(_message.Message): class BallDetection(_message.Message):
__slots__ = ["plane_position", "annotation", "interpolated"] __slots__ = ["plane_position", "annotation", "interpolated"]
@@ -47,12 +33,7 @@ class BallDetection(_message.Message):
plane_position: Point plane_position: Point
annotation: Box annotation: Box
interpolated: bool interpolated: bool
def __init__( def __init__(self, plane_position: _Optional[_Union[Point, _Mapping]] = ..., annotation: _Optional[_Union[Box, _Mapping]] = ..., interpolated: bool = ...) -> None: ...
self,
plane_position: _Optional[_Union[Point, _Mapping]] = ...,
annotation: _Optional[_Union[Box, _Mapping]] = ...,
interpolated: bool = ...,
) -> None: ...
class RLEBallDetection(_message.Message): class RLEBallDetection(_message.Message):
__slots__ = ["detection", "count"] __slots__ = ["detection", "count"]
@@ -60,48 +41,29 @@ class RLEBallDetection(_message.Message):
COUNT_FIELD_NUMBER: _ClassVar[int] COUNT_FIELD_NUMBER: _ClassVar[int]
detection: BallDetection detection: BallDetection
count: int count: int
def __init__( def __init__(self, detection: _Optional[_Union[BallDetection, _Mapping]] = ..., count: _Optional[int] = ...) -> None: ...
self,
detection: _Optional[_Union[BallDetection, _Mapping]] = ...,
count: _Optional[int] = ...,
) -> None: ...
class RLEDetectionHistory(_message.Message): class RLEDetectionHistory(_message.Message):
__slots__ = ["detections"] __slots__ = ["detections"]
DETECTIONS_FIELD_NUMBER: _ClassVar[int] DETECTIONS_FIELD_NUMBER: _ClassVar[int]
detections: _containers.RepeatedCompositeFieldContainer[RLEBallDetection] detections: _containers.RepeatedCompositeFieldContainer[RLEBallDetection]
def __init__( def __init__(self, detections: _Optional[_Iterable[_Union[RLEBallDetection, _Mapping]]] = ...) -> None: ...
self, detections: _Optional[_Iterable[_Union[RLEBallDetection, _Mapping]]] = ...
) -> None: ...
class DetectionHistory(_message.Message): class DetectionHistory(_message.Message):
__slots__ = ["detections"] __slots__ = ["detections"]
DETECTIONS_FIELD_NUMBER: _ClassVar[int] DETECTIONS_FIELD_NUMBER: _ClassVar[int]
detections: _containers.RepeatedCompositeFieldContainer[BallDetection] detections: _containers.RepeatedCompositeFieldContainer[BallDetection]
def __init__( def __init__(self, detections: _Optional[_Iterable[_Union[BallDetection, _Mapping]]] = ...) -> None: ...
self, detections: _Optional[_Iterable[_Union[BallDetection, _Mapping]]] = ...
) -> None: ...
class CollisionInfo(_message.Message): class CollisionInfo(_message.Message):
__slots__ = [ __slots__ = ["source", "ball_identifiers", "wall_identifier", "frame_index", "static"]
"source",
"ball_identifiers",
"wall_identifier",
"frame_index",
"static",
]
class BallIdentifiersEntry(_message.Message): class BallIdentifiersEntry(_message.Message):
__slots__ = ["key", "value"] __slots__ = ["key", "value"]
KEY_FIELD_NUMBER: _ClassVar[int] KEY_FIELD_NUMBER: _ClassVar[int]
VALUE_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int]
key: int key: int
value: Point value: Point
def __init__( def __init__(self, key: _Optional[int] = ..., value: _Optional[_Union[Point, _Mapping]] = ...) -> None: ...
self,
key: _Optional[int] = ...,
value: _Optional[_Union[Point, _Mapping]] = ...,
) -> None: ...
SOURCE_FIELD_NUMBER: _ClassVar[int] SOURCE_FIELD_NUMBER: _ClassVar[int]
BALL_IDENTIFIERS_FIELD_NUMBER: _ClassVar[int] BALL_IDENTIFIERS_FIELD_NUMBER: _ClassVar[int]
WALL_IDENTIFIER_FIELD_NUMBER: _ClassVar[int] WALL_IDENTIFIER_FIELD_NUMBER: _ClassVar[int]
@@ -112,26 +74,10 @@ class CollisionInfo(_message.Message):
wall_identifier: int wall_identifier: int
frame_index: int frame_index: int
static: bool static: bool
def __init__( def __init__(self, source: _Optional[int] = ..., ball_identifiers: _Optional[_Mapping[int, Point]] = ..., wall_identifier: _Optional[int] = ..., frame_index: _Optional[int] = ..., static: bool = ...) -> None: ...
self,
source: _Optional[int] = ...,
ball_identifiers: _Optional[_Mapping[int, Point]] = ...,
wall_identifier: _Optional[int] = ...,
frame_index: _Optional[int] = ...,
static: bool = ...,
) -> None: ...
class Path(_message.Message): class Path(_message.Message):
__slots__ = [ __slots__ = ["start_frame", "end_frame", "detections", "rle_detections", "not_present", "is_static", "start_info", "end_info"]
"start_frame",
"end_frame",
"detections",
"rle_detections",
"not_present",
"is_static",
"start_info",
"end_info",
]
START_FRAME_FIELD_NUMBER: _ClassVar[int] START_FRAME_FIELD_NUMBER: _ClassVar[int]
END_FRAME_FIELD_NUMBER: _ClassVar[int] END_FRAME_FIELD_NUMBER: _ClassVar[int]
DETECTIONS_FIELD_NUMBER: _ClassVar[int] DETECTIONS_FIELD_NUMBER: _ClassVar[int]
@@ -148,17 +94,7 @@ class Path(_message.Message):
is_static: bool is_static: bool
start_info: CollisionInfo start_info: CollisionInfo
end_info: CollisionInfo end_info: CollisionInfo
def __init__( def __init__(self, start_frame: _Optional[int] = ..., end_frame: _Optional[int] = ..., detections: _Optional[_Union[DetectionHistory, _Mapping]] = ..., rle_detections: _Optional[_Union[RLEDetectionHistory, _Mapping]] = ..., not_present: bool = ..., is_static: bool = ..., start_info: _Optional[_Union[CollisionInfo, _Mapping]] = ..., end_info: _Optional[_Union[CollisionInfo, _Mapping]] = ...) -> None: ...
self,
start_frame: _Optional[int] = ...,
end_frame: _Optional[int] = ...,
detections: _Optional[_Union[DetectionHistory, _Mapping]] = ...,
rle_detections: _Optional[_Union[RLEDetectionHistory, _Mapping]] = ...,
not_present: bool = ...,
is_static: bool = ...,
start_info: _Optional[_Union[CollisionInfo, _Mapping]] = ...,
end_info: _Optional[_Union[CollisionInfo, _Mapping]] = ...,
) -> None: ...
class IdentifierHistory(_message.Message): class IdentifierHistory(_message.Message):
__slots__ = ["ball_identifier", "paths"] __slots__ = ["ball_identifier", "paths"]
@@ -166,22 +102,10 @@ class IdentifierHistory(_message.Message):
PATHS_FIELD_NUMBER: _ClassVar[int] PATHS_FIELD_NUMBER: _ClassVar[int]
ball_identifier: int ball_identifier: int
paths: _containers.RepeatedCompositeFieldContainer[Path] paths: _containers.RepeatedCompositeFieldContainer[Path]
def __init__( def __init__(self, ball_identifier: _Optional[int] = ..., paths: _Optional[_Iterable[_Union[Path, _Mapping]]] = ...) -> None: ...
self,
ball_identifier: _Optional[int] = ...,
paths: _Optional[_Iterable[_Union[Path, _Mapping]]] = ...,
) -> None: ...
class KeyBallIdentifiers(_message.Message): class KeyBallIdentifiers(_message.Message):
__slots__ = [ __slots__ = ["cue_ball", "object_ball", "target_ball", "contact_sequence", "cue_ball_id", "object_ball_id", "target_ball_id"]
"cue_ball",
"object_ball",
"target_ball",
"contact_sequence",
"cue_ball_id",
"object_ball_id",
"target_ball_id",
]
CUE_BALL_FIELD_NUMBER: _ClassVar[int] CUE_BALL_FIELD_NUMBER: _ClassVar[int]
OBJECT_BALL_FIELD_NUMBER: _ClassVar[int] OBJECT_BALL_FIELD_NUMBER: _ClassVar[int]
TARGET_BALL_FIELD_NUMBER: _ClassVar[int] TARGET_BALL_FIELD_NUMBER: _ClassVar[int]
@@ -196,16 +120,7 @@ class KeyBallIdentifiers(_message.Message):
cue_ball_id: int cue_ball_id: int
object_ball_id: int object_ball_id: int
target_ball_id: int target_ball_id: int
def __init__( def __init__(self, cue_ball: _Optional[int] = ..., object_ball: _Optional[int] = ..., target_ball: _Optional[int] = ..., contact_sequence: _Optional[_Iterable[int]] = ..., cue_ball_id: _Optional[int] = ..., object_ball_id: _Optional[int] = ..., target_ball_id: _Optional[int] = ...) -> None: ...
self,
cue_ball: _Optional[int] = ...,
object_ball: _Optional[int] = ...,
target_ball: _Optional[int] = ...,
contact_sequence: _Optional[_Iterable[int]] = ...,
cue_ball_id: _Optional[int] = ...,
object_ball_id: _Optional[int] = ...,
target_ball_id: _Optional[int] = ...,
) -> None: ...
class Shot(_message.Message): class Shot(_message.Message):
__slots__ = ["identifier_histories", "key_balls", "start_index", "end_index"] __slots__ = ["identifier_histories", "key_balls", "start_index", "end_index"]
@@ -217,12 +132,4 @@ class Shot(_message.Message):
key_balls: KeyBallIdentifiers key_balls: KeyBallIdentifiers
start_index: int start_index: int
end_index: int end_index: int
def __init__( def __init__(self, identifier_histories: _Optional[_Iterable[_Union[IdentifierHistory, _Mapping]]] = ..., key_balls: _Optional[_Union[KeyBallIdentifiers, _Mapping]] = ..., start_index: _Optional[int] = ..., end_index: _Optional[int] = ...) -> None: ...
self,
identifier_histories: _Optional[
_Iterable[_Union[IdentifierHistory, _Mapping]]
] = ...,
key_balls: _Optional[_Union[KeyBallIdentifiers, _Mapping]] = ...,
start_index: _Optional[int] = ...,
end_index: _Optional[int] = ...,
) -> None: ...

View File

@@ -224,14 +224,6 @@ export type CreateBucketSetInput = {
keyName: Scalars["String"]["input"]; keyName: Scalars["String"]["input"];
}; };
export type CreateGroundTruthShotInputGql = {
endFrame: Scalars["Int"]["input"];
make?: InputMaybe<Scalars["Boolean"]["input"]>;
notes?: InputMaybe<Scalars["String"]["input"]>;
processingId: Scalars["Int"]["input"];
startFrame: Scalars["Int"]["input"];
};
export type CreateSubscriptionResultGql = { export type CreateSubscriptionResultGql = {
__typename?: "CreateSubscriptionResultGQL"; __typename?: "CreateSubscriptionResultGQL";
checkoutUrl: Scalars["String"]["output"]; checkoutUrl: Scalars["String"]["output"];
@@ -277,16 +269,10 @@ export type DatetimeRangeAggregationInput = {
startDatetime?: InputMaybe<Scalars["DateTime"]["input"]>; startDatetime?: InputMaybe<Scalars["DateTime"]["input"]>;
}; };
export type DeleteGroundTruthShotReturn = {
__typename?: "DeleteGroundTruthShotReturn";
deletedShotId: Scalars["Int"]["output"];
};
export type DeployedConfigGql = { export type DeployedConfigGql = {
__typename?: "DeployedConfigGQL"; __typename?: "DeployedConfigGQL";
allowNewUsers: Scalars["Boolean"]["output"]; allowNewUsers: Scalars["Boolean"]["output"];
bannerMessages: Array<BannerGql>; bannerMessages: Array<BannerGql>;
bucketUrl: Scalars["String"]["output"];
defaultAndroidRecordingFormat: StreamSegmentTypeEnum; defaultAndroidRecordingFormat: StreamSegmentTypeEnum;
devMode: Scalars["Boolean"]["output"]; devMode: Scalars["Boolean"]["output"];
environment: Scalars["String"]["output"]; environment: Scalars["String"]["output"];
@@ -321,12 +307,9 @@ export type EditUserInputGql = {
export type EditableShotFieldInputGql = { export type EditableShotFieldInputGql = {
backcut?: InputMaybe<Scalars["Boolean"]["input"]>; backcut?: InputMaybe<Scalars["Boolean"]["input"]>;
excludeFromStats?: InputMaybe<Scalars["Boolean"]["input"]>; excludeFromStats?: InputMaybe<Scalars["Boolean"]["input"]>;
intendedBallId?: InputMaybe<Scalars["Int"]["input"]>;
intendedPocketId?: InputMaybe<PocketIdentifier>;
intendedPocketType?: InputMaybe<PocketEnum>; intendedPocketType?: InputMaybe<PocketEnum>;
make?: InputMaybe<Scalars["Boolean"]["input"]>; make?: InputMaybe<Scalars["Boolean"]["input"]>;
notes?: InputMaybe<Scalars["String"]["input"]>; notes?: InputMaybe<Scalars["String"]["input"]>;
pathMetadataIndex?: InputMaybe<Scalars["Int"]["input"]>;
shotDirection?: InputMaybe<ShotDirectionEnum>; shotDirection?: InputMaybe<ShotDirectionEnum>;
spinType?: InputMaybe<SpinTypeEnum>; spinType?: InputMaybe<SpinTypeEnum>;
targetPocketAngleDirection?: InputMaybe<ShotDirectionEnum>; targetPocketAngleDirection?: InputMaybe<ShotDirectionEnum>;
@@ -367,7 +350,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -412,7 +394,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -457,7 +438,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -502,7 +482,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -547,7 +526,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -592,7 +570,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -637,7 +614,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -682,7 +658,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -727,7 +702,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -772,7 +746,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -817,7 +790,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -862,7 +834,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -907,7 +878,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -952,7 +922,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -997,7 +966,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1042,7 +1010,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1087,7 +1054,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1132,7 +1098,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1177,7 +1142,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1222,7 +1186,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1267,7 +1230,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1312,7 +1274,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1357,7 +1318,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1402,7 +1362,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1447,7 +1406,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1492,7 +1450,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1537,7 +1494,6 @@ export type FilterInput =
missAngleInDegrees: FloatRangeFilter; missAngleInDegrees: FloatRangeFilter;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1582,7 +1538,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter: FilterInput; notFilter: FilterInput;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1627,7 +1582,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters: Array<FilterInput>; orFilters: Array<FilterInput>;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1672,52 +1626,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId: Array<Scalars["Int"]["input"]>;
runId?: never;
runLength?: never;
shotDirection?: never;
spinType?: never;
tableSize?: never;
tags?: never;
targetPocketAngle?: never;
targetPocketAngleDirection?: never;
targetPocketDistance?: never;
totalDistance?: never;
userId?: never;
username?: never;
videoId?: never;
}
| {
andFilters?: never;
annotations?: never;
backcut?: never;
bankAngle?: never;
bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never;
cueBallSpeed?: never;
cueObjectAngle?: never;
cueObjectDistance?: never;
cueSpeedAfterObject?: never;
difficulty?: never;
falsePositiveScore?: never;
fargoRating?: never;
intendedPocketType?: never;
isBreakHeuristic?: never;
isDirect?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
kickAngle?: never;
kickDistance?: never;
make?: never;
marginOfErrorInDegrees?: never;
missAngleInDegrees?: never;
notFilter?: never;
orFilters?: never;
processingId?: never;
runId: Array<Scalars["Int"]["input"]>; runId: Array<Scalars["Int"]["input"]>;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1762,7 +1670,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength: FloatRangeFilter; runLength: FloatRangeFilter;
shotDirection?: never; shotDirection?: never;
@@ -1807,7 +1714,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection: Array<ShotDirectionEnum>; shotDirection: Array<ShotDirectionEnum>;
@@ -1852,7 +1758,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1897,7 +1802,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1942,7 +1846,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -1987,7 +1890,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -2032,7 +1934,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -2077,7 +1978,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -2122,7 +2022,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -2167,7 +2066,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -2212,7 +2110,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -2257,7 +2154,6 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
processingId?: never;
runId?: never; runId?: never;
runLength?: never; runLength?: never;
shotDirection?: never; shotDirection?: never;
@@ -2449,12 +2345,10 @@ export type Mutation = {
commentOnVideo: Scalars["Boolean"]["output"]; commentOnVideo: Scalars["Boolean"]["output"];
createBucketSet: BucketSetGql; createBucketSet: BucketSetGql;
createChallenge: Challenge; createChallenge: Challenge;
createGroundTruthShot: ShotGql;
createRuleSet: RuleSet; createRuleSet: RuleSet;
createSubscription: CreateSubscriptionResultGql; createSubscription: CreateSubscriptionResultGql;
createUploadStream: CreateUploadStreamReturn; createUploadStream: CreateUploadStreamReturn;
deleteComment: Scalars["Boolean"]["output"]; deleteComment: Scalars["Boolean"]["output"];
deleteGroundTruthShot: DeleteGroundTruthShotReturn;
deleteNotification: Scalars["Boolean"]["output"]; deleteNotification: Scalars["Boolean"]["output"];
deleteTags: Scalars["Boolean"]["output"]; deleteTags: Scalars["Boolean"]["output"];
deleteUser: Scalars["Boolean"]["output"]; deleteUser: Scalars["Boolean"]["output"];
@@ -2469,14 +2363,12 @@ export type Mutation = {
findPrerecordTableLayout?: Maybe<HomographyInfoGql>; findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
followUser: UserGql; followUser: UserGql;
getHlsInitUploadLink: GetUploadLinkReturn; getHlsInitUploadLink: GetUploadLinkReturn;
getOrCreateGroundTruthProcessing: VideoProcessingGql;
getProfileImageUploadLink: GetProfileUploadLinkReturn; getProfileImageUploadLink: GetProfileUploadLinkReturn;
getUploadLink: GetUploadLinkReturn; getUploadLink: GetUploadLinkReturn;
inviteUsersToChallenge: Array<ChallengeInvitation>; inviteUsersToChallenge: Array<ChallengeInvitation>;
markAllNotificationsAsRead: Scalars["Boolean"]["output"]; markAllNotificationsAsRead: Scalars["Boolean"]["output"];
markNotificationAsRead: Scalars["Boolean"]["output"]; markNotificationAsRead: Scalars["Boolean"]["output"];
markNotificationsAsRead: Scalars["Boolean"]["output"]; markNotificationsAsRead: Scalars["Boolean"]["output"];
promoteGroundTruthProcessing: VideoProcessingGql;
reactToVideo: Scalars["Boolean"]["output"]; reactToVideo: Scalars["Boolean"]["output"];
recalculateChallengeEntry: ChallengeEntry; recalculateChallengeEntry: ChallengeEntry;
reportContent: Scalars["Boolean"]["output"]; reportContent: Scalars["Boolean"]["output"];
@@ -2484,13 +2376,11 @@ export type Mutation = {
retireTags: Scalars["Boolean"]["output"]; retireTags: Scalars["Boolean"]["output"];
setLoggerLevel: Scalars["Boolean"]["output"]; setLoggerLevel: Scalars["Boolean"]["output"];
setSegmentDuration: Scalars["Boolean"]["output"]; setSegmentDuration: Scalars["Boolean"]["output"];
splitGroundTruthShot: SplitGroundTruthShotReturn;
startChallenge: ChallengeEntry; startChallenge: ChallengeEntry;
submitCancellationFeedback: Scalars["Boolean"]["output"]; submitCancellationFeedback: Scalars["Boolean"]["output"];
submitChallengeEntry: ChallengeEntry; submitChallengeEntry: ChallengeEntry;
undismissChallenge: Scalars["Boolean"]["output"]; undismissChallenge: Scalars["Boolean"]["output"];
unfollowUser: UserGql; unfollowUser: UserGql;
updateGroundTruthShotFrameRange: ShotGql;
updateShotAnnotations: UpdateShotAnnotationReturn; updateShotAnnotations: UpdateShotAnnotationReturn;
}; };
@@ -2531,10 +2421,6 @@ export type MutationCreateChallengeArgs = {
startDate: Scalars["DateTime"]["input"]; startDate: Scalars["DateTime"]["input"];
}; };
export type MutationCreateGroundTruthShotArgs = {
input: CreateGroundTruthShotInputGql;
};
export type MutationCreateRuleSetArgs = { export type MutationCreateRuleSetArgs = {
description?: InputMaybe<Scalars["String"]["input"]>; description?: InputMaybe<Scalars["String"]["input"]>;
name: Scalars["String"]["input"]; name: Scalars["String"]["input"];
@@ -2545,7 +2431,6 @@ export type MutationCreateSubscriptionArgs = {
}; };
export type MutationCreateUploadStreamArgs = { export type MutationCreateUploadStreamArgs = {
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
videoMetadata: VideoMetadataInput; videoMetadata: VideoMetadataInput;
}; };
@@ -2554,10 +2439,6 @@ export type MutationDeleteCommentArgs = {
videoId: Scalars["Int"]["input"]; videoId: Scalars["Int"]["input"];
}; };
export type MutationDeleteGroundTruthShotArgs = {
shotId: Scalars["Int"]["input"];
};
export type MutationDeleteNotificationArgs = { export type MutationDeleteNotificationArgs = {
notificationId: Scalars["Int"]["input"]; notificationId: Scalars["Int"]["input"];
}; };
@@ -2612,11 +2493,6 @@ export type MutationGetHlsInitUploadLinkArgs = {
videoId: Scalars["Int"]["input"]; videoId: Scalars["Int"]["input"];
}; };
export type MutationGetOrCreateGroundTruthProcessingArgs = {
sourceProcessingId?: InputMaybe<Scalars["Int"]["input"]>;
videoId: Scalars["Int"]["input"];
};
export type MutationGetProfileImageUploadLinkArgs = { export type MutationGetProfileImageUploadLinkArgs = {
fileExt?: InputMaybe<Scalars["String"]["input"]>; fileExt?: InputMaybe<Scalars["String"]["input"]>;
}; };
@@ -2639,10 +2515,6 @@ export type MutationMarkNotificationsAsReadArgs = {
notificationIds: Array<Scalars["Int"]["input"]>; notificationIds: Array<Scalars["Int"]["input"]>;
}; };
export type MutationPromoteGroundTruthProcessingArgs = {
processingId: Scalars["Int"]["input"];
};
export type MutationReactToVideoArgs = { export type MutationReactToVideoArgs = {
reaction?: InputMaybe<ReactionEnum>; reaction?: InputMaybe<ReactionEnum>;
videoId: Scalars["Int"]["input"]; videoId: Scalars["Int"]["input"];
@@ -2678,12 +2550,6 @@ export type MutationSetSegmentDurationArgs = {
videoId: Scalars["Int"]["input"]; videoId: Scalars["Int"]["input"];
}; };
export type MutationSplitGroundTruthShotArgs = {
notes?: InputMaybe<Scalars["String"]["input"]>;
shotId: Scalars["Int"]["input"];
splitFrame: Scalars["Int"]["input"];
};
export type MutationStartChallengeArgs = { export type MutationStartChallengeArgs = {
challengeId: Scalars["ID"]["input"]; challengeId: Scalars["ID"]["input"];
}; };
@@ -2707,13 +2573,6 @@ export type MutationUnfollowUserArgs = {
followedUserId: Scalars["Int"]["input"]; followedUserId: Scalars["Int"]["input"];
}; };
export type MutationUpdateGroundTruthShotFrameRangeArgs = {
endFrame?: InputMaybe<Scalars["Int"]["input"]>;
notes?: InputMaybe<Scalars["String"]["input"]>;
shotId: Scalars["Int"]["input"];
startFrame?: InputMaybe<Scalars["Int"]["input"]>;
};
export type MutationUpdateShotAnnotationsArgs = { export type MutationUpdateShotAnnotationsArgs = {
annotations: Array<UpdateAnnotationInputGql>; annotations: Array<UpdateAnnotationInputGql>;
shotId: Scalars["Int"]["input"]; shotId: Scalars["Int"]["input"];
@@ -2841,7 +2700,6 @@ export enum ProcessingStatusEnum {
export type Query = { export type Query = {
__typename?: "Query"; __typename?: "Query";
assessVideoProcessing: VideoProcessingAssessmentGql;
challenge?: Maybe<Challenge>; challenge?: Maybe<Challenge>;
challengeLeaderboard: Array<ChallengeEntry>; challengeLeaderboard: Array<ChallengeEntry>;
challenges: Array<Challenge>; challenges: Array<Challenge>;
@@ -2857,7 +2715,6 @@ export type Query = {
getMedals: RequestedMedalsGql; getMedals: RequestedMedalsGql;
getOrderedShots: GetShotsResult; getOrderedShots: GetShotsResult;
getPlayTime: UserPlayTimeGql; getPlayTime: UserPlayTimeGql;
getQuotaStatus: QuotaStatusGql;
getRuns: GetRunsResult; getRuns: GetRunsResult;
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>; getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
getShots: Array<ShotGql>; getShots: Array<ShotGql>;
@@ -2873,7 +2730,6 @@ export type Query = {
getUsersMatching: Array<UserGql>; getUsersMatching: Array<UserGql>;
getVideo: VideoGql; getVideo: VideoGql;
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>; getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
getVideoProcessings: Array<VideoProcessingGql>;
getVideos: Array<VideoGql>; getVideos: Array<VideoGql>;
isChallengeDismissed: Scalars["Boolean"]["output"]; isChallengeDismissed: Scalars["Boolean"]["output"];
myChallengeEntries: Array<ChallengeEntry>; myChallengeEntries: Array<ChallengeEntry>;
@@ -2885,11 +2741,6 @@ export type Query = {
waitFor: Scalars["Float"]["output"]; waitFor: Scalars["Float"]["output"];
}; };
export type QueryAssessVideoProcessingArgs = {
groundTruthProcessingId?: InputMaybe<Scalars["Int"]["input"]>;
processingId: Scalars["Int"]["input"];
};
export type QueryChallengeArgs = { export type QueryChallengeArgs = {
id: Scalars["ID"]["input"]; id: Scalars["ID"]["input"];
}; };
@@ -2945,9 +2796,7 @@ export type QueryGetOrderedShotsArgs = {
countRespectsLimit?: Scalars["Boolean"]["input"]; countRespectsLimit?: Scalars["Boolean"]["input"];
filterInput: FilterInput; filterInput: FilterInput;
ids?: InputMaybe<Array<Scalars["Int"]["input"]>>; ids?: InputMaybe<Array<Scalars["Int"]["input"]>>;
includeExcluded?: Scalars["Boolean"]["input"];
limit?: Scalars["Int"]["input"]; limit?: Scalars["Int"]["input"];
processingId?: InputMaybe<Scalars["Int"]["input"]>;
shotsOrdering?: InputMaybe<GetShotsOrdering>; shotsOrdering?: InputMaybe<GetShotsOrdering>;
}; };
@@ -2971,9 +2820,7 @@ export type QueryGetShotAnnotationTypesArgs = {
export type QueryGetShotsArgs = { export type QueryGetShotsArgs = {
countRespectsLimit?: Scalars["Boolean"]["input"]; countRespectsLimit?: Scalars["Boolean"]["input"];
filterInput: FilterInput; filterInput: FilterInput;
includeExcluded?: Scalars["Boolean"]["input"];
limit?: Scalars["Int"]["input"]; limit?: Scalars["Int"]["input"];
processingId?: InputMaybe<Scalars["Int"]["input"]>;
shotsPagination?: InputMaybe<GetShotsPagination>; shotsPagination?: InputMaybe<GetShotsPagination>;
}; };
@@ -2985,9 +2832,7 @@ export type QueryGetShotsWithMetadataArgs = {
countRespectsLimit?: Scalars["Boolean"]["input"]; countRespectsLimit?: Scalars["Boolean"]["input"];
filterInput: FilterInput; filterInput: FilterInput;
ids?: InputMaybe<Array<Scalars["Int"]["input"]>>; ids?: InputMaybe<Array<Scalars["Int"]["input"]>>;
includeExcluded?: Scalars["Boolean"]["input"];
limit?: Scalars["Int"]["input"]; limit?: Scalars["Int"]["input"];
processingId?: InputMaybe<Scalars["Int"]["input"]>;
shotsPagination?: InputMaybe<GetShotsPagination>; shotsPagination?: InputMaybe<GetShotsPagination>;
}; };
@@ -3041,10 +2886,6 @@ export type QueryGetVideoMakePercentageIntervalsArgs = {
videoId: Scalars["ID"]["input"]; videoId: Scalars["ID"]["input"];
}; };
export type QueryGetVideoProcessingsArgs = {
videoId: Scalars["Int"]["input"];
};
export type QueryGetVideosArgs = { export type QueryGetVideosArgs = {
videoIds: Array<Scalars["Int"]["input"]>; videoIds: Array<Scalars["Int"]["input"]>;
}; };
@@ -3063,18 +2904,6 @@ export type QueryWaitForArgs = {
duration: Scalars["Float"]["input"]; duration: Scalars["Float"]["input"];
}; };
export type QuotaStatusGql = {
__typename?: "QuotaStatusGQL";
canUpload: Scalars["Boolean"]["output"];
durationLimitSeconds?: Maybe<Scalars["Int"]["output"]>;
durationRemainingSeconds?: Maybe<Scalars["Float"]["output"]>;
durationUsedSeconds: Scalars["Float"]["output"];
maxVideoDurationSeconds?: Maybe<Scalars["Int"]["output"]>;
periodEnd: Scalars["DateTime"]["output"];
periodStart: Scalars["DateTime"]["output"];
tierName: Scalars["String"]["output"];
};
export enum ReactionEnum { export enum ReactionEnum {
Bullseye = "BULLSEYE", Bullseye = "BULLSEYE",
Heart = "HEART", Heart = "HEART",
@@ -3341,12 +3170,6 @@ export enum SpinTypeEnum {
Unknown = "UNKNOWN", Unknown = "UNKNOWN",
} }
export type SplitGroundTruthShotReturn = {
__typename?: "SplitGroundTruthShotReturn";
createdShot: ShotGql;
originalShot: ShotGql;
};
export type StreamErrorGql = { export type StreamErrorGql = {
__typename?: "StreamErrorGQL"; __typename?: "StreamErrorGQL";
message: Scalars["String"]["output"]; message: Scalars["String"]["output"];
@@ -3655,39 +3478,6 @@ export type VideoMetadataInput = {
videoName?: InputMaybe<Scalars["String"]["input"]>; videoName?: InputMaybe<Scalars["String"]["input"]>;
}; };
export type VideoProcessingAssessmentGql = {
__typename?: "VideoProcessingAssessmentGQL";
correctlyFlaggedFalsePositivePairs: Array<VideoProcessingAssessmentShotPairGql>;
correctlyFlaggedFalsePositives: Scalars["Int"]["output"];
extraFlaggedFalsePositiveShotIds: Array<Scalars["Int"]["output"]>;
extraFlaggedFalsePositives: Scalars["Int"]["output"];
groundTruthFalsePositiveCount: Scalars["Int"]["output"];
groundTruthPositiveShotCount: Scalars["Int"]["output"];
groundTruthProcessingId: Scalars["Int"]["output"];
groundTruthShotCount: Scalars["Int"]["output"];
groundTruthShotsFlaggedFalsePositive: Scalars["Int"]["output"];
groundTruthShotsFlaggedFalsePositivePairs: Array<VideoProcessingAssessmentShotPairGql>;
makeDisagreementPairs: Array<VideoProcessingAssessmentShotPairGql>;
makeDisagreements: Scalars["Int"]["output"];
matchedGroundTruthPairs: Array<VideoProcessingAssessmentShotPairGql>;
matchedGroundTruthShots: Scalars["Int"]["output"];
missedGroundTruthShotIds: Array<Scalars["Int"]["output"]>;
missedGroundTruthShots: Scalars["Int"]["output"];
processingId: Scalars["Int"]["output"];
sourceFalsePositiveCount: Scalars["Int"]["output"];
sourceShotCount: Scalars["Int"]["output"];
unexpectedShotIds: Array<Scalars["Int"]["output"]>;
unexpectedShots: Scalars["Int"]["output"];
unflaggedFalsePositivePairs: Array<VideoProcessingAssessmentShotPairGql>;
unflaggedFalsePositives: Scalars["Int"]["output"];
};
export type VideoProcessingAssessmentShotPairGql = {
__typename?: "VideoProcessingAssessmentShotPairGQL";
groundTruthShotId: Scalars["Int"]["output"];
processingShotId: Scalars["Int"]["output"];
};
export type VideoProcessingErrorGql = { export type VideoProcessingErrorGql = {
__typename?: "VideoProcessingErrorGQL"; __typename?: "VideoProcessingErrorGQL";
endSegmentIndex?: Maybe<Scalars["Int"]["output"]>; endSegmentIndex?: Maybe<Scalars["Int"]["output"]>;
@@ -3701,8 +3491,6 @@ export type VideoProcessingGql = {
errors: Array<VideoProcessingErrorGql>; errors: Array<VideoProcessingErrorGql>;
framesProcessed?: Maybe<Scalars["Int"]["output"]>; framesProcessed?: Maybe<Scalars["Int"]["output"]>;
id: Scalars["Int"]["output"]; id: Scalars["Int"]["output"];
labels: Array<Scalars["String"]["output"]>;
parentProcessingId?: Maybe<Scalars["Int"]["output"]>;
progressPercentage?: Maybe<Scalars["Float"]["output"]>; progressPercentage?: Maybe<Scalars["Float"]["output"]>;
status: ProcessingStatusEnum; status: ProcessingStatusEnum;
statuses: Array<VideoProcessingStatusGql>; statuses: Array<VideoProcessingStatusGql>;
@@ -4188,8 +3976,6 @@ export type GetDeployedConfigQuery = {
firebase: boolean; firebase: boolean;
minimumAllowedAppVersion: string; minimumAllowedAppVersion: string;
subscriptionGatingEnabled: boolean; subscriptionGatingEnabled: boolean;
defaultAndroidRecordingFormat: StreamSegmentTypeEnum;
bucketUrl: string;
bannerMessages: Array<{ bannerMessages: Array<{
__typename?: "BannerGQL"; __typename?: "BannerGQL";
color: string; color: string;
@@ -4424,21 +4210,6 @@ export type VideoCardFieldsFragment = {
}>; }>;
}; };
export type GetVideoFeedSessionCountQueryVariables = Exact<{
limit?: Scalars["Int"]["input"];
filters?: InputMaybe<VideoFilterInput>;
includePrivate?: InputMaybe<IncludePrivateEnum>;
feedInput?: InputMaybe<VideoFeedInputGql>;
}>;
export type GetVideoFeedSessionCountQuery = {
__typename?: "Query";
getFeedVideos: {
__typename?: "VideoHistoryGQL";
videos: Array<{ __typename?: "VideoGQL"; id: number; totalShots: number }>;
};
};
export type GetVideoFeedQueryVariables = Exact<{ export type GetVideoFeedQueryVariables = Exact<{
limit?: Scalars["Int"]["input"]; limit?: Scalars["Int"]["input"];
after?: InputMaybe<Scalars["String"]["input"]>; after?: InputMaybe<Scalars["String"]["input"]>;
@@ -8446,8 +8217,6 @@ export const GetDeployedConfigDocument = gql`
message message
priority priority
} }
defaultAndroidRecordingFormat
bucketUrl
} }
} }
`; `;
@@ -8748,95 +8517,6 @@ export type GetFeedQueryResult = Apollo.QueryResult<
GetFeedQuery, GetFeedQuery,
GetFeedQueryVariables GetFeedQueryVariables
>; >;
export const GetVideoFeedSessionCountDocument = gql`
query GetVideoFeedSessionCount(
$limit: Int! = 100
$filters: VideoFilterInput = null
$includePrivate: IncludePrivateEnum = MINE
$feedInput: VideoFeedInputGQL = null
) {
getFeedVideos(
limit: $limit
filters: $filters
includePrivate: $includePrivate
feedInput: $feedInput
) {
videos {
id
totalShots
}
}
}
`;
/**
* __useGetVideoFeedSessionCountQuery__
*
* To run a query within a React component, call `useGetVideoFeedSessionCountQuery` and pass it any options that fit your needs.
* When your component renders, `useGetVideoFeedSessionCountQuery` returns an object from Apollo Client that contains loading, error, and data properties
* you can use to render your UI.
*
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
*
* @example
* const { data, loading, error } = useGetVideoFeedSessionCountQuery({
* variables: {
* limit: // value for 'limit'
* filters: // value for 'filters'
* includePrivate: // value for 'includePrivate'
* feedInput: // value for 'feedInput'
* },
* });
*/
export function useGetVideoFeedSessionCountQuery(
baseOptions?: Apollo.QueryHookOptions<
GetVideoFeedSessionCountQuery,
GetVideoFeedSessionCountQueryVariables
>,
) {
const options = { ...defaultOptions, ...baseOptions };
return Apollo.useQuery<
GetVideoFeedSessionCountQuery,
GetVideoFeedSessionCountQueryVariables
>(GetVideoFeedSessionCountDocument, options);
}
export function useGetVideoFeedSessionCountLazyQuery(
baseOptions?: Apollo.LazyQueryHookOptions<
GetVideoFeedSessionCountQuery,
GetVideoFeedSessionCountQueryVariables
>,
) {
const options = { ...defaultOptions, ...baseOptions };
return Apollo.useLazyQuery<
GetVideoFeedSessionCountQuery,
GetVideoFeedSessionCountQueryVariables
>(GetVideoFeedSessionCountDocument, options);
}
export function useGetVideoFeedSessionCountSuspenseQuery(
baseOptions?: Apollo.SuspenseQueryHookOptions<
GetVideoFeedSessionCountQuery,
GetVideoFeedSessionCountQueryVariables
>,
) {
const options = { ...defaultOptions, ...baseOptions };
return Apollo.useSuspenseQuery<
GetVideoFeedSessionCountQuery,
GetVideoFeedSessionCountQueryVariables
>(GetVideoFeedSessionCountDocument, options);
}
export type GetVideoFeedSessionCountQueryHookResult = ReturnType<
typeof useGetVideoFeedSessionCountQuery
>;
export type GetVideoFeedSessionCountLazyQueryHookResult = ReturnType<
typeof useGetVideoFeedSessionCountLazyQuery
>;
export type GetVideoFeedSessionCountSuspenseQueryHookResult = ReturnType<
typeof useGetVideoFeedSessionCountSuspenseQuery
>;
export type GetVideoFeedSessionCountQueryResult = Apollo.QueryResult<
GetVideoFeedSessionCountQuery,
GetVideoFeedSessionCountQueryVariables
>;
export const GetVideoFeedDocument = gql` export const GetVideoFeedDocument = gql`
query GetVideoFeed( query GetVideoFeed(
$limit: Int! = 5 $limit: Int! = 5

View File

@@ -14,7 +14,5 @@ query getDeployedConfig {
message message
priority priority
} }
defaultAndroidRecordingFormat
bucketUrl
} }
} }

View File

@@ -90,26 +90,6 @@ fragment VideoCardFields on VideoGQL {
} }
} }
# Lightweight version of GetVideoFeed for counting sessions only
query GetVideoFeedSessionCount(
$limit: Int! = 100
$filters: VideoFilterInput = null
$includePrivate: IncludePrivateEnum = MINE
$feedInput: VideoFeedInputGQL = null
) {
getFeedVideos(
limit: $limit
filters: $filters
includePrivate: $includePrivate
feedInput: $feedInput
) {
videos {
id
totalShots
}
}
}
query GetVideoFeed( query GetVideoFeed(
$limit: Int! = 5 $limit: Int! = 5
$after: String = null $after: String = null

View File

@@ -61,8 +61,6 @@ type Query {
shotsOrdering: GetShotsOrdering = null shotsOrdering: GetShotsOrdering = null
limit: Int! = 500 limit: Int! = 500
countRespectsLimit: Boolean! = false countRespectsLimit: Boolean! = false
processingId: Int = null
includeExcluded: Boolean! = false
): GetShotsResult! ): GetShotsResult!
getShotsWithMetadata( getShotsWithMetadata(
filterInput: FilterInput! filterInput: FilterInput!
@@ -70,16 +68,12 @@ type Query {
shotsPagination: GetShotsPagination = null shotsPagination: GetShotsPagination = null
limit: Int! = 500 limit: Int! = 500
countRespectsLimit: Boolean! = false countRespectsLimit: Boolean! = false
processingId: Int = null
includeExcluded: Boolean! = false
): GetShotsResult! ): GetShotsResult!
getShots( getShots(
filterInput: FilterInput! filterInput: FilterInput!
shotsPagination: GetShotsPagination = null shotsPagination: GetShotsPagination = null
limit: Int! = 500 limit: Int! = 500
countRespectsLimit: Boolean! = false countRespectsLimit: Boolean! = false
processingId: Int = null
includeExcluded: Boolean! = false
): [ShotGQL!]! ): [ShotGQL!]!
getShotsByIds(ids: [Int!]!): [ShotGQL!]! getShotsByIds(ids: [Int!]!): [ShotGQL!]!
getUser(userId: Int!): UserGQL getUser(userId: Int!): UserGQL
@@ -103,7 +97,6 @@ type Query {
): UserRelationshipsResult! ): UserRelationshipsResult!
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGQL! getAvailableSubscriptionOptions: StripeSubscriptionOptionsGQL!
getUserSubscriptionStatus: UserSubscriptionStatusGQL! getUserSubscriptionStatus: UserSubscriptionStatusGQL!
getQuotaStatus: QuotaStatusGQL!
getPlayTime(userId: Int!, filters: VideoFilterInput = null): UserPlayTimeGQL! getPlayTime(userId: Int!, filters: VideoFilterInput = null): UserPlayTimeGQL!
getUserVideos( getUserVideos(
userId: Int = null userId: Int = null
@@ -114,11 +107,6 @@ type Query {
getUserTags(includeRetiredTags: Boolean = false): [TagGQL!]! getUserTags(includeRetiredTags: Boolean = false): [TagGQL!]!
getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL! getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL!
getVideos(videoIds: [Int!]!): [VideoGQL!]! getVideos(videoIds: [Int!]!): [VideoGQL!]!
getVideoProcessings(videoId: Int!): [VideoProcessingGQL!]!
assessVideoProcessing(
processingId: Int!
groundTruthProcessingId: Int = null
): VideoProcessingAssessmentGQL!
} }
type AggregateResultGQL { type AggregateResultGQL {
@@ -220,7 +208,6 @@ input FilterInput @oneOf {
intendedPocketType: [PocketEnum!] intendedPocketType: [PocketEnum!]
shotDirection: [ShotDirectionEnum!] shotDirection: [ShotDirectionEnum!]
videoId: [Int!] videoId: [Int!]
processingId: [Int!]
userId: [Int!] userId: [Int!]
runId: [Int!] runId: [Int!]
username: [String!] username: [String!]
@@ -618,8 +605,6 @@ type IntPoint2D {
type VideoProcessingGQL { type VideoProcessingGQL {
id: Int! id: Int!
parentProcessingId: Int
labels: [String!]!
errors: [VideoProcessingErrorGQL!]! errors: [VideoProcessingErrorGQL!]!
status: ProcessingStatusEnum! status: ProcessingStatusEnum!
statuses: [VideoProcessingStatusGQL!]! statuses: [VideoProcessingStatusGQL!]!
@@ -684,7 +669,6 @@ type DeployedConfigGQL {
subscriptionGatingEnabled: Boolean! subscriptionGatingEnabled: Boolean!
bannerMessages: [BannerGQL!]! bannerMessages: [BannerGQL!]!
defaultAndroidRecordingFormat: StreamSegmentTypeEnum! defaultAndroidRecordingFormat: StreamSegmentTypeEnum!
bucketUrl: String!
} }
type BannerGQL { type BannerGQL {
@@ -992,17 +976,6 @@ enum StripeSubscriptionStatusEnum {
PAUSED PAUSED
} }
type QuotaStatusGQL {
tierName: String!
periodStart: DateTime!
periodEnd: DateTime!
durationUsedSeconds: Float!
durationLimitSeconds: Int
maxVideoDurationSeconds: Int
durationRemainingSeconds: Float
canUpload: Boolean!
}
type UserPlayTimeGQL { type UserPlayTimeGQL {
totalSeconds: Float! totalSeconds: Float!
} }
@@ -1027,37 +1000,6 @@ scalar JSON
url: "https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf" url: "https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf"
) )
type VideoProcessingAssessmentGQL {
processingId: Int!
groundTruthProcessingId: Int!
sourceShotCount: Int!
sourceFalsePositiveCount: Int!
groundTruthShotCount: Int!
groundTruthPositiveShotCount: Int!
groundTruthFalsePositiveCount: Int!
matchedGroundTruthShots: Int!
missedGroundTruthShots: Int!
unexpectedShots: Int!
correctlyFlaggedFalsePositives: Int!
unflaggedFalsePositives: Int!
extraFlaggedFalsePositives: Int!
groundTruthShotsFlaggedFalsePositive: Int!
makeDisagreements: Int!
matchedGroundTruthPairs: [VideoProcessingAssessmentShotPairGQL!]!
missedGroundTruthShotIds: [Int!]!
unexpectedShotIds: [Int!]!
correctlyFlaggedFalsePositivePairs: [VideoProcessingAssessmentShotPairGQL!]!
unflaggedFalsePositivePairs: [VideoProcessingAssessmentShotPairGQL!]!
extraFlaggedFalsePositiveShotIds: [Int!]!
groundTruthShotsFlaggedFalsePositivePairs: [VideoProcessingAssessmentShotPairGQL!]!
makeDisagreementPairs: [VideoProcessingAssessmentShotPairGQL!]!
}
type VideoProcessingAssessmentShotPairGQL {
processingShotId: Int!
groundTruthShotId: Int!
}
type Mutation { type Mutation {
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL! createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
createRuleSet(name: String!, description: String = null): RuleSet! createRuleSet(name: String!, description: String = null): RuleSet!
@@ -1119,19 +1061,6 @@ type Mutation {
shotId: Int! shotId: Int!
fieldsToEdit: EditableShotFieldInputGQL! fieldsToEdit: EditableShotFieldInputGQL!
): EditShotReturn! ): EditShotReturn!
createGroundTruthShot(input: CreateGroundTruthShotInputGQL!): ShotGQL!
updateGroundTruthShotFrameRange(
shotId: Int!
startFrame: Int = null
endFrame: Int = null
notes: String = null
): ShotGQL!
splitGroundTruthShot(
shotId: Int!
splitFrame: Int!
notes: String = null
): SplitGroundTruthShotReturn!
deleteGroundTruthShot(shotId: Int!): DeleteGroundTruthShotReturn!
getProfileImageUploadLink( getProfileImageUploadLink(
fileExt: String = ".png" fileExt: String = ".png"
): GetProfileUploadLinkReturn! ): GetProfileUploadLinkReturn!
@@ -1152,13 +1081,7 @@ type Mutation {
findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL
createUploadStream( createUploadStream(
videoMetadata: VideoMetadataInput! videoMetadata: VideoMetadataInput!
expectedDurationSeconds: Float = null
): CreateUploadStreamReturn! ): CreateUploadStreamReturn!
getOrCreateGroundTruthProcessing(
videoId: Int!
sourceProcessingId: Int = null
): VideoProcessingGQL!
promoteGroundTruthProcessing(processingId: Int!): VideoProcessingGQL!
getUploadLink(videoId: Int!, segmentIndex: Int!): GetUploadLinkReturn! getUploadLink(videoId: Int!, segmentIndex: Int!): GetUploadLinkReturn!
getHlsInitUploadLink(videoId: Int!): GetUploadLinkReturn! getHlsInitUploadLink(videoId: Int!): GetUploadLinkReturn!
setSegmentDuration( setSegmentDuration(
@@ -1235,32 +1158,12 @@ input EditableShotFieldInputGQL {
shotDirection: ShotDirectionEnum shotDirection: ShotDirectionEnum
spinType: SpinTypeEnum spinType: SpinTypeEnum
targetPocketAngleDirection: ShotDirectionEnum targetPocketAngleDirection: ShotDirectionEnum
intendedBallId: Int
intendedPocketId: PocketIdentifier
pathMetadataIndex: Int
make: Boolean make: Boolean
backcut: Boolean backcut: Boolean
excludeFromStats: Boolean excludeFromStats: Boolean
notes: String notes: String
} }
input CreateGroundTruthShotInputGQL {
processingId: Int!
startFrame: Int!
endFrame: Int!
make: Boolean
notes: String
}
type SplitGroundTruthShotReturn {
originalShot: ShotGQL!
createdShot: ShotGQL!
}
type DeleteGroundTruthShotReturn {
deletedShotId: Int!
}
type GetProfileUploadLinkReturn { type GetProfileUploadLinkReturn {
value: UploadLinkGetProfileUploadLinkErrors! value: UploadLinkGetProfileUploadLinkErrors!
} }