aboutsummaryrefslogtreecommitdiffhomepage
path: root/common/graphql/schema.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'common/graphql/schema.graphql')
-rw-r--r--common/graphql/schema.graphql9
1 files changed, 7 insertions, 2 deletions
diff --git a/common/graphql/schema.graphql b/common/graphql/schema.graphql
index 2ee1365..75d4d77 100644
--- a/common/graphql/schema.graphql
+++ b/common/graphql/schema.graphql
@@ -25,6 +25,11 @@ type Feed {
fetchedAt: DateTime!
"""
+ Whether the user is currently subscribed to this feed
+ """
+ isSubscribed: Boolean!
+
+ """
Articles belonging to this feed
"""
articles: [Article!]!
@@ -110,9 +115,9 @@ type Mutation {
addFeed(url: String!): Feed!
"""
- Remove a feed subscription and all its articles
+ Unsubscribe from a feed (preserves feed and article data)
"""
- removeFeed(id: ID!): Boolean!
+ unsubscribeFeed(id: ID!): Boolean!
"""
Mark an article as read