m3, ui/ux, and more

This commit is contained in:
Boof2015
2026-06-17 16:12:51 -04:00
parent 0afbb37c08
commit 9f2ce3bb75
533 changed files with 5933 additions and 147 deletions
+5
View File
@@ -55,6 +55,11 @@ type AstraLibraryScannerEvents = {
declare class AstraLibraryScannerModuleType extends NativeModule<AstraLibraryScannerEvents> {
listAudioFiles(treeUri: string, extensions: string[]): Promise<ListResult>;
extractMetadata(files: { uri: string; coverUri?: string | null }[]): Promise<ExtractedMetadata[]>;
/**
* Decode the file's PCM and return `bins` RMS peaks normalized to [0,1] for
* the waveform seek bar. Whole-file decode (heavy); returns [] on failure.
*/
extractWaveform(uri: string, bins: number): Promise<number[]>;
getArtworkDirPath(): string;
getPersistedTreeUris(): string[];
takePersistableUriPermission(uri: string): Promise<boolean>;