diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-25 15:33:27 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-25 15:38:50 +0100 |
| commit | 97dc68e22e754d8e478beee590dbe9868171af50 (patch) | |
| tree | 01876f9b236b0a4ba696d5b084bd766b69046494 /src/ts/types/app.ts | |
| parent | 71942c86311a9d1ddf4ae486d811f8393786e855 (diff) | |
chore: add reading time in posts meta
Diffstat (limited to 'src/ts/types/app.ts')
| -rw-r--r-- | src/ts/types/app.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ts/types/app.ts b/src/ts/types/app.ts index a58f710..ddd64d1 100644 --- a/src/ts/types/app.ts +++ b/src/ts/types/app.ts @@ -61,6 +61,11 @@ export type ButtonKind = 'primary' | 'secondary' | 'tertiary'; export type ButtonPosition = 'left' | 'right' | 'center'; +export type ContentInfo = { + readingTime: number; + wordsCount: number; +}; + export type ContentParts = { afterMore: string; beforeMore: string; @@ -110,6 +115,7 @@ export type Project = { intro: string; meta: ProjectMeta; slug: string; + tagline?: string; title: string; seo: { title: string; |
