From 6e20d2816e860020ce057858d2738a282fcebc81 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 7 Aug 2023 19:52:31 +0800 Subject: [PATCH] add setting interface --- src/api/types.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/api/types.ts b/src/api/types.ts index 48c07d40..477f7300 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -830,3 +830,21 @@ export interface NotificationSwitch { telegram: boolean slack: boolean } + +// 环境设置 +export interface Setting { + // 媒体服务器 emby/jellyfin/plex + MEDIASERVER: string + // EMBY服务器地址,IP:PORT + EMBY_HOST: string + // EMBY Api Key + EMBY_API_KEY: string + // Jellyfin服务器地址,IP:PORT + JELLYFIN_HOST: string + // Jellyfin Api Key + JELLYFIN_API_KEY: string + // Plex服务器地址,IP:PORT + PLEX_HOST: string + // Plex Token + PLEX_TOKEN: string +}