update docs

This commit is contained in:
Simon Knott 2025-02-03 12:55:25 +01:00
parent 015ceb0fbc
commit 512da41375
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC
2 changed files with 15 additions and 9 deletions

View file

@ -259,13 +259,13 @@ Specify environment variables that will be visible to the browser. Defaults to `
- `httpOnly` <[boolean]>
- `secure` <[boolean]>
- `sameSite` <[SameSiteAttribute]<"Strict"|"Lax"|"None">> sameSite flag
- `origins` <[Array]<[Object]>> localStorage to set for context
- `origins` <[Array]<[Object]>>
- `origin` <[string]>
- `localStorage` <[Array]<[Object]>>
- `localStorage` <[Array]<[Object]>> localStorage to set for context
- `name` <[string]>
- `value` <[string]>
- `indexedDB` ?<[Array]<[Object]>>
- `name` <[string]>
- `name` <[string]> TODO: document more
Learn more about [storage state and auth](../auth.md).

View file

@ -10049,12 +10049,12 @@ export interface Browser {
sameSite: "Strict"|"Lax"|"None";
}>;
/**
* localStorage to set for context
*/
origins: Array<{
origin: string;
/**
* localStorage to set for context
*/
localStorage: Array<{
name: string;
@ -10062,6 +10062,9 @@ export interface Browser {
}>;
indexedDB?: Array<{
/**
* TODO: document more
*/
name: string;
}>;
}>;
@ -22220,12 +22223,12 @@ export interface BrowserContextOptions {
sameSite: "Strict"|"Lax"|"None";
}>;
/**
* localStorage to set for context
*/
origins: Array<{
origin: string;
/**
* localStorage to set for context
*/
localStorage: Array<{
name: string;
@ -22233,6 +22236,9 @@ export interface BrowserContextOptions {
}>;
indexedDB?: Array<{
/**
* TODO: document more
*/
name: string;
}>;
}>;