summaryrefslogtreecommitdiffstats
path: root/src/services/graphql/thematics.query.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/graphql/thematics.query.ts')
-rw-r--r--src/services/graphql/thematics.query.ts11
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
+ }
+ }
+}`;