aboutsummaryrefslogtreecommitdiffstats
path: root/src/services/graphql/fetchers/topics/fetch-all-topics-slugs.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-11-28 17:49:26 +0100
committerArmand Philippot <git@armandphilippot.com>2023-11-28 18:04:24 +0100
commit29a1dec4de0aa7ba64ef068a83b1b8589fbc3ad0 (patch)
tree8db871542e878e9fdf589bccd1be7b5ed1378f72 /src/services/graphql/fetchers/topics/fetch-all-topics-slugs.ts
parentf564d181bc428e25a02bf1d98c4449a6b3eb8e9e (diff)
fix(services,types): make queries and types coherent for Topic
* some nodes was missing in topicQuery * a node was mispelled in topicsListQuery * add tests for all topics fetchers
Diffstat (limited to 'src/services/graphql/fetchers/topics/fetch-all-topics-slugs.ts')
-rw-r--r--src/services/graphql/fetchers/topics/fetch-all-topics-slugs.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/graphql/fetchers/topics/fetch-all-topics-slugs.ts b/src/services/graphql/fetchers/topics/fetch-all-topics-slugs.ts
index 1df0039..8af2757 100644
--- a/src/services/graphql/fetchers/topics/fetch-all-topics-slugs.ts
+++ b/src/services/graphql/fetchers/topics/fetch-all-topics-slugs.ts
@@ -1,7 +1,7 @@
import type { GraphQLNodes, Nullable, SlugNode } from '../../../../types';
import { fetchGraphQL, getGraphQLUrl } from '../../../../utils/helpers';
-type TopicsSlugsResponse = {
+export type TopicsSlugsResponse = {
topics: Nullable<GraphQLNodes<SlugNode>>;
};