Skip to content

Commit

Permalink
fix: re-generate types based on specifciation updates (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
browser-automation-bot authored Dec 8, 2024
1 parent 94e7bd2 commit ac66a29
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions out/gen/main.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ export type CommandData =
| ScriptCommand
| SessionCommand
| StorageCommand
| WebExtensionsCommand;
| WebExtensionCommand;
export type ResultData =
| BrowsingContextResult
| EmptyResult
| NetworkResult
| ScriptResult
| SessionResult
| StorageResult
| WebExtensionsResult;
| WebExtensionResult;
export type EmptyParams = Extensible;
export type Message = CommandResponse | ErrorResponse | Event;
export type ErrorResponse = {
Expand Down Expand Up @@ -2260,10 +2260,8 @@ export declare namespace Input {
files: [...string[]];
};
}
export type WebExtensionsCommand =
| WebExtension.Install
| WebExtension.Uninstall;
export type WebExtensionsResult = WebExtension.InstallResult;
export type WebExtensionCommand = WebExtension.Install | WebExtension.Uninstall;
export type WebExtensionResult = WebExtension.InstallResult;
export declare namespace WebExtension {
type Extension = string;
}
Expand Down
10 changes: 4 additions & 6 deletions src/gen/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ export type CommandData =
| ScriptCommand
| SessionCommand
| StorageCommand
| WebExtensionsCommand;
| WebExtensionCommand;
export type ResultData =
| BrowsingContextResult
| EmptyResult
| NetworkResult
| ScriptResult
| SessionResult
| StorageResult
| WebExtensionsResult;
| WebExtensionResult;
export type EmptyParams = Extensible;
export type Message = CommandResponse | ErrorResponse | Event;
export type ErrorResponse = {
Expand Down Expand Up @@ -2264,10 +2264,8 @@ export namespace Input {
files: [...string[]];
};
}
export type WebExtensionsCommand =
| WebExtension.Install
| WebExtension.Uninstall;
export type WebExtensionsResult = WebExtension.InstallResult;
export type WebExtensionCommand = WebExtension.Install | WebExtension.Uninstall;
export type WebExtensionResult = WebExtension.InstallResult;
export namespace WebExtension {
export type Extension = string;
}
Expand Down

0 comments on commit ac66a29

Please sign in to comment.