({
first = MAJOR_HEADLINES_MAX_FIRST,
after,
}: {
first?: number;
after?: string;
} = {})
| 294 | }); |
| 295 | |
| 296 | export const highlightsPageQueryOptions = ({ |
| 297 | first = MAJOR_HEADLINES_MAX_FIRST, |
| 298 | after, |
| 299 | }: { |
| 300 | first?: number; |
| 301 | after?: string; |
| 302 | } = {}) => ({ |
| 303 | queryKey: HIGHLIGHTS_PAGE_QUERY_KEY, |
| 304 | queryFn: () => |
| 305 | gqlClient.request<HighlightsPageData>(HIGHLIGHTS_PAGE_QUERY, { |
| 306 | first, |
| 307 | after, |
| 308 | }), |
| 309 | staleTime: ONE_MINUTE, |
| 310 | }); |
| 311 | |
| 312 | export const channelHighlightsFeedQueryOptions = (channel: string) => ({ |
| 313 | queryKey: getChannelHighlightsFeedQueryKey(channel), |
no outgoing calls
no test coverage detected