Add lyrics type

This commit is contained in:
shoenko 2024-09-05 20:38:30 -04:00
parent c413de924c
commit 0fa3bde177
No known key found for this signature in database
GPG Key ID: D832302132C49AD5

View File

@ -9,6 +9,18 @@ export interface CoverArtwork {
height: number
}
export interface Lyrics {
id: Id
source: string
lines?: LyricLine[]
}
export interface LyricLine {
text: string
startTimeMs?: number
endTimeMs?: number
}
export interface Artist {
id: Id
url: string
@ -53,10 +65,11 @@ export interface Track {
album?: Album
durationMs?: number
coverArtwork?: CoverArtwork[]
lyrics?: Lyrics
genres?: string[]
releaseDate?: Date
regions?: string[]
description?: string
regions?: string[]
}
export interface Episode {