diff options
Diffstat (limited to 'src/utils/helpers')
| -rw-r--r-- | src/utils/helpers/format.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/helpers/format.ts b/src/utils/helpers/format.ts index 0ed1ab5..2be1844 100644 --- a/src/utils/helpers/format.ts +++ b/src/utils/helpers/format.ts @@ -27,6 +27,7 @@ export const getFormattedPostPreview = (rawPost: RawArticlePreview) => { date, featuredImage, id, + info, modified, slug, title, @@ -45,6 +46,7 @@ export const getFormattedPostPreview = (rawPost: RawArticlePreview) => { dates, featuredImage: featuredImage ? featuredImage.node : null, id, + info, intro: contentParts.beforeMore, slug, topics, @@ -83,6 +85,7 @@ export const getFormattedTopic = (rawTopic: RawTopic): Topic => { date, featuredImage, id, + info, modified, seo, title, @@ -101,6 +104,7 @@ export const getFormattedTopic = (rawTopic: RawTopic): Topic => { dates, featuredImage: featuredImage ? featuredImage.node : null, id, + info, intro: contentParts.beforeMore, officialWebsite: acfTopics.officialWebsite, posts, @@ -123,6 +127,7 @@ export const getFormattedThematic = (rawThematic: RawThematic): Thematic => { databaseId, date, id, + info, modified, seo, title, @@ -140,6 +145,7 @@ export const getFormattedThematic = (rawThematic: RawThematic): Thematic => { databaseId, dates, id, + info, intro: contentParts.beforeMore, posts, seo, @@ -225,6 +231,7 @@ export const getFormattedPost = (rawPost: RawArticle): Article => { date, featuredImage, id, + info, modified, seo, title, @@ -250,6 +257,7 @@ export const getFormattedPost = (rawPost: RawArticle): Article => { dates, featuredImage: featuredImage ? featuredImage.node : null, id, + info, intro: contentParts.beforeMore, seo, topics, |
