Change feed operation to use limit instead of first in cursor

This commit is contained in:
2024-02-22 19:23:28 -07:00
parent 2ce41be8cc
commit 4b41d3b039
3 changed files with 356 additions and 637 deletions

View File

@@ -5,7 +5,7 @@ type Query {
getVideo(videoId: Int!): VideoGQL!
getShots(filterInput: FilterInput = null): [ShotGQL!]!
getBucketSet(keyName: String!): BucketSetGQL
getVideoFeedForUser(first: Int! = 5, after: String = null): VideoFeedGQL!
getVideoFeedForUser(limit: Int! = 5, after: String = null): VideoFeedGQL!
}
type AggregateResultGQL {
@@ -49,9 +49,7 @@ type UserGQL {
statistics: UserStatisticsGQL!
}
"""
Date with time (isoformat)
"""
"""Date with time (isoformat)"""
scalar DateTime
type UserStatisticsGQL {
@@ -63,9 +61,7 @@ type UserStatisticsGQL {
medianRun: Decimal
}
"""
Decimal (fixed-point)
"""
"""Decimal (fixed-point)"""
scalar Decimal
type VideoGQL {
@@ -241,17 +237,9 @@ 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 {