The AniList media list status (CURRENT, PLANNING, COMPLETED, etc.).
Human-readable status label.
export function formatMediaListStatus(status: MediaListStatus): string {
switch (status) {
case "CURRENT":
return "Reading";
case "PLANNING":
return "Plan to Read";
case "COMPLETED":
return "Completed";
case "DROPPED":
return "Dropped";
case "PAUSED":
return "Paused";
case "REPEATING":
return "Re-reading";
default:
return status;
}
}
Formats AniList media list status constants into human-readable display labels.