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
729 B
26 lines
729 B
import type { QualityProfile, RootFolder, Tag } from '@server/api/servarr/base';
|
|
import type { LanguageProfile } from '@server/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[] | string[];
|
|
activeAnimeTags?: number[];
|
|
}
|
|
|
|
export interface ServiceCommonServerWithDetails {
|
|
server: ServiceCommonServer;
|
|
profiles: QualityProfile[];
|
|
rootFolders: Partial<RootFolder>[];
|
|
languageProfiles?: LanguageProfile[];
|
|
tags: Tag[];
|
|
}
|