Skip to content

Commit

Permalink
Add support for series marked as pilots
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmade committed Sep 26, 2024
1 parent 8c77d8d commit 29dba18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions global/tmdb/series.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@ export function tmdbStatusToEnum(status: TmdbSeries['status']) {
return 'IN_PRODUCTION';
case 'Planned':
return 'PLANNED';
case 'Pilot':
return 'PILOT';
default: {
throw new Error(`Unrecognized status: ${status}`);
}
Expand Down
1 change: 1 addition & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ enum SeriesStatus {
RETURNING
IN_PRODUCTION
PLANNED
PILOT
}

model Series {
Expand Down

0 comments on commit 29dba18

Please sign in to comment.