Compare commits
5 Commits
colonelpan
...
dean/leade
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd6ee4f182 | ||
| 5e14cd2201 | |||
|
|
9ec52d9d94 | ||
| 4576b25dae | |||
| 650b3bc13c |
20963
src/index.tsx
20963
src/index.tsx
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,21 @@
|
||||
query GetMakesLeaderboard($interval: TimeInterval, $when: DateTime) {
|
||||
getMakesLeaderboard(interval: $interval, when: $when) {
|
||||
query GetMakesLeaderboard(
|
||||
$interval: TimeInterval
|
||||
$when: DateTime
|
||||
$gameType: String
|
||||
$tableSizeMin: Float
|
||||
$tableSizeMax: Float
|
||||
$pocketSizeMin: Float
|
||||
$pocketSizeMax: Float
|
||||
) {
|
||||
getMakesLeaderboard(
|
||||
interval: $interval
|
||||
when: $when
|
||||
gameType: $gameType
|
||||
tableSizeMin: $tableSizeMin
|
||||
tableSizeMax: $tableSizeMax
|
||||
pocketSizeMin: $pocketSizeMin
|
||||
pocketSizeMax: $pocketSizeMax
|
||||
) {
|
||||
entries {
|
||||
user {
|
||||
id
|
||||
@@ -13,8 +29,24 @@ query GetMakesLeaderboard($interval: TimeInterval, $when: DateTime) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetRunsLeaderboard($interval: TimeInterval, $when: DateTime) {
|
||||
getLongestRunsLeaderboard(interval: $interval, when: $when) {
|
||||
query GetRunsLeaderboard(
|
||||
$interval: TimeInterval
|
||||
$when: DateTime
|
||||
$gameType: String
|
||||
$tableSizeMin: Float
|
||||
$tableSizeMax: Float
|
||||
$pocketSizeMin: Float
|
||||
$pocketSizeMax: Float
|
||||
) {
|
||||
getLongestRunsLeaderboard(
|
||||
interval: $interval
|
||||
when: $when
|
||||
gameType: $gameType
|
||||
tableSizeMin: $tableSizeMin
|
||||
tableSizeMax: $tableSizeMax
|
||||
pocketSizeMin: $pocketSizeMin
|
||||
pocketSizeMax: $pocketSizeMax
|
||||
) {
|
||||
entries {
|
||||
id
|
||||
runLength
|
||||
|
||||
@@ -85,53 +85,3 @@ query ComputePotAim(
|
||||
occludingBallIds
|
||||
}
|
||||
}
|
||||
|
||||
fragment PositionShotCandidate on PositionShotCandidateGQL {
|
||||
strike {
|
||||
v0
|
||||
phi
|
||||
theta
|
||||
a
|
||||
b
|
||||
}
|
||||
cueFinalPosition
|
||||
inTargetArea
|
||||
distanceToTargetArea
|
||||
robustness
|
||||
potted
|
||||
scratched
|
||||
projection {
|
||||
trajectories {
|
||||
ballId
|
||||
points {
|
||||
time
|
||||
position
|
||||
}
|
||||
}
|
||||
events {
|
||||
eventType
|
||||
time
|
||||
ballIds
|
||||
position
|
||||
}
|
||||
finalState {
|
||||
ballId
|
||||
position
|
||||
}
|
||||
pottedBallIds
|
||||
}
|
||||
}
|
||||
|
||||
query SuggestPositionShot($suggestionInput: SuggestPositionShotInputGQL!) {
|
||||
suggestPositionShot(suggestionInput: $suggestionInput) {
|
||||
achievable
|
||||
evaluatedCount
|
||||
successfulCount
|
||||
best {
|
||||
...PositionShotCandidate
|
||||
}
|
||||
alternates {
|
||||
...PositionShotCandidate
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
3251
src/schema.gql
3251
src/schema.gql
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user