({
first = MAJOR_HEADLINES_MAX_FIRST,
after,
}: {
first?: number;
after?: string;
} = {})
| 318 | }); |
| 319 | |
| 320 | export const highlightsPageQueryOptions = ({ |
| 321 | first = MAJOR_HEADLINES_MAX_FIRST, |
| 322 | after, |
| 323 | }: { |
| 324 | first?: number; |
| 325 | after?: string; |
| 326 | } = {}) => ({ |
| 327 | queryKey: HIGHLIGHTS_PAGE_QUERY_KEY, |
| 328 | queryFn: () => |
| 329 | gqlClient.request<HighlightsPageData>(HIGHLIGHTS_PAGE_QUERY, { |
| 330 | first, |
| 331 | after, |
| 332 | }), |
| 333 | staleTime: ONE_MINUTE, |
| 334 | }); |
| 335 | |
| 336 | export const channelHighlightsFeedQueryOptions = (channel: string) => ({ |
| 337 | queryKey: getChannelHighlightsFeedQueryKey(channel), |
no outgoing calls
no test coverage detected