feat(v3-api): rollout 'view' parameter across event library modules

This commit is contained in:
Scott Idem
2026-01-29 18:00:15 -05:00
parent 9551825b3f
commit 35114e5e58
11 changed files with 64 additions and 12 deletions

View File

@@ -8,10 +8,12 @@ import type { ae_EventTrack } from '$lib/types/ae_types';
export async function load_ae_obj_li__event_track({
api_cfg,
event_id,
view = 'default',
log_lvl = 0
}: {
api_cfg: any;
event_id: string;
view?: string;
log_lvl?: number;
}): Promise<ae_EventTrack[]> {
return await api.get_ae_obj_li_v3({
@@ -19,6 +21,7 @@ export async function load_ae_obj_li__event_track({
obj_type: 'event_track',
for_obj_type: 'event',
for_obj_id: event_id,
view,
log_lvl
});
}
}