aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/graphql/mutations.graphql
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-14 11:52:56 +0900
committernsfisis <nsfisis@gmail.com>2026-02-14 11:53:08 +0900
commit2889b562e64993482bd13fd806af8ed0865bab8b (patch)
tree39400ac4d994fb33d2c544e7d4b9d98f8ecbd86a /frontend/src/graphql/mutations.graphql
parente216c3bc97994b4172d15d52b46d5f6b75f35ea4 (diff)
downloadfeedaka-2889b562e64993482bd13fd806af8ed0865bab8b.tar.gz
feedaka-2889b562e64993482bd13fd806af8ed0865bab8b.tar.zst
feedaka-2889b562e64993482bd13fd806af8ed0865bab8b.zip
refactor: migrate API from GraphQL to REST (TypeSpec/OpenAPI)
Replace the entire GraphQL stack (gqlgen, urql, graphql-codegen) with a TypeSpec → OpenAPI 3.x pipeline using oapi-codegen for Go server stubs and openapi-fetch + openapi-typescript for the frontend client. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'frontend/src/graphql/mutations.graphql')
-rw-r--r--frontend/src/graphql/mutations.graphql65
1 files changed, 0 insertions, 65 deletions
diff --git a/frontend/src/graphql/mutations.graphql b/frontend/src/graphql/mutations.graphql
deleted file mode 100644
index f919e66..0000000
--- a/frontend/src/graphql/mutations.graphql
+++ /dev/null
@@ -1,65 +0,0 @@
-mutation AddFeed($url: String!) {
- addFeed(url: $url) {
- id
- url
- title
- fetchedAt
- }
-}
-
-mutation UnsubscribeFeed($id: ID!) {
- unsubscribeFeed(id: $id)
-}
-
-mutation MarkArticleRead($id: ID!) {
- markArticleRead(id: $id) {
- id
- feedId
- guid
- title
- url
- isRead
- }
-}
-
-mutation MarkArticleUnread($id: ID!) {
- markArticleUnread(id: $id) {
- id
- feedId
- guid
- title
- url
- isRead
- }
-}
-
-mutation MarkFeedRead($id: ID!) {
- markFeedRead(id: $id) {
- id
- url
- title
- fetchedAt
- }
-}
-
-mutation MarkFeedUnread($id: ID!) {
- markFeedUnread(id: $id) {
- id
- url
- title
- fetchedAt
- }
-}
-
-mutation Login($username: String!, $password: String!) {
- login(username: $username, password: $password) {
- user {
- id
- username
- }
- }
-}
-
-mutation Logout {
- logout
-}