Build: stop tracking bundled artifacts (#2455) (thanks @0oAstro)

Co-authored-by: 0oAstro <0oAstro@users.noreply.github.com>
This commit is contained in:
Gustavo Madeira Santana
2026-01-26 22:59:02 -05:00
parent 615ccf6411
commit c2a4863b15
13 changed files with 94 additions and 22 deletions

View File

@@ -27,7 +27,7 @@ export function registerBrowserElementCommands(
.filter(Boolean)
: undefined;
try {
const result = await callBrowserAct({
const result = await callBrowserAct<{ url?: string }>({
parent,
profile,
body: {

View File

@@ -26,7 +26,7 @@ export function registerBrowserFilesAndDownloadsCommands(
const { parent, profile } = resolveBrowserActionContext(cmd, parentOpts);
try {
const timeoutMs = Number.isFinite(opts.timeoutMs) ? opts.timeoutMs : undefined;
const result = await callBrowserRequest(
const result = await callBrowserRequest<{ download: { path: string } }>(
parent,
{
method: "POST",
@@ -68,7 +68,7 @@ export function registerBrowserFilesAndDownloadsCommands(
const { parent, profile } = resolveBrowserActionContext(cmd, parentOpts);
try {
const timeoutMs = Number.isFinite(opts.timeoutMs) ? opts.timeoutMs : undefined;
const result = await callBrowserRequest(
const result = await callBrowserRequest<{ download: { path: string } }>(
parent,
{
method: "POST",
@@ -108,7 +108,7 @@ export function registerBrowserFilesAndDownloadsCommands(
const { parent, profile } = resolveBrowserActionContext(cmd, parentOpts);
try {
const timeoutMs = Number.isFinite(opts.timeoutMs) ? opts.timeoutMs : undefined;
const result = await callBrowserRequest(
const result = await callBrowserRequest<{ download: { path: string } }>(
parent,
{
method: "POST",

View File

@@ -21,7 +21,7 @@ export function registerBrowserFormWaitEvalCommands(
fields: opts.fields,
fieldsFile: opts.fieldsFile,
});
const result = await callBrowserAct({
const result = await callBrowserAct<{ result?: unknown }>({
parent,
profile,
body: {
@@ -66,7 +66,7 @@ export function registerBrowserFormWaitEvalCommands(
? (opts.load as "load" | "domcontentloaded" | "networkidle")
: undefined;
const timeoutMs = Number.isFinite(opts.timeoutMs) ? opts.timeoutMs : undefined;
const result = await callBrowserAct({
const result = await callBrowserAct<{ result?: unknown }>({
parent,
profile,
body: {
@@ -108,7 +108,7 @@ export function registerBrowserFormWaitEvalCommands(
return;
}
try {
const result = await callBrowserAct({
const result = await callBrowserAct<{ result?: unknown }>({
parent,
profile,
body: {