Interface: TRPCQueryOptions<TData, TError>
Extends
DistributiveOmit
<QueryOptions
<TData
,TError
,TData
,any
>,"queryKey"
>.TRPCUseQueryBaseOptions
Type Parameters
Type Parameter |
---|
TData |
TError |
Properties
_defaulted?
optional
_defaulted:boolean
Inherited from
DistributiveOmit._defaulted
Defined in
node_modules/.pnpm/@tanstack+query-core@5.54.1/node_modules/@tanstack/query-core/build/legacy/hydration-DhBHwtrO.d.ts:590
behavior?
optional
behavior:QueryBehavior
<TData
,TError
,TData
,any
>
Inherited from
DistributiveOmit.behavior
Defined in
node_modules/.pnpm/@tanstack+query-core@5.54.1/node_modules/@tanstack/query-core/build/legacy/hydration-DhBHwtrO.d.ts:583
gcTime?
optional
gcTime:number
The time in milliseconds that unused/inactive cache data remains in memory.
When a query's cache becomes unused or inactive, that cache data will be garbage collected after this duration.
When different garbage collection times are specified, the longest one will be used.
Setting it to Infinity
will disable garbage collection.
Inherited from
DistributiveOmit.gcTime
Defined in
node_modules/.pnpm/@tanstack+query-core@5.54.1/node_modules/@tanstack/query-core/build/legacy/hydration-DhBHwtrO.d.ts:575
initialData?
optional
initialData:TData
|InitialDataFunction
<TData
>
Inherited from
DistributiveOmit.initialData
Defined in
node_modules/.pnpm/@tanstack+query-core@5.54.1/node_modules/@tanstack/query-core/build/legacy/hydration-DhBHwtrO.d.ts:581
initialDataUpdatedAt?
optional
initialDataUpdatedAt:number
| () =>undefined
|number
Inherited from
DistributiveOmit.initialDataUpdatedAt
Defined in
node_modules/.pnpm/@tanstack+query-core@5.54.1/node_modules/@tanstack/query-core/build/legacy/hydration-DhBHwtrO.d.ts:582
maxPages?
optional
maxPages:number
Maximum number of pages to store in the data of an infinite query.
Inherited from
DistributiveOmit.maxPages
Defined in
node_modules/.pnpm/@tanstack+query-core@5.54.1/node_modules/@tanstack/query-core/build/legacy/hydration-DhBHwtrO.d.ts:599
meta?
optional
meta:Record
<string
,unknown
>
Additional payload to be stored on each query. Use this property to pass information that can be used in other places.