mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00

* feat(quotas): rebased * feat: add getQuota() method to User entity * feat(ui): add default quota setting options * feat: user quota settings * feat: quota display in request modals * fix: only show user quotas on own profile or with manage users permission * feat: add request progress circles to profile page * feat: add migration * fix: add missing restricted field to api schema * fix: dont show auto approve message for movie request when restricted * fix(lang): change enable checkbox langauge to "enable override" Co-authored-by: Jakob Ankarhem <jakob.ankarhem@outlook.com> Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>
23 lines
572 B
TypeScript
23 lines
572 B
TypeScript
export interface UserSettingsGeneralResponse {
|
|
username?: string;
|
|
region?: string;
|
|
originalLanguage?: string;
|
|
movieQuotaLimit?: number;
|
|
movieQuotaDays?: number;
|
|
tvQuotaLimit?: number;
|
|
tvQuotaDays?: number;
|
|
globalMovieQuotaDays?: number;
|
|
globalMovieQuotaLimit?: number;
|
|
globalTvQuotaLimit?: number;
|
|
globalTvQuotaDays?: number;
|
|
}
|
|
|
|
export interface UserSettingsNotificationsResponse {
|
|
enableNotifications: boolean;
|
|
telegramBotUsername?: string;
|
|
discordId?: string;
|
|
telegramChatId?: string;
|
|
telegramSendSilently?: boolean;
|
|
pgpKey?: string;
|
|
}
|