]> git.r.bdr.sh - rbdr/forum/blame_incremental - src/lib/stores/topics.ts
Adjust formatting of jest
[rbdr/forum] / src / lib / stores / topics.ts
... / ...
CommitLineData
1import { store } from './apollo';
2import { GET_TOPIC } from '$lib/data/queries';
3
4import type { Topic } from '$lib/data/types';
5
6export const getTopic = (id: string) =>
7 store<Topic>({ key: 'topic', query: GET_TOPIC, variables: { id } });