refactor: remove additional dead exports and unused actions
CI / check (push) Successful in 26s
CI / release (push) Skipped
CI / deploy (push) Successful in 59s

Remove buildFontUrl, measureText, uncached, invalidateCache, fetchJsonWithFlareSolver, upsertPermission, deletePermission, bulkImportPermissions, clearAllPermissions, bulkDeletePermissions, bulkDeletePhotos, userReplyTicket, closeTicketByUser. Update staff-smoke-contract test for bulkDeletePhotos removal.
This commit is contained in:
openhands committed 2026-08-07 19:19:05 +02:00
1 parent 24bf8eabb9
commit 6a67fb6e83
10 files changed
+3 -187

No files matched your search

-12
View File
@@ -39,15 +39,3 @@ export async function fetchWithFlareSolver(
return data.solution.response;
}
export async function fetchJsonWithFlareSolver<T = unknown>(
url: string,
timeout = 30000,
): Promise<T> {
const body = await fetchWithFlareSolver(url, timeout);
try {
return JSON.parse(body) as T;
} catch {
throw new Error(`flare-solver: could not parse JSON from ${url}`);
}
}