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

Function myLfgPostQueryOptions

packages/shared/src/features/lfg/queries.ts:90–99  ·  view source on GitHub ↗
(
  user: QueryUser,
  { enabled = true }: { enabled?: boolean } = {},
)

Source from the content-addressed store, hash-verified

88 });
89
90export const myLfgPostQueryOptions = (
91 user: QueryUser,
92 { enabled = true }: { enabled?: boolean } = {},
93) =>
94 queryOptions<LfgPost | null>({
95 queryKey: myLfgPostQueryKey(user),
96 queryFn: getMyLfgPost,
97 staleTime: StaleTime.Default,
98 enabled: !!user?.id && enabled,
99 });
100
101export const lfgWaitingCountQueryOptions = (
102 user: QueryUser,

Callers 6

LfgSectionFunction · 0.90
LfgRailPromoFunction · 0.90
LfgComposerFunction · 0.90
LfgBoardFunction · 0.90
LfgMessagesPromoFunction · 0.90
LfgMessagesTabFunction · 0.90

Calls 1

myLfgPostQueryKeyFunction · 0.85

Tested by

no test coverage detected