From 756b66b31fd02215fc2d8a30ae263a3bf08a90a6 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 12 Jul 2025 23:58:57 +0900 Subject: feat(backend,frontend): add feature to unsubscribe feed --- common/graphql/schema.graphql | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'common/graphql/schema.graphql') 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 @@ -24,6 +24,11 @@ type Feed { """ fetchedAt: DateTime! + """ + Whether the user is currently subscribed to this feed + """ + isSubscribed: Boolean! + """ Articles belonging to this feed """ @@ -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 -- cgit v1.2.3-70-g09d2