From 29a1dec4de0aa7ba64ef068a83b1b8589fbc3ad0 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 28 Nov 2023 17:49:26 +0100 Subject: 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 --- src/services/graphql/fetchers/topics/fetch-topics-count.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/services/graphql/fetchers/topics/fetch-topics-count.ts') diff --git a/src/services/graphql/fetchers/topics/fetch-topics-count.ts b/src/services/graphql/fetchers/topics/fetch-topics-count.ts index 868b01e..0f8bdfc 100644 --- a/src/services/graphql/fetchers/topics/fetch-topics-count.ts +++ b/src/services/graphql/fetchers/topics/fetch-topics-count.ts @@ -5,7 +5,7 @@ import type { } from '../../../../types'; import { fetchGraphQL, getGraphQLUrl } from '../../../../utils/helpers'; -type TopicsCountResponse = { +export type TopicsCountResponse = { topics: Nullable<{ pageInfo: Pick; }>; -- cgit v1.2.3