mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
feat(api): decouple media requests from media info
This commit is contained in:
19
server/constants/media.ts
Normal file
19
server/constants/media.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
export enum MediaRequestStatus {
|
||||
PENDING = 1,
|
||||
APPROVED,
|
||||
DECLINED,
|
||||
AVAILABLE,
|
||||
}
|
||||
|
||||
export enum MediaType {
|
||||
MOVIE = 'movie',
|
||||
TV = 'tv',
|
||||
}
|
||||
|
||||
export enum MediaStatus {
|
||||
UNKNOWN = 1,
|
||||
PENDING,
|
||||
PROCESSING,
|
||||
PARTIALLY_AVAILABLE,
|
||||
AVAILABLE,
|
||||
}
|
Reference in New Issue
Block a user