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

-9
View File
@@ -44,15 +44,6 @@ export async function cachedQuery<T>(
return result;
}
/** Invalidate cache keys matching a glob pattern. */
export async function invalidateCache(pattern: string): Promise<number> {
if (!isRedisAvailable()) return 0;
const r = redis;
if (!r) return 0;
const keys = await r.keys(pattern);
return keys.length > 0 ? r.del(...keys) : 0;
}
/** Invalidate a single cache key immediately. */
export async function invalidateKey(key: string): Promise<number> {
if (!isRedisAvailable()) return 0;