MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / useGetProjectQuery

Function useGetProjectQuery

webapp/_webapp/src/query/index.ts:42–48  ·  view source on GitHub ↗
(projectId: string, opts?: UseQueryOptionsOverride<GetProjectResponse>)

Source from the content-addressed store, hash-verified

40import { useAuthStore } from "../stores/auth-store";
41
42export const useGetProjectQuery = (projectId: string, opts?: UseQueryOptionsOverride<GetProjectResponse>) => {
43 return useQuery({
44 queryKey: queryKeys.projects.getProject(projectId).queryKey,
45 queryFn: () => getProject({ projectId }),
46 ...opts,
47 });
48};
49
50export const useListSupportedModelsQuery = (opts?: UseQueryOptionsOverride<ListSupportedModelsResponse>) => {
51 return useQuery({

Callers

nothing calls this directly

Calls 1

getProjectFunction · 0.90

Tested by

no test coverage detected