lunify.js
Version:
A basic api wrapper for the spotify api covering the oauth routes.
24 lines (23 loc) • 649 B
TypeScript
import type { ApiArtist, ApiPartialArtist } from "../../../interfaces/artist";
import type { Lunify } from "../..";
export declare class PartialArtist {
client: Lunify;
externalUrls: Record<string, string>;
url: string;
id: string;
name: string;
type: ApiPartialArtist["type"];
uri: string;
constructor(client: Lunify, data: ApiPartialArtist);
}
export declare class Artist extends PartialArtist {
client: Lunify;
followers: {
url: string;
total: number;
};
genres: string[];
images: ApiArtist["images"];
popularity: number;
constructor(client: Lunify, data: ApiArtist);
}