From 06ea295857e508a830669cb402d2156204309b1e Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 13 May 2022 16:28:06 +0200 Subject: chore: add blog page widgets --- src/services/graphql/thematics.query.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/services/graphql/thematics.query.ts') diff --git a/src/services/graphql/thematics.query.ts b/src/services/graphql/thematics.query.ts index 76949ad..db8e751 100644 --- a/src/services/graphql/thematics.query.ts +++ b/src/services/graphql/thematics.query.ts @@ -114,3 +114,14 @@ export const thematicsSlugQuery = `query ThematicsSlug($first: Int = 10, $after: } } }`; + +/** + * Query the total number of thematics. + */ +export const totalThematicsQuery = `query ThematicsTotal { + thematics { + pageInfo { + total + } + } +}`; -- cgit v1.2.3