Core Types
Reciter
Represents a Quran reciter with associated moshaf and metadata. Location:src/types/reciter.ts:13
Unique identifier for the reciter
Reciter’s name (usually in Arabic)
The moshaf (recitation) associated with this reciter
Origin of the audio files (MP3QURAN, ISLAMHOUSE, etc.)
Moshaf
Represents a complete Quran recitation (moshaf) with playlist information. Location:src/types/reciter.ts:3
Unique identifier for the moshaf
Name/description of the moshaf
Quranic reading tradition (Hafs, Warsh, etc.)
Base URL for audio files
Total number of surahs available (usually “114”)
Array of playlist items with links to audio files
Playlist & PlaylistItem
Represents audio tracks in a playlist. Location:src/types/playlist.ts:1
Surah number as string (“1” to “114”)
Direct URL to the audio file
Surah
Metadata for a Quranic surah (chapter). Location:src/types/surah.ts:1
Surah number (1-114)
Arabic name of the surah
English transliteration of the surah name
Where the surah was revealed
Number of verses in the surah
Enums
Riwaya
Quranic reading traditions (recitation methods). Location:src/types/riwaya.ts:1
Most common reading (transmitted by Hafs from Asim)
Common in North Africa (transmitted by Warsh from Nafi)
Another transmission from Nafi
Reading of Khalaf
Reading of Al-Bazzi from Ibn Kathir
Reading of Al-Soosi from Abu Amr
Al-Doori’s transmission from Al-Kisai
Al-Doori’s transmission from Abu Amr
Reading of Shuaba from Asim
Reading of Ibn Zakwan from Ibn Amir
Reading of Hisham from Ibn Amir
Reading of Ibn Jammaz from Abu Jafar
Reading of Yaqoub al-Hadrami
LinkSource
Source/origin of audio files. Location:src/types/link-source.ts:1
Primary source for most reciters
Alternative audio source
Internet Archive as audio source
Unknown or unspecified source
Additional Types
TrackType
Simple track representation (alternative to PlaylistItem). Location:src/types/track-type.ts:1
Surah number as number (not string)
Direct URL to audio file
This type is similar to
PlaylistItem but uses number for surahId instead of string. Check the specific component or function to see which type it expects.Type Index
All types are exported from the main types index: Location:src/types/index.ts:1-6