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(
|
query GetFeed($first: Int! = 5, $after: String = null) {
|
||||||
$first: Int! = 5,
|
|
||||||
$after: String = null,
|
|
||||||
) {
|
|
||||||
getVideoFeedForUser(first: $first, after: $after) {
|
getVideoFeedForUser(first: $first, after: $after) {
|
||||||
videos {
|
videos {
|
||||||
id
|
id
|
||||||
|
@ -1,30 +1,30 @@
|
|||||||
query GetShots(
|
query GetShots(
|
||||||
$filterInput: FilterInput
|
$filterInput: FilterInput
|
||||||
$includeCueObjectDistance: Boolean! = false
|
$includeCueObjectDistance: Boolean! = false
|
||||||
$includeCueObjectAngle: Boolean! = false
|
$includeCueObjectAngle: Boolean! = false
|
||||||
$includeCueBallSpeed: Boolean! = false
|
$includeCueBallSpeed: Boolean! = false
|
||||||
$includeShotDirection: Boolean! = false
|
$includeShotDirection: Boolean! = false
|
||||||
$includeTargetPocketDistance: Boolean! = false
|
$includeTargetPocketDistance: Boolean! = false
|
||||||
$includeMake: Boolean! = false
|
$includeMake: Boolean! = false
|
||||||
$includeIntendedPocketType: Boolean! = false
|
$includeIntendedPocketType: Boolean! = false
|
||||||
) {
|
) {
|
||||||
getShots(filterInput: $filterInput) {
|
getShots(filterInput: $filterInput) {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
startFrame
|
startFrame
|
||||||
endFrame
|
endFrame
|
||||||
createdAt
|
createdAt
|
||||||
updatedAt
|
updatedAt
|
||||||
cueObjectFeatures {
|
cueObjectFeatures {
|
||||||
cueObjectDistance @include(if: $includeCueObjectDistance)
|
cueObjectDistance @include(if: $includeCueObjectDistance)
|
||||||
cueObjectAngle @include(if: $includeCueObjectAngle)
|
cueObjectAngle @include(if: $includeCueObjectAngle)
|
||||||
cueBallSpeed @include(if: $includeCueBallSpeed)
|
cueBallSpeed @include(if: $includeCueBallSpeed)
|
||||||
shotDirection @include(if: $includeShotDirection)
|
shotDirection @include(if: $includeShotDirection)
|
||||||
}
|
}
|
||||||
pocketingIntentionFeatures {
|
pocketingIntentionFeatures {
|
||||||
targetPocketDistance @include(if: $includeTargetPocketDistance)
|
targetPocketDistance @include(if: $includeTargetPocketDistance)
|
||||||
make @include(if: $includeMake)
|
make @include(if: $includeMake)
|
||||||
intendedPocketType @include(if: $includeIntendedPocketType)
|
intendedPocketType @include(if: $includeIntendedPocketType)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,9 @@ type UserGQL {
|
|||||||
statistics: UserStatisticsGQL!
|
statistics: UserStatisticsGQL!
|
||||||
}
|
}
|
||||||
|
|
||||||
"""Date with time (isoformat)"""
|
"""
|
||||||
|
Date with time (isoformat)
|
||||||
|
"""
|
||||||
scalar DateTime
|
scalar DateTime
|
||||||
|
|
||||||
type UserStatisticsGQL {
|
type UserStatisticsGQL {
|
||||||
@ -61,7 +63,9 @@ type UserStatisticsGQL {
|
|||||||
medianRun: Decimal
|
medianRun: Decimal
|
||||||
}
|
}
|
||||||
|
|
||||||
"""Decimal (fixed-point)"""
|
"""
|
||||||
|
Decimal (fixed-point)
|
||||||
|
"""
|
||||||
scalar Decimal
|
scalar Decimal
|
||||||
|
|
||||||
type VideoGQL {
|
type VideoGQL {
|
||||||
@ -237,9 +241,17 @@ type PageInfoGQL {
|
|||||||
|
|
||||||
type Mutation {
|
type Mutation {
|
||||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||||
createUploadStream(uploadMetadata: UploadMetadataInput, videoName: String = null): CreateUploadStreamReturn!
|
createUploadStream(
|
||||||
|
uploadMetadata: UploadMetadataInput
|
||||||
|
videoName: String = null
|
||||||
|
): CreateUploadStreamReturn!
|
||||||
getUploadLink(videoId: Int!, segmentIndex: Int!): GetUploadLinkReturn!
|
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 {
|
input CreateBucketSetInput {
|
||||||
|
Loading…
Reference in New Issue
Block a user