diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-06 17:55:24 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-06 18:14:42 +0100 |
| commit | b9c1953c79688fc3f536b7927692309c9780b5da (patch) | |
| tree | 673a26c0b0a9cc587f89d1eea9af739c3f17daf2 /src/ts | |
| parent | 544f8cd400f888464a18ee30836f63d4b93a0822 (diff) | |
refactor: reuse PostMeta components on single articles/pages
Diffstat (limited to 'src/ts')
| -rw-r--r-- | src/ts/types/articles.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ts/types/articles.ts b/src/ts/types/articles.ts index dc5bbe4..44c1d79 100644 --- a/src/ts/types/articles.ts +++ b/src/ts/types/articles.ts @@ -24,6 +24,14 @@ export type ACFPosts = { postsInThematic: ThematicPreview[] | null; }; +export type ArticleMeta = { + author?: ArticleAuthor; + commentCount?: number; + dates?: Dates; + thematics?: ThematicPreview[]; + website?: string; +}; + export type Article = { author: ArticleAuthor; commentCount: number | null; |
