From 91cfd5d306aedb4bdcc1c4045611bee7d2270462 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sun, 19 Jan 2025 18:30:28 +0100 Subject: frontend: Add basic statistics page --- frontend/src/gql/Queries.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'frontend/src/gql/Queries.ts') diff --git a/frontend/src/gql/Queries.ts b/frontend/src/gql/Queries.ts index cc9dd4c..28bbf63 100644 --- a/frontend/src/gql/Queries.ts +++ b/frontend/src/gql/Queries.ts @@ -200,6 +200,10 @@ export function frontpageQuery(client: Client) { }); } +export function statisticsQuery(client: Client) { + return queryStore({ client: client, query: gql.StatisticsDocument }); +} + export function fetchArtist(client: Client, id: number) { return client .query(gql.ArtistDocument, { id }, { requestPolicy: 'cache-and-network' }) -- cgit v1.2.3-2-gb3c3