#
Interface: UsePaginatedQuery<GeneratedSchema>#
Type parametersName | Type |
---|---|
GeneratedSchema | object |
GeneratedSchema.mutation | object |
GeneratedSchema.query | object |
GeneratedSchema.subscription | object |
#
Callableâ–¸ UsePaginatedQuery<TData, TArgs>(fn
: (query
: GeneratedSchema[query], args
: TArgs, helpers
: CoreHelpers) => TData, options
: UsePaginatedQueryOptions<TData, TArgs>): UsePaginatedQueryData<TData, TArgs>
#
Type parameters:Name | Type |
---|---|
TData | - |
TArgs | null | string | number | Record<string, any> |
#
Parameters:Name | Type |
---|---|
fn | (query : GeneratedSchema[query], args : TArgs, helpers : CoreHelpers) => TData |
options | UsePaginatedQueryOptions<TData, TArgs> |
Returns: UsePaginatedQueryData<TData, TArgs>
Defined in: react/src/query/usePaginatedQuery.ts:176