summaryrefslogtreecommitdiffstats
path: root/src/services/graphql/topics.query.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-05-23 14:07:02 +0200
committerArmand Philippot <git@armandphilippot.com>2022-05-23 16:00:13 +0200
commit34e216546151eaf8a0a3cbb0bc8b65dae4c63bf2 (patch)
treebff34f8a1dc65f0559ddf851433f242edb092824 /src/services/graphql/topics.query.ts
parent0f8f963ba3eccd7fd94785bf7fb216b6287cec57 (diff)
refactor: reduce the number of data transformation
Diffstat (limited to 'src/services/graphql/topics.query.ts')
-rw-r--r--src/services/graphql/topics.query.ts9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/services/graphql/topics.query.ts b/src/services/graphql/topics.query.ts
index 4574256..57b2569 100644
--- a/src/services/graphql/topics.query.ts
+++ b/src/services/graphql/topics.query.ts
@@ -16,13 +16,6 @@ export const topicBySlugQuery = `query TopicBy($slug: ID!) {
}
}
}
- author {
- node {
- gravatarUrl
- name
- url
- }
- }
commentCount
contentParts {
beforeMore
@@ -41,7 +34,6 @@ export const topicBySlugQuery = `query TopicBy($slug: ID!) {
}
}
info {
- readingTime
wordsCount
}
modified
@@ -68,7 +60,6 @@ export const topicBySlugQuery = `query TopicBy($slug: ID!) {
}
}
info {
- readingTime
wordsCount
}
modified