From 82702fbe2d0607e7ca8a02c878b2e79a21664b7c Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 25 Jan 2022 11:45:11 +0100 Subject: chore: display total found posts in page meta --- src/ts/types/app.ts | 1 + src/ts/types/articles.ts | 1 + 2 files changed, 2 insertions(+) (limited to 'src/ts') 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 & { 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; -- cgit v1.2.3