mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 11:38:32 -07:00
55 lines
1.1 KiB
TypeScript
55 lines
1.1 KiB
TypeScript
export interface ISearchArtistResult {
|
|
artistName: string;
|
|
artistType: string;
|
|
disambiguation: string;
|
|
forignArtistId: string;
|
|
|
|
banner: string;
|
|
overview: string;
|
|
poster: string;
|
|
monitored: boolean;
|
|
approved: boolean;
|
|
requested: boolean;
|
|
requestId: number;
|
|
available: boolean;
|
|
links: ILink[];
|
|
|
|
subscribed: boolean;
|
|
showSubscribe: boolean;
|
|
|
|
// for the UI
|
|
requestProcessing: boolean;
|
|
processed: boolean;
|
|
background: any;
|
|
}
|
|
|
|
export interface ILink {
|
|
url: string;
|
|
name: string;
|
|
}
|
|
|
|
export interface ISearchAlbumResult {
|
|
id: number;
|
|
requestId: number;
|
|
albumType: string;
|
|
artistName: string;
|
|
cover: string;
|
|
disk: string;
|
|
foreignAlbumId: string;
|
|
foreignArtistId: string;
|
|
monitored: boolean;
|
|
rating: number;
|
|
releaseDate: Date;
|
|
title: string;
|
|
fullyAvailable: boolean;
|
|
partiallyAvailable: boolean;
|
|
requested: boolean;
|
|
approved: boolean;
|
|
subscribed: boolean;
|
|
|
|
// for the UI
|
|
showSubscribe: boolean;
|
|
requestProcessing: boolean;
|
|
processed: boolean;
|
|
background: any;
|
|
}
|