Use clearer names in the fields of GetUserRelationshipsMatching

This commit is contained in:
2024-10-25 16:58:21 -06:00
parent 2398216bf2
commit 9b6559559c
3 changed files with 42 additions and 24 deletions

View File

@@ -40,7 +40,7 @@ type Query {
matchString: String = null
limit: Int = 100
after: String = null
): [UserRelationship!]!
): UserRelationshipsResult!
getPlayTime(userId: Int!): UserPlayTimeGQL!
getUserVideos(
userId: Int = null
@@ -554,10 +554,15 @@ input CreatedAfter @oneOf {
createdAt: DateTime
}
type UserRelationshipsResult {
inquiringUser: UserGQL!
relationships: [UserRelationship!]!
}
type UserRelationship {
user: UserGQL!
follows: Boolean!
following: Boolean!
toUser: UserGQL!
toUserFollows: Boolean!
toUserIsFollowedBy: Boolean!
}
type UserPlayTimeGQL {