Compare commits
11 Commits
kat/add-da
...
kat/reserv
Author | SHA1 | Date | |
---|---|---|---|
15be60f2ca | |||
59aaf47cbe | |||
c426e753cd | |||
c8cf97421b | |||
9718137ad3 | |||
af1fb3fee7 | |||
025baf257a | |||
8239ab6e1b | |||
1f018f954e | |||
fd78ddf641 | |||
7662f1f050 |
523
src/index.tsx
523
src/index.tsx
File diff suppressed because it is too large
Load Diff
@@ -17,6 +17,42 @@ query GetShotAnnotationTypes {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
|
||||||
|
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
|
||||||
|
ids
|
||||||
|
shots {
|
||||||
|
id
|
||||||
|
videoId
|
||||||
|
video {
|
||||||
|
screenshotUri
|
||||||
|
endTime
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
## Reserved for playlists (which are created from a filter)
|
||||||
|
query GetShotsWithMetadataFilterResult(
|
||||||
|
$filterInput: FilterInput!
|
||||||
|
$shotsPagination: GetShotsPagination
|
||||||
|
$limit: Int
|
||||||
|
$ids: [Int!]
|
||||||
|
) {
|
||||||
|
getShotsWithMetadata(
|
||||||
|
filterInput: $filterInput
|
||||||
|
shotsPagination: $shotsPagination
|
||||||
|
limit: $limit
|
||||||
|
ids: $ids
|
||||||
|
) {
|
||||||
|
count
|
||||||
|
shots {
|
||||||
|
...ShotWithAllFeatures
|
||||||
|
}
|
||||||
|
ids
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# TODO: Delete
|
||||||
query GetShotsWithMetadata(
|
query GetShotsWithMetadata(
|
||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
$shotsPagination: GetShotsPagination
|
$shotsPagination: GetShotsPagination
|
||||||
@@ -53,6 +89,7 @@ fragment ShotWithAllFeatures on ShotGQL {
|
|||||||
}
|
}
|
||||||
falsePositiveScore
|
falsePositiveScore
|
||||||
video {
|
video {
|
||||||
|
id
|
||||||
stream {
|
stream {
|
||||||
resolution {
|
resolution {
|
||||||
width
|
width
|
||||||
@@ -70,8 +107,11 @@ fragment ShotWithAllFeatures on ShotGQL {
|
|||||||
spinType
|
spinType
|
||||||
}
|
}
|
||||||
pocketingIntentionFeatures {
|
pocketingIntentionFeatures {
|
||||||
targetPocketDistance
|
|
||||||
make
|
make
|
||||||
|
targetPocketDistance
|
||||||
|
targetPocketAngle
|
||||||
|
targetPocketAngleDirection
|
||||||
|
marginOfErrorInDegrees
|
||||||
intendedPocketType
|
intendedPocketType
|
||||||
}
|
}
|
||||||
pocketingIntentionInfo {
|
pocketingIntentionInfo {
|
||||||
|
@@ -237,3 +237,11 @@ query GetVideoForClipTimes($videoId: Int!) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
query GetHeaderInfoByVideoId($videoId: Int!) {
|
||||||
|
getVideo(videoId: $videoId) {
|
||||||
|
id
|
||||||
|
name
|
||||||
|
startTime
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -141,6 +141,7 @@ input FilterInput @oneOf {
|
|||||||
shotDirection: [ShotDirectionEnum!]
|
shotDirection: [ShotDirectionEnum!]
|
||||||
videoId: [Int!]
|
videoId: [Int!]
|
||||||
userId: [Int!]
|
userId: [Int!]
|
||||||
|
username: [String!]
|
||||||
make: [Boolean!]
|
make: [Boolean!]
|
||||||
tags: [VideoTagInput!]
|
tags: [VideoTagInput!]
|
||||||
annotations: [ShotAnnotationInput!]
|
annotations: [ShotAnnotationInput!]
|
||||||
@@ -163,6 +164,7 @@ input FilterInput @oneOf {
|
|||||||
targetPocketAngleDirection: [ShotDirectionEnum!]
|
targetPocketAngleDirection: [ShotDirectionEnum!]
|
||||||
targetPocketAngle: FloatRangeFilter
|
targetPocketAngle: FloatRangeFilter
|
||||||
missAngleInDegrees: FloatRangeFilter
|
missAngleInDegrees: FloatRangeFilter
|
||||||
|
marginOfErrorInDegrees: FloatRangeFilter
|
||||||
createdAt: DateRangeFilter
|
createdAt: DateRangeFilter
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -283,6 +285,7 @@ type PocketingIntentionFeaturesGQL {
|
|||||||
difficulty: Float
|
difficulty: Float
|
||||||
targetPocketAngle: Float
|
targetPocketAngle: Float
|
||||||
targetPocketAngleDirection: ShotDirectionEnum
|
targetPocketAngleDirection: ShotDirectionEnum
|
||||||
|
marginOfErrorInDegrees: Float
|
||||||
backcut: Boolean
|
backcut: Boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user