diff options
author | Wolfgang Müller | 2025-01-19 18:30:28 +0100 |
---|---|---|
committer | Wolfgang Müller | 2025-01-19 23:36:36 +0100 |
commit | 91cfd5d306aedb4bdcc1c4045611bee7d2270462 (patch) | |
tree | 1e88be6e7757169a9cae7651bc7c4d558e7f7604 /frontend/src/gql/Queries.ts | |
parent | 261ceaa057742fc70c52885021221d7a89c28af7 (diff) | |
download | hircine-91cfd5d306aedb4bdcc1c4045611bee7d2270462.tar.gz |
frontend: Add basic statistics page
Diffstat (limited to 'frontend/src/gql/Queries.ts')
-rw-r--r-- | frontend/src/gql/Queries.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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' }) |