More work to prepare the new Archives, Posts, and Recovery Meetings

This commit is contained in:
Scott Idem
2024-09-25 18:44:49 -04:00
parent 283850e917
commit 32ca117b11
15 changed files with 1272 additions and 164 deletions

View File

@@ -14,7 +14,7 @@ export interface Note {
note_id: string;
// Essentially this is a change log of notes
snapshot_id: string; // This is the original note ID. If deleted, then delete all children notes.
snapshot_id?: string; // This is the original note ID. If deleted, then delete all children notes.
previous_id?: null|string; // This is the old or parent note ID
next_id?: null|string; // This is the new or child note ID
@@ -29,8 +29,8 @@ export interface Note {
account_id?: null|string; // Owner account of the note
person_id?: null|string; // Owner person of the note
event_id: null|string; // Assign to an event???
location_id?: null|string; // Assign to a location???
// event_id?: null|string; // Assign to an event???
// location_id?: null|string; // Assign to a location???
name: string; // or the title
summary?: null|string; // LLM (AI) generated summary...???
@@ -89,7 +89,7 @@ export interface Note {
// A key value list of the presentations
note_presentation_kv?: null|key_val;
note_presentation_li?: null|list;
note_presentation_li?: null|[];
// A key value list of the files
note_file_kv?: null|key_val;
note_file_li?: null|[];
@@ -133,14 +133,13 @@ export class MySubClassedDexie extends Dexie {
super('ae_notes_db');
this.version(1).stores({
note: `
id, note_id, note_id_random,
id, note_id,
code,
account_id, account_id_random,
account_id,
conference, type,
name,
start_datetime, end_datetime,
timezone,
cfg_json,
enable, hide, priority, sort, group, notes, created_on, updated_on`,
});
}