aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/types/taxonomies.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/ts/types/taxonomies.ts')
-rw-r--r--src/ts/types/taxonomies.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ts/types/taxonomies.ts b/src/ts/types/taxonomies.ts
index 7d4ad3b..a62bef4 100644
--- a/src/ts/types/taxonomies.ts
+++ b/src/ts/types/taxonomies.ts
@@ -1,4 +1,4 @@
-import { ContentParts, Dates, Slug } from './app';
+import { ContentInfo, ContentParts, Dates, Slug } from './app';
import { ArticlePreview, RawArticlePreview } from './articles';
import { Cover, RawCover } from './cover';
import { SEO } from './seo';
@@ -12,13 +12,17 @@ type Taxonomy = {
databaseId: number;
dates: Dates;
id: string;
+ info: ContentInfo;
intro: string;
posts: ArticlePreview[];
seo: SEO;
title: string;
};
-type TaxonomyPreview = Pick<Taxonomy, 'databaseId' | 'id' | 'seo' | 'title'> & {
+type TaxonomyPreview = Pick<
+ Taxonomy,
+ 'databaseId' | 'id' | 'info' | 'seo' | 'title'
+> & {
slug: string;
};