This commit is contained in:
@@ -9,8 +9,8 @@ type Mutation {
|
||||
delete_shout(shout_id: Int!): CommonResult!
|
||||
|
||||
# follower
|
||||
follow(what: FollowingEntity!, slug: String!): CommonResult!
|
||||
unfollow(what: FollowingEntity!, slug: String!): CommonResult!
|
||||
follow(what: FollowingEntity!, slug: String!): AuthorFollowsResult!
|
||||
unfollow(what: FollowingEntity!, slug: String!): AuthorFollowsResult!
|
||||
|
||||
# topic
|
||||
create_topic(input: TopicInput!): CommonResult!
|
||||
|
@@ -13,6 +13,7 @@ type Query {
|
||||
# follower
|
||||
get_shout_followers(slug: String, shout_id: Int): [Author]
|
||||
get_topic_followers(slug: String): [Author]
|
||||
get_topic_authors(slug: String): [Author]
|
||||
get_author_followers(slug: String, user: String, author_id: Int): [Author]
|
||||
get_author_follows(slug: String, user: String, author_id: Int): CommonResult!
|
||||
get_author_follows_topics(slug: String, user: String, author_id: Int): [Topic]
|
||||
|
@@ -174,10 +174,9 @@ type Invite {
|
||||
}
|
||||
|
||||
type AuthorFollowsResult {
|
||||
topics: [Topic]
|
||||
authors: [Author]
|
||||
# shouts: [Shout]
|
||||
communities: [Community]
|
||||
topics: [Int]
|
||||
authors: [Int]
|
||||
communities: [Int]
|
||||
error: String
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user