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

* feat(notif): issue notifications * refactor: dedupe test notification strings * fix: webhook key parsing * fix(notif): skip send for admin who requested on behalf of another user * fix(notif): send comment notifs to admins when other admins reply * fix(notif): also send resolved notifs to admins, and reopened notifs to issue creator * fix: don't send duplicate notifications * fix(lang): tweak notification description strings * fix(notif): tweak Slack notification styling * fix(notif): tweak Pushbullet & Telegram notification styling * docs: reformat webhooks page * fix(notif): add missing issue_type & issue_status variables to LunaSea notif payloads * fix: explicitly attach media & issue objects where applicable * fix(notif): correctly notify both notifyUser and managers where applicable * fix: update default webhook payload for new installs * fix(notif): add missing comment_message to LunaSea notif payload * refactor(sw): simplify notificationclick event listener logic * fix(notif): add missing event description for MEDIA_AVAILABLE notifications
19 lines
301 B
TypeScript
19 lines
301 B
TypeScript
export enum IssueType {
|
|
VIDEO = 1,
|
|
AUDIO = 2,
|
|
SUBTITLES = 3,
|
|
OTHER = 4,
|
|
}
|
|
|
|
export enum IssueStatus {
|
|
OPEN = 1,
|
|
RESOLVED = 2,
|
|
}
|
|
|
|
export const IssueTypeName = {
|
|
[IssueType.AUDIO]: 'Audio',
|
|
[IssueType.VIDEO]: 'Video',
|
|
[IssueType.SUBTITLES]: 'Subtitle',
|
|
[IssueType.OTHER]: 'Other',
|
|
};
|