Adding in the Archives and Posts DB and functions to get ready for IDAA changes.

This commit is contained in:
Scott Idem
2024-09-25 17:55:42 -04:00
parent 514f36d998
commit 283850e917
10 changed files with 1856 additions and 20 deletions

View File

@@ -127,12 +127,12 @@ export interface Note {
// Updated 2024-06-10
export class MySubClassedDexie extends Dexie {
// We just tell the typing system this is the case
notes!: Table<Note>;
note!: Table<Note>;
constructor() {
super('ae_notes_db');
this.version(1).stores({
notes: `
note: `
id, note_id, note_id_random,
code,
account_id, account_id_random,
@@ -146,4 +146,4 @@ export class MySubClassedDexie extends Dexie {
}
}
export const db_notes = new MySubClassedDexie();
export const db_notes = new MySubClassedDexie();