From f564d181bc428e25a02bf1d98c4449a6b3eb8e9e Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 28 Nov 2023 16:18:03 +0100 Subject: fix(services,types): make coherent Thematic type and query * some nodes was queried but missing in the Thematic type and vice versa, it is now fixed * add tests for all thematics fetchers --- src/services/graphql/fetchers/thematics/fetch-thematics-count.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/services/graphql/fetchers/thematics/fetch-thematics-count.ts') diff --git a/src/services/graphql/fetchers/thematics/fetch-thematics-count.ts b/src/services/graphql/fetchers/thematics/fetch-thematics-count.ts index 29a3b17..d961b02 100644 --- a/src/services/graphql/fetchers/thematics/fetch-thematics-count.ts +++ b/src/services/graphql/fetchers/thematics/fetch-thematics-count.ts @@ -5,7 +5,7 @@ import type { } from '../../../../types'; import { fetchGraphQL, getGraphQLUrl } from '../../../../utils/helpers'; -type ThematicsCountResponse = { +export type ThematicsCountResponse = { thematics: Nullable<{ pageInfo: Pick; }>; -- cgit v1.2.3