Change feed operation to use limit instead of first in cursor
This commit is contained in:
parent
2ce41be8cc
commit
4b41d3b039
967
src/index.tsx
967
src/index.tsx
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
query GetFeed($first: Int! = 5, $after: String = null) {
|
||||
getVideoFeedForUser(first: $first, after: $after) {
|
||||
query GetFeed($limit: Int! = 5, $after: String = null) {
|
||||
getVideoFeedForUser(limit: $limit, after: $after) {
|
||||
videos {
|
||||
id
|
||||
name
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user