@nuxt/docs-nightly 5.0.0-29556552.eddd0364 → 5.0.0-29556704.78fa3fdd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -139,6 +139,7 @@ type UseFetchOptions<DataT> = {
139
139
  body?: MaybeRefOrGetter<RequestInit['body'] | Record<string, any>>
140
140
  headers?: MaybeRefOrGetter<Record<string, string> | [key: string, value: string][] | Headers>
141
141
  baseURL?: MaybeRefOrGetter<string>
142
+ cache?: false | 'default' | 'force-cache' | 'no-cache' | 'no-store' | 'only-if-cached' | 'reload'
142
143
  server?: boolean
143
144
  lazy?: boolean
144
145
  immediate?: boolean
@@ -192,7 +193,7 @@ type AsyncDataRequestStatus = 'idle' | 'pending' | 'success' | 'error'
192
193
  | `body` | `MaybeRefOrGetter<RequestInit['body'] \| Record<string, any>>` | - | Request body. Objects are automatically stringified. |
193
194
  | `headers` | `MaybeRefOrGetter<Record<string, string> \| [key, value][] \| Headers>` | - | Request headers. |
194
195
  | `baseURL` | `MaybeRefOrGetter<string>` | - | Base URL for the request. |
195
- | `cache` | `boolean \| string` | - | Cache control. Boolean disables cache, or use Fetch API values: `default`, `no-store`, etc. |
196
+ | `cache` | `false \| string` | - | Cache control. Boolean disables cache, or use Fetch API values: `default`, `no-store`, etc. |
196
197
  | `server` | `boolean` | `true` | Whether to fetch on the server. |
197
198
  | `lazy` | `boolean` | `false` | If true, resolves after route loads (does not block navigation). |
198
199
  | `immediate` | `boolean` | `true` | If false, prevents request from firing immediately. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/docs-nightly",
3
- "version": "5.0.0-29556552.eddd0364",
3
+ "version": "5.0.0-29556704.78fa3fdd",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",