Merge pull request #223 from omnivore-app/fix/rm-unused-gql

Remove unused attributes from article queries
This commit is contained in:
Jackson Harper
2022-03-11 13:07:51 -08:00
committed by GitHub
3 changed files with 0 additions and 7 deletions

View File

@ -42,7 +42,6 @@ export type ArticleAttributes = {
readingProgressPercent: number
readingProgressAnchorIndex: number
slug: string
postedByViewer?: boolean
savedByViewer?: boolean
content: string
shareInfo?: ArticleShareInfo
@ -66,8 +65,6 @@ const query = gql`
... on ArticleSuccess {
article {
...ArticleFields
postedByViewer
savedByViewer
content
shareInfo {
title

View File

@ -66,8 +66,6 @@ export function useGetArticleSavingStatus({
}
article {
...ArticleFields
postedByViewer
savedByViewer
content
shareInfo {
title

View File

@ -32,8 +32,6 @@ export type PublicArticleAttributes = {
author?: string
image?: string
description?: string
savedByViewer?: boolean
postedByViewer?: boolean
hasContent?: boolean
shareInfo?: PublicArticleShareInfo
highlights: Highlight[]