diff --git a/frontend/src/api/hooks.ts b/frontend/src/api/hooks.ts
index 8cd3c5f..bf0c098 100644
--- a/frontend/src/api/hooks.ts
+++ b/frontend/src/api/hooks.ts
@@ -67,7 +67,7 @@ export interface AuditLogEntry {
}
export interface SearchResult {
- type: 'company' | 'contact';
+ type: 'company' | 'contact' | 'mail' | 'file' | 'event';
id: string;
name: string;
description?: string;
diff --git a/frontend/src/api/mail.ts b/frontend/src/api/mail.ts
index 0360f8c..ae20c17 100644
--- a/frontend/src/api/mail.ts
+++ b/frontend/src/api/mail.ts
@@ -417,7 +417,7 @@ export function decodeMimeHeader(value: string | undefined | null): string {
return decodeURIComponent(escape(decoded));
} else {
// Q encoding: replace _ with space, then decode =XX hex sequences
- const qDecoded = encoded.replace(/_/g, ' ').replace(/=([0-9A-F]{2})/gi, (_m, hex) => {
+ const qDecoded = encoded.replace(/_/g, ' ').replace(/=([0-9A-F]{2})/gi, (_m: string, hex: string) => {
return String.fromCharCode(parseInt(hex, 16));
});
return decodeURIComponent(escape(qDecoded));
diff --git a/frontend/src/components/ai/SessionList.tsx b/frontend/src/components/ai/SessionList.tsx
index 05246d8..791b56c 100644
--- a/frontend/src/components/ai/SessionList.tsx
+++ b/frontend/src/components/ai/SessionList.tsx
@@ -95,7 +95,7 @@ function TreeItem({
{node.folder!.name}
-