Generalize getFeed
This commit is contained in:
parent
7b4880a990
commit
9d0ba908dc
@ -1981,6 +1981,12 @@ export type HomographyInfoGql = {
|
||||
sourcePoints: PocketPointsGql;
|
||||
};
|
||||
|
||||
export enum IncludePrivateEnum {
|
||||
All = "ALL",
|
||||
Mine = "MINE",
|
||||
None = "NONE",
|
||||
}
|
||||
|
||||
export enum InitPlaylistUploadStatusEnum {
|
||||
NotApplicable = "NOT_APPLICABLE",
|
||||
NotUploaded = "NOT_UPLOADED",
|
||||
@ -2259,9 +2265,10 @@ export type QueryGetBucketSetArgs = {
|
||||
|
||||
export type QueryGetFeedVideosArgs = {
|
||||
after?: InputMaybe<Scalars["String"]["input"]>;
|
||||
allVideos?: Scalars["Boolean"]["input"];
|
||||
feedInput?: InputMaybe<VideoFeedInputGql>;
|
||||
filters?: InputMaybe<VideoFilterInput>;
|
||||
includeCallersVideos?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
includePrivate?: IncludePrivateEnum;
|
||||
limit?: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
@ -2710,6 +2717,23 @@ export type UserRelationshipsResult = {
|
||||
relationships: Array<UserRelationship>;
|
||||
};
|
||||
|
||||
export type VideoFeedInputGql =
|
||||
| {
|
||||
allUsers: Scalars["Boolean"]["input"];
|
||||
followedByUserId?: never;
|
||||
userId?: never;
|
||||
}
|
||||
| {
|
||||
allUsers?: never;
|
||||
followedByUserId: Scalars["Int"]["input"];
|
||||
userId?: never;
|
||||
}
|
||||
| {
|
||||
allUsers?: never;
|
||||
followedByUserId?: never;
|
||||
userId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type VideoFilterInput = {
|
||||
createdAt?: InputMaybe<DateRangeFilter>;
|
||||
excludeVideosWithNoShots?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
|
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user