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.
26 lines
713 B
26 lines
713 B
import type { QualityProfile, RootFolder, Tag } from '../../api/servarr/base';
|
|
import type { LanguageProfile } from '../../api/servarr/sonarr';
|
|
|
|
export interface ServiceCommonServer {
|
|
id: number;
|
|
name: string;
|
|
is4k: boolean;
|
|
isDefault: boolean;
|
|
activeProfileId: number;
|
|
activeDirectory: string;
|
|
activeLanguageProfileId?: number;
|
|
activeAnimeProfileId?: number;
|
|
activeAnimeDirectory?: string;
|
|
activeAnimeLanguageProfileId?: number;
|
|
activeTags: number[];
|
|
activeAnimeTags?: number[];
|
|
}
|
|
|
|
export interface ServiceCommonServerWithDetails {
|
|
server: ServiceCommonServer;
|
|
profiles: QualityProfile[];
|
|
rootFolders: Partial<RootFolder>[];
|
|
languageProfiles?: LanguageProfile[];
|
|
tags: Tag[];
|
|
}
|