diff options
Diffstat (limited to 'src/ts/types/taxonomies.ts')
| -rw-r--r-- | src/ts/types/taxonomies.ts | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/ts/types/taxonomies.ts b/src/ts/types/taxonomies.ts index 32e1f15..0b2d696 100644 --- a/src/ts/types/taxonomies.ts +++ b/src/ts/types/taxonomies.ts @@ -37,6 +37,12 @@ export type SubjectPreview = TaxonomyPreview & { featuredImage: Cover; }; +export type AllSubjects = { + subjects: { + nodes: SubjectPreview[]; + }; +}; + export type RawSubject = SubjectPreview & { acfSubjects: { officialWebsite: string; @@ -58,6 +64,10 @@ export type AllSubjectsSlug = { }; }; +export type SubjectProps = { + subject: Subject; +}; + //============================================================================== // Thematics //============================================================================== @@ -91,10 +101,6 @@ export type AllThematicsSlug = { }; }; -export type SubjectProps = { - subject: Subject; -}; - export type ThematicProps = { thematic: Thematic; }; |
