Replace GetUsernamesAndRelationships with GetUserRelationshipsMatching
This commit is contained in:
@@ -35,12 +35,12 @@ type Query {
|
||||
limit: Int = null
|
||||
after: String = null
|
||||
): [String!]!
|
||||
getUsernamesAndFollowing(
|
||||
getUserRelationshipsMatching(
|
||||
userId: Int!
|
||||
matchString: String = null
|
||||
limit: Int = 100
|
||||
after: String = null
|
||||
): UsernamesAndFollowingResponse!
|
||||
): [UserRelationship!]!
|
||||
getPlayTime(userId: Int!): UserPlayTimeGQL!
|
||||
getUserVideos(
|
||||
userId: Int = null
|
||||
@@ -349,8 +349,8 @@ type UserGQL {
|
||||
profileImageUri: String
|
||||
createdAt: DateTime
|
||||
updatedAt: DateTime
|
||||
following: [Int!]
|
||||
followers: [Int!]
|
||||
following: [UserGQL!]
|
||||
followers: [UserGQL!]
|
||||
}
|
||||
|
||||
type ShotAnnotationGQL {
|
||||
@@ -554,10 +554,10 @@ input CreatedAfter @oneOf {
|
||||
createdAt: DateTime
|
||||
}
|
||||
|
||||
type UsernamesAndFollowingResponse {
|
||||
users: [UserGQL!]!
|
||||
following: [Int!]!
|
||||
followers: [Int!]!
|
||||
type UserRelationship {
|
||||
user: UserGQL!
|
||||
follows: Boolean!
|
||||
following: Boolean!
|
||||
}
|
||||
|
||||
type UserPlayTimeGQL {
|
||||
|
Reference in New Issue
Block a user