aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/types/taxonomies.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-03 12:24:04 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-03 12:24:04 +0100
commit04a1ceb257311a98fffc4b18679f73789b920e09 (patch)
tree96bccf0152fcc2c3c49762ded83eaf0e57993bf0 /src/ts/types/taxonomies.ts
parenta98b5ea6fe8e8cc98a55e0fd793e6e8660ea31c1 (diff)
chore: display subjects list under articles
Diffstat (limited to 'src/ts/types/taxonomies.ts')
-rw-r--r--src/ts/types/taxonomies.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ts/types/taxonomies.ts b/src/ts/types/taxonomies.ts
index 3945934..71eb20a 100644
--- a/src/ts/types/taxonomies.ts
+++ b/src/ts/types/taxonomies.ts
@@ -29,6 +29,10 @@ export type Subject = Taxonomy & {
officialWebsite: string;
};
+export type RawSubjectPreview = TaxonomyPreview & {
+ featuredImage: RawCover;
+};
+
export type SubjectPreview = TaxonomyPreview & {
featuredImage: Cover;
};