mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #223 from omnivore-app/fix/rm-unused-gql
Remove unused attributes from article queries
This commit is contained in:
commit
bf8d99e0f1
3 changed files with 0 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -66,8 +66,6 @@ export function useGetArticleSavingStatus({
|
|||
}
|
||||
article {
|
||||
...ArticleFields
|
||||
postedByViewer
|
||||
savedByViewer
|
||||
content
|
||||
shareInfo {
|
||||
title
|
||||
|
|
|
|||
|
|
@ -32,8 +32,6 @@ export type PublicArticleAttributes = {
|
|||
author?: string
|
||||
image?: string
|
||||
description?: string
|
||||
savedByViewer?: boolean
|
||||
postedByViewer?: boolean
|
||||
hasContent?: boolean
|
||||
shareInfo?: PublicArticleShareInfo
|
||||
highlights: Highlight[]
|
||||
|
|
|
|||
Loading…
Reference in a new issue