Files
OSIT-AE-App-Svelte/src/lib/ae_sponsorships
Scott Idem 22e05ec095 fix(standardization): apply safe sort padding across all remaining modules
- Hardened 'JournalEntry' and 'Sponsorship' object processors to handle null sort values.
- Disabled aggressive pre-loading of archive content in main archives list to improve performance.
2026-02-05 12:33:35 -05:00
..

Aether (AE) Sponsorships Module

The Sponsorships module is designed to manage event or project sponsorships. It includes data structures and functions for handling sponsorship configurations and individual sponsorship records.

Data Structures

Sponsorship Configuration (Sponsorship_Cfg)

This data structure defines the available sponsorship levels, options, and schedules for a particular event or account. It acts as a template for creating individual sponsorships.

Sponsorship

This represents an actual sponsorship agreement with an organization or individual. It includes details about the sponsor, the selected level, payment amount, and other relevant information.

Functionality

This module provides the following functionality:

  • Data Loading: Functions to load sponsorship configurations and sponsorship records from the backend API.
  • Data Export: A function to download an export of sponsorship data in CSV or Excel format.
  • Local Caching: Uses Dexie.js to cache data in the browser's IndexedDB for offline access and faster load times.
  • API Interaction: All data operations are synced with the backend API.

Files

  • ae_sponsorships_functions.ts: Contains functions for loading and processing sponsorship data.
  • db_sponsorships.ts: Defines the IndexedDB schema for the sponsorships module using Dexie.js.