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