type alias PeaksSource Where a waveform's peaks come from: the server's for an uploaded file (dumpWaveformUrl), or the bytes of a local file, by its blob: URL. Definition { peaksUrl: string; } | { localFile: string; }