Generalize getFeed
This commit is contained in:
@@ -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"]>;
|
||||
|
||||
Reference in New Issue
Block a user