diff --git a/src/index.tsx b/src/index.tsx index 4d80ae5..7abcbaa 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -944,6 +944,7 @@ export type Query = { getShots: Array; getUser?: Maybe; getUserVideos: VideoHistoryGql; + getUsernames: Array; getVideo: VideoGql; getVideoMakePercentageIntervals: Array; getVideos: Array; @@ -976,6 +977,12 @@ export type QueryGetUserVideosArgs = { userId?: InputMaybe; }; +export type QueryGetUsernamesArgs = { + after?: InputMaybe; + limit?: InputMaybe; + matchString?: InputMaybe; +}; + export type QueryGetVideoArgs = { videoId: Scalars["Int"]["input"]; }; diff --git a/src/schema.gql b/src/schema.gql index aed271c..59c83c3 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -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