diff --git a/src/graphql/query/core/author-by.ts b/src/graphql/query/core/author-by.ts index d40173c1..6fc79a12 100644 --- a/src/graphql/query/core/author-by.ts +++ b/src/graphql/query/core/author-by.ts @@ -15,8 +15,8 @@ export default gql` last_seen stat { shouts + authors followers - followings rating commented } diff --git a/src/graphql/query/core/author-follows.ts b/src/graphql/query/core/author-follows.ts index b1c8c0ce..7de7d9c4 100644 --- a/src/graphql/query/core/author-follows.ts +++ b/src/graphql/query/core/author-follows.ts @@ -3,17 +3,33 @@ import { gql } from '@urql/core' export default gql` query GetAuthorFollows($slug: String, $user: String, $author_id: Int) { get_author_follows(slug: $slug, user: $user, author_id: $author_id) { - authors { + authors { id slug name pic bio + stat { + shouts + authors + followers + } } topics { id slug title + stat { + shouts + authors + followers + } + } + communities { + id + slug + name + pic } } } diff --git a/src/graphql/query/core/author-id.ts b/src/graphql/query/core/author-id.ts index 38596c1c..9f1155a6 100644 --- a/src/graphql/query/core/author-id.ts +++ b/src/graphql/query/core/author-id.ts @@ -14,10 +14,10 @@ export default gql` last_seen stat { shouts - comments: commented + authors followers - followings rating + comments: commented rating_shouts rating_comments } diff --git a/src/graphql/query/core/authors-load-by.ts b/src/graphql/query/core/authors-load-by.ts index 427889c4..5e5b7541 100644 --- a/src/graphql/query/core/authors-load-by.ts +++ b/src/graphql/query/core/authors-load-by.ts @@ -11,10 +11,10 @@ export default gql` created_at stat { shouts - comments: commented + authors followers - followings rating + comments: commented rating_shouts rating_comments }