Skip to content
0

katanakit-js / InfiniteData

Interface: InfiniteData<TData, TPageParam> ​

Defined in: node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:1868

The data shape of an infinite query: every page fetched so far, plus the page param each one was fetched with. pages and pageParams are index-aligned — pageParams[i] is the param that produced pages[i].

Type Parameters ​

Type ParameterDefault type
TData-
TPageParamunknown

Properties ​

PropertyTypeDefined in
pageParamsTPageParam[]node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:1870
pagesTData[]node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:1869

Released under the MIT License.