Run prettier on gql stuff

This commit is contained in:
Ivan Malison 2024-02-22 18:36:15 -07:00
parent 318a2a24fd
commit c9f2187cc2
4 changed files with 663 additions and 385 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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

View File

@ -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 {