refactor: use enums for serverType and rename selectedservice to serverType

This commit is contained in:
fallenbagel
2024-03-14 01:18:03 +05:00
parent a4f1f1203a
commit 45dbf84d7e
3 changed files with 43 additions and 36 deletions

View File

@@ -4,3 +4,8 @@ export enum MediaServerType {
EMBY,
NOT_CONFIGURED,
}
export enum ServerType {
JELLYFIN = 'Jellyfin',
EMBY = 'Emby',
}