]> git.r.bdr.sh - rbdr/forum/blame - src/lib/stores/tags.ts
Start migration to supabase
[rbdr/forum] / src / lib / stores / tags.ts
CommitLineData
a7cf03c1
RBR
1import { store } from './apollo';
2import { GET_TAG } from '$lib/data/queries';
3
be1ce532
RBR
4import type { Tag } from '$lib/data/types';
5
6export const getTag = (id: string) => store<Tag>({ key: 'tag', query: GET_TAG, variables: { id } });