diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-11-28 16:18:03 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-28 18:04:24 +0100 |
| commit | f564d181bc428e25a02bf1d98c4449a6b3eb8e9e (patch) | |
| tree | 6057a1e3a419957fb32d1a08160d5d746e54bc04 /src/services/graphql/fetchers/thematics/fetch-thematics-count.ts | |
| parent | 180134883b281883246fc9909b1d494363861144 (diff) | |
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
Diffstat (limited to 'src/services/graphql/fetchers/thematics/fetch-thematics-count.ts')
| -rw-r--r-- | src/services/graphql/fetchers/thematics/fetch-thematics-count.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<GraphQLPageInfo, 'total'>; }>; |
