UNPKG

@adventurelabs/scout-core

Version:

Core utilities and helpers for Adventure Labs Scout applications

13 lines (12 loc) 505 B
/** * Gets the media URL for an event (signed URL if file_path exists, otherwise media_url) * @param event - Event object that may have file_path or media_url * @returns string | null - The media URL or null if none available */ export declare function getEventMediaUrl(event: any): string | null; /** * Checks if an event has any media URL available * @param event - Event object * @returns boolean - True if event has any media URL */ export declare function hasEventMedia(event: any): boolean;