refactor: improve ActionMethod type safety and eliminate type conversions

This commit is contained in:
lilong.129
2025-05-27 11:49:30 +08:00
parent 466fe39cb9
commit 7fb966b7ba
36 changed files with 1087 additions and 963 deletions

View File

@@ -33,15 +33,6 @@ type UploadRequest struct {
FileFormat string `json:"file_format"`
}
type HoverRequest struct {
X float64 `json:"x"`
Y float64 `json:"y"`
}
type ScrollRequest struct {
Delta int `json:"delta"`
}
type CreateBrowserRequest struct {
Timeout int `json:"timeout"`
Width int `json:"width"`