fixup deezer types

This commit is contained in:
uh wot
2024-07-29 17:51:18 +02:00
parent 756b9e122e
commit 0374719328
2 changed files with 46 additions and 9 deletions

View File

@@ -7,13 +7,41 @@ export enum DeezerFormat {
FLAC = 9
}
export interface DeezerLoginResponse {
error?: {
type: string
message: string
}
}
export interface DeezerMediaResponse {
data: [{
media: [{
sources: [{
url: string
}]
}]
}]
}
export interface DeezerUserData {
USER: {
USER_ID: number
EXPLICIT_CONTENT_LEVEL: string
OPTIONS: {
license_token: string
web_hq: boolean
web_lossless: boolean
}
SETTING: {
global: {
language: string
}
}
}
OFFER_ID: number
COUNTRY: string
checkForm: string
}
export interface DeezerArtist {