MCPcopy Create free account
hub / github.com/dailydotdev/apps / lfgPersonQueryOptions

Function lfgPersonQueryOptions

packages/shared/src/features/lfg/queries.ts:154–160  ·  view source on GitHub ↗
(user: QueryUser, userId: string)

Source from the content-addressed store, hash-verified

152
153// What a reach-out carries of the viewer, which the Stand out nudges fill in.
154export const lfgPersonQueryOptions = (user: QueryUser, userId: string) =>
155 queryOptions({
156 queryKey: lfgPersonQueryKey(user, userId),
157 queryFn: () => getLfgPerson(userId),
158 staleTime: StaleTime.Default,
159 enabled: !!user?.id && !!userId,
160 });
161
162export const lfgStreakQueryOptions = (user: QueryUser, userId: string) =>
163 queryOptions({

Callers 1

LfgReachOutModalFunction · 0.90

Calls 2

getLfgPersonFunction · 0.90
lfgPersonQueryKeyFunction · 0.85

Tested by

no test coverage detected