Clean up of auth logic

This commit is contained in:
Scott Idem
2024-06-13 15:42:30 -04:00
parent 84f6f1eda8
commit 6bcc554737
4 changed files with 267 additions and 141 deletions

View File

@@ -174,6 +174,20 @@ let events_session_data_struct: key_val = {
'qry__limit': 20,
'qry__offset': 0,
// This is intended to only be temporary.
auth__person: {},
auth__entered_key: null,
auth__entered_passcode: null,
auth__kv: {
event: {},
exhibit: {},
location: {},
session: {},
presentation: {},
presenter: {},
person: {},
},
// Badge Printing
'badges': {
'fulltext_search_qry_str': null,

View File

@@ -300,6 +300,9 @@ export class MySubClassedDexie extends Dexie {
badges!: Table<Badge>;
exhibits!: Table<Exhibit>;
exhibit_tracking!: Table<Exhibit_tracking>;
sessions!: Table<Session>;
presentations!: Table<Presentation>;
presenters!: Table<Presenter>;
constructor() {
super('ae_events_db');