mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
feat: PWA Support (#1488)
This commit is contained in:
@@ -30,6 +30,8 @@ export interface PublicSettingsResponse {
|
||||
originalLanguage: string;
|
||||
partialRequestsEnabled: boolean;
|
||||
cacheImages: boolean;
|
||||
vapidPublic: string;
|
||||
enablePushRegistration: boolean;
|
||||
}
|
||||
|
||||
export interface CacheItem {
|
||||
|
@@ -1,5 +1,8 @@
|
||||
import { NotificationAgentKey } from '../../lib/settings';
|
||||
|
||||
export interface UserSettingsGeneralResponse {
|
||||
username?: string;
|
||||
locale?: string;
|
||||
region?: string;
|
||||
originalLanguage?: string;
|
||||
movieQuotaLimit?: number;
|
||||
@@ -12,8 +15,8 @@ export interface UserSettingsGeneralResponse {
|
||||
globalTvQuotaDays?: number;
|
||||
}
|
||||
|
||||
export type NotificationAgentTypes = Record<NotificationAgentKey, number>;
|
||||
export interface UserSettingsNotificationsResponse {
|
||||
notificationAgents: number;
|
||||
emailEnabled?: boolean;
|
||||
pgpKey?: string;
|
||||
discordEnabled?: boolean;
|
||||
@@ -22,4 +25,6 @@ export interface UserSettingsNotificationsResponse {
|
||||
telegramBotUsername?: string;
|
||||
telegramChatId?: string;
|
||||
telegramSendSilently?: boolean;
|
||||
webPushEnabled?: boolean;
|
||||
notificationTypes: Partial<NotificationAgentTypes>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user