Create feed query

This commit is contained in:
Kat Huang 2024-10-20 23:35:52 -06:00
parent efaaeeaad1
commit b16b36588f
2 changed files with 14 additions and 0 deletions

View File

@ -2066,6 +2066,7 @@ export type Query = {
getAggregatedShotMetrics: Array<AggregateResultGql>; getAggregatedShotMetrics: Array<AggregateResultGql>;
getBucketSet?: Maybe<BucketSetGql>; getBucketSet?: Maybe<BucketSetGql>;
getDeployedConfig: DeployedConfigGql; getDeployedConfig: DeployedConfigGql;
getFeedVideos: VideoHistoryGql;
getLoggedInUser?: Maybe<UserGql>; getLoggedInUser?: Maybe<UserGql>;
getOrderedShots: GetShotsResult; getOrderedShots: GetShotsResult;
getPlayTime: UserPlayTimeGql; getPlayTime: UserPlayTimeGql;
@ -2091,6 +2092,13 @@ export type QueryGetBucketSetArgs = {
keyName: Scalars["String"]["input"]; keyName: Scalars["String"]["input"];
}; };
export type QueryGetFeedVideosArgs = {
after?: InputMaybe<Scalars["String"]["input"]>;
filters?: InputMaybe<VideoFilterInput>;
limit?: Scalars["Int"]["input"];
userId?: InputMaybe<Scalars["Int"]["input"]>;
};
export type QueryGetOrderedShotsArgs = { export type QueryGetOrderedShotsArgs = {
filterInput: FilterInput; filterInput: FilterInput;
ids?: InputMaybe<Array<Scalars["Int"]["input"]>>; ids?: InputMaybe<Array<Scalars["Int"]["input"]>>;

View File

@ -45,6 +45,12 @@ type Query {
getUserTags: [TagGQL!]! getUserTags: [TagGQL!]!
getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL! getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL!
getVideos(videoIds: [Int!]!): [VideoGQL!]! getVideos(videoIds: [Int!]!): [VideoGQL!]!
getFeedVideos(
userId: Int = null
limit: Int! = 5
after: String = null
filters: VideoFilterInput = null
): VideoHistoryGQL!
} }
type AggregateResultGQL { type AggregateResultGQL {