- Standardized ID usage: Migrated multiple components from '_random' variants to standard 'id' properties to align with V3 backend and Dexie patterns. - Electron Integration: Added global 'native_app' declaration and Window interface augmentation in app.d.ts to resolve TypeScript errors. - Type Safety: Enhanced ae_EventSession interface with missing 'event_file_li' and added runtime null checks in session loading logic. - UI/UX: Restored missing launcher components in location-specific pages and fixed LiveQuery filter logic for session lists. - Bug Fixes: Resolved indexing errors in location list and corrected store update patterns in layout.
25 lines
489 B
TypeScript
25 lines
489 B
TypeScript
// See https://kit.svelte.dev/docs/types#app
|
|
// for information about these interfaces
|
|
// and what to do when importing types
|
|
declare namespace App {
|
|
interface Locals {
|
|
userid: string;
|
|
}
|
|
// interface PageData {}
|
|
// interface Error {}
|
|
// interface Platform {}
|
|
}
|
|
|
|
declare global {
|
|
namespace App {
|
|
interface Platform {}
|
|
}
|
|
|
|
interface Window {
|
|
native_app: any;
|
|
}
|
|
|
|
// eslint-disable-next-line no-var
|
|
var native_app: any;
|
|
}
|