Something went wrong. Try again.
csr tangled client in solid-js forked from ptr.pet/untangled
Something went wrong. Try again.
583 B · 6 lines
TypeScript
at main
1234567export const repoQueryKey = (owner: string, repo: string) => ['repo', owner, repo] as const;export const issuesQueryKey = (repoDid: string) => ['issues', repoDid] as const;export const issueQueryKey = (repoDid: string, issueRef: string) => ['issue', repoDid, issueRef] as const;export const pullsQueryKey = (repoDid: string) => ['pulls', repoDid] as const;export const pullQueryKey = (repoDid: string, pullRef: string) => ['pull', repoDid, pullRef] as const;export const pullPatchQueryKey = (pullUri: string, roundIndex: number) => ['pull-patch', pullUri, roundIndex] as const;