From 11a1f7991e0c020ecd295340b8e03ce4bcb15fc4 Mon Sep 17 00:00:00 2001 From: Matt Rider Date: Tue, 23 Apr 2019 18:19:48 -0300 Subject: [PATCH] Remove PostQuery.js - to be added in a separate ticket(?) --- webapp/graphql/PostQuery.js | 79 ------------------------------------- 1 file changed, 79 deletions(-) delete mode 100644 webapp/graphql/PostQuery.js diff --git a/webapp/graphql/PostQuery.js b/webapp/graphql/PostQuery.js deleted file mode 100644 index d45624616..000000000 --- a/webapp/graphql/PostQuery.js +++ /dev/null @@ -1,79 +0,0 @@ -import gql from 'graphql-tag' - -export default app => { - const lang = app.$i18n.locale().toUpperCase() - return gql(` - query Post($slug: String!) { - Post(slug: $slug) { - id - title - content - createdAt - disabled - deleted - slug - image - author { - id - slug - name - avatar - disabled - deleted - shoutedCount - contributionsCount - commentsCount - followedByCount - followedByCurrentUser - location { - name: name${lang} - } - badges { - id - key - icon - } - } - tags { - name - } - commentsCount - comments(orderBy: createdAt_desc) { - id - contentExcerpt - createdAt - disabled - deleted - author { - id - slug - name - avatar - disabled - deleted - shoutedCount - contributionsCount - commentsCount - followedByCount - followedByCurrentUser - location { - name: name${lang} - } - badges { - id - key - icon - } - } - } - categories { - id - name - icon - } - shoutedCount - shoutedByCurrentUser - } - } - `) -}