aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/graphql/queries.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/graphql/queries.graphql')
-rw-r--r--frontend/src/graphql/queries.graphql94
1 files changed, 0 insertions, 94 deletions
diff --git a/frontend/src/graphql/queries.graphql b/frontend/src/graphql/queries.graphql
deleted file mode 100644
index 0b0e25c..0000000
--- a/frontend/src/graphql/queries.graphql
+++ /dev/null
@@ -1,94 +0,0 @@
-query GetFeeds {
- feeds {
- id
- url
- title
- fetchedAt
- isSubscribed
- unreadCount
- }
-}
-
-query GetUnreadArticles($feedId: ID, $after: ID, $first: Int) {
- unreadArticles(feedId: $feedId, after: $after, first: $first) {
- articles {
- id
- feedId
- guid
- title
- url
- isRead
- feed {
- id
- title
- isSubscribed
- }
- }
- pageInfo {
- hasNextPage
- endCursor
- }
- }
-}
-
-query GetReadArticles($feedId: ID, $after: ID, $first: Int) {
- readArticles(feedId: $feedId, after: $after, first: $first) {
- articles {
- id
- feedId
- guid
- title
- url
- isRead
- feed {
- id
- title
- isSubscribed
- }
- }
- pageInfo {
- hasNextPage
- endCursor
- }
- }
-}
-
-query GetFeed($id: ID!) {
- feed(id: $id) {
- id
- url
- title
- fetchedAt
- isSubscribed
- articles {
- id
- guid
- title
- url
- isRead
- }
- }
-}
-
-query GetArticle($id: ID!) {
- article(id: $id) {
- id
- feedId
- guid
- title
- url
- isRead
- feed {
- id
- title
- isSubscribed
- }
- }
-}
-
-query GetCurrentUser {
- currentUser {
- id
- username
- }
-}