From e7149e905a13a28eaed216cf37642447f3a58d9e Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 28 Mar 2024 15:04:46 +0300 Subject: [PATCH] author-follows-result-type --- schema/query.graphql | 2 +- schema/type.graphql | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/schema/query.graphql b/schema/query.graphql index 588c6b3e..dfceef79 100644 --- a/schema/query.graphql +++ b/schema/query.graphql @@ -14,7 +14,7 @@ type Query { get_shout_followers(slug: String, shout_id: Int): [Author] get_topic_followers(slug: String, topic_id: Int): [Author] get_author_followers(slug: String, user: String, author_id: Int): [Author] - get_author_follows(slug: String, user: String, author_id: Int): AuthorFollows! + get_author_follows(slug: String, user: String, author_id: Int): AuthorFollowsResult! get_author_follows_topics(slug: String, user: String, author_id: Int): [Topic] get_author_follows_authors(slug: String, user: String, author_id: Int): [Author] load_shouts_followed(follower_id: Int!, limit: Int, offset: Int): [Shout] # userReactedShouts diff --git a/schema/type.graphql b/schema/type.graphql index f51cabb6..a155df32 100644 --- a/schema/type.graphql +++ b/schema/type.graphql @@ -173,11 +173,12 @@ type Invite { status: InviteStatus } -type AuthorFollows { +type AuthorFollowsResult { topics: [Topic] authors: [Author] # shouts: [Shout] communities: [Community] + error: String } type Notification {