You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
984 B
52 lines
984 B
2 years ago
|
import Album from 'Album/Album';
|
||
|
import ModelBase from 'App/ModelBase';
|
||
|
|
||
|
export interface Image {
|
||
|
coverType: string;
|
||
|
url: string;
|
||
|
remoteUrl: string;
|
||
|
}
|
||
|
|
||
|
export interface Statistics {
|
||
|
albumCount: number;
|
||
|
trackCount: number;
|
||
|
trackFileCount: number;
|
||
|
percentOfTracks: number;
|
||
|
sizeOnDisk: number;
|
||
|
totalTrackCount: number;
|
||
|
}
|
||
|
|
||
|
export interface Ratings {
|
||
|
votes: number;
|
||
|
value: number;
|
||
|
}
|
||
|
|
||
|
interface Artist extends ModelBase {
|
||
|
added: string;
|
||
|
foreignArtistId: string;
|
||
|
cleanName: string;
|
||
|
ended: boolean;
|
||
|
genres: string[];
|
||
|
images: Image[];
|
||
|
monitored: boolean;
|
||
|
overview: string;
|
||
|
path: string;
|
||
|
lastAlbum?: Album;
|
||
|
nextAlbum?: Album;
|
||
|
qualityProfileId: number;
|
||
|
metadataProfileId: number;
|
||
|
ratings: Ratings;
|
||
|
rootFolderPath: string;
|
||
|
albums: Album[];
|
||
|
sortName: string;
|
||
|
statistics: Statistics;
|
||
|
status: string;
|
||
|
tags: number[];
|
||
|
artistName: string;
|
||
|
artistType?: string;
|
||
|
disambiguation?: string;
|
||
|
isSaving?: boolean;
|
||
|
}
|
||
|
|
||
|
export default Artist;
|