]> git.r.bdr.sh - rbdr/forum/blob - src/lib/stores/posts.ts
0d3dec305c9356cae33cba2a802cb8030ac0dbb3
[rbdr/forum] / src / lib / stores / posts.ts
1 import { store } from './apollo';
2 import { GET_POST } from '$lib/data/queries';
3
4 export const getPost = (id: string) => store({ key: 'post', query: GET_POST, variables: { id } });