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

Function dailyHeadlinesQueryOptions

packages/shared/src/graphql/highlights.ts:288–296  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

286`;
287
288export const dailyHeadlinesQueryOptions = () => ({
289 queryKey: DAILY_HEADLINES_QUERY_KEY,
290 queryFn: async () => {
291 return gqlClient.request<DailyHeadlinesData>(DAILY_HEADLINES_QUERY, {
292 first: MAJOR_HEADLINES_MAX_FIRST,
293 });
294 },
295 staleTime: ONE_MINUTE,
296});
297
298export const MARK_DAILY_SEEN_MUTATION = gql`
299 mutation MarkDailySeen {

Callers 1

CoverTopicsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected