Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: re-generate types based on specifciation updates #114

Merged
merged 1 commit into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions out/gen/main.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,14 @@ export declare namespace Session {
export declare namespace Session {
type Unsubscribe = {
method: 'session.unsubscribe';
params:
| Session.UnsubscribeByAttributesRequest
| Session.UnsubscribeByIdRequest;
params: Session.UnsubscribeParameters;
};
}
export declare namespace Session {
type UnsubscribeParameters =
| Session.UnsubscribeByAttributesRequest
| Session.UnsubscribeByIdRequest;
}
export type BrowserCommand =
| Browser.Close
| Browser.CreateUserContext
Expand Down Expand Up @@ -394,6 +397,7 @@ export type BrowsingContextEvent =
| BrowsingContext.HistoryUpdated
| BrowsingContext.Load
| BrowsingContext.NavigationAborted
| BrowsingContext.NavigationCommitted
| BrowsingContext.NavigationFailed
| BrowsingContext.NavigationStarted
| BrowsingContext.UserPromptClosed
Expand Down Expand Up @@ -863,6 +867,12 @@ export declare namespace BrowsingContext {
params: BrowsingContext.NavigationInfo;
};
}
export declare namespace BrowsingContext {
type NavigationCommitted = {
method: 'browsingContext.navigationCommitted';
params: BrowsingContext.NavigationInfo;
};
}
export declare namespace BrowsingContext {
type NavigationFailed = {
method: 'browsingContext.navigationFailed';
Expand Down Expand Up @@ -2213,8 +2223,8 @@ export declare namespace Input {
export declare namespace Input {
type PointerMoveAction = {
type: 'pointerMove';
x: JsInt;
y: JsInt;
x: number;
y: number;
duration?: JsUint;
origin?: Input.Origin;
} & Input.PointerCommonProperties;
Expand Down
20 changes: 15 additions & 5 deletions src/gen/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,14 @@ export namespace Session {
export namespace Session {
export type Unsubscribe = {
method: 'session.unsubscribe';
params:
| Session.UnsubscribeByAttributesRequest
| Session.UnsubscribeByIdRequest;
params: Session.UnsubscribeParameters;
};
}
export namespace Session {
export type UnsubscribeParameters =
| Session.UnsubscribeByAttributesRequest
| Session.UnsubscribeByIdRequest;
}
export type BrowserCommand =
| Browser.Close
| Browser.CreateUserContext
Expand Down Expand Up @@ -396,6 +399,7 @@ export type BrowsingContextEvent =
| BrowsingContext.HistoryUpdated
| BrowsingContext.Load
| BrowsingContext.NavigationAborted
| BrowsingContext.NavigationCommitted
| BrowsingContext.NavigationFailed
| BrowsingContext.NavigationStarted
| BrowsingContext.UserPromptClosed
Expand Down Expand Up @@ -865,6 +869,12 @@ export namespace BrowsingContext {
params: BrowsingContext.NavigationInfo;
};
}
export namespace BrowsingContext {
export type NavigationCommitted = {
method: 'browsingContext.navigationCommitted';
params: BrowsingContext.NavigationInfo;
};
}
export namespace BrowsingContext {
export type NavigationFailed = {
method: 'browsingContext.navigationFailed';
Expand Down Expand Up @@ -2217,8 +2227,8 @@ export namespace Input {
export namespace Input {
export type PointerMoveAction = {
type: 'pointerMove';
x: JsInt;
y: JsInt;
x: number;
y: number;
duration?: JsUint;
origin?: Input.Origin;
} & Input.PointerCommonProperties;
Expand Down