// This file was generated by [tauri-specta](https://github.com/oscartbeaumont/tauri-specta). Do not edit this file manually. /** user-defined commands **/ export const commands = { /** * Play a single media item (audio or video) * * Accepts a PlayItemRequest with all optional fields properly defaulted. * This avoids Tauri's Android serialization issues with complex objects. * * @req: UR-003 - Play videos * @req: UR-004 - Play audio uninterrupted * @req: UR-005 - Control media playback (play operation) * @req: DR-009 - Audio player UI */ async playerPlayItem(item: PlayItemRequest) : Promise { return await TAURI_INVOKE("player_play_item", { item }); }, /** * Exit background-audio mode: stop the native audio player and return its final * position so the frontend can reload the WebView `