mirror of
https://github.com/TanStack/query.git
synced 2026-11-16 22:50:20 +00:00
* chore(*): update '@tanstack/typedoc-config' to v0.3.4 and load its custom settings plugin by package export * docs(framework/*/reference): regenerate reference docs with '@tanstack/typedoc-config' v0.3.4 * docs(framework/*/reference): regenerate reference docs * docs(framework/*/reference): regenerate reference docs
645 B
645 B
| id | title |
|---|---|
| SetDataOptions | SetDataOptions |
Defined in: packages/query-core/src/types.ts:2407
Options for writing data into the cache, e.g. via queryClient.setQueryData().
updatedAt overrides the timestamp the data is recorded with, which is what staleness is measured from;
omit it to use the current time.
Properties
| Property | Type | Description |
|---|---|---|
updatedAt? |
number |
The timestamp to record the data with, instead of the current time. Staleness is measured from it. |