Compare commits
1 Commits
kat/reserv
...
kat/get-id
Author | SHA1 | Date | |
---|---|---|---|
478c04215f |
524
src/index.tsx
524
src/index.tsx
File diff suppressed because it is too large
Load Diff
@@ -17,42 +17,6 @@ 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
|
||||||
@@ -89,7 +53,6 @@ fragment ShotWithAllFeatures on ShotGQL {
|
|||||||
}
|
}
|
||||||
falsePositiveScore
|
falsePositiveScore
|
||||||
video {
|
video {
|
||||||
id
|
|
||||||
stream {
|
stream {
|
||||||
resolution {
|
resolution {
|
||||||
width
|
width
|
||||||
@@ -107,11 +70,8 @@ fragment ShotWithAllFeatures on ShotGQL {
|
|||||||
spinType
|
spinType
|
||||||
}
|
}
|
||||||
pocketingIntentionFeatures {
|
pocketingIntentionFeatures {
|
||||||
make
|
|
||||||
targetPocketDistance
|
targetPocketDistance
|
||||||
targetPocketAngle
|
make
|
||||||
targetPocketAngleDirection
|
|
||||||
marginOfErrorInDegrees
|
|
||||||
intendedPocketType
|
intendedPocketType
|
||||||
}
|
}
|
||||||
pocketingIntentionInfo {
|
pocketingIntentionInfo {
|
||||||
|
@@ -237,11 +237,3 @@ query GetVideoForClipTimes($videoId: Int!) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
query GetHeaderInfoByVideoId($videoId: Int!) {
|
|
||||||
getVideo(videoId: $videoId) {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
startTime
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
@@ -125,7 +125,6 @@ enum AlignedIntervalEnum {
|
|||||||
MONTH
|
MONTH
|
||||||
YEAR
|
YEAR
|
||||||
WEEK
|
WEEK
|
||||||
DAY
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input FilterInput @oneOf {
|
input FilterInput @oneOf {
|
||||||
@@ -141,7 +140,6 @@ 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!]
|
||||||
@@ -164,7 +162,6 @@ input FilterInput @oneOf {
|
|||||||
targetPocketAngleDirection: [ShotDirectionEnum!]
|
targetPocketAngleDirection: [ShotDirectionEnum!]
|
||||||
targetPocketAngle: FloatRangeFilter
|
targetPocketAngle: FloatRangeFilter
|
||||||
missAngleInDegrees: FloatRangeFilter
|
missAngleInDegrees: FloatRangeFilter
|
||||||
marginOfErrorInDegrees: FloatRangeFilter
|
|
||||||
createdAt: DateRangeFilter
|
createdAt: DateRangeFilter
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -285,7 +282,6 @@ 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