mirror of
https://github.com/sct/overseerr.git
synced 2025-12-26 16:27:17 +01:00
fix: requests will now be updated to completed on scan fix: modified components to display deleted as a status fix: corrected media status switching away from deleted fix: modified components to display deleted as a status fix: corrected media status switching away from deleted fix: base scanner will set requests to completed correctly fix: mark available button correctly sets requests as completed fix: status will now stay deleted after declined request refactor: request completion handling moved to entity fix: prevented notifications from sending to old deleted requests refactor: cleaned up code and added more detail to logs refactor: updated to reflect latest availability sync changes
22 lines
272 B
TypeScript
22 lines
272 B
TypeScript
export enum MediaRequestStatus {
|
|
PENDING = 1,
|
|
APPROVED,
|
|
DECLINED,
|
|
FAILED,
|
|
COMPLETED,
|
|
}
|
|
|
|
export enum MediaType {
|
|
MOVIE = 'movie',
|
|
TV = 'tv',
|
|
}
|
|
|
|
export enum MediaStatus {
|
|
UNKNOWN = 1,
|
|
PENDING,
|
|
PROCESSING,
|
|
PARTIALLY_AVAILABLE,
|
|
AVAILABLE,
|
|
DELETED,
|
|
}
|