summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/services/graphql/queries.ts46
-rw-r--r--src/ts/types/seo.ts15
2 files changed, 1 insertions, 60 deletions
diff --git a/src/services/graphql/queries.ts b/src/services/graphql/queries.ts
index 688d3f2..e56590f 100644
--- a/src/services/graphql/queries.ts
+++ b/src/services/graphql/queries.ts
@@ -211,22 +211,8 @@ export const getPostBySlug = async (slug: string): Promise<Article> => {
}
modified
seo {
- title
metaDesc
- opengraphAuthor
- opengraphDescription
- opengraphImage {
- altText
- sourceUrl
- srcSet
- }
- opengraphModifiedTime
- opengraphPublishedTime
- opengraphPublisher
- opengraphSiteName
- opengraphTitle
- opengraphType
- opengraphUrl
+ title
}
title
}
@@ -358,21 +344,6 @@ export const getTopicBySlug = async (slug: string): Promise<Topic> => {
modified
seo {
metaDesc
- opengraphAuthor
- opengraphDescription
- opengraphImage {
- altText
- sourceUrl
- srcSet
- }
- opengraphModifiedTime
- opengraphPublishedTime
- opengraphPublisher
- opengraphSiteName
- opengraphTitle
- opengraphType
- opengraphUrl
- readingTime
title
}
title
@@ -492,21 +463,6 @@ export const getThematicBySlug = async (slug: string): Promise<Thematic> => {
modified
seo {
metaDesc
- opengraphAuthor
- opengraphDescription
- opengraphImage {
- altText
- sourceUrl
- srcSet
- }
- opengraphModifiedTime
- opengraphPublishedTime
- opengraphPublisher
- opengraphSiteName
- opengraphTitle
- opengraphType
- opengraphUrl
- readingTime
title
}
title
diff --git a/src/ts/types/seo.ts b/src/ts/types/seo.ts
index fa30fe4..18e3c95 100644
--- a/src/ts/types/seo.ts
+++ b/src/ts/types/seo.ts
@@ -1,21 +1,6 @@
export type SEO = {
title: string;
metaDesc: string;
- readingTime: number;
- opengraphAuthor: string;
- opengraphDescription: string;
- opengraphModifiedTime: string;
- opengraphPublishedTime: string;
- opengraphPublisher: string;
- opengraphSiteName: string;
- opengraphTitle: string;
- opengraphType: string;
- opengraphUrl: string;
- opengraphImage: {
- altText: string;
- sourceUrl: string;
- srcSet: string;
- };
metaRobotsNofollow: string;
metaRobotsNoindex: string;
};