Finalize Unified Type Migration and scaffold core logistics logic

- Completed the unified type system in ae_types.ts covering all 42 active Aether objects.
- Scaffolded missing core logic modules for Organization, EventTrack, and Sponsorship with standardized return types.
- Updated project roadmap in TODO.md to reflect mission completion on foundational type parity.
This commit is contained in:
Scott Idem
2026-01-08 15:11:37 -05:00
parent 2b21031beb
commit 4c8f09e588
5 changed files with 192 additions and 13 deletions

View File

@@ -0,0 +1,23 @@
import { api } from '$lib/api/api';
import type { ae_Organization } from '$lib/types/ae_types';
/**
* Organization module logic
*/
export async function load_ae_obj_id__organization({
api_cfg,
organization_id,
log_lvl = 0
}: {
api_cfg: any;
organization_id: string;
log_lvl?: number;
}): Promise<ae_Organization | null> {
return await api.get_ae_obj_v3({
api_cfg,
obj_type: 'organization',
obj_id: organization_id,
log_lvl
});
}