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:
@@ -39,6 +39,7 @@ export interface Event {
|
|||||||
attend_text?: null | string;
|
attend_text?: null | string;
|
||||||
|
|
||||||
status?: null | string; // draft, active, inactive, archived, unknown; currently only used with IDAA
|
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;
|
// review?: null|boolean;
|
||||||
// approve?: null|boolean;
|
// approve?: null|boolean;
|
||||||
// ready?: null|boolean;
|
// ready?: null|boolean;
|
||||||
|
|||||||
8
src/types/temporary-svelte-augments.d.ts
vendored
8
src/types/temporary-svelte-augments.d.ts
vendored
@@ -54,12 +54,4 @@ declare module 'lucide-svelte' {
|
|||||||
export default _default;
|
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 {};
|
export {};
|
||||||
|
|||||||
Reference in New Issue
Block a user