Add get usernames and following response
All checks were successful
Tests / Tests (pull_request) Successful in 9s

This commit is contained in:
2024-10-23 16:53:26 -06:00
parent 3051c155e2
commit 3f6314aab7
2 changed files with 27 additions and 0 deletions

View File

@@ -35,6 +35,12 @@ type Query {
limit: Int = null
after: String = null
): [String!]!
getUsernamesAndFollowing(
userId: Int!
matchString: String = null
limit: Int = 100
after: String = null
): UsernamesAndFollowingResponse!
getPlayTime(userId: Int!): UserPlayTimeGQL!
getUserVideos(
userId: Int = null
@@ -548,6 +554,12 @@ input CreatedAfter @oneOf {
createdAt: DateTime
}
type UsernamesAndFollowingResponse {
usernames: [String!]!
following: [Int!]!
followers: [Int!]!
}
type UserPlayTimeGQL {
totalSeconds: Float!
}