diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-25 11:45:11 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-25 11:45:11 +0100 |
| commit | 82702fbe2d0607e7ca8a02c878b2e79a21664b7c (patch) | |
| tree | 2388abb10f8ec41ea4a20058f122cb0e7bcae9ef /src/ts | |
| parent | 958569e09071e4bb290f0ec120b4309ae5983d2d (diff) | |
chore: display total found posts in page meta
Diffstat (limited to 'src/ts')
| -rw-r--r-- | src/ts/types/app.ts | 1 | ||||
| -rw-r--r-- | src/ts/types/articles.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ts/types/app.ts b/src/ts/types/app.ts index 60dd4b8..a58f710 100644 --- a/src/ts/types/app.ts +++ b/src/ts/types/app.ts @@ -101,6 +101,7 @@ export type ProjectMeta = Omit<Meta, 'title'> & { export type PageInfo = { endCursor: string; hasNextPage: boolean; + total: number; }; export type Project = { diff --git a/src/ts/types/articles.ts b/src/ts/types/articles.ts index da86e10..88b79dd 100644 --- a/src/ts/types/articles.ts +++ b/src/ts/types/articles.ts @@ -24,6 +24,7 @@ export type ArticleMeta = { author?: ArticleAuthor; commentCount?: number; dates?: Dates; + results?: number; topics?: TopicPreview[]; thematics?: ThematicPreview[]; website?: string; |
