diff options
Diffstat (limited to 'src/types')
| -rw-r--r-- | src/types/data.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/types/data.ts b/src/types/data.ts index 7b9a879..21f773e 100644 --- a/src/types/data.ts +++ b/src/types/data.ts @@ -267,18 +267,18 @@ export type ProjectPreview = Omit<Project, 'meta'> & { meta: Omit<ProjectMeta, 'license' | 'repos'>; }; -export type ThematicMeta = PageMeta & { +export type ThematicMeta = Omit<PageMeta, 'wordsCount'> & { articles?: ArticlePreview[]; - topics?: PageLink[]; + relatedTopics?: PageLink[]; }; export type Thematic = Page & { meta: ThematicMeta; }; -export type TopicMeta = PageMeta & { +export type TopicMeta = Omit<PageMeta, 'wordsCount'> & { articles?: ArticlePreview[]; - thematics?: PageLink[]; + relatedThematics?: PageLink[]; website?: string; }; |
