]> git.r.bdr.sh - rbdr/forum/blame - src/lib/stores/topics.ts
Add type definitions
[rbdr/forum] / src / lib / stores / topics.ts
CommitLineData
a7cf03c1
RBR
1import { store } from './apollo';
2import { GET_TOPIC } from '$lib/data/queries';
3
cac85db0
RBR
4export const getTopic = (id: string) =>
5 store({ key: 'topic', query: GET_TOPIC, variables: { id } });