Add getUsernames

This commit is contained in:
Ivan Malison 2024-07-13 23:42:12 -06:00
parent 03c1d08d8c
commit 235f4a58e9
2 changed files with 12 additions and 0 deletions

View File

@ -944,6 +944,7 @@ export type Query = {
getShots: Array<ShotGql>;
getUser?: Maybe<UserGql>;
getUserVideos: VideoHistoryGql;
getUsernames: Array<Scalars["String"]["output"]>;
getVideo: VideoGql;
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
getVideos: Array<VideoGql>;
@ -976,6 +977,12 @@ export type QueryGetUserVideosArgs = {
userId?: InputMaybe<Scalars["Int"]["input"]>;
};
export type QueryGetUsernamesArgs = {
after?: InputMaybe<Scalars["String"]["input"]>;
limit?: InputMaybe<Scalars["Int"]["input"]>;
matchString?: InputMaybe<Scalars["String"]["input"]>;
};
export type QueryGetVideoArgs = {
videoId: Scalars["Int"]["input"];
};

View File

@ -12,6 +12,11 @@ type Query {
getShotAnnotationTypes: [ShotAnnotationTypeGQL!]!
getUser(userId: Int!): UserGQL
getLoggedInUser: UserGQL
getUsernames(
matchString: String = null
limit: Int = null
after: String = null
): [String!]!
getPlayTime(userId: Int!): UserPlayTimeGQL!
getUserVideos(
userId: Int = null