fix: add default_qry_str to db_events Event interface, remove incorrect global augment

The field exists on the DB object but was missing from the TypeScript interface,
causing a false error in recovery_meetings search. Added it to db_events.ts where
it belongs. Removed the incorrect global DOM Event augment from the temp augments
file (was patching the wrong interface).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott Idem
2026-04-02 16:04:49 -04:00
parent 4a1b0dac86
commit fface58751
2 changed files with 1 additions and 8 deletions

View File

@@ -39,6 +39,7 @@ export interface Event {
attend_text?: null | string;
status?: null | string; // draft, active, inactive, archived, unknown; currently only used with IDAA
default_qry_str?: null | string; // full-text search composite field (built server-side)
// review?: null|boolean;
// approve?: null|boolean;
// ready?: null|boolean;

View File

@@ -54,12 +54,4 @@ declare module 'lucide-svelte' {
export default _default;
}
// Temporary global augmentation to reduce noise where domain code accidentally typed an "Event".
// This is a minimal, temporary change; prefer narrowing types in-source later.
declare global {
interface Event {
default_qry_str?: string;
}
}
export {};