aboutsummaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
authorFactiven <[email protected]>2023-04-17 13:33:37 +0700
committerFactiven <[email protected]>2023-04-17 13:33:37 +0700
commit545d8a3473823f0a86cad3c177dbbb4ebb794a75 (patch)
tree1606111911ea31c8fd8f9560dade41f5fedd6520 /queries
parentUpdate 7th (diff)
downloadmoopa-545d8a3473823f0a86cad3c177dbbb4ebb794a75.tar.xz
moopa-545d8a3473823f0a86cad3c177dbbb4ebb794a75.zip
Snapshot Moopa v3.2
Diffstat (limited to 'queries')
-rw-r--r--queries/GET_ADVANCE_SEARCH.js0
-rw-r--r--queries/GET_MEDIA.js26
-rw-r--r--queries/index.js3
3 files changed, 1 insertions, 28 deletions
diff --git a/queries/GET_ADVANCE_SEARCH.js b/queries/GET_ADVANCE_SEARCH.js
deleted file mode 100644
index e69de29..0000000
--- a/queries/GET_ADVANCE_SEARCH.js
+++ /dev/null
diff --git a/queries/GET_MEDIA.js b/queries/GET_MEDIA.js
deleted file mode 100644
index 8c42a00..0000000
--- a/queries/GET_MEDIA.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import { gql } from "@apollo/client";
-
-export default gql`
- query ($page: Int, $userId: Int, $type: MediaType, $status: MediaListStatus) {
- Page(page: $page, perPage: 100) {
- pageInfo {
- hasNextPage
- }
- mediaList(type: $type, userId: $userId) {
- status
- score(format: POINT_100)
- media {
- siteUrl
- id
- coverImage {
- large
- extraLarge
- }
- title {
- userPreferred
- }
- }
- }
- }
- }
-`;
diff --git a/queries/index.js b/queries/index.js
index 79cb903..c93e39f 100644
--- a/queries/index.js
+++ b/queries/index.js
@@ -1,4 +1,3 @@
import GET_CURRENT_USER from "./GET_CURRENT_USER";
-import GET_MEDIA from "./GET_MEDIA";
-export { GET_CURRENT_USER, GET_MEDIA };
+export { GET_CURRENT_USER };