Generalize getFeed
This commit is contained in:
parent
7b4880a990
commit
9d0ba908dc
@ -1981,6 +1981,12 @@ export type HomographyInfoGql = {
|
|||||||
sourcePoints: PocketPointsGql;
|
sourcePoints: PocketPointsGql;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export enum IncludePrivateEnum {
|
||||||
|
All = "ALL",
|
||||||
|
Mine = "MINE",
|
||||||
|
None = "NONE",
|
||||||
|
}
|
||||||
|
|
||||||
export enum InitPlaylistUploadStatusEnum {
|
export enum InitPlaylistUploadStatusEnum {
|
||||||
NotApplicable = "NOT_APPLICABLE",
|
NotApplicable = "NOT_APPLICABLE",
|
||||||
NotUploaded = "NOT_UPLOADED",
|
NotUploaded = "NOT_UPLOADED",
|
||||||
@ -2259,9 +2265,10 @@ export type QueryGetBucketSetArgs = {
|
|||||||
|
|
||||||
export type QueryGetFeedVideosArgs = {
|
export type QueryGetFeedVideosArgs = {
|
||||||
after?: InputMaybe<Scalars["String"]["input"]>;
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
allVideos?: Scalars["Boolean"]["input"];
|
feedInput?: InputMaybe<VideoFeedInputGql>;
|
||||||
filters?: InputMaybe<VideoFilterInput>;
|
filters?: InputMaybe<VideoFilterInput>;
|
||||||
includeCallersVideos?: InputMaybe<Scalars["Boolean"]["input"]>;
|
includeCallersVideos?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
|
includePrivate?: IncludePrivateEnum;
|
||||||
limit?: Scalars["Int"]["input"];
|
limit?: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -2710,6 +2717,23 @@ export type UserRelationshipsResult = {
|
|||||||
relationships: Array<UserRelationship>;
|
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 = {
|
export type VideoFilterInput = {
|
||||||
createdAt?: InputMaybe<DateRangeFilter>;
|
createdAt?: InputMaybe<DateRangeFilter>;
|
||||||
excludeVideosWithNoShots?: InputMaybe<Scalars["Boolean"]["input"]>;
|
excludeVideosWithNoShots?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
|
@ -66,9 +66,10 @@ type Query {
|
|||||||
getFeedVideos(
|
getFeedVideos(
|
||||||
limit: Int! = 5
|
limit: Int! = 5
|
||||||
after: String = null
|
after: String = null
|
||||||
|
includePrivate: IncludePrivateEnum! = MINE
|
||||||
includeCallersVideos: Boolean = true
|
includeCallersVideos: Boolean = true
|
||||||
filters: VideoFilterInput = null
|
filters: VideoFilterInput = null
|
||||||
allVideos: Boolean! = false
|
feedInput: VideoFeedInputGQL = null
|
||||||
): VideoHistoryGQL!
|
): VideoHistoryGQL!
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -706,6 +707,18 @@ scalar JSON
|
|||||||
url: "https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf"
|
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 {
|
type Mutation {
|
||||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||||
setLoggerLevel(path: String!, level: String!): Boolean!
|
setLoggerLevel(path: String!, level: String!): Boolean!
|
||||||
|
Loading…
Reference in New Issue
Block a user