Generalize getFeed

This commit is contained in:
2024-12-17 17:35:38 -07:00
parent 7b4880a990
commit 9d0ba908dc
2 changed files with 39 additions and 2 deletions

View File

@@ -66,9 +66,10 @@ type Query {
getFeedVideos(
limit: Int! = 5
after: String = null
includePrivate: IncludePrivateEnum! = MINE
includeCallersVideos: Boolean = true
filters: VideoFilterInput = null
allVideos: Boolean! = false
feedInput: VideoFeedInputGQL = null
): VideoHistoryGQL!
}
@@ -706,6 +707,18 @@ scalar JSON
url: "https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf"
)
enum IncludePrivateEnum {
ALL
MINE
NONE
}
input VideoFeedInputGQL @oneOf {
followedByUserId: Int
userId: Int
allUsers: Boolean
}
type Mutation {
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
setLoggerLevel(path: String!, level: String!): Boolean!