@nuxt/schema-nightly
Advanced tools
Comparing version 3.8.0-28293920.9dd30462 to 3.8.0-28294029.5652346d
{ | ||
"name": "@nuxt/schema-nightly", | ||
"version": "3.8.0-28293920.9dd30462", | ||
"version": "3.8.0-28294029.5652346d", | ||
"repository": "nuxt/nuxt", | ||
@@ -41,2 +41,3 @@ "description": "Nuxt types and default configuration", | ||
"nitropack": "2.6.3", | ||
"ofetch": "^1.3.3", | ||
"unbuild": "latest", | ||
@@ -43,0 +44,0 @@ "unctx": "2.3.1", |
@@ -12,2 +12,3 @@ import type { ComponentsOptions } from '../src/types/components' | ||
import type { NuxtLinkOptions } from '#app/components/nuxt-link' | ||
import type { FetchOptions } from 'ofetch' | ||
import type { NitroConfig, NitroEventHandler, NitroDevEventHandler } from 'nitropack' | ||
@@ -1190,2 +1191,13 @@ import type { RouterConfigSerializable } from '../src/types/router' | ||
nuxtLink: NuxtLinkOptions, | ||
/** | ||
* Options that apply to `useAsyncData` (and also therefore `useFetch`) | ||
* | ||
*/ | ||
useAsyncData: { | ||
/** @default true */ | ||
deep: boolean, | ||
}, | ||
useFetch: Pick<FetchOptions, 'timeout' | 'retry' | 'retryDelay' | 'retryStatusCodes'>, | ||
}, | ||
@@ -1192,0 +1204,0 @@ }, |
@@ -117,3 +117,7 @@ { | ||
"componentName": "NuxtLink" | ||
} | ||
}, | ||
"useAsyncData": { | ||
"deep": true | ||
}, | ||
"useFetch": {} | ||
} | ||
@@ -120,0 +124,0 @@ }, |
@@ -836,2 +836,14 @@ | ||
### `useAsyncData` | ||
#### `deep` | ||
- **Type**: `boolean` | ||
- **Default**: `true` | ||
### `useFetch` | ||
- **Type**: `Pick<OfetchFetchOptions, 'timeout' | 'retry' | 'retryDelay' | 'retryStatusCodes'>` | ||
- **Default**: `{}` | ||
# `generate` | ||
@@ -838,0 +850,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
469199
10282
22