Skip to content

Commit 8a5cec8

Browse files
fix: re-generate types based on spec updates (#298)
1 parent eff9d3f commit 8a5cec8

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

out/gen/main.d.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,6 +1179,31 @@ export declare namespace Emulation {
11791179
export declare namespace Emulation {
11801180
type SetNetworkConditionsResult = EmptyResult;
11811181
}
1182+
export declare namespace Emulation {
1183+
type SetScreenSettingsOverride = {
1184+
method: 'emulation.setScreenSettingsOverride';
1185+
params: Emulation.SetScreenSettingsOverrideParameters;
1186+
};
1187+
}
1188+
export declare namespace Emulation {
1189+
type ScreenArea = {
1190+
width: JsUint;
1191+
height: JsUint;
1192+
};
1193+
}
1194+
export declare namespace Emulation {
1195+
type SetScreenSettingsOverrideParameters = {
1196+
screenArea: Emulation.ScreenArea | null;
1197+
contexts?: [
1198+
BrowsingContext.BrowsingContext,
1199+
...BrowsingContext.BrowsingContext[],
1200+
];
1201+
userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
1202+
};
1203+
}
1204+
export declare namespace Emulation {
1205+
type SetScreenSettingsOverrideResult = EmptyResult;
1206+
}
11821207
export declare namespace Emulation {
11831208
type SetScreenOrientationOverride = {
11841209
method: 'emulation.setScreenOrientationOverride';

src/gen/main.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,6 +1181,31 @@ export namespace Emulation {
11811181
export namespace Emulation {
11821182
export type SetNetworkConditionsResult = EmptyResult;
11831183
}
1184+
export namespace Emulation {
1185+
export type SetScreenSettingsOverride = {
1186+
method: 'emulation.setScreenSettingsOverride';
1187+
params: Emulation.SetScreenSettingsOverrideParameters;
1188+
};
1189+
}
1190+
export namespace Emulation {
1191+
export type ScreenArea = {
1192+
width: JsUint;
1193+
height: JsUint;
1194+
};
1195+
}
1196+
export namespace Emulation {
1197+
export type SetScreenSettingsOverrideParameters = {
1198+
screenArea: Emulation.ScreenArea | null;
1199+
contexts?: [
1200+
BrowsingContext.BrowsingContext,
1201+
...BrowsingContext.BrowsingContext[],
1202+
];
1203+
userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
1204+
};
1205+
}
1206+
export namespace Emulation {
1207+
export type SetScreenSettingsOverrideResult = EmptyResult;
1208+
}
11841209
export namespace Emulation {
11851210
export type SetScreenOrientationOverride = {
11861211
method: 'emulation.setScreenOrientationOverride';

0 commit comments

Comments
 (0)