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

@@ -13,12 +13,14 @@ const ae_promises: key_val = {};
export async function load_ae_obj_id__event_device({
api_cfg,
event_device_id,
view = 'default',
inc_location_id = false,
try_cache = true,
log_lvl = 0
}: {
api_cfg: any;
event_device_id: string;
view?: string;
inc_location_id?: boolean;
try_cache?: boolean;
log_lvl?: number;
@@ -32,6 +34,7 @@ export async function load_ae_obj_id__event_device({
api_cfg,
obj_type: 'event_device',
obj_id: event_device_id,
view,
log_lvl
});