diff options
Diffstat (limited to 'src/ts')
| -rw-r--r-- | src/ts/types/blog.ts | 6 | ||||
| -rw-r--r-- | src/ts/types/taxonomies.ts | 2 | 
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ts/types/blog.ts b/src/ts/types/blog.ts index 7325ddf..8b48264 100644 --- a/src/ts/types/blog.ts +++ b/src/ts/types/blog.ts @@ -1,5 +1,6 @@  import { PageInfo, Slug } from './app';  import { ArticlePreview, RawArticlePreview } from './articles'; +import { ThematicPreview, TopicPreview } from './taxonomies';  export type PostsList = {    posts: ArticlePreview[]; @@ -25,5 +26,8 @@ export type AllPostsSlug = {  };  export type BlogPageProps = { -  fallback: PostsList; +  allThematics: ThematicPreview[]; +  allTopics: TopicPreview[]; +  firstPosts: PostsList; +  totalPosts: number;  }; diff --git a/src/ts/types/taxonomies.ts b/src/ts/types/taxonomies.ts index a62bef4..8a0fcc7 100644 --- a/src/ts/types/taxonomies.ts +++ b/src/ts/types/taxonomies.ts @@ -71,6 +71,7 @@ export type AllTopicsSlug = {  };  export type TopicProps = { +  allTopics: TopicPreview[];    topic: Topic;  }; @@ -108,5 +109,6 @@ export type AllThematicsSlug = {  };  export type ThematicProps = { +  allThematics: ThematicPreview[];    thematic: Thematic;  };  | 
