Run prettier on gql stuff
This commit is contained in:
parent
318a2a24fd
commit
c9f2187cc2
969
src/index.tsx
969
src/index.tsx
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,4 @@
|
||||
query GetFeed(
|
||||
$first: Int! = 5,
|
||||
$after: String = null,
|
||||
) {
|
||||
query GetFeed($first: Int! = 5, $after: String = null) {
|
||||
getVideoFeedForUser(first: $first, after: $after) {
|
||||
videos {
|
||||
id
|
||||
|
@ -1,30 +1,30 @@
|
||||
query GetShots(
|
||||
$filterInput: FilterInput
|
||||
$includeCueObjectDistance: Boolean! = false
|
||||
$includeCueObjectAngle: Boolean! = false
|
||||
$includeCueBallSpeed: Boolean! = false
|
||||
$includeShotDirection: Boolean! = false
|
||||
$includeTargetPocketDistance: Boolean! = false
|
||||
$includeMake: Boolean! = false
|
||||
$includeIntendedPocketType: Boolean! = false
|
||||
$filterInput: FilterInput
|
||||
$includeCueObjectDistance: Boolean! = false
|
||||
$includeCueObjectAngle: Boolean! = false
|
||||
$includeCueBallSpeed: Boolean! = false
|
||||
$includeShotDirection: Boolean! = false
|
||||
$includeTargetPocketDistance: Boolean! = false
|
||||
$includeMake: Boolean! = false
|
||||
$includeIntendedPocketType: Boolean! = false
|
||||
) {
|
||||
getShots(filterInput: $filterInput) {
|
||||
id
|
||||
videoId
|
||||
startFrame
|
||||
endFrame
|
||||
createdAt
|
||||
updatedAt
|
||||
cueObjectFeatures {
|
||||
cueObjectDistance @include(if: $includeCueObjectDistance)
|
||||
cueObjectAngle @include(if: $includeCueObjectAngle)
|
||||
cueBallSpeed @include(if: $includeCueBallSpeed)
|
||||
shotDirection @include(if: $includeShotDirection)
|
||||
}
|
||||
pocketingIntentionFeatures {
|
||||
targetPocketDistance @include(if: $includeTargetPocketDistance)
|
||||
make @include(if: $includeMake)
|
||||
intendedPocketType @include(if: $includeIntendedPocketType)
|
||||
}
|
||||
}
|
||||
getShots(filterInput: $filterInput) {
|
||||
id
|
||||
videoId
|
||||
startFrame
|
||||
endFrame
|
||||
createdAt
|
||||
updatedAt
|
||||
cueObjectFeatures {
|
||||
cueObjectDistance @include(if: $includeCueObjectDistance)
|
||||
cueObjectAngle @include(if: $includeCueObjectAngle)
|
||||
cueBallSpeed @include(if: $includeCueBallSpeed)
|
||||
shotDirection @include(if: $includeShotDirection)
|
||||
}
|
||||
pocketingIntentionFeatures {
|
||||
targetPocketDistance @include(if: $includeTargetPocketDistance)
|
||||
make @include(if: $includeMake)
|
||||
intendedPocketType @include(if: $includeIntendedPocketType)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -49,7 +49,9 @@ type UserGQL {
|
||||
statistics: UserStatisticsGQL!
|
||||
}
|
||||
|
||||
"""Date with time (isoformat)"""
|
||||
"""
|
||||
Date with time (isoformat)
|
||||
"""
|
||||
scalar DateTime
|
||||
|
||||
type UserStatisticsGQL {
|
||||
@ -61,7 +63,9 @@ type UserStatisticsGQL {
|
||||
medianRun: Decimal
|
||||
}
|
||||
|
||||
"""Decimal (fixed-point)"""
|
||||
"""
|
||||
Decimal (fixed-point)
|
||||
"""
|
||||
scalar Decimal
|
||||
|
||||
type VideoGQL {
|
||||
@ -237,9 +241,17 @@ type PageInfoGQL {
|
||||
|
||||
type Mutation {
|
||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||
createUploadStream(uploadMetadata: UploadMetadataInput, videoName: String = null): CreateUploadStreamReturn!
|
||||
createUploadStream(
|
||||
uploadMetadata: UploadMetadataInput
|
||||
videoName: String = null
|
||||
): CreateUploadStreamReturn!
|
||||
getUploadLink(videoId: Int!, segmentIndex: Int!): GetUploadLinkReturn!
|
||||
terminateUploadStream(videoId: Int!, videoName: String = null, gameType: String = null, tableSize: String = null): Boolean!
|
||||
terminateUploadStream(
|
||||
videoId: Int!
|
||||
videoName: String = null
|
||||
gameType: String = null
|
||||
tableSize: String = null
|
||||
): Boolean!
|
||||
}
|
||||
|
||||
input CreateBucketSetInput {
|
||||
|
Loading…
Reference in New Issue
Block a user