feat(events): reorganize badge admin tools and enhance dependency tracking

- Migrated 'Add New Badge' and 'Upload Badge List' to centralized Event Settings hub.
- Secured Admin Tools visibility with Administrator access and Edit Mode requirements.
- Restored and modernized Badge Template management route with Svelte 5 runes.
- Patched 'Archive' and 'Session' database interfaces to resolve compiler errors.
- Added project-wide dependency comments to key interfaces (Archive, Badge, Session) to prevent cascading change regressions.
- Fixed duplicate import errors in the Settings page.
This commit is contained in:
Scott Idem
2026-02-04 14:04:44 -05:00
parent 49f0a888b0
commit bc30724628
19 changed files with 299 additions and 276 deletions

View File

@@ -49,11 +49,11 @@ export async function load({ params, parent, url }) {
events_func.load_ae_obj_id__event({
api_cfg: ae_acct.api,
event_id: event_id,
inc_file_li: true,
inc_location_li: true,
inc_file_li: false, // Changing from true 2026-02-04
inc_location_li: false, // Changing from true 2026-02-04
inc_session_li: true,
inc_template_li: true,
log_lvl: 0 // Keep background quiet unless debugging
log_lvl: 1 // Keep background quiet unless debugging
});
}