import ModelBase from 'App/ModelBase';
import Artist from 'Artist/Artist';

export interface Statistics {
  trackCount: number;
  trackFileCount: number;
  percentOfTracks: number;
  sizeOnDisk: number;
  totalTrackCount: number;
}

interface Album extends ModelBase {
  artistId: number;
  artist: Artist;
  foreignAlbumId: string;
  title: string;
  overview: string;
  disambiguation?: string;
  albumType: string;
  monitored: boolean;
  releaseDate: string;
  statistics: Statistics;
  isSaving?: boolean;
}

export default Album;
