feat: add generated files from build

This commit is contained in:
JacksonLei123 2025-02-06 00:43:36 -05:00
parent 3756a24a5b
commit 30d9e05c15
3 changed files with 45 additions and 0 deletions

View file

@ -339,6 +339,7 @@ scheme.PlaywrightNewRequestParams = tObject({
userAgent: tOptional(tString), userAgent: tOptional(tString),
ignoreHTTPSErrors: tOptional(tBoolean), ignoreHTTPSErrors: tOptional(tBoolean),
extraHTTPHeaders: tOptional(tArray(tType('NameValue'))), extraHTTPHeaders: tOptional(tArray(tType('NameValue'))),
fetchFailOnStatusCode: tOptional(tBoolean),
clientCertificates: tOptional(tArray(tObject({ clientCertificates: tOptional(tArray(tObject({
origin: tString, origin: tString,
cert: tOptional(tBinary), cert: tOptional(tBinary),
@ -568,6 +569,7 @@ scheme.BrowserTypeLaunchPersistentContextParams = tObject({
})), })),
permissions: tOptional(tArray(tString)), permissions: tOptional(tArray(tString)),
extraHTTPHeaders: tOptional(tArray(tType('NameValue'))), extraHTTPHeaders: tOptional(tArray(tType('NameValue'))),
fetchFailOnStatusCode: tOptional(tBoolean),
offline: tOptional(tBoolean), offline: tOptional(tBoolean),
httpCredentials: tOptional(tObject({ httpCredentials: tOptional(tObject({
username: tString, username: tString,
@ -654,6 +656,7 @@ scheme.BrowserNewContextParams = tObject({
})), })),
permissions: tOptional(tArray(tString)), permissions: tOptional(tArray(tString)),
extraHTTPHeaders: tOptional(tArray(tType('NameValue'))), extraHTTPHeaders: tOptional(tArray(tType('NameValue'))),
fetchFailOnStatusCode: tOptional(tBoolean),
offline: tOptional(tBoolean), offline: tOptional(tBoolean),
httpCredentials: tOptional(tObject({ httpCredentials: tOptional(tObject({
username: tString, username: tString,
@ -723,6 +726,7 @@ scheme.BrowserNewContextForReuseParams = tObject({
})), })),
permissions: tOptional(tArray(tString)), permissions: tOptional(tArray(tString)),
extraHTTPHeaders: tOptional(tArray(tType('NameValue'))), extraHTTPHeaders: tOptional(tArray(tType('NameValue'))),
fetchFailOnStatusCode: tOptional(tBoolean),
offline: tOptional(tBoolean), offline: tOptional(tBoolean),
httpCredentials: tOptional(tObject({ httpCredentials: tOptional(tObject({
username: tString, username: tString,
@ -2620,6 +2624,7 @@ scheme.AndroidDeviceLaunchBrowserParams = tObject({
})), })),
permissions: tOptional(tArray(tString)), permissions: tOptional(tArray(tString)),
extraHTTPHeaders: tOptional(tArray(tType('NameValue'))), extraHTTPHeaders: tOptional(tArray(tType('NameValue'))),
fetchFailOnStatusCode: tOptional(tBoolean),
offline: tOptional(tBoolean), offline: tOptional(tBoolean),
httpCredentials: tOptional(tObject({ httpCredentials: tOptional(tObject({
username: tString, username: tString,

View file

@ -9781,6 +9781,12 @@ export interface Browser {
*/ */
extraHTTPHeaders?: { [key: string]: string; }; extraHTTPHeaders?: { [key: string]: string; };
/**
* An object containing an option to throw an error when API request returns status codes other than 2xx and 3xx. By
* default, response object is returned for all status codes.
*/
fetchFailOnStatusCode?: boolean;
/** /**
* Emulates `'forced-colors'` media feature, supported values are `'active'`, `'none'`. See * Emulates `'forced-colors'` media feature, supported values are `'active'`, `'none'`. See
* [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details. * [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details.
@ -14834,6 +14840,12 @@ export interface BrowserType<Unused = {}> {
*/ */
extraHTTPHeaders?: { [key: string]: string; }; extraHTTPHeaders?: { [key: string]: string; };
/**
* An object containing an option to throw an error when API request returns status codes other than 2xx and 3xx. By
* default, response object is returned for all status codes.
*/
fetchFailOnStatusCode?: boolean;
/** /**
* Firefox user preferences. Learn more about the Firefox user preferences at * Firefox user preferences. Learn more about the Firefox user preferences at
* [`about:config`](https://support.mozilla.org/en-US/kb/about-config-editor-firefox). * [`about:config`](https://support.mozilla.org/en-US/kb/about-config-editor-firefox).
@ -16618,6 +16630,12 @@ export interface AndroidDevice {
*/ */
extraHTTPHeaders?: { [key: string]: string; }; extraHTTPHeaders?: { [key: string]: string; };
/**
* An object containing an option to throw an error when API request returns status codes other than 2xx and 3xx. By
* default, response object is returned for all status codes.
*/
fetchFailOnStatusCode?: boolean;
/** /**
* Emulates `'forced-colors'` media feature, supported values are `'active'`, `'none'`. See * Emulates `'forced-colors'` media feature, supported values are `'active'`, `'none'`. See
* [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details. * [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details.
@ -17482,6 +17500,12 @@ export interface APIRequest {
*/ */
extraHTTPHeaders?: { [key: string]: string; }; extraHTTPHeaders?: { [key: string]: string; };
/**
* An object containing an option to throw an error when API request returns status codes other than 2xx and 3xx. By
* default, response object is returned for all status codes.
*/
fetchFailOnStatusCode?: boolean;
/** /**
* Credentials for [HTTP authentication](https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication). If no * Credentials for [HTTP authentication](https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication). If no
* origin is specified, the username and password are sent to any servers upon unauthorized responses. * origin is specified, the username and password are sent to any servers upon unauthorized responses.
@ -21975,6 +21999,12 @@ export interface BrowserContextOptions {
*/ */
extraHTTPHeaders?: { [key: string]: string; }; extraHTTPHeaders?: { [key: string]: string; };
/**
* An object containing an option to throw an error when API request returns status codes other than 2xx and 3xx. By
* default, response object is returned for all status codes.
*/
fetchFailOnStatusCode?: boolean;
/** /**
* Emulates `'forced-colors'` media feature, supported values are `'active'`, `'none'`. See * Emulates `'forced-colors'` media feature, supported values are `'active'`, `'none'`. See
* [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details. * [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details.

View file

@ -588,6 +588,7 @@ export type PlaywrightNewRequestParams = {
userAgent?: string, userAgent?: string,
ignoreHTTPSErrors?: boolean, ignoreHTTPSErrors?: boolean,
extraHTTPHeaders?: NameValue[], extraHTTPHeaders?: NameValue[],
fetchFailOnStatusCode?: boolean,
clientCertificates?: { clientCertificates?: {
origin: string, origin: string,
cert?: Binary, cert?: Binary,
@ -619,6 +620,7 @@ export type PlaywrightNewRequestOptions = {
userAgent?: string, userAgent?: string,
ignoreHTTPSErrors?: boolean, ignoreHTTPSErrors?: boolean,
extraHTTPHeaders?: NameValue[], extraHTTPHeaders?: NameValue[],
fetchFailOnStatusCode?: boolean,
clientCertificates?: { clientCertificates?: {
origin: string, origin: string,
cert?: Binary, cert?: Binary,
@ -992,6 +994,7 @@ export type BrowserTypeLaunchPersistentContextParams = {
}, },
permissions?: string[], permissions?: string[],
extraHTTPHeaders?: NameValue[], extraHTTPHeaders?: NameValue[],
fetchFailOnStatusCode?: boolean,
offline?: boolean, offline?: boolean,
httpCredentials?: { httpCredentials?: {
username: string, username: string,
@ -1072,6 +1075,7 @@ export type BrowserTypeLaunchPersistentContextOptions = {
}, },
permissions?: string[], permissions?: string[],
extraHTTPHeaders?: NameValue[], extraHTTPHeaders?: NameValue[],
fetchFailOnStatusCode?: boolean,
offline?: boolean, offline?: boolean,
httpCredentials?: { httpCredentials?: {
username: string, username: string,
@ -1187,6 +1191,7 @@ export type BrowserNewContextParams = {
}, },
permissions?: string[], permissions?: string[],
extraHTTPHeaders?: NameValue[], extraHTTPHeaders?: NameValue[],
fetchFailOnStatusCode?: boolean,
offline?: boolean, offline?: boolean,
httpCredentials?: { httpCredentials?: {
username: string, username: string,
@ -1253,6 +1258,7 @@ export type BrowserNewContextOptions = {
}, },
permissions?: string[], permissions?: string[],
extraHTTPHeaders?: NameValue[], extraHTTPHeaders?: NameValue[],
fetchFailOnStatusCode?: boolean,
offline?: boolean, offline?: boolean,
httpCredentials?: { httpCredentials?: {
username: string, username: string,
@ -1322,6 +1328,7 @@ export type BrowserNewContextForReuseParams = {
}, },
permissions?: string[], permissions?: string[],
extraHTTPHeaders?: NameValue[], extraHTTPHeaders?: NameValue[],
fetchFailOnStatusCode?: boolean,
offline?: boolean, offline?: boolean,
httpCredentials?: { httpCredentials?: {
username: string, username: string,
@ -1388,6 +1395,7 @@ export type BrowserNewContextForReuseOptions = {
}, },
permissions?: string[], permissions?: string[],
extraHTTPHeaders?: NameValue[], extraHTTPHeaders?: NameValue[],
fetchFailOnStatusCode?: boolean,
offline?: boolean, offline?: boolean,
httpCredentials?: { httpCredentials?: {
username: string, username: string,
@ -4737,6 +4745,7 @@ export type AndroidDeviceLaunchBrowserParams = {
}, },
permissions?: string[], permissions?: string[],
extraHTTPHeaders?: NameValue[], extraHTTPHeaders?: NameValue[],
fetchFailOnStatusCode?: boolean,
offline?: boolean, offline?: boolean,
httpCredentials?: { httpCredentials?: {
username: string, username: string,
@ -4801,6 +4810,7 @@ export type AndroidDeviceLaunchBrowserOptions = {
}, },
permissions?: string[], permissions?: string[],
extraHTTPHeaders?: NameValue[], extraHTTPHeaders?: NameValue[],
fetchFailOnStatusCode?: boolean,
offline?: boolean, offline?: boolean,
httpCredentials?: { httpCredentials?: {
username: string, username: string,