mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-16 16:47:31 -05:00
fixup deezer types
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user