Standardize DB interfaces with dependency tracking comments and clean up legacy location.reload() arguments

This commit is contained in:
Scott Idem
2026-02-04 18:05:34 -05:00
parent db34da66dc
commit 46c30590ed
6 changed files with 52 additions and 7 deletions

View File

@@ -10,6 +10,13 @@ import type { ae_Journal, ae_JournalEntry } from '$lib/types/ae_types';
// LLM = Large Language Model (AI)
// Updated 2026-01-09 - Unified Types
/**
* Journal - A collection of journal entries
* Related Files:
* - src/lib/ae_journals/ae_journals__journal.ts (API)
* - src/routes/journals/[journal_id]/+layout.svelte (View)
* - src/routes/journals/ae_comp__journal_obj_id_view.svelte (Card View)
*/
export interface Journal extends ae_Journal {
// Add any Dexie-specific or legacy local-only fields here if not in ae_Journal
// Most fields are now in ae_Journal and ae_BaseObj
@@ -58,6 +65,13 @@ export const journal_field_li = [
'tmp_sort_3'
];
/**
* Journal_Entry - A single entry within a journal
* Related Files:
* - src/lib/ae_journals/ae_journals__journal_entry.ts (API)
* - src/routes/journals/[journal_id]/entry/[journal_entry_id]/+page.svelte (View)
* - src/routes/journals/[journal_id]/ae_comp__journal_entry_obj_qry.svelte (Search)
*/
export interface Journal_Entry extends ae_JournalEntry {
// Add any Dexie-specific or legacy local-only fields here
person__given_name?: string;