diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-13 16:28:06 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-13 16:28:06 +0200 |
| commit | 06ea295857e508a830669cb402d2156204309b1e (patch) | |
| tree | 87db074b639c6bf1cd3b8bbe27858662196dc6b9 /src/services/graphql/thematics.query.ts | |
| parent | dab72bb270ee2ee47a0b472d5e9e240cba7cbf0f (diff) | |
chore: add blog page widgets
Diffstat (limited to 'src/services/graphql/thematics.query.ts')
| -rw-r--r-- | src/services/graphql/thematics.query.ts | 11 |
1 files changed, 11 insertions, 0 deletions
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 + } + } +}`; |
