FEAT: evilspins v3 :: tracks info in player
This commit is contained in:
26
types/types.ts
Normal file
26
types/types.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
// types.ts
|
||||
export interface Compilation {
|
||||
id: string
|
||||
name: string
|
||||
duration: number
|
||||
tracks?: Track[]
|
||||
}
|
||||
|
||||
export interface Artist {
|
||||
id: number
|
||||
name: string
|
||||
url: string
|
||||
style: Array<number>
|
||||
cover: string
|
||||
}
|
||||
|
||||
export interface Track {
|
||||
id: string
|
||||
compilationId: string
|
||||
title: string
|
||||
artistId: number
|
||||
artist?: Artist
|
||||
start: number
|
||||
link: string
|
||||
cover: string
|
||||
}
|
Reference in New Issue
Block a user