katanakit-js / HydrateOptions
Interface: HydrateOptions
Defined in: node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:2837
Options for hydrate, controlling the default options applied to queries/mutations restored from a DehydratedState, and how to reverse any transformation applied by DehydrateOptions.serializeData.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
defaultOptions? | { deserializeData?: TransformerFn; mutations?: MutationOptions<unknown, Error, unknown, unknown>; queries?: QueryOptions<unknown, Error, unknown, readonly unknown[], never>; } | Options applied to the queries and mutations restored from the dehydrated state. | node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:2839 |
defaultOptions.deserializeData? | TransformerFn | Transforms a query's data after it is read from the dehydrated state, reversing serializeData. | node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:2841 |
defaultOptions.mutations? | MutationOptions<unknown, Error, unknown, unknown> | Default options merged into every mutation restored from the dehydrated state. | node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:2845 |
defaultOptions.queries? | QueryOptions<unknown, Error, unknown, readonly unknown[], never> | Default options merged into every query restored from the dehydrated state. | node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:2843 |